@@ 1094-1098 (lines=5) @@ | ||
1091 | $this->advance(); |
|
1092 | $result2 = $this->expression(); |
|
1093 | $result = $this->createTree('ptgLT', $result, $result2); |
|
1094 | } elseif ($this->currentToken == '>') { |
|
1095 | $this->advance(); |
|
1096 | $result2 = $this->expression(); |
|
1097 | $result = $this->createTree('ptgGT', $result, $result2); |
|
1098 | } elseif ($this->currentToken == '<=') { |
|
1099 | $this->advance(); |
|
1100 | $result2 = $this->expression(); |
|
1101 | $result = $this->createTree('ptgLE', $result, $result2); |
|
@@ 1102-1106 (lines=5) @@ | ||
1099 | $this->advance(); |
|
1100 | $result2 = $this->expression(); |
|
1101 | $result = $this->createTree('ptgLE', $result, $result2); |
|
1102 | } elseif ($this->currentToken == '>=') { |
|
1103 | $this->advance(); |
|
1104 | $result2 = $this->expression(); |
|
1105 | $result = $this->createTree('ptgGE', $result, $result2); |
|
1106 | } elseif ($this->currentToken == '=') { |
|
1107 | $this->advance(); |
|
1108 | $result2 = $this->expression(); |
|
1109 | $result = $this->createTree('ptgEQ', $result, $result2); |
|
@@ 1110-1114 (lines=5) @@ | ||
1107 | $this->advance(); |
|
1108 | $result2 = $this->expression(); |
|
1109 | $result = $this->createTree('ptgEQ', $result, $result2); |
|
1110 | } elseif ($this->currentToken == '<>') { |
|
1111 | $this->advance(); |
|
1112 | $result2 = $this->expression(); |
|
1113 | $result = $this->createTree('ptgNE', $result, $result2); |
|
1114 | } elseif ($this->currentToken == '&') { |
|
1115 | $this->advance(); |
|
1116 | $result2 = $this->expression(); |
|
1117 | $result = $this->createTree('ptgConcat', $result, $result2); |
|
@@ 1161-1168 (lines=8) @@ | ||
1158 | ||
1159 | return $result; |
|
1160 | // If it's a positive value |
|
1161 | } elseif ($this->currentToken == '+') { |
|
1162 | // catch "+" Term |
|
1163 | $this->advance(); |
|
1164 | $result2 = $this->expression(); |
|
1165 | $result = $this->createTree('ptgUplus', $result2, ''); |
|
1166 | ||
1167 | return $result; |
|
1168 | } |
|
1169 | $result = $this->term(); |
|
1170 | while (($this->currentToken == '+') or |
|
1171 | ($this->currentToken == '-') or |