Code Duplication    Length = 10-10 lines in 3 locations

view/SSTemplateParser.php 3 locations

@@ 3613-3622 (lines=10) @@
3610
			$pos_616 = $this->pos;
3611
			$matcher = 'match_'.'NotBlockTag'; $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) {
3614
				$this->store( $result, $subres );
3615
				$result = $res_616;
3616
				$this->pos = $pos_616;
3617
				$_632 = FALSE; break;
3618
			}
3619
			else {
3620
				$result = $res_616;
3621
				$this->pos = $pos_616;
3622
			}
3623
			$matcher = 'match_'.'Word'; $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) {
@@ 3800-3809 (lines=10) @@
3797
			$pos_636 = $this->pos;
3798
			$matcher = 'match_'.'NotBlockTag'; $key = $matcher; $pos = $this->pos;
3799
			$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) );
3800
			if ($subres !== FALSE) {
3801
				$this->store( $result, $subres );
3802
				$result = $res_636;
3803
				$this->pos = $pos_636;
3804
				$_645 = FALSE; break;
3805
			}
3806
			else {
3807
				$result = $res_636;
3808
				$this->pos = $pos_636;
3809
			}
3810
			$matcher = 'match_'.'Word'; $key = $matcher; $pos = $this->pos;
3811
			$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) );
3812
			if ($subres !== FALSE) {
@@ 3962-3971 (lines=10) @@
3959
			$pos_657 = $this->pos;
3960
			$matcher = 'match_'.'NotBlockTag'; $key = $matcher; $pos = $this->pos;
3961
			$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) );
3962
			if ($subres !== FALSE) {
3963
				$this->store( $result, $subres );
3964
				$result = $res_657;
3965
				$this->pos = $pos_657;
3966
				$_668 = FALSE; break;
3967
			}
3968
			else {
3969
				$result = $res_657;
3970
				$this->pos = $pos_657;
3971
			}
3972
			$matcher = 'match_'.'Word'; $key = $matcher; $pos = $this->pos;
3973
			$subres = ( $this->packhas( $key, $pos ) ? $this->packread( $key, $pos ) : $this->packwrite( $key, $pos, $this->$matcher(array_merge($stack, array($result))) ) );
3974
			if ($subres !== FALSE) {