|
@@ 657-666 (lines=10) @@
|
| 654 |
|
|
| 655 |
|
/* LastLookupStep: :Call */ |
| 656 |
|
protected $match_LastLookupStep_typestack = array('LastLookupStep'); |
| 657 |
|
function match_LastLookupStep ($stack = array()) { |
| 658 |
|
$matchrule = "LastLookupStep"; $result = $this->construct($matchrule, $matchrule, null); |
| 659 |
|
$matcher = 'match_'.'Call'; $key = $matcher; $pos = $this->pos; |
| 660 |
|
$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) ); |
| 661 |
|
if ($subres !== FALSE) { |
| 662 |
|
$this->store( $result, $subres, "Call" ); |
| 663 |
|
return $this->finalise($result); |
| 664 |
|
} |
| 665 |
|
else { return FALSE; } |
| 666 |
|
} |
| 667 |
|
|
| 668 |
|
|
| 669 |
|
/* Lookup: LookupStep ("." LookupStep)* "." LastLookupStep | LastLookupStep */ |
|
@@ 1075-1084 (lines=10) @@
|
| 1072 |
|
|
| 1073 |
|
/* DollarMarkedLookup: SimpleInjection */ |
| 1074 |
|
protected $match_DollarMarkedLookup_typestack = array('DollarMarkedLookup'); |
| 1075 |
|
function match_DollarMarkedLookup ($stack = array()) { |
| 1076 |
|
$matchrule = "DollarMarkedLookup"; $result = $this->construct($matchrule, $matchrule, null); |
| 1077 |
|
$matcher = 'match_'.'SimpleInjection'; $key = $matcher; $pos = $this->pos; |
| 1078 |
|
$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) ); |
| 1079 |
|
if ($subres !== FALSE) { |
| 1080 |
|
$this->store( $result, $subres ); |
| 1081 |
|
return $this->finalise($result); |
| 1082 |
|
} |
| 1083 |
|
else { return FALSE; } |
| 1084 |
|
} |
| 1085 |
|
|
| 1086 |
|
|
| 1087 |
|
|