Compiles a node to PHP code.
@package twig @author Fabien Potencier <fabien@symfony.com>
Expanded class hierarchy of Twig_Compiler
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Twig_Compiler:: |
protected | property | ||
Twig_Compiler:: |
protected | property | ||
Twig_Compiler:: |
protected | property | ||
Twig_Compiler:: |
protected | property | ||
Twig_Compiler:: |
protected | property | ||
Twig_Compiler:: |
protected | property | ||
Twig_Compiler:: |
protected | property | ||
Twig_Compiler:: |
public | function | Adds debugging information. | |
Twig_Compiler:: |
public | function | Appends an indentation to the current PHP code after compilation. | |
Twig_Compiler:: |
public | function |
Compiles a node. Overrides Twig_CompilerInterface:: |
|
Twig_Compiler:: |
public | function | ||
Twig_Compiler:: |
public | function | Returns the environment instance related to this compiler. | |
Twig_Compiler:: |
public | function |
Gets the current PHP code after compilation. Overrides Twig_CompilerInterface:: |
|
Twig_Compiler:: |
public | function | Indents the generated code. | |
Twig_Compiler:: |
public | function | Outdents the generated code. | |
Twig_Compiler:: |
public | function | Adds a raw string to the compiled code. | |
Twig_Compiler:: |
public | function | Returns a PHP representation of a given value. | |
Twig_Compiler:: |
public | function | Adds a quoted string to the compiled code. | |
Twig_Compiler:: |
public | function | ||
Twig_Compiler:: |
public | function | Writes a string to the compiled code by adding indentation. | |
Twig_Compiler:: |
public | function | Constructor. |