Package com.google.javascript.rhino
The core AST from Rhino.
Rhino is an open-source implementation of JavaScript written entirely in Java.
It is typically embedded into Java applications to provide scripting to end
users.
-
Interface Summary Interface Description ErrorReporter This is interface defines a protocol for the reporting of errors during JavaScript translation or execution. -
Class Summary Class Description InputId An id used uniquely identify a CompilerInputIR An AST construction helper classJSDocInfo JSDoc information describing JavaScript code.JSDocInfo.Marker Defines a class for containing the parsing information for this JSDocInfo.JSDocInfo.NamePosition A piece of information (found in a marker) which contains a position with a name node.JSDocInfo.StringPosition A piece of information (found in a marker) which contains a position with a string.JSDocInfo.TypePosition A piece of information (found in a marker) which contains a position with a type expression syntax tree.JSDocInfoBuilder A builder forJSDocInfo
objects.JSTypeExpression Represents a type expression as a miniature Rhino AST, so that the type expression can be evaluated later.Node This class implements the root of the intermediate representation.Node.AncestorIterable Iterator to go up the ancestor tree.Node.SideEffectFlags A helper class for getting and setting the side-effect flags.ScriptRuntime This is the class that implements the run-time.SimpleErrorReporter A simpleErrorReporter
that collects warnings and errors and makes them accessible viaSimpleErrorReporter.errors()
andSimpleErrorReporter.warnings()
.SourcePosition<T> Represents a position in some piece of source code, with an associated item of type T found at that position.Token This class implements the JavaScript scanner.TokenStream This class implements the JavaScript scanner. -
Enum Summary Enum Description JSDocInfo.Visibility Visibility categories.