| @@ 1155-1165 (lines=11) @@ | ||
| 1152 | * |
|
| 1153 | * @return bool |
|
| 1154 | */ |
|
| 1155 | protected function tags(&$tags, $simple = false, $delim = ',') |
|
| 1156 | { |
|
| 1157 | $tags = []; |
|
| 1158 | while ($this->tag($tt, $simple)) { |
|
| 1159 | $tags[] = $tt; |
|
| 1160 | if (!$this->literal($delim)) { |
|
| 1161 | break; |
|
| 1162 | } |
|
| 1163 | } |
|
| 1164 | ||
| 1165 | return count($tags) !== 0; |
|
| 1166 | } |
|
| 1167 | ||
| 1168 | /** |
|
| @@ 1176-1185 (lines=10) @@ | ||
| 1173 | * |
|
| 1174 | * @return bool |
|
| 1175 | */ |
|
| 1176 | protected function mixinTags(&$tags) |
|
| 1177 | { |
|
| 1178 | $tags = []; |
|
| 1179 | while ($this->tag($tt, true)) { |
|
| 1180 | $tags[] = $tt; |
|
| 1181 | $this->literal(">"); |
|
| 1182 | } |
|
| 1183 | ||
| 1184 | return count($tags) !== 0; |
|
| 1185 | } |
|
| 1186 | ||
| 1187 | /** |
|
| 1188 | * a bracketed value (contained within in a tag definition) |
|