@@ 1157-1161 (lines=5) @@ | ||
1154 | $this->advance(); |
|
1155 | $result2 = $this->expression(); |
|
1156 | $result = $this->createTree('ptgLT', $result, $result2); |
|
1157 | } elseif ($this->currentToken == '>') { |
|
1158 | $this->advance(); |
|
1159 | $result2 = $this->expression(); |
|
1160 | $result = $this->createTree('ptgGT', $result, $result2); |
|
1161 | } elseif ($this->currentToken == '<=') { |
|
1162 | $this->advance(); |
|
1163 | $result2 = $this->expression(); |
|
1164 | $result = $this->createTree('ptgLE', $result, $result2); |
|
@@ 1165-1169 (lines=5) @@ | ||
1162 | $this->advance(); |
|
1163 | $result2 = $this->expression(); |
|
1164 | $result = $this->createTree('ptgLE', $result, $result2); |
|
1165 | } elseif ($this->currentToken == '>=') { |
|
1166 | $this->advance(); |
|
1167 | $result2 = $this->expression(); |
|
1168 | $result = $this->createTree('ptgGE', $result, $result2); |
|
1169 | } elseif ($this->currentToken == '=') { |
|
1170 | $this->advance(); |
|
1171 | $result2 = $this->expression(); |
|
1172 | $result = $this->createTree('ptgEQ', $result, $result2); |
|
@@ 1173-1177 (lines=5) @@ | ||
1170 | $this->advance(); |
|
1171 | $result2 = $this->expression(); |
|
1172 | $result = $this->createTree('ptgEQ', $result, $result2); |
|
1173 | } elseif ($this->currentToken == '<>') { |
|
1174 | $this->advance(); |
|
1175 | $result2 = $this->expression(); |
|
1176 | $result = $this->createTree('ptgNE', $result, $result2); |
|
1177 | } elseif ($this->currentToken == '&') { |
|
1178 | $this->advance(); |
|
1179 | $result2 = $this->expression(); |
|
1180 | $result = $this->createTree('ptgConcat', $result, $result2); |
|
@@ 1224-1230 (lines=7) @@ | ||
1221 | ||
1222 | return $result; |
|
1223 | // If it's a positive value |
|
1224 | } elseif ($this->currentToken == '+') { |
|
1225 | // catch "+" Term |
|
1226 | $this->advance(); |
|
1227 | $result2 = $this->expression(); |
|
1228 | $result = $this->createTree('ptgUplus', $result2, ''); |
|
1229 | ||
1230 | return $result; |
|
1231 | } |
|
1232 | $result = $this->term(); |
|
1233 | while (($this->currentToken == '+') or |