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