|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.javascript.jscomp.AbstractCompiler
public abstract class AbstractCompiler
An abstract compiler, to help remove the circular dependency of passes on JSCompiler. This is an abstract class, so that we can make the methods package-private.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.google.javascript.jscomp.SourceExcerptProvider |
---|
SourceExcerptProvider.ExcerptFormatter, SourceExcerptProvider.SourceExcerpt |
Constructor Summary | |
---|---|
AbstractCompiler()
|
Method Summary | |
---|---|
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 name. |
abstract double |
getProgress()
|
abstract com.google.javascript.jscomp.ReverseAbstractInterpreter |
getReverseAbstractInterpreter()
Get an interpreter for type analysis. |
abstract Scope |
getTopScope()
Gets the top scope. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.javascript.jscomp.SourceExcerptProvider |
---|
getSourceLine, getSourceRegion |
Constructor Detail |
---|
public AbstractCompiler()
Method Detail |
---|
public abstract CompilerInput getInput(InputId inputId)
public abstract JSTypeRegistry getTypeRegistry()
public abstract Scope getTopScope()
public abstract void report(JSError error)
public abstract CodingConvention getCodingConvention()
public abstract void reportCodeChange()
public abstract com.google.javascript.jscomp.ReverseAbstractInterpreter getReverseAbstractInterpreter()
public abstract ErrorManager getErrorManager()
public abstract double getProgress()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |