class MergedArrayTreeVisitor implements AstNodeVisitorInterface (View source)

Builds the merged array tree for the Fusion runtime

Properties

protected $currentObjectPathStack

For nested blocks to determine the prefix

protected $contextPathAndFilename
protected $currentObjectStatementCursor

Methods

__construct(MergedArrayTree $mergedArrayTree, Closure $handleFileInclude, Closure $handleDslTranspile)

No description

visitFusionFile(FusionFile $fusionFile)

No description

visitStatementList(StatementList $statementList)

No description

visitIncludeStatement(IncludeStatement $includeStatement)

No description

visitObjectStatement(ObjectStatement $objectStatement)

No description

visitBlock(Block $block, array $currentPath = null)

No description

visitObjectPath(ObjectPath $objectPath, array $objectPathPrefix = [])

No description

visitMetaPathSegment(MetaPathSegment $metaPathSegment)

No description

visitPrototypePathSegment(PrototypePathSegment $prototypePathSegment)

No description

visitPathSegment(PathSegment $pathSegment)

No description

visitValueAssignment(ValueAssignment $valueAssignment, array $currentPath = null)

No description

visitFusionObjectValue(FusionObjectValue $fusionObjectValue)

No description

visitDslExpressionValue(DslExpressionValue $dslExpressionValue)

No description

visitEelExpressionValue(EelExpressionValue $eelExpressionValue)

No description

visitFloatValue(FloatValue $floatValue)

No description

visitIntValue(IntValue $intValue)

No description

visitBoolValue(BoolValue $boolValue)

No description

visitNullValue(NullValue $nullValue)

No description

visitStringValue(StringValue $stringValue)

No description

visitValueCopy(ValueCopy $valueCopy, array $currentPath = null)

No description

visitAssignedObjectPath(AssignedObjectPath $assignedObjectPath, $relativePath = [])

No description

visitValueUnset(ValueUnset $valueUnset, array $currentPath = null)

No description

array
getCurrentObjectPathPrefix()

No description

validateParseTreeKey(string $pathKey)

No description

prepareParserException(ParserException $parserException)

No description

Details

__construct(MergedArrayTree $mergedArrayTree, Closure $handleFileInclude, Closure $handleDslTranspile)

No description

Parameters

MergedArrayTree $mergedArrayTree
Closure $handleFileInclude
Closure $handleDslTranspile

visitFusionFile(FusionFile $fusionFile)

No description

Parameters

FusionFile $fusionFile

visitStatementList(StatementList $statementList)

No description

Parameters

StatementList $statementList

visitIncludeStatement(IncludeStatement $includeStatement)

No description

Parameters

IncludeStatement $includeStatement

visitObjectStatement(ObjectStatement $objectStatement)

No description

Parameters

ObjectStatement $objectStatement

visitBlock(Block $block, array $currentPath = null)

No description

Parameters

Block $block
array $currentPath

visitObjectPath(ObjectPath $objectPath, array $objectPathPrefix = [])

No description

Parameters

ObjectPath $objectPath
array $objectPathPrefix

visitMetaPathSegment(MetaPathSegment $metaPathSegment)

No description

Parameters

MetaPathSegment $metaPathSegment

visitPrototypePathSegment(PrototypePathSegment $prototypePathSegment)

No description

Parameters

PrototypePathSegment $prototypePathSegment

visitPathSegment(PathSegment $pathSegment)

No description

Parameters

PathSegment $pathSegment

visitValueAssignment(ValueAssignment $valueAssignment, array $currentPath = null)

No description

Parameters

ValueAssignment $valueAssignment
array $currentPath

visitFusionObjectValue(FusionObjectValue $fusionObjectValue)

No description

Parameters

FusionObjectValue $fusionObjectValue

visitDslExpressionValue(DslExpressionValue $dslExpressionValue)

No description

Parameters

DslExpressionValue $dslExpressionValue

visitEelExpressionValue(EelExpressionValue $eelExpressionValue)

No description

Parameters

EelExpressionValue $eelExpressionValue

visitFloatValue(FloatValue $floatValue)

No description

Parameters

FloatValue $floatValue

visitIntValue(IntValue $intValue)

No description

Parameters

IntValue $intValue

visitBoolValue(BoolValue $boolValue)

No description

Parameters

BoolValue $boolValue

visitNullValue(NullValue $nullValue)

No description

Parameters

NullValue $nullValue

visitStringValue(StringValue $stringValue)

No description

Parameters

StringValue $stringValue

visitValueCopy(ValueCopy $valueCopy, array $currentPath = null)

No description

Parameters

ValueCopy $valueCopy
array $currentPath

visitAssignedObjectPath(AssignedObjectPath $assignedObjectPath, $relativePath = [])

No description

Parameters

AssignedObjectPath $assignedObjectPath
$relativePath

visitValueUnset(ValueUnset $valueUnset, array $currentPath = null)

No description

Parameters

ValueUnset $valueUnset
array $currentPath

protected array getCurrentObjectPathPrefix()

No description

Return Value

array

protected validateParseTreeKey(string $pathKey)

No description

Parameters

string $pathKey

protected ParserException prepareParserException(ParserException $parserException)

No description

Parameters

ParserException $parserException

Return Value

ParserException