Compiler
in package
FinalYes
Table of Contents
Properties
- $passes : SplPriorityQueue<int, CompilerPass>
Methods
- __construct() : mixed
- run() : array<string|int, DocumentNode>
Properties
$passes read-only
private
SplPriorityQueue<int, CompilerPass>
$passes
Methods
__construct()
public
__construct(iterable<string|int, CompilerPass> $passes, NodeTransformerFactory $nodeTransformerFactory) : mixed
Parameters
- $passes : iterable<string|int, CompilerPass>
- $nodeTransformerFactory : NodeTransformerFactory
run()
public
run(array<string|int, DocumentNode> $documents, CompilerContext $compilerContext) : array<string|int, DocumentNode>
Parameters
- $documents : array<string|int, DocumentNode>
- $compilerContext : CompilerContext