PHP Class Hostnet\Bundle\WebpackBundle\Twig\Token\WebpackTokenParser

Author: Harold Iedema ([email protected])
Inheritance: implements Twig_TokenParserInterface
ファイルを表示 Open project: hostnet/webpack-bundle Class Usage Examples

Public Methods

Method Description
__construct ( TwigExtension $extension )
getTag ( ) {@inheritDoc}
parse ( Twig_Token $token ) {@inheritDoc}
setParser ( Twig_Parser $parser ) {@inheritDoc}

Private Methods

Method Description
parseInline ( Twig_TokenStream $stream, integer $lineno ) : Hostnet\Bundle\WebpackBundle\Twig\Node\WebpackInlineNode
parseType ( Twig_TokenStream $stream, integer $lineno, string $export_type ) : Hostnet\Bundle\WebpackBundle\Twig\Node\WebpackNode

Method Details

__construct() public method

public __construct ( TwigExtension $extension )
$extension Hostnet\Bundle\WebpackBundle\Twig\TwigExtension

getTag() public method

{@inheritDoc}
public getTag ( )

parse() public method

{@inheritDoc}
public parse ( Twig_Token $token )
$token Twig_Token

setParser() public method

{@inheritDoc}
public setParser ( Twig_Parser $parser )
$parser Twig_Parser