public interface IBackend
MXMLJSC
javascript compiler.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> errors,
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> errors,
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. |
ISourceFileHandler getSourceFileHandlerInstance()
ICompilationUnit
is created during parsing.ISourceFileHandler
.String getOutputExtension()
File
extension used when saving compiled code.Configurator createConfigurator()
Configurator
for the specific compile session.ITarget createTarget(IASProject project, ITargetSettings settings, ITargetProgressMonitor monitor)
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.IDocEmitter createDocEmitter(IASEmitter emitter)
IASEmitter createEmitter(FilterWriter writer)
IMXMLEmitter createMXMLEmitter(FilterWriter writer)
ASFilterWriter createWriterBuffer(IASProject project)
IASWriter createWriter(IASProject project, List<ICompilerProblem> errors, ICompilationUnit compilationUnit, boolean enableDebug)
IASWriter createMXMLWriter(IASProject project, List<ICompilerProblem> errors, ICompilationUnit compilationUnit, boolean enableDebug)
IASBlockWalker createWalker(IASProject project, List<ICompilerProblem> errors, IASEmitter emitter)
IPublisher createPublisher(IASProject project, List<ICompilerProblem> errors, Configuration config)
IMXMLBlockWalker createMXMLWalker(IASProject project, List<ICompilerProblem> errors, IMXMLEmitter mxmlEmitter, IASEmitter asEmitter, IBlockWalker asBlockWalker)
IASBlockWalker
for ActionScript source code production.
Use the #createWalker(IASProject, List, ASFilterWriter)
method
first and pass that instance into this method's walker
parameter.
project
- The current IASProject
.errors
- The current ICompilerProblem
list.emitter
- The current IASEmitter
that is used for it's
emitter and is available for callbacks to it's visit methods.Copyright © 2016 The Apache Software Foundation. All rights reserved.