@@ 1134-1138 (lines=5) @@ | ||
1131 | $this->advance(); |
|
1132 | $result2 = $this->expression(); |
|
1133 | $result = $this->createTree('ptgLT', $result, $result2); |
|
1134 | } elseif ($this->currentToken == '>') { |
|
1135 | $this->advance(); |
|
1136 | $result2 = $this->expression(); |
|
1137 | $result = $this->createTree('ptgGT', $result, $result2); |
|
1138 | } elseif ($this->currentToken == '<=') { |
|
1139 | $this->advance(); |
|
1140 | $result2 = $this->expression(); |
|
1141 | $result = $this->createTree('ptgLE', $result, $result2); |
|
@@ 1142-1146 (lines=5) @@ | ||
1139 | $this->advance(); |
|
1140 | $result2 = $this->expression(); |
|
1141 | $result = $this->createTree('ptgLE', $result, $result2); |
|
1142 | } elseif ($this->currentToken == '>=') { |
|
1143 | $this->advance(); |
|
1144 | $result2 = $this->expression(); |
|
1145 | $result = $this->createTree('ptgGE', $result, $result2); |
|
1146 | } elseif ($this->currentToken == '=') { |
|
1147 | $this->advance(); |
|
1148 | $result2 = $this->expression(); |
|
1149 | $result = $this->createTree('ptgEQ', $result, $result2); |
|
@@ 1150-1154 (lines=5) @@ | ||
1147 | $this->advance(); |
|
1148 | $result2 = $this->expression(); |
|
1149 | $result = $this->createTree('ptgEQ', $result, $result2); |
|
1150 | } elseif ($this->currentToken == '<>') { |
|
1151 | $this->advance(); |
|
1152 | $result2 = $this->expression(); |
|
1153 | $result = $this->createTree('ptgNE', $result, $result2); |
|
1154 | } elseif ($this->currentToken == '&') { |
|
1155 | $this->advance(); |
|
1156 | $result2 = $this->expression(); |
|
1157 | $result = $this->createTree('ptgConcat', $result, $result2); |
|
@@ 1201-1207 (lines=7) @@ | ||
1198 | ||
1199 | return $result; |
|
1200 | // If it's a positive value |
|
1201 | } elseif ($this->currentToken == '+') { |
|
1202 | // catch "+" Term |
|
1203 | $this->advance(); |
|
1204 | $result2 = $this->expression(); |
|
1205 | $result = $this->createTree('ptgUplus', $result2, ''); |
|
1206 | ||
1207 | return $result; |
|
1208 | } |
|
1209 | $result = $this->term(); |
|
1210 | while (($this->currentToken == '+') or |