Code Duplication    Length = 9-9 lines in 3 locations

view/SSTemplateParser.php 3 locations

@@ 1099-1107 (lines=9) @@
1096
		$_143 = NULL;
1097
		do {
1098
			$stack[] = $result; $result = $this->construct( $matchrule, "q" ); 
1099
			if (( $subres = $this->rx( '/[\'"]/' ) ) !== FALSE) {
1100
				$result["text"] .= $subres;
1101
				$subres = $result; $result = array_pop($stack);
1102
				$this->store( $result, $subres, 'q' );
1103
			}
1104
			else {
1105
				$result = array_pop($stack);
1106
				$_143 = FALSE; break;
1107
			}
1108
			$stack[] = $result; $result = $this->construct( $matchrule, "String" ); 
1109
			if (( $subres = $this->rx( '/ (\\\\\\\\ | \\\\. | [^'.$this->expression($result, $stack, 'q').'\\\\])* /' ) ) !== FALSE) {
1110
				$result["text"] .= $subres;
@@ 1449-1457 (lines=9) @@
1446
			$_199 = NULL;
1447
			do {
1448
				$stack[] = $result; $result = $this->construct( $matchrule, "Not" ); 
1449
				if (( $subres = $this->literal( 'not' ) ) !== FALSE) {
1450
					$result["text"] .= $subres;
1451
					$subres = $result; $result = array_pop($stack);
1452
					$this->store( $result, $subres, 'Not' );
1453
				}
1454
				else {
1455
					$result = array_pop($stack);
1456
					$_199 = FALSE; break;
1457
				}
1458
				if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
1459
				$_199 = TRUE; break;
1460
			}
@@ 3654-3662 (lines=9) @@
3651
			}
3652
			if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
3653
			$stack[] = $result; $result = $this->construct( $matchrule, "Zap" ); 
3654
			if (( $subres = $this->literal( '%>' ) ) !== FALSE) {
3655
				$result["text"] .= $subres;
3656
				$subres = $result; $result = array_pop($stack);
3657
				$this->store( $result, $subres, 'Zap' );
3658
			}
3659
			else {
3660
				$result = array_pop($stack);
3661
				$_632 = FALSE; break;
3662
			}
3663
			$res_625 = $result;
3664
			$pos_625 = $this->pos;
3665
			$matcher = 'match_'.$this->expression($result, $stack, 'TemplateMatcher'); $key = $matcher; $pos = $this->pos;