|
@@ 687-701 (lines=15) @@
|
| 684 |
|
$res_84 = $result; |
| 685 |
|
$pos_84 = $this->pos; |
| 686 |
|
$_83 = NULL; |
| 687 |
|
do { |
| 688 |
|
if (substr($this->string,$this->pos,1) == '.') { |
| 689 |
|
$this->pos += 1; |
| 690 |
|
$result["text"] .= '.'; |
| 691 |
|
} |
| 692 |
|
else { $_83 = FALSE; break; } |
| 693 |
|
$matcher = 'match_'.'LookupStep'; $key = $matcher; $pos = $this->pos; |
| 694 |
|
$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) ); |
| 695 |
|
if ($subres !== FALSE) { |
| 696 |
|
$this->store( $result, $subres ); |
| 697 |
|
} |
| 698 |
|
else { $_83 = FALSE; break; } |
| 699 |
|
$_83 = TRUE; break; |
| 700 |
|
} |
| 701 |
|
while(0); |
| 702 |
|
if( $_83 === FALSE) { |
| 703 |
|
$result = $res_84; |
| 704 |
|
$this->pos = $pos_84; |
|
@@ 989-1003 (lines=15) @@
|
| 986 |
|
function match_SimpleInjection ($stack = array()) { |
| 987 |
|
$matchrule = "SimpleInjection"; $result = $this->construct($matchrule, $matchrule, null); |
| 988 |
|
$_127 = NULL; |
| 989 |
|
do { |
| 990 |
|
if (substr($this->string,$this->pos,1) == '$') { |
| 991 |
|
$this->pos += 1; |
| 992 |
|
$result["text"] .= '$'; |
| 993 |
|
} |
| 994 |
|
else { $_127 = FALSE; break; } |
| 995 |
|
$matcher = 'match_'.'Lookup'; $key = $matcher; $pos = $this->pos; |
| 996 |
|
$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) ); |
| 997 |
|
if ($subres !== FALSE) { |
| 998 |
|
$this->store( $result, $subres, "Lookup" ); |
| 999 |
|
} |
| 1000 |
|
else { $_127 = FALSE; break; } |
| 1001 |
|
$_127 = TRUE; break; |
| 1002 |
|
} |
| 1003 |
|
while(0); |
| 1004 |
|
if( $_127 === TRUE ) { return $this->finalise($result); } |
| 1005 |
|
if( $_127 === FALSE) { return FALSE; } |
| 1006 |
|
} |