public class MXMLBlockWalker extends Object implements IMXMLBlockVisitor, IMXMLBlockWalker
Modifier and Type | Field and Description |
---|---|
protected List<ICompilerProblem> |
errors |
protected IASProject |
project |
Constructor and Description |
---|
MXMLBlockWalker(List<ICompilerProblem> errors,
IASProject project,
IMXMLEmitter mxmlEmitter,
IASEmitter asEmitter,
IBlockWalker asBlockWalker) |
protected List<ICompilerProblem> errors
protected IASProject project
public MXMLBlockWalker(List<ICompilerProblem> errors, IASProject project, IMXMLEmitter mxmlEmitter, IASEmitter asEmitter, IBlockWalker asBlockWalker)
public IASEmitter getASEmitter()
IMXMLBlockWalker
getASEmitter
in interface IMXMLBlockWalker
public IMXMLEmitter getMXMLEmitter()
IMXMLBlockWalker
getMXMLEmitter
in interface IMXMLBlockWalker
public IASProject getProject()
IBlockWalker
ICompilerProject
for the traverse state.getProject
in interface IBlockWalker
public IASNodeStrategy getMXMLStrategy()
public void setMXMLStrategy(IASNodeStrategy value)
public IASNodeStrategy getASStrategy()
public void setASStrategy(IASNodeStrategy value)
public void walk(IASNode node)
IBlockWalker
IASNode
based on the semantics of the known node.
Typically uses the IASNodeStrategy.handle(IASNode)
to delegate
how the node will be traversed.
walk
in interface IBlockWalker
node
- The IASNode
to traverse using the current strategypublic void visitCompilationUnit(ICompilationUnit unit)
visitCompilationUnit
in interface IMXMLBlockVisitor
public void visitFile(IMXMLFileNode node)
visitFile
in interface IMXMLBlockVisitor
public void visitDeclarations(IMXMLDeclarationsNode node)
visitDeclarations
in interface IMXMLBlockVisitor
public void visitDocument(IMXMLDocumentNode node)
visitDocument
in interface IMXMLBlockVisitor
public void visitClassDefinition(IMXMLClassDefinitionNode node)
visitClassDefinition
in interface IMXMLBlockVisitor
public void visitDeferredInstance(IMXMLDeferredInstanceNode node)
visitDeferredInstance
in interface IMXMLBlockVisitor
public void visitEventSpecifier(IMXMLEventSpecifierNode node)
visitEventSpecifier
in interface IMXMLBlockVisitor
public void visitInstance(IMXMLInstanceNode node)
visitInstance
in interface IMXMLBlockVisitor
public void visitPropertySpecifier(IMXMLPropertySpecifierNode node)
visitPropertySpecifier
in interface IMXMLBlockVisitor
public void visitScript(IMXMLScriptNode node)
visitScript
in interface IMXMLBlockVisitor
public void visitStyleBlock(IMXMLStyleNode node)
visitStyleBlock
in interface IMXMLBlockVisitor
public void visitStyleSpecifier(IMXMLStyleSpecifierNode node)
visitStyleSpecifier
in interface IMXMLBlockVisitor
public void visitArray(IMXMLArrayNode node)
visitArray
in interface IMXMLBlockVisitor
public void visitBoolean(IMXMLBooleanNode node)
visitBoolean
in interface IMXMLBlockVisitor
public void visitInt(IMXMLIntNode node)
visitInt
in interface IMXMLBlockVisitor
public void visitNumber(IMXMLNumberNode node)
visitNumber
in interface IMXMLBlockVisitor
public void visitString(IMXMLStringNode node)
visitString
in interface IMXMLBlockVisitor
public void visitUint(IMXMLUintNode node)
visitUint
in interface IMXMLBlockVisitor
public void visitLiteral(IMXMLLiteralNode node)
visitLiteral
in interface IMXMLBlockVisitor
public void visitFactory(IMXMLFactoryNode node)
visitFactory
in interface IMXMLBlockVisitor
public void visitComponent(IMXMLComponentNode node)
visitComponent
in interface IMXMLBlockVisitor
public void visitMetadata(IMXMLMetadataNode node)
visitMetadata
in interface IMXMLBlockVisitor
public void visitEmbed(IMXMLEmbedNode node)
visitEmbed
in interface IMXMLBlockVisitor
public void visitImplements(IMXMLImplementsNode node)
visitImplements
in interface IMXMLBlockVisitor
public void visitVector(IMXMLVectorNode node)
visitVector
in interface IMXMLBlockVisitor
public void visitDatabinding(IMXMLDataBindingNode node)
visitDatabinding
in interface IMXMLBlockVisitor
public void visitBinding(IMXMLBindingNode node)
visitBinding
in interface IMXMLBlockVisitor
public void visitObject(IMXMLObjectNode node)
visitObject
in interface IMXMLBlockVisitor
protected void debug(String message)
Copyright © 2016 The Apache Software Foundation. All rights reserved.