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()
IMXMLBlockWalkergetASEmitter in interface IMXMLBlockWalkerpublic IMXMLEmitter getMXMLEmitter()
IMXMLBlockWalkergetMXMLEmitter in interface IMXMLBlockWalkerpublic IASProject getProject()
IBlockWalkerICompilerProject for the traverse state.getProject in interface IBlockWalkerpublic IASNodeStrategy getMXMLStrategy()
public void setMXMLStrategy(IASNodeStrategy value)
public IASNodeStrategy getASStrategy()
public void setASStrategy(IASNodeStrategy value)
public void walk(IASNode node)
IBlockWalkerIASNode 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 IBlockWalkernode - The IASNode to traverse using the current strategypublic void visitCompilationUnit(ICompilationUnit unit)
visitCompilationUnit in interface IMXMLBlockVisitorpublic void visitFile(IMXMLFileNode node)
visitFile in interface IMXMLBlockVisitorpublic void visitDeclarations(IMXMLDeclarationsNode node)
visitDeclarations in interface IMXMLBlockVisitorpublic void visitDocument(IMXMLDocumentNode node)
visitDocument in interface IMXMLBlockVisitorpublic void visitClassDefinition(IMXMLClassDefinitionNode node)
visitClassDefinition in interface IMXMLBlockVisitorpublic void visitDeferredInstance(IMXMLDeferredInstanceNode node)
visitDeferredInstance in interface IMXMLBlockVisitorpublic void visitEventSpecifier(IMXMLEventSpecifierNode node)
visitEventSpecifier in interface IMXMLBlockVisitorpublic void visitInstance(IMXMLInstanceNode node)
visitInstance in interface IMXMLBlockVisitorpublic void visitPropertySpecifier(IMXMLPropertySpecifierNode node)
visitPropertySpecifier in interface IMXMLBlockVisitorpublic void visitScript(IMXMLScriptNode node)
visitScript in interface IMXMLBlockVisitorpublic void visitStyleBlock(IMXMLStyleNode node)
visitStyleBlock in interface IMXMLBlockVisitorpublic void visitStyleSpecifier(IMXMLStyleSpecifierNode node)
visitStyleSpecifier in interface IMXMLBlockVisitorpublic void visitArray(IMXMLArrayNode node)
visitArray in interface IMXMLBlockVisitorpublic void visitBoolean(IMXMLBooleanNode node)
visitBoolean in interface IMXMLBlockVisitorpublic void visitInt(IMXMLIntNode node)
visitInt in interface IMXMLBlockVisitorpublic void visitNumber(IMXMLNumberNode node)
visitNumber in interface IMXMLBlockVisitorpublic void visitString(IMXMLStringNode node)
visitString in interface IMXMLBlockVisitorpublic void visitUint(IMXMLUintNode node)
visitUint in interface IMXMLBlockVisitorpublic void visitLiteral(IMXMLLiteralNode node)
visitLiteral in interface IMXMLBlockVisitorpublic void visitFactory(IMXMLFactoryNode node)
visitFactory in interface IMXMLBlockVisitorpublic void visitComponent(IMXMLComponentNode node)
visitComponent in interface IMXMLBlockVisitorpublic void visitMetadata(IMXMLMetadataNode node)
visitMetadata in interface IMXMLBlockVisitorpublic void visitEmbed(IMXMLEmbedNode node)
visitEmbed in interface IMXMLBlockVisitorpublic void visitImplements(IMXMLImplementsNode node)
visitImplements in interface IMXMLBlockVisitorpublic void visitVector(IMXMLVectorNode node)
visitVector in interface IMXMLBlockVisitorpublic void visitDatabinding(IMXMLDataBindingNode node)
visitDatabinding in interface IMXMLBlockVisitorpublic void visitBinding(IMXMLBindingNode node)
visitBinding in interface IMXMLBlockVisitorpublic void visitObject(IMXMLObjectNode node)
visitObject in interface IMXMLBlockVisitorprotected void debug(String message)
Copyright © 2016 The Apache Software Foundation. All rights reserved.