public class MXMLBackend extends JSBackend
IBackend
API where the
MXMLBlockWalker
is used to traverse the IMXMLFileNode
AST.Constructor and Description |
---|
MXMLBackend() |
Modifier and Type | Method and Description |
---|---|
IMXMLEmitter |
createMXMLEmitter(FilterWriter out) |
IMXMLBlockWalker |
createMXMLWalker(IASProject project,
List<ICompilerProblem> errors,
IMXMLEmitter mxmlEmitter,
IASEmitter asEmitter,
IBlockWalker asBlockWalker)
Creates an AST walker capable of traversing MXML AST and calling back to
the
IASBlockWalker for ActionScript source code production. |
ISourceFileHandler |
getSourceFileHandlerInstance()
Returns the instance that is used to manage what type of
ICompilationUnit is created during parsing. |
createConfigurator, createDocEmitter, createEmitter, createMXMLWriter, createPublisher, createSourceMapEmitter, createTarget, createWalker, createWriter, createWriterBuffer, getOutputExtension
public ISourceFileHandler getSourceFileHandlerInstance()
IBackend
ICompilationUnit
is created during parsing.getSourceFileHandlerInstance
in interface IBackend
getSourceFileHandlerInstance
in class JSBackend
ISourceFileHandler
.public IMXMLEmitter createMXMLEmitter(FilterWriter out)
createMXMLEmitter
in interface IBackend
createMXMLEmitter
in class JSBackend
public IMXMLBlockWalker createMXMLWalker(IASProject project, List<ICompilerProblem> errors, IMXMLEmitter mxmlEmitter, IASEmitter asEmitter, IBlockWalker asBlockWalker)
IBackend
IASBlockWalker
for ActionScript source code production.
Use the #createWalker(IASProject, List, ASFilterWriter)
method
first and pass that instance into this method's walker
parameter.
createMXMLWalker
in interface IBackend
createMXMLWalker
in class JSBackend
project
- The current IASProject
.errors
- The current ICompilerProblem
list.Copyright © 2016 The Apache Software Foundation. All rights reserved.