Package com.google.javascript.jscomp
Class FileAwareWarningsGuard
- java.lang.Object
-
- com.google.javascript.jscomp.WarningsGuard
-
- com.google.javascript.jscomp.FileAwareWarningsGuard
-
- All Implemented Interfaces:
java.io.Serializable
public abstract class FileAwareWarningsGuard extends WarningsGuard
An abstract WarningsGuard that provides an additional getScriptNodeForError() method for accessing the containing SCRIPT node of the AST in a robust way.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.javascript.jscomp.WarningsGuard
WarningsGuard.Priority
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FileAwareWarningsGuard(AbstractCompiler compiler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Node
getScriptNodeForError(JSError error)
-
Methods inherited from class com.google.javascript.jscomp.WarningsGuard
disables, enables, getPriority, level
-
-
-
-
Constructor Detail
-
FileAwareWarningsGuard
protected FileAwareWarningsGuard(AbstractCompiler compiler)
-
-