Code Duplication    Length = 9-9 lines in 3 locations

view/SSTemplateParser.php 3 locations

@@ 1087-1095 (lines=9) @@
1084
		$_142 = NULL;
1085
		do {
1086
			$stack[] = $result; $result = $this->construct( $matchrule, "q" );
1087
			if (( $subres = $this->rx( '/[\'"]/' ) ) !== FALSE) {
1088
				$result["text"] .= $subres;
1089
				$subres = $result; $result = array_pop($stack);
1090
				$this->store( $result, $subres, 'q' );
1091
			}
1092
			else {
1093
				$result = array_pop($stack);
1094
				$_142 = FALSE; break;
1095
			}
1096
			$stack[] = $result; $result = $this->construct( $matchrule, "String" );
1097
			if (( $subres = $this->rx( '/ (\\\\\\\\ | \\\\. | [^'.$this->expression($result, $stack, 'q').'\\\\])* /' ) ) !== FALSE) {
1098
				$result["text"] .= $subres;
@@ 1437-1445 (lines=9) @@
1434
			$_198 = NULL;
1435
			do {
1436
				$stack[] = $result; $result = $this->construct( $matchrule, "Not" );
1437
				if (( $subres = $this->literal( 'not' ) ) !== FALSE) {
1438
					$result["text"] .= $subres;
1439
					$subres = $result; $result = array_pop($stack);
1440
					$this->store( $result, $subres, 'Not' );
1441
				}
1442
				else {
1443
					$result = array_pop($stack);
1444
					$_198 = FALSE; break;
1445
				}
1446
				if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
1447
				$_198 = TRUE; break;
1448
			}
@@ 3642-3650 (lines=9) @@
3639
			}
3640
			if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
3641
			$stack[] = $result; $result = $this->construct( $matchrule, "Zap" );
3642
			if (( $subres = $this->literal( '%>' ) ) !== FALSE) {
3643
				$result["text"] .= $subres;
3644
				$subres = $result; $result = array_pop($stack);
3645
				$this->store( $result, $subres, 'Zap' );
3646
			}
3647
			else {
3648
				$result = array_pop($stack);
3649
				$_631 = FALSE; break;
3650
			}
3651
			$res_624 = $result;
3652
			$pos_624 = $this->pos;
3653
			$matcher = 'match_'.$this->expression($result, $stack, 'TemplateMatcher'); $key = $matcher; $pos = $this->pos;