NodeTransformer
in
Table of Contents
Methods
- enterNode() : T
- getPriority() : int
- The higher the priority the earlier the NodeTransformer is executed.
- leaveNode() : T|null
- supports() : bool
Methods
enterNode()
public
enterNode(T $node, CompilerContext $compilerContext) : T
Parameters
- $node : T
- $compilerContext : CompilerContext
Return values
TgetPriority()
The higher the priority the earlier the NodeTransformer is executed.
public
getPriority() : int
Return values
intleaveNode()
public
leaveNode(T $node, CompilerContext $compilerContext) : T|null
Parameters
- $node : T
- $compilerContext : CompilerContext
Return values
T|nullsupports()
public
supports(Node $node) : bool
Parameters
- $node : Node