|
|
| __construct (private Environment $env,) |
|
| getEnvironment () |
|
| getVarName () |
|
| shouldIgnoreUnknownTwigCallables () |
|
| subparseIgnoreUnknownTwigCallables ($test, bool $dropNeedle=false) |
| | subparse ($test, bool $dropNeedle=false) |
|
| getBlockStack () |
| | peekBlockStack () |
|
| popBlockStack () |
|
| pushBlockStack ($name) |
|
| hasBlock (string $name) |
|
| getBlock (string $name) |
|
| setBlock (string $name, BlockNode $value) |
|
| hasMacro (string $name) |
|
| setMacro (string $name, MacroNode $node) |
|
| addTrait ($trait) |
|
| hasTraits () |
| | embedTemplate (ModuleNode $template) |
|
| addImportedSymbol (string $type, string $alias, ?string $name=null, AbstractExpression|AssignTemplateVariable|null $internalRef=null) |
| | getImportedSymbol (string $type, string $alias) |
|
| isMainScope () |
|
| pushLocalScope () |
|
| popLocalScope () |
| | getExpressionParser () |
|
| parseExpression (int $precedence=0) |
|
| getParent () |
| | hasInheritance () |
|
| setParent (?Node $parent) |
|
| getStream () |
|
| getCurrentToken () |
|
| getFunction (string $name, int $line) |
|
| getFilter (string $name, int $line) |
|
| getTest (int $line) |
◆ embedTemplate()
| embedTemplate |
( |
ModuleNode | $template | ) |
|
◆ getExpressionParser()
◆ getImportedSymbol()
| getImportedSymbol |
( |
string | $type, |
|
|
string | $alias ) |
- Renvoie
- array{name: string, node: AssignTemplateVariable|null}|null
◆ hasInheritance()
◆ peekBlockStack()
◆ subparse()
| subparse |
( |
| $test, |
|
|
bool | $dropNeedle = false ) |
La documentation de cette classe a été générée à partir du fichier suivant :
- vendor/twig/twig/src/Parser.php