public class AstConstructor extends Object
Constructor and Description |
---|
AstConstructor() |
Modifier and Type | Method and Description |
---|---|
static JProgram |
construct(TreeLogger logger,
CompilationState state,
CompilerContext compilerContext,
ConfigurationProperties config)
Construct an simple AST representing an entire
CompilationState . |
static JProgram |
construct(TreeLogger logger,
CompilationState state,
PrecompileTaskOptions options,
ConfigurationProperties config) |
public static JProgram construct(TreeLogger logger, CompilationState state, PrecompileTaskOptions options, ConfigurationProperties config) throws UnableToCompleteException
UnableToCompleteException
public static JProgram construct(TreeLogger logger, CompilationState state, CompilerContext compilerContext, ConfigurationProperties config) throws UnableToCompleteException
CompilationState
.
Does not support deferred binding. Implementation mostly copied from
JavaToJavaScriptCompiler
.UnableToCompleteException
Copyright © 2018. All rights reserved.