# Package com.google.javascript.rhino

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.

Related Packages
Package
Description
com.google.javascript.rhino.jstype
Provides abstractions to represent types in JavaScript.
com.google.javascript.rhino.testing
Class
Description
ErrorReporter
This is interface defines a protocol for the reporting of errors during JavaScript translation or execution.
InputId
An id used uniquely identify a CompilerInput
IR
An AST construction helper class
JSDocInfo
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.
JSDocInfo.Visibility
Visibility categories.
JSDocInfoBuilder
A builder for `JSDocInfo` 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 simple `ErrorReporter` that collects warnings and errors and makes them accessible via `SimpleErrorReporter.errors()` and `SimpleErrorReporter.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.