public class MXMLJSCJSSWCBackend extends MXMLBackend
IBackend
API where the
MXMLBlockWalker
is used to traverse the IMXMLFileNode
AST.Constructor and Description |
---|
MXMLJSCJSSWCBackend() |
Modifier and Type | Method and Description |
---|---|
Configurator |
createConfigurator()
Creates a
Configurator for the specific compile session. |
IDocEmitter |
createDocEmitter(IASEmitter emitter) |
IJSEmitter |
createEmitter(FilterWriter out) |
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. |
IJSWriter |
createMXMLWriter(IASProject project,
List<ICompilerProblem> problems,
ICompilationUnit compilationUnit,
boolean enableDebug) |
JSTarget |
createTarget(IASProject project,
ITargetSettings settings,
ITargetProgressMonitor monitor)
Creates a javascript target that will be used to build the compiled
javascript source file.
|
getSourceFileHandlerInstance
createPublisher, createSourceMapEmitter, createWalker, createWriter, createWriterBuffer, getOutputExtension
public Configurator createConfigurator()
IBackend
Configurator
for the specific compile session.createConfigurator
in interface IBackend
createConfigurator
in class JSBackend
public IMXMLEmitter createMXMLEmitter(FilterWriter out)
createMXMLEmitter
in interface IBackend
createMXMLEmitter
in class MXMLBackend
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 MXMLBackend
project
- The current IASProject
.errors
- The current ICompilerProblem
list.public IDocEmitter createDocEmitter(IASEmitter emitter)
createDocEmitter
in interface IBackend
createDocEmitter
in class JSBackend
public IJSEmitter createEmitter(FilterWriter out)
createEmitter
in interface IBackend
createEmitter
in class JSBackend
public IJSWriter createMXMLWriter(IASProject project, List<ICompilerProblem> problems, ICompilationUnit compilationUnit, boolean enableDebug)
createMXMLWriter
in interface IBackend
createMXMLWriter
in class JSBackend
public JSTarget createTarget(IASProject project, ITargetSettings settings, ITargetProgressMonitor monitor)
IBackend
createTarget
in interface IBackend
createTarget
in class JSBackend
project
- The current ICompilerProject
.settings
- The target's custom settings.monitor
- The compilation monitor used during asynchronous parsing
of ICompilationUnit
s.JSTarget
used during compilation.Copyright © 2016 The Apache Software Foundation. All rights reserved.