|
@@ 3211-3216 (lines=6) @@
|
| 3208 |
|
protected function value(&$out) { |
| 3209 |
|
$s = $this->seek(); |
| 3210 |
|
|
| 3211 |
|
if ($this->literal("not", false) && $this->whitespace() && $this->value($inner)) { |
| 3212 |
|
$out = array("unary", "not", $inner, $this->inParens); |
| 3213 |
|
return true; |
| 3214 |
|
} else { |
| 3215 |
|
$this->seek($s); |
| 3216 |
|
} |
| 3217 |
|
|
| 3218 |
|
if ($this->literal("+") && $this->value($inner)) { |
| 3219 |
|
$out = array("unary", "+", $inner, $this->inParens); |
|
@@ 3218-3223 (lines=6) @@
|
| 3215 |
|
$this->seek($s); |
| 3216 |
|
} |
| 3217 |
|
|
| 3218 |
|
if ($this->literal("+") && $this->value($inner)) { |
| 3219 |
|
$out = array("unary", "+", $inner, $this->inParens); |
| 3220 |
|
return true; |
| 3221 |
|
} else { |
| 3222 |
|
$this->seek($s); |
| 3223 |
|
} |
| 3224 |
|
|
| 3225 |
|
// negation |
| 3226 |
|
if ($this->literal("-", false) && |