Compile
in package
Compiles and links the ast objects into the full ast
Table of Contents
- $compiler : Compiler
- __construct() : mixed
- Initializes the command with all necessary dependencies to construct human-suitable output from the AST.
- __invoke() : Payload
- Executes the business logic involved with this command.
Properties
$compiler
private
Compiler
$compiler
Collection of pre-transformation actions (Compiler Passes)
Methods
__construct()
Initializes the command with all necessary dependencies to construct human-suitable output from the AST.
public
__construct(Compiler $compiler) : mixed
Parameters
- $compiler : Compiler
Return values
mixed —__invoke()
Executes the business logic involved with this command.
public
__invoke(Payload $payload) : Payload
Parameters
- $payload : Payload