Code Duplication    Length = 20-22 lines in 3 locations

view/SSTemplateParser.php 3 locations

@@ 1328-1347 (lines=20) @@
1325
							$result = $res_172;
1326
							$this->pos = $pos_172;
1327
							$_177 = NULL;
1328
							do {
1329
								$res_174 = $result;
1330
								$pos_174 = $this->pos;
1331
								if (substr($this->string,$this->pos,1) == '<') {
1332
									$this->pos += 1;
1333
									$result["text"] .= '<';
1334
									$_177 = TRUE; break;
1335
								}
1336
								$result = $res_174;
1337
								$this->pos = $pos_174;
1338
								if (substr($this->string,$this->pos,1) == '=') {
1339
									$this->pos += 1;
1340
									$result["text"] .= '=';
1341
									$_177 = TRUE; break;
1342
								}
1343
								$result = $res_174;
1344
								$this->pos = $pos_174;
1345
								$_177 = FALSE; break;
1346
							}
1347
							while(0);
1348
							if( $_177 === TRUE ) { $_179 = TRUE; break; }
1349
							$result = $res_172;
1350
							$this->pos = $pos_172;
@@ 4507-4528 (lines=22) @@
4504
							$res_753 = $result;
4505
							$pos_753 = $this->pos;
4506
							$_756 = NULL;
4507
							do {
4508
								if (substr($this->string,$this->pos,1) == '<') {
4509
									$this->pos += 1;
4510
									$result["text"] .= '<';
4511
								}
4512
								else { $_756 = FALSE; break; }
4513
								$res_755 = $result;
4514
								$pos_755 = $this->pos;
4515
								if (substr($this->string,$this->pos,1) == '%') {
4516
									$this->pos += 1;
4517
									$result["text"] .= '%';
4518
									$result = $res_755;
4519
									$this->pos = $pos_755;
4520
									$_756 = FALSE; break;
4521
								}
4522
								else {
4523
									$result = $res_755;
4524
									$this->pos = $pos_755;
4525
								}
4526
								$_756 = TRUE; break;
4527
							}
4528
							while(0);
4529
							if( $_756 === TRUE ) { $_780 = TRUE; break; }
4530
							$result = $res_753;
4531
							$this->pos = $pos_753;
@@ 4572-4593 (lines=22) @@
4569
									$res_765 = $result;
4570
									$pos_765 = $this->pos;
4571
									$_768 = NULL;
4572
									do {
4573
										if (substr($this->string,$this->pos,1) == '{') {
4574
											$this->pos += 1;
4575
											$result["text"] .= '{';
4576
										}
4577
										else { $_768 = FALSE; break; }
4578
										$res_767 = $result;
4579
										$pos_767 = $this->pos;
4580
										if (substr($this->string,$this->pos,1) == '$') {
4581
											$this->pos += 1;
4582
											$result["text"] .= '$';
4583
											$result = $res_767;
4584
											$this->pos = $pos_767;
4585
											$_768 = FALSE; break;
4586
										}
4587
										else {
4588
											$result = $res_767;
4589
											$this->pos = $pos_767;
4590
										}
4591
										$_768 = TRUE; break;
4592
									}
4593
									while(0);
4594
									if( $_768 === TRUE ) { $_776 = TRUE; break; }
4595
									$result = $res_765;
4596
									$this->pos = $pos_765;