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.
|
getSourceFileHandlerInstancecreatePublisher, createSourceMapEmitter, createWalker, createWriter, createWriterBuffer, getOutputExtensionpublic Configurator createConfigurator()
IBackendConfigurator for the specific compile session.createConfigurator in interface IBackendcreateConfigurator in class JSBackendpublic IMXMLEmitter createMXMLEmitter(FilterWriter out)
createMXMLEmitter in interface IBackendcreateMXMLEmitter in class MXMLBackendpublic IMXMLBlockWalker createMXMLWalker(IASProject project, List<ICompilerProblem> errors, IMXMLEmitter mxmlEmitter, IASEmitter asEmitter, IBlockWalker asBlockWalker)
IBackendIASBlockWalker 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 IBackendcreateMXMLWalker in class MXMLBackendproject - The current IASProject.errors - The current ICompilerProblem list.public IDocEmitter createDocEmitter(IASEmitter emitter)
createDocEmitter in interface IBackendcreateDocEmitter in class JSBackendpublic IJSEmitter createEmitter(FilterWriter out)
createEmitter in interface IBackendcreateEmitter in class JSBackendpublic IJSWriter createMXMLWriter(IASProject project, List<ICompilerProblem> problems, ICompilationUnit compilationUnit, boolean enableDebug)
createMXMLWriter in interface IBackendcreateMXMLWriter in class JSBackendpublic JSTarget createTarget(IASProject project, ITargetSettings settings, ITargetProgressMonitor monitor)
IBackendcreateTarget in interface IBackendcreateTarget in class JSBackendproject - The current ICompilerProject.settings - The target's custom settings.monitor - The compilation monitor used during asynchronous parsing
of ICompilationUnits.JSTarget used during compilation.Copyright © 2016 The Apache Software Foundation. All rights reserved.