static function lex($block) { $view = static::getView($block); $attributes = static::getAttributes($block); $children = Template::lex($block); return compact('view', 'attributes', 'children'); }
static function lex($block) { extract(static::getTokens($block)); $node = Block::lex($node); $children = Template::lex($block); return compact('bool', 'statement', 'node', 'children'); }
static function lex($block) { $section = static::getSection($block); $content = static::getContent($block); $children = Template::lex($block); return compact('section', 'content', 'children'); }
static function lex($block) { extract(static::getTokens($block)); $node = Block::lex($node); $children = Template::lex($block); return compact('iterable', 'individual', 'node', 'children'); }
static function lex($block) { $tagName = static::getTagName($block) ?: static::DEFAULT_TAG_NAME; $identifiers = static::getIdentifiers($block); $attributes = static::getAttributes($block, $identifiers); $content = static::getContent($block); $children = Template::lex($block); return compact('tagName', 'attributes', 'content', 'children'); }