DirectiveProcessPass
in package
implements
CompilerPass
FinalYes
Table of Contents
Interfaces
Methods
- getPriority() : int
- run() : DocumentNode[]
- Materialize parser-produced children before the directive transformer walks the document. Parser data remains separate from the ordinary children of DirectiveNode.
- materializeChildren() : void
Methods
getPriority()
public
getPriority() : int
Return values
intrun()
Materialize parser-produced children before the directive transformer walks the document. Parser data remains separate from the ordinary children of DirectiveNode.
public
run(DocumentNode[] $documents, CompilerContext $compilerContext) : DocumentNode[]
Parameters
- $documents : DocumentNode[]
- $compilerContext : CompilerContext
Return values
DocumentNode[]materializeChildren()
private
materializeChildren(Node $node) : void
Parameters
- $node : Node