@@ 3117-3126 (lines=10) @@ | ||
3114 | ||
3115 | // consume a list of tags |
|
3116 | // this accepts a hanging delimiter |
|
3117 | protected function tags(&$tags, $simple = false, $delim = ',') { |
|
3118 | $tags = array(); |
|
3119 | while ($this->tag($tt, $simple)) { |
|
3120 | $tags[] = $tt; |
|
3121 | if (!$this->literal($delim)) break; |
|
3122 | } |
|
3123 | if (count($tags) == 0) return false; |
|
3124 | ||
3125 | return true; |
|
3126 | } |
|
3127 | ||
3128 | // list of tags of specifying mixin path |
|
3129 | // optionally separated by > (lazy, accepts extra >) |
|
@@ 3130-3140 (lines=11) @@ | ||
3127 | ||
3128 | // list of tags of specifying mixin path |
|
3129 | // optionally separated by > (lazy, accepts extra >) |
|
3130 | protected function mixinTags(&$tags) { |
|
3131 | $tags = array(); |
|
3132 | while ($this->tag($tt, true)) { |
|
3133 | $tags[] = $tt; |
|
3134 | $this->literal(">"); |
|
3135 | } |
|
3136 | ||
3137 | if (count($tags) == 0) return false; |
|
3138 | ||
3139 | return true; |
|
3140 | } |
|
3141 | ||
3142 | // a bracketed value (contained within in a tag definition) |
|
3143 | protected function tagBracket(&$parts, &$hasExpression) { |