Lines Matching refs:an
5 should probably try to create an extension before hacking the core, as most
30 an instance of ``\Twig\Token``, and the stream is an instance of
35 * ``\Twig\Token::TEXT_TYPE``: A text outside an expression;
36 * ``\Twig\Token::NAME_TYPE``: A name in an expression;
37 * ``\Twig\Token::NUMBER_TYPE``: A number in an expression;
38 * ``\Twig\Token::STRING_TYPE``: A string in an expression;
45 ``tokenize()`` method of an environment::
78 The parser converts the token stream into an AST (Abstract Syntax Tree), or a
79 node tree (an instance of ``\Twig\Node\ModuleNode``). The core extension defines
83 ``parse()`` method of an environment::
112 The last step is done by the compiler. It takes a node tree as an input and
116 of an environment::