| Constructor and Description |
|---|
ASBackend() |
| Modifier and Type | Method and Description |
|---|---|
Configurator |
createConfigurator()
Creates a
Configurator for the specific compile session. |
IDocEmitter |
createDocEmitter(IASEmitter emitter) |
IASEmitter |
createEmitter(FilterWriter writer) |
IMXMLEmitter |
createMXMLEmitter(FilterWriter writer) |
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. |
IASWriter |
createMXMLWriter(IASProject project,
List<ICompilerProblem> problems,
ICompilationUnit compilationUnit,
boolean enableDebug) |
IPublisher |
createPublisher(IASProject project,
List<ICompilerProblem> errors,
Configuration config) |
ITarget |
createTarget(IASProject project,
ITargetSettings settings,
ITargetProgressMonitor monitor)
Creates a javascript target that will be used to build the compiled
javascript source file.
|
IASBlockWalker |
createWalker(IASProject project,
List<ICompilerProblem> errors,
IASEmitter emitter) |
IASWriter |
createWriter(IASProject project,
List<ICompilerProblem> problems,
ICompilationUnit compilationUnit,
boolean enableDebug) |
ASFilterWriter |
createWriterBuffer(IASProject project) |
String |
getOutputExtension()
Returns the
File extension used when saving compiled code. |
ISourceFileHandler |
getSourceFileHandlerInstance()
Returns the instance that is used to manage what type of
ICompilationUnit is created during parsing. |
public String getOutputExtension()
IBackendFile extension used when saving compiled code.getOutputExtension in interface IBackendpublic ISourceFileHandler getSourceFileHandlerInstance()
IBackendICompilationUnit is created during parsing.getSourceFileHandlerInstance in interface IBackendISourceFileHandler.public Configurator createConfigurator()
IBackendConfigurator for the specific compile session.createConfigurator in interface IBackendpublic ITarget createTarget(IASProject project, ITargetSettings settings, ITargetProgressMonitor monitor)
IBackendcreateTarget in interface IBackendproject - The current ICompilerProject.settings - The target's custom settings.monitor - The compilation monitor used during asynchronous parsing
of ICompilationUnits.JSTarget used during compilation.public IASBlockWalker createWalker(IASProject project, List<ICompilerProblem> errors, IASEmitter emitter)
createWalker in interface IBackendpublic 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 IBackendproject - The current IASProject.errors - The current ICompilerProblem list.public ASFilterWriter createWriterBuffer(IASProject project)
createWriterBuffer in interface IBackendpublic IASEmitter createEmitter(FilterWriter writer)
createEmitter in interface IBackendpublic IMXMLEmitter createMXMLEmitter(FilterWriter writer)
createMXMLEmitter in interface IBackendpublic IASWriter createWriter(IASProject project, List<ICompilerProblem> problems, ICompilationUnit compilationUnit, boolean enableDebug)
createWriter in interface IBackendpublic IASWriter createMXMLWriter(IASProject project, List<ICompilerProblem> problems, ICompilationUnit compilationUnit, boolean enableDebug)
createMXMLWriter in interface IBackendpublic IDocEmitter createDocEmitter(IASEmitter emitter)
createDocEmitter in interface IBackendpublic IPublisher createPublisher(IASProject project, List<ICompilerProblem> errors, Configuration config)
createPublisher in interface IBackendCopyright © 2016 The Apache Software Foundation. All rights reserved.