Code Duplication    Length = 14-14 lines in 3 locations

view/SSTemplateParser.php 3 locations

@@ 3632-3645 (lines=14) @@
3629
			$res_622 = $result;
3630
			$pos_622 = $this->pos;
3631
			$_621 = NULL;
3632
			do {
3633
				if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
3634
				else { $_621 = FALSE; break; }
3635
				$matcher = 'match_'.'BlockArguments'; $key = $matcher; $pos = $this->pos;
3636
				$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) );
3637
				if ($subres !== FALSE) {
3638
					$this->store( $result, $subres, "BlockArguments" );
3639
				}
3640
				else { $_621 = FALSE; break; }
3641
				if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
3642
				else { $_621 = FALSE; break; }
3643
				$_621 = TRUE; break;
3644
			}
3645
			while(0);
3646
			if( $_621 === FALSE) {
3647
				$result = $res_622;
3648
				$this->pos = $pos_622;
@@ 3819-3832 (lines=14) @@
3816
			$res_642 = $result;
3817
			$pos_642 = $this->pos;
3818
			$_641 = NULL;
3819
			do {
3820
				if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
3821
				else { $_641 = FALSE; break; }
3822
				$matcher = 'match_'.'BlockArguments'; $key = $matcher; $pos = $this->pos;
3823
				$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) );
3824
				if ($subres !== FALSE) {
3825
					$this->store( $result, $subres, "BlockArguments" );
3826
				}
3827
				else { $_641 = FALSE; break; }
3828
				if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
3829
				else { $_641 = FALSE; break; }
3830
				$_641 = TRUE; break;
3831
			}
3832
			while(0);
3833
			if( $_641 === FALSE) {
3834
				$result = $res_642;
3835
				$this->pos = $pos_642;
@@ 3985-3998 (lines=14) @@
3982
				$res_663 = $result;
3983
				$pos_663 = $this->pos;
3984
				$_662 = NULL;
3985
				do {
3986
					if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
3987
					else { $_662 = FALSE; break; }
3988
					$matcher = 'match_'.'BlockArguments'; $key = $matcher; $pos = $this->pos;
3989
					$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) );
3990
					if ($subres !== FALSE) {
3991
						$this->store( $result, $subres, "BlockArguments" );
3992
					}
3993
					else { $_662 = FALSE; break; }
3994
					if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
3995
					else { $_662 = FALSE; break; }
3996
					$_662 = TRUE; break;
3997
				}
3998
				while(0);
3999
				if( $_662 === FALSE) {
4000
					$result = $res_663;
4001
					$this->pos = $pos_663;