|
@@ 675-689 (lines=15) @@
|
| 672 |
|
$res_83 = $result; |
| 673 |
|
$pos_83 = $this->pos; |
| 674 |
|
$_82 = NULL; |
| 675 |
|
do { |
| 676 |
|
if (substr($this->string,$this->pos,1) == '.') { |
| 677 |
|
$this->pos += 1; |
| 678 |
|
$result["text"] .= '.'; |
| 679 |
|
} |
| 680 |
|
else { $_82 = FALSE; break; } |
| 681 |
|
$matcher = 'match_'.'LookupStep'; $key = $matcher; $pos = $this->pos; |
| 682 |
|
$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) ); |
| 683 |
|
if ($subres !== FALSE) { |
| 684 |
|
$this->store( $result, $subres ); |
| 685 |
|
} |
| 686 |
|
else { $_82 = FALSE; break; } |
| 687 |
|
$_82 = TRUE; break; |
| 688 |
|
} |
| 689 |
|
while(0); |
| 690 |
|
if( $_82 === FALSE) { |
| 691 |
|
$result = $res_83; |
| 692 |
|
$this->pos = $pos_83; |
|
@@ 977-991 (lines=15) @@
|
| 974 |
|
function match_SimpleInjection ($stack = array()) { |
| 975 |
|
$matchrule = "SimpleInjection"; $result = $this->construct($matchrule, $matchrule, null); |
| 976 |
|
$_126 = NULL; |
| 977 |
|
do { |
| 978 |
|
if (substr($this->string,$this->pos,1) == '$') { |
| 979 |
|
$this->pos += 1; |
| 980 |
|
$result["text"] .= '$'; |
| 981 |
|
} |
| 982 |
|
else { $_126 = FALSE; break; } |
| 983 |
|
$matcher = 'match_'.'Lookup'; $key = $matcher; $pos = $this->pos; |
| 984 |
|
$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) ); |
| 985 |
|
if ($subres !== FALSE) { |
| 986 |
|
$this->store( $result, $subres, "Lookup" ); |
| 987 |
|
} |
| 988 |
|
else { $_126 = FALSE; break; } |
| 989 |
|
$_126 = TRUE; break; |
| 990 |
|
} |
| 991 |
|
while(0); |
| 992 |
|
if( $_126 === TRUE ) { return $this->finalise($result); } |
| 993 |
|
if( $_126 === FALSE) { return FALSE; } |
| 994 |
|
} |