Code Duplication    Length = 14-14 lines in 3 locations

view/SSTemplateParser.php 3 locations

@@ 3620-3633 (lines=14) @@
3617
			$res_621 = $result;
3618
			$pos_621 = $this->pos;
3619
			$_620 = NULL;
3620
			do {
3621
				if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
3622
				else { $_620 = FALSE; break; }
3623
				$matcher = 'match_'.'BlockArguments'; $key = $matcher; $pos = $this->pos;
3624
				$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) );
3625
				if ($subres !== FALSE) {
3626
					$this->store( $result, $subres, "BlockArguments" );
3627
				}
3628
				else { $_620 = FALSE; break; }
3629
				if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
3630
				else { $_620 = FALSE; break; }
3631
				$_620 = TRUE; break;
3632
			}
3633
			while(0);
3634
			if( $_620 === FALSE) {
3635
				$result = $res_621;
3636
				$this->pos = $pos_621;
@@ 3816-3829 (lines=14) @@
3813
			$res_641 = $result;
3814
			$pos_641 = $this->pos;
3815
			$_640 = NULL;
3816
			do {
3817
				if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
3818
				else { $_640 = FALSE; break; }
3819
				$matcher = 'match_'.'BlockArguments'; $key = $matcher; $pos = $this->pos;
3820
				$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) );
3821
				if ($subres !== FALSE) {
3822
					$this->store( $result, $subres, "BlockArguments" );
3823
				}
3824
				else { $_640 = FALSE; break; }
3825
				if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
3826
				else { $_640 = FALSE; break; }
3827
				$_640 = TRUE; break;
3828
			}
3829
			while(0);
3830
			if( $_640 === FALSE) {
3831
				$result = $res_641;
3832
				$this->pos = $pos_641;
@@ 3982-3995 (lines=14) @@
3979
				$res_662 = $result;
3980
				$pos_662 = $this->pos;
3981
				$_661 = NULL;
3982
				do {
3983
					if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
3984
					else { $_661 = FALSE; break; }
3985
					$matcher = 'match_'.'BlockArguments'; $key = $matcher; $pos = $this->pos;
3986
					$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) );
3987
					if ($subres !== FALSE) {
3988
						$this->store( $result, $subres, "BlockArguments" );
3989
					}
3990
					else { $_661 = FALSE; break; }
3991
					if (( $subres = $this->whitespace(  ) ) !== FALSE) { $result["text"] .= $subres; }
3992
					else { $_661 = FALSE; break; }
3993
					$_661 = TRUE; break;
3994
				}
3995
				while(0);
3996
				if( $_661 === FALSE) {
3997
					$result = $res_662;
3998
					$this->pos = $pos_662;