Package com.google.javascript.rhino.jstype

Provides abstractions to represent types in JavaScript.

See:
          Description

Interface Summary
StaticReference<T> The StaticReference tells us all the ways that a StaticSlot is used in a program.
StaticScope<T> The StaticScope interface must be implemented by any object that defines variables for the purposes of static analysis.
StaticSlot<T> The StaticSlot interface must be implemented by variables that can appear as members of a StaticScope.
StaticSourceFile The StaticSourceFile contains information about a compiler input.
StaticSymbolTable<S extends StaticSlot<JSType>,R extends StaticReference<JSType>> Lookup references by the symbols that they refer to.
Visitor<T> A type visitor.
 

Class Summary
AllType All type, representing all values.
BooleanType Boolean type.
EnumElementType The type of individual elements of an enum type (see EnumType).
EnumType An enum type representing a branded collection of elements.
FunctionBuilder A builder class for function and arrow types.
FunctionParamBuilder A builder for the Rhino Node representing Function parameters.
FunctionType This derived type provides extended information about a function, including its return type and argument types.
JSType Represents JavaScript value types.
JSType.TypePair  
JSTypeRegistry The type registry is used to resolve named types.
NoObjectType The bottom Object type, representing the subclass of all objects.
NoType Bottom type, representing the subclass of any value or object.
NullType Null type.
NumberType Number type.
ObjectType Object type.
ObjectType.Property  
RecordTypeBuilder A builder for record types.
SimpleReference<T extends StaticSlot<JSType>> A simple immutable reference.
SimpleSlot The minimum implementation of StaticSlot.
SimpleSourceFile A simple implementation of StaticSourceFile for testing.
StringType String type.
TemplateType  
UnionType The UnionType implements a common JavaScript idiom in which the code is specifically designed to work with multiple input types.
UnknownType The Unknown type.
VoidType Void type whose only element is the undefined value.
 

Enum Summary
BooleanLiteralSet A set in the domain {true,false}.
JSTypeNative Constants corresponding to types that are built into a JavaScript engine and other types that occur very often in the type system.
JSTypeRegistry.ResolveMode The type registry has three modes, which control how type ASTs are converted to types in JSTypeRegistry.createFromTypeNodes(com.google.javascript.rhino.Node, java.lang.String, com.google.javascript.rhino.jstype.StaticScope).
TernaryValue An enum for ternary logic.
 

Package com.google.javascript.rhino.jstype Description

Provides abstractions to represent types in JavaScript. 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.