Code Duplication    Length = 10-10 lines in 3 locations

view/SSTemplateParser.php 3 locations

@@ 3601-3610 (lines=10) @@
3598
			$pos_615 = $this->pos;
3599
			$matcher = 'match_'.'NotBlockTag'; $key = $matcher; $pos = $this->pos;
3600
			$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) );
3601
			if ($subres !== FALSE) {
3602
				$this->store( $result, $subres );
3603
				$result = $res_615;
3604
				$this->pos = $pos_615;
3605
				$_631 = FALSE; break;
3606
			}
3607
			else {
3608
				$result = $res_615;
3609
				$this->pos = $pos_615;
3610
			}
3611
			$matcher = 'match_'.'Word'; $key = $matcher; $pos = $this->pos;
3612
			$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) );
3613
			if ($subres !== FALSE) {
@@ 3797-3806 (lines=10) @@
3794
			$pos_635 = $this->pos;
3795
			$matcher = 'match_'.'NotBlockTag'; $key = $matcher; $pos = $this->pos;
3796
			$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) );
3797
			if ($subres !== FALSE) {
3798
				$this->store( $result, $subres );
3799
				$result = $res_635;
3800
				$this->pos = $pos_635;
3801
				$_644 = FALSE; break;
3802
			}
3803
			else {
3804
				$result = $res_635;
3805
				$this->pos = $pos_635;
3806
			}
3807
			$matcher = 'match_'.'Word'; $key = $matcher; $pos = $this->pos;
3808
			$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) );
3809
			if ($subres !== FALSE) {
@@ 3959-3968 (lines=10) @@
3956
			$pos_656 = $this->pos;
3957
			$matcher = 'match_'.'NotBlockTag'; $key = $matcher; $pos = $this->pos;
3958
			$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) );
3959
			if ($subres !== FALSE) {
3960
				$this->store( $result, $subres );
3961
				$result = $res_656;
3962
				$this->pos = $pos_656;
3963
				$_667 = FALSE; break;
3964
			}
3965
			else {
3966
				$result = $res_656;
3967
				$this->pos = $pos_656;
3968
			}
3969
			$matcher = 'match_'.'Word'; $key = $matcher; $pos = $this->pos;
3970
			$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) );
3971
			if ($subres !== FALSE) {