PHP Class Rarst\Meadow\Loop_Token_Parser

Inheritance: extends Twig_TokenParser
显示文件 Open project: rarst/meadow

Public Methods

Method Description
decide_loop_end ( Twig_Token $token ) : boolean
getTag ( ) : string
parse ( Twig_Token $token ) : Loop_Node Parses a token and returns a node.

Method Details

decide_loop_end() public method

public decide_loop_end ( Twig_Token $token ) : boolean
$token Twig_Token
return boolean

getTag() public method

public getTag ( ) : string
return string

parse() public method

Parses a token and returns a node.
public parse ( Twig_Token $token ) : Loop_Node
$token Twig_Token
return Loop_Node