public abstract class AbstractCompiler extends Object implements SourceExcerptProvider
SourceExcerptProvider.ExcerptFormatter, SourceExcerptProvider.SourceExcerpt
Modifier and Type | Field and Description |
---|---|
protected boolean |
analyzeChangedScopesOnly |
Constructor and Description |
---|
AbstractCompiler() |
Modifier and Type | Method and Description |
---|---|
abstract CodingConvention |
getCodingConvention()
Gets the current coding convention.
|
abstract ErrorManager |
getErrorManager()
Gets the error manager.
|
abstract CompilerInput |
getInput(InputId inputId)
Looks up an input (possibly an externs input) by input id.
|
abstract double |
getProgress() |
abstract ReverseAbstractInterpreter |
getReverseAbstractInterpreter()
Get an interpreter for type analysis.
|
abstract TypedScope |
getTopScope()
Gets the top scope.
|
abstract TypeIRegistry |
getTypeIRegistry() |
abstract JSTypeRegistry |
getTypeRegistry()
Gets a central registry of type information from the compiled JS.
|
abstract void |
report(JSError error)
Report an error or warning.
|
abstract void |
reportCodeChange()
Report code changes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSourceLine, getSourceMapping, getSourceRegion
public abstract CompilerInput getInput(InputId inputId)
public abstract JSTypeRegistry getTypeRegistry()
public abstract TypeIRegistry getTypeIRegistry()
public abstract TypedScope getTopScope()
public abstract void report(JSError error)
public abstract CodingConvention getCodingConvention()
public abstract void reportCodeChange()
public abstract ReverseAbstractInterpreter getReverseAbstractInterpreter()
public abstract ErrorManager getErrorManager()
public abstract double getProgress()
Copyright © 2009-2015 Google. All Rights Reserved.