A B C D E F G H I J K L M N O P Q R S T U V W X

A

AbstractCompiler - Class in com.google.javascript.jscomp
An abstract compiler, to help remove the circular dependency of passes on JSCompiler.
AbstractCompiler() - Constructor for class com.google.javascript.jscomp.AbstractCompiler
 
AbstractMessageFormatter - Class in com.google.javascript.jscomp
Abstract message formatter providing default behavior for implementations of MessageFormatter needing a SourceExcerptProvider.
AbstractMessageFormatter(SourceExcerptProvider) - Constructor for class com.google.javascript.jscomp.AbstractMessageFormatter
 
AbstractStaticScope<T> - Class in com.google.javascript.rhino.testing
A scope that just returns null for everything.
AbstractStaticScope() - Constructor for class com.google.javascript.rhino.testing.AbstractStaticScope
 
acceptConstKeyword() - Method in class com.google.javascript.jscomp.Compiler
 
acceptEcmaScript5() - Method in class com.google.javascript.jscomp.Compiler
 
ACCESS_CONTROLS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
add(E) - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
 
add(E) - Method in interface com.google.javascript.jscomp.graph.UnionFind
Adds the given element to a new set if it is not already in a set.
add(SourceFile) - Method in class com.google.javascript.jscomp.JSModule
Adds a source file input to this module.
add(CompilerInput) - Method in class com.google.javascript.jscomp.JSModule
Adds a source code input to this module.
add(Node, Node) - Static method in class com.google.javascript.rhino.IR
 
ADD - Static variable in class com.google.javascript.rhino.Token
Token types.
addAfter(CompilerInput, CompilerInput) - Method in class com.google.javascript.jscomp.JSModule
Adds a source code input to this module directly after other.
addAlias(String, String) - Method in interface com.google.javascript.jscomp.CompilerOptions.AliasTransformation
Adds an alias definition to the AliasTransformation instance.
addAllDeclarationToRemove(Iterable<String>) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
addAllEntry(Iterable<? extends FunctionInformationMap.Entry>) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
addAllInit(Iterable<String>) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
addAllModule(Iterable<? extends FunctionInformationMap.Module>) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
addAnonymousFunctions() - Method in class com.google.javascript.jscomp.SymbolTable
Finds anonymous functions in local scopes, and gives them names and symbols.
addAuthor(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Adds an author to the current information.
addChild(int, JsonML) - Method in class com.google.javascript.jscomp.jsonml.JsonML
Inserts the given JsonML element at the given position in the list of children.
addChildAfter(Node, Node) - Method in class com.google.javascript.rhino.Node
Add 'child' after 'node'.
addChildBefore(Node, Node) - Method in class com.google.javascript.rhino.Node
Add 'child' before 'node'.
addChildrenAfter(Node, Node) - Method in class com.google.javascript.rhino.Node
Add all children after 'node'.
addChildrenToBack(Node) - Method in class com.google.javascript.rhino.Node
 
addChildrenToFront(Node) - Method in class com.google.javascript.rhino.Node
 
addChildToBack(Node) - Method in class com.google.javascript.rhino.Node
 
addChildToFront(Node) - Method in class com.google.javascript.rhino.Node
 
addDeclarationToRemove(String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
addDependency(JSModule) - Method in class com.google.javascript.jscomp.JSModule
Adds a dependency on another module.
addEntry(FunctionInformationMap.Entry) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
addEntry(int, FunctionInformationMap.Entry) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
addEntry(FunctionInformationMap.Entry.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
addEntry(int, FunctionInformationMap.Entry.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
addEntryBuilder() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
addEntryBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
addExterns(FileList) - Method in class com.google.javascript.jscomp.ant.CompileTask
Sets the externs file.
addFirst(SourceFile) - Method in class com.google.javascript.jscomp.JSModule
Adds a source file input to this module.
addFirst(CompilerInput) - Method in class com.google.javascript.jscomp.JSModule
Adds a source code input to this module.
addInit(String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
addMapping(String, String, FilePosition, FilePosition, FilePosition) - Method in interface com.google.debugging.sourcemap.SourceMapGenerator
Adds a mapping for the given node.
addMapping(String, String, FilePosition, FilePosition, FilePosition) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV1
Adds a mapping for the given node.
addMapping(String, String, FilePosition, FilePosition, FilePosition) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV2
Adds a mapping for the given node.
addMapping(String, String, FilePosition, FilePosition, FilePosition) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
Adds a mapping for the given node.
addMapping(Node, FilePosition, FilePosition) - Method in class com.google.javascript.jscomp.SourceMap
 
addModule(FunctionInformationMap.Module) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
addModule(int, FunctionInformationMap.Module) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
addModule(FunctionInformationMap.Module.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
addModule(int, FunctionInformationMap.Module.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
addModuleBuilder() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
addModuleBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
addNativeProperties(JSTypeRegistry) - Static method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
Adds a basic set of properties to the native types.
addNewScript(JsAst) - Method in class com.google.javascript.jscomp.Compiler
Adds a new Script AST to the compile state.
addNode(N) - Method in interface com.google.javascript.jscomp.graph.SubGraph
Adds the node into this subgraph.
addOptionalParams(JSType...) - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
Add optional parameters of the given type to the end of the param list.
addPath(Path) - Method in class com.google.javascript.jscomp.ant.CompileTask
Adds a entry.
addProperty(String, JSType, Node) - Method in class com.google.javascript.rhino.jstype.RecordTypeBuilder
Adds a property with the given name and type to the record type.
addReference(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Adds a reference ("@see") to the current information.
addRequiredParams(JSType...) - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
Add parameters of the given type to the end of the param list.
addSources(FileList) - Method in class com.google.javascript.jscomp.ant.CompileTask
Sets the source files.
addSuppression(String) - Method in class com.google.javascript.rhino.JSDocInfo
Add a suppressed warning.
addSuppression(String) - Method in class com.google.javascript.rhino.Node
Adds a warning to be suppressed.
addVarArgs(JSType) - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
Add variable arguments to the end of the parameter list.
addWarning(Warning) - Method in class com.google.javascript.jscomp.ant.CompileTask
Adds a entry Each warning entry must have two attributes, group and level.
addWarningsGuard(WarningsGuard) - Method in class com.google.javascript.jscomp.CompilerOptions
Add a guard to the set of warnings guards.
AdjacencyGraph<N,E> - Interface in com.google.javascript.jscomp.graph
A minimal graph interface.
aggressiveVarCheck - Variable in class com.google.javascript.jscomp.CompilerOptions
 
aliasableStrings - Variable in class com.google.javascript.jscomp.CompilerOptions
If set to a non-empty set, those strings literals will be aliased to a single global instance per string, to avoid creating more objects than necessary.
aliasAllStrings - Variable in class com.google.javascript.jscomp.CompilerOptions
Aliases all string literals to global instances, to avoid creating more objects than necessary (if true, overrides any set of strings passed in to aliasableStrings)
aliasExternals - Variable in class com.google.javascript.jscomp.CompilerOptions
Adds variable aliases for externals to reduce code size
aliasKeywords - Variable in class com.google.javascript.jscomp.CompilerOptions
Aliases true, false, and null to variables with shorter names.
aliasStringsBlacklist - Variable in class com.google.javascript.jscomp.CompilerOptions
A blacklist in the form of a regular expression to block strings that contains certain words from being aliased.
ALL_NATIVE_EXTERN_TYPES - Static variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
A definition of all extern types.
ALL_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
allEquivalenceClasses() - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
 
allEquivalenceClasses() - Method in interface com.google.javascript.jscomp.graph.UnionFind
Returns an immutable collection containing all equivalence classes.
AllType - Class in com.google.javascript.rhino.jstype
All type, representing all values.
ambiguateProperties - Variable in class com.google.javascript.jscomp.CompilerOptions
Rename unrelated properties to the same name to reduce code size.
AMBIGUOUS_FUNCTION_DECL - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
and(Node, Node) - Static method in class com.google.javascript.rhino.IR
 
and(TernaryValue) - Method in enum com.google.javascript.rhino.jstype.TernaryValue
Gets the and of this and that.
AND - Static variable in class com.google.javascript.rhino.Token
Token types.
Annotatable - Interface in com.google.javascript.jscomp.graph
Object that has an annotation.
Annotation - Interface in com.google.javascript.jscomp.graph
Information that can be annotated to a GraphNode or Graph.GraphEdge.
ANNOTATION - Static variable in class com.google.javascript.rhino.Token
Token types.
anonymousFunctionNaming - Variable in class com.google.javascript.jscomp.CompilerOptions
Give anonymous functions names for easier debugging
AnonymousFunctionNamingPolicy - Enum in com.google.javascript.jscomp
Strategies for how to do naming of anonymous functions that occur as r-values in assignments and variable declarations.
AntErrorManager - Class in com.google.javascript.jscomp.ant
An error manager that pipes warnings and errors properly into the Ant task infrastructure.
AntErrorManager(MessageFormatter, Task) - Constructor for class com.google.javascript.jscomp.ant.AntErrorManager
 
APP_NAME_SETTER_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Instrumentation
 
append(String) - Method in class com.google.javascript.rhino.Node.FileLevelJsDocBuilder
 
appendChild(JsonML) - Method in class com.google.javascript.jscomp.jsonml.JsonML
Appends a given child element to the list of children.
appendChildren(Collection<? extends JsonML>) - Method in class com.google.javascript.jscomp.jsonml.JsonML
Appends a collection of children to the back of the list of children.
appendDebugInfo(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree
 
appendIndexMapTo(Appendable, String, List<SourceMapSection>) - Method in interface com.google.debugging.sourcemap.SourceMapGenerator
Appends the index source map to the given buffer.
appendIndexMapTo(Appendable, String, List<SourceMapSection>) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV1
 
appendIndexMapTo(Appendable, String, List<SourceMapSection>) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV2
 
appendIndexMapTo(Appendable, String, List<SourceMapSection>) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
Appends the index source map to the given buffer.
appendPlaceholderReference(String) - Method in class com.google.javascript.jscomp.JsMessage.Builder
Appends a placeholder reference to the message
appendSourceCode(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree
Appends this regular expression source to the given buffer.
appendStringPart(String) - Method in class com.google.javascript.jscomp.JsMessage.Builder
Appends a translatable string literal to the message.
appendStringTree(Appendable) - Method in class com.google.javascript.rhino.Node
 
appendTo(Appendable, String) - Method in interface com.google.debugging.sourcemap.SourceMapGenerator
Appends the source map to the given buffer.
appendTo(Appendable, String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV1
Appends the source map in LavaBug format to the given buffer.
appendTo(Appendable, String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV2
Writes out the source map in the following format (line numbers are for reference only and are not part of the format): 1.
appendTo(Appendable, String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
Writes out the source map in the following format (line numbers are for reference only and are not part of the format): 1.
appendTo(Appendable, String) - Method in class com.google.javascript.jscomp.SourceMap
 
appendWhitelist(PrintStream) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard.WhitelistBuilder
Writes the warnings collected in a format that the WhitelistWarningsGuard can read back later.
applyDelegateRelationship(ObjectType, ObjectType, ObjectType, FunctionType, FunctionType) - Method in interface com.google.javascript.jscomp.CodingConvention
In many JS libraries, the function that creates a delegate relationship also adds properties to the delegator and delegate base.
applyDelegateRelationship(ObjectType, ObjectType, ObjectType, FunctionType, FunctionType) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
applySingletonGetter(FunctionType, FunctionType, ObjectType) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
 
applySingletonGetter(FunctionType, FunctionType, ObjectType) - Method in interface com.google.javascript.jscomp.CodingConvention
In many JS libraries, the function that adds a singleton getter to a class adds properties to the class.
applySingletonGetter(FunctionType, FunctionType, ObjectType) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
applySubclassRelationship(FunctionType, FunctionType, CodingConvention.SubclassType) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
Closure's goog.inherits adds a superClass_ property to the subclass, and a constructor property.
applySubclassRelationship(FunctionType, FunctionType, CodingConvention.SubclassType) - Method in interface com.google.javascript.jscomp.CodingConvention
In many JS libraries, the function that produces inheritance also adds properties to the superclass and/or subclass.
applySubclassRelationship(FunctionType, FunctionType, CodingConvention.SubclassType) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
areAllFlagsSet() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
 
areEquivalent(E, E) - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
 
areEquivalent(E, E) - Method in interface com.google.javascript.jscomp.graph.UnionFind
Returns true if a and b belong to the same equivalence class.
ARRAY_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
ARRAY_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
arraylit(Node...) - Static method in class com.google.javascript.rhino.IR
 
ARRAYLIT - Static variable in class com.google.javascript.rhino.Token
Token types.
assertEquivalenceOperations(JSType, JSType) - Static method in class com.google.javascript.rhino.testing.Asserts
For the given equivalent types, run all type operations that should have trivial solutions (getGreatestSubtype, isEquivalentTo, etc)
assertResolvesToSame(JSType) - Static method in class com.google.javascript.rhino.testing.Asserts
 
Asserts - Class in com.google.javascript.rhino.testing
Helper methods for making assertions about the validity of types.
assertTypeEquals(JSType, JSType) - Static method in class com.google.javascript.rhino.testing.Asserts
 
assertTypeEquals(String, JSType, JSType) - Static method in class com.google.javascript.rhino.testing.Asserts
 
assertTypeEquals(JSType, Node) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
Asserts that a Node representing a type expression resolves to the correct JSType.
assertTypeEquals(JSType, JSTypeExpression) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
Asserts that a a type expression resolves to the correct JSType.
assertTypeEquals(JSType, JSType) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
assertTypeEquals(String, JSType, JSType) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
assertTypeNotEquals(JSType, JSType) - Static method in class com.google.javascript.rhino.testing.Asserts
 
assertTypeNotEquals(String, JSType, JSType) - Static method in class com.google.javascript.rhino.testing.Asserts
 
assertTypeNotEquals(JSType, JSType) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
assertTypeNotEquals(String, JSType, JSType) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
assertValidResolve(JSType) - Static method in class com.google.javascript.rhino.testing.Asserts
 
assertValidResolve(JSType, StaticScope<JSType>) - Static method in class com.google.javascript.rhino.testing.Asserts
 
assign(Node, Node) - Static method in class com.google.javascript.rhino.IR
 
ASSIGN - Static variable in class com.google.javascript.rhino.Token
Token types.
ASSIGN_ADD - Static variable in class com.google.javascript.rhino.Token
Token types.
ASSIGN_BITAND - Static variable in class com.google.javascript.rhino.Token
Token types.
ASSIGN_BITOR - Static variable in class com.google.javascript.rhino.Token
Token types.
ASSIGN_BITXOR - Static variable in class com.google.javascript.rhino.Token
Token types.
ASSIGN_DIV - Static variable in class com.google.javascript.rhino.Token
Token types.
ASSIGN_LSH - Static variable in class com.google.javascript.rhino.Token
Token types.
ASSIGN_MOD - Static variable in class com.google.javascript.rhino.Token
Token types.
ASSIGN_MUL - Static variable in class com.google.javascript.rhino.Token
Token types.
ASSIGN_RSH - Static variable in class com.google.javascript.rhino.Token
Token types.
ASSIGN_SUB - Static variable in class com.google.javascript.rhino.Token
Token types.
ASSIGN_URSH - Static variable in class com.google.javascript.rhino.Token
Token types.
assumeClosuresOnlyCaptureReferences() - Method in class com.google.javascript.jscomp.CompilerOptions
 
assumeStrictThis() - Method in class com.google.javascript.jscomp.CompilerOptions
 
AstValidator - Class in com.google.javascript.jscomp
This class walks the AST and validates that the structure is correct.
AstValidator(AstValidator.ViolationHandler) - Constructor for class com.google.javascript.jscomp.AstValidator
 
AstValidator() - Constructor for class com.google.javascript.jscomp.AstValidator
 
AstValidator.ViolationHandler - Interface in com.google.javascript.jscomp
 
autobox() - Method in class com.google.javascript.rhino.jstype.JSType
Dereference a type for property access.
autobox() - Method in class com.google.javascript.rhino.jstype.UnionType
 
autoboxesTo() - Method in class com.google.javascript.rhino.jstype.BooleanType
 
autoboxesTo() - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
autoboxesTo() - Method in class com.google.javascript.rhino.jstype.JSType
Gets the type to which this type auto-boxes.
autoboxesTo() - Method in class com.google.javascript.rhino.jstype.NumberType
 
autoboxesTo() - Method in class com.google.javascript.rhino.jstype.StringType
 

B

BANG - Static variable in class com.google.javascript.rhino.Token
Token types.
BaseJSTypeTestCase - Class in com.google.javascript.rhino.testing
 
BaseJSTypeTestCase() - Constructor for class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
BasicErrorManager - Class in com.google.javascript.jscomp
A basic error manager that sorts all errors and warnings reported to it to generate a sorted report when the BasicErrorManager.generateReport() method is called.
BasicErrorManager() - Constructor for class com.google.javascript.jscomp.BasicErrorManager
 
BITAND - Static variable in class com.google.javascript.rhino.Token
Token types.
BITNOT - Static variable in class com.google.javascript.rhino.Token
Token types.
BITOR - Static variable in class com.google.javascript.rhino.Token
Token types.
BITXOR - Static variable in class com.google.javascript.rhino.Token
Token types.
block() - Static method in class com.google.javascript.rhino.IR
 
block(Node) - Static method in class com.google.javascript.rhino.IR
 
block(Node...) - Static method in class com.google.javascript.rhino.IR
 
BLOCK - Static variable in class com.google.javascript.rhino.Token
Token types.
BOOLEAN_OBJECT_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
BOOLEAN_OBJECT_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
BOOLEAN_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
BooleanLiteralSet - Enum in com.google.javascript.rhino.jstype
A set in the domain {true,false}.
BooleanType - Class in com.google.javascript.rhino.jstype
Boolean type.
BRACELESS_TYPE - Static variable in class com.google.javascript.rhino.Node
 
BREAK - Static variable in class com.google.javascript.rhino.Token
Token types.
breakNode() - Static method in class com.google.javascript.rhino.IR
 
breakNode(Node) - Static method in class com.google.javascript.rhino.IR
 
brokenClosureRequiresLevel - Variable in class com.google.javascript.jscomp.CompilerOptions
 
build() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
build() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
build() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
build() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
build() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
build() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
build() - Method in class com.google.javascript.jscomp.JsMessage.Builder
 
build(JsMessage.IdGenerator) - Method in class com.google.javascript.jscomp.JsMessage.Builder
 
build(Node) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Builds a JSDocInfo object based on the populated information and returns it.
build() - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
Construct a new function type.
build() - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
 
build() - Method in class com.google.javascript.rhino.jstype.RecordTypeBuilder
Creates a record.
builder() - Static method in class com.google.javascript.jscomp.SourceFile
Create a new builder for source files.
buildFromCode(String, String) - Method in class com.google.javascript.jscomp.SourceFile.Builder
 
buildFromFile(String) - Method in class com.google.javascript.jscomp.SourceFile.Builder
 
buildFromFile(File) - Method in class com.google.javascript.jscomp.SourceFile.Builder
 
buildFromGenerator(String, SourceFile.Generator) - Method in class com.google.javascript.jscomp.SourceFile.Builder
 
buildFromInputStream(String, InputStream) - Method in class com.google.javascript.jscomp.SourceFile.Builder
 
buildFromReader(String, Reader) - Method in class com.google.javascript.jscomp.SourceFile.Builder
 
buildKnownSymbolTable() - Method in class com.google.javascript.jscomp.Compiler
 
buildPartial() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
buildPartial() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
buildPartial() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
buildPartial() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
buildPartial() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
buildPartial() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 

C

call(Node, Node...) - Static method in class com.google.javascript.rhino.IR
 
CALL - Static variable in class com.google.javascript.rhino.Token
Token types.
CallGraph - Class in com.google.javascript.jscomp
A pass the uses a DefinitionProvider to compute a call graph for an AST.
CallGraph(AbstractCompiler, boolean, boolean) - Constructor for class com.google.javascript.jscomp.CallGraph
Creates a call graph object supporting the specified lookups.
CallGraph(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.CallGraph
Creates a call graph object support both forward and backward lookups.
CallGraph.Callsite - Class in com.google.javascript.jscomp
An inner class that represents call sites in the call graph.
CallGraph.Function - Class in com.google.javascript.jscomp
An inner class that represents functions in the call graph.
canAssignTo(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
Tests whether values of this type can be safely assigned to values of that type.
canAssignTo(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
 
canAssignTo(JSType) - Method in class com.google.javascript.rhino.jstype.UnknownType
 
canBeCalled() - Method in class com.google.javascript.rhino.jstype.AllType
 
canBeCalled() - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
canBeCalled() - Method in class com.google.javascript.rhino.jstype.FunctionType
 
canBeCalled() - Method in class com.google.javascript.rhino.jstype.JSType
This predicate is used to test whether a given type can be used as the 'function' in a function call.
canBeCalled() - Method in class com.google.javascript.rhino.jstype.UnionType
 
canBeCalled() - Method in class com.google.javascript.rhino.jstype.UnknownType
 
canPropertyBeDefined(JSType, String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Returns whether the given property can possibly be set on the given type.
canTestForEqualityWith(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
Tests whether this and that are meaningfully comparable.
canTestForShallowEqualityWith(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
Tests whether this and that are meaningfully comparable using shallow comparison.
CASE - Static variable in class com.google.javascript.rhino.Token
Token types.
CASE_SENSITIVE - Static variable in class com.google.javascript.jscomp.regex.CaseCanonicalize
Set of code units that are case-insensitively equivalent to some other code unit according to the EcmaScript Canonicalize operation described in section 15.10.2.8.
caseAllType() - Method in interface com.google.javascript.rhino.jstype.Visitor
All type's case.
caseBooleanType() - Method in interface com.google.javascript.rhino.jstype.Visitor
Boolean value type's case.
CaseCanonicalize - Class in com.google.javascript.jscomp.regex
Implements the EcmaScript 5 Canonicalize operation used to specify how case-insensitive regular expressions match.
caseCanonicalize(String) - Static method in class com.google.javascript.jscomp.regex.CaseCanonicalize
Returns the case canonical version of the given string.
caseCanonicalize(char) - Static method in class com.google.javascript.jscomp.regex.CaseCanonicalize
Returns the case canonical version of the given code-unit.
caseEnumElementType(EnumElementType) - Method in interface com.google.javascript.rhino.jstype.Visitor
Enum element type's case.
caseFunctionType(FunctionType) - Method in interface com.google.javascript.rhino.jstype.Visitor
Function type's case.
caseNode(Node, Node) - Static method in class com.google.javascript.rhino.IR
 
caseNoObjectType() - Method in interface com.google.javascript.rhino.jstype.Visitor
Bottom Object type's case.
caseNoType() - Method in interface com.google.javascript.rhino.jstype.Visitor
Bottom type's case.
caseNullType() - Method in interface com.google.javascript.rhino.jstype.Visitor
Null type's case.
caseNumberType() - Method in interface com.google.javascript.rhino.jstype.Visitor
Number value type's case.
caseObjectType(ObjectType) - Method in interface com.google.javascript.rhino.jstype.Visitor
Object type's case.
caseStringType() - Method in interface com.google.javascript.rhino.jstype.Visitor
String value type's case.
caseUnionType(UnionType) - Method in interface com.google.javascript.rhino.jstype.Visitor
Union type's case.
caseUnknownType() - Method in interface com.google.javascript.rhino.jstype.Visitor
Unknown type's case.
caseVoidType() - Method in interface com.google.javascript.rhino.jstype.Visitor
Void type's case.
cast(JSType) - Static method in class com.google.javascript.rhino.jstype.ObjectType
A null-safe version of JSType#toObjectType.
CATCH - Static variable in class com.google.javascript.rhino.Token
Token types.
catchNode(Node, Node) - Static method in class com.google.javascript.rhino.IR
 
changes - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
 
charAt(int) - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
 
check() - Method in class com.google.javascript.jscomp.Compiler
 
check(Node, boolean) - Method in class com.google.javascript.jscomp.TypeCheck
 
CHECK_PROVIDES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
CHECK_REGEXP - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
CHECK_TYPES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
CHECK_USELESS_CODE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
CHECK_VARIABLES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
checkControlStructures - Variable in class com.google.javascript.jscomp.CompilerOptions
Checks for invalid control structures
CHECKED_UNKNOWN_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
checkForCallingConventionDefiningCalls(Node, Map<String, String>) - Method in interface com.google.javascript.jscomp.CodingConvention
Checks for function calls that set the calling conventions on delegate methods.
checkForCallingConventionDefiningCalls(Node, Map<String, String>) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
checkGlobalNamesLevel - Variable in class com.google.javascript.jscomp.CompilerOptions
 
checkGlobalThisLevel - Variable in class com.google.javascript.jscomp.CompilerOptions
 
CheckLevel - Enum in com.google.javascript.jscomp
Controls checking levels of certain options.
CheckLevelLegacy - Enum in com.google.javascript.jscomp
Enum used in flags to control the behavior of JS compiler checks.
checkMissingGetCssNameBlacklist - Variable in class com.google.javascript.jscomp.CompilerOptions
Regex of string literals that may only appear in goog.getCssName arguments.
checkMissingGetCssNameLevel - Variable in class com.google.javascript.jscomp.CompilerOptions
 
checkMissingReturn - Variable in class com.google.javascript.jscomp.CompilerOptions
 
checkProvides - Variable in class com.google.javascript.jscomp.CompilerOptions
 
checkRequires - Variable in class com.google.javascript.jscomp.CompilerOptions
Checks for missing goog.require() calls
checkSuspiciousCode - Variable in class com.google.javascript.jscomp.CompilerOptions
Checks for suspicious statements that have no effect
checkSymbols - Variable in class com.google.javascript.jscomp.CompilerOptions
Checks that all symbols are defined
checkTreeEquals(Node) - Method in class com.google.javascript.rhino.Node
Checks if the subtree under this node is the same as another subtree.
checkTypes - Variable in class com.google.javascript.jscomp.CompilerOptions
Checks types on expressions
checkUnreachableCode - Variable in class com.google.javascript.jscomp.CompilerOptions
 
children() - Method in class com.google.javascript.jscomp.regex.RegExpTree
The children of this node.
children() - Method in class com.google.javascript.rhino.Node
Return an iterable object that iterates over this nodes's children.
childrenSize() - Method in class com.google.javascript.jscomp.jsonml.JsonML
Returns number of the children.
cleanUpDuplicatedFiles(Map<String, DependencyInfo>, Map<String, DependencyInfo>) - Method in class com.google.javascript.jscomp.deps.DepsGenerator
Removes duplicated depsInfo from jsFiles if this info already present in some of the parsed deps.js
clear() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
clear() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
clear() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
clear() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
clear() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
clear() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
clearAllFlags() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
No side-effects occur and the returned results are local.
clearAppNameSetter() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
clearAst() - Method in class com.google.javascript.jscomp.CompilerInput
 
clearAst() - Method in class com.google.javascript.jscomp.JsAst
 
clearAst() - Method in class com.google.javascript.jscomp.jsonml.JsonMLAst
 
clearAst() - Method in interface com.google.javascript.jscomp.SourceAst
Removes any references to root node of the AST.
clearAst() - Method in class com.google.javascript.jscomp.SyntheticAst
 
clearAsts() - Method in class com.google.javascript.jscomp.JSModule
Removes any references to nodes of the AST.
clearCachedSource() - Method in class com.google.javascript.jscomp.JSSourceFile
 
clearCachedSource() - Method in class com.google.javascript.jscomp.SourceFile
 
clearCachedValues() - Method in class com.google.javascript.rhino.jstype.FunctionType
 
clearCachedValues() - Method in class com.google.javascript.rhino.jstype.ObjectType
Clear cached values.
clearChildren() - Method in class com.google.javascript.jscomp.jsonml.JsonML
Removes all elements from the list of children.
clearColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
clearColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
clearCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
clearCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
clearDeclarationToRemove() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
clearEdgeAnnotations() - Method in class com.google.javascript.jscomp.graph.Graph
Makes each edge's annotation null.
clearEntry() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
clearId() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
clearIdentifier() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
clearInit() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
clearLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
clearLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
clearLineNumber() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
clearModule() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
clearModuleName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
clearName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
clearName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
clearNamedTypes() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Flushes out the current resolved and unresovled Named Types from the type registry.
clearNodeAnnotations() - Method in interface com.google.javascript.jscomp.graph.AdjacencyGraph
Makes each node's annotation null.
clearNodeAnnotations() - Method in class com.google.javascript.jscomp.graph.Graph
 
clearOriginalFile() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
clearOriginalMapping() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
clearReportCall() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
clearReportDefined() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
clearReportExit() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
clearResolved() - Method in class com.google.javascript.rhino.jstype.JSType
Clears the resolved field.
clearSideEffectFlags() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
Preserve the return result flag, but clear the others: no global state change, no throws, no this change, no arguments change
clearSize() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
clearSourceName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
clearTemplateTypeName() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Clears the template type name.
clone() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
clone() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
clone() - Method in class com.google.javascript.jscomp.CompilerOptions
 
clone() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
clone() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
clone() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
clone() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
cloneNode() - Method in class com.google.javascript.rhino.Node
 
clonePropsFrom(Node) - Method in class com.google.javascript.rhino.Node
Clone the properties from the provided node without copying the property object.
cloneTree() - Method in class com.google.javascript.rhino.Node
 
ClosureCodingConvention - Class in com.google.javascript.jscomp
This describes the Closure-specific JavaScript coding conventions.
ClosureCodingConvention() - Constructor for class com.google.javascript.jscomp.ClosureCodingConvention
 
ClosureCodingConvention(CodingConvention) - Constructor for class com.google.javascript.jscomp.ClosureCodingConvention
 
closurePass - Variable in class com.google.javascript.jscomp.CompilerOptions
Processes goog.provide() and goog.require() calls
coalesceDuplicateFiles() - Method in class com.google.javascript.jscomp.JSModuleGraph
Replaces any files that are found multiple times with a single instance in the closest parent module that is common to all modules where it appears.
coalesceVariableNames - Variable in class com.google.javascript.jscomp.CompilerOptions
Merge two variables together as one.
CodingConvention - Interface in com.google.javascript.jscomp
CodingConvention defines a set of hooks to customize the behavior of the Compiler for a specific team/company.
CodingConvention.AssertionFunctionSpec - Class in com.google.javascript.jscomp
A function that will throw an exception when either: -One or more of its parameters evaluate to false.
CodingConvention.AssertionFunctionSpec(String) - Constructor for class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
 
CodingConvention.AssertionFunctionSpec(String, JSTypeNative) - Constructor for class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
 
CodingConvention.Bind - Class in com.google.javascript.jscomp
 
CodingConvention.Bind(Node, Node, Node) - Constructor for class com.google.javascript.jscomp.CodingConvention.Bind
 
CodingConvention.DelegateRelationship - Class in com.google.javascript.jscomp
Delegates provides a mechanism and structure for identifying where classes can call out to optional code to augment their functionality.
CodingConvention.ObjectLiteralCast - Class in com.google.javascript.jscomp
An object literal cast provides a mechanism to cast object literals to other types without a warning.
CodingConvention.SubclassRelationship - Class in com.google.javascript.jscomp
 
CodingConvention.SubclassRelationship(CodingConvention.SubclassType, Node, Node) - Constructor for class com.google.javascript.jscomp.CodingConvention.SubclassRelationship
 
CodingConvention.SubclassType - Enum in com.google.javascript.jscomp
 
CodingConventions - Class in com.google.javascript.jscomp
Helper classes for dealing with coding conventions.
CodingConventions.Proxy - Class in com.google.javascript.jscomp
A convention that wraps another.
CodingConventions.Proxy(CodingConvention) - Constructor for class com.google.javascript.jscomp.CodingConventions.Proxy
 
collapseAnonymousFunctions - Variable in class com.google.javascript.jscomp.CompilerOptions
Collapses anonymous function declarations into named function declarations
collapseDots(String) - Static method in class com.google.javascript.jscomp.deps.PathUtil
Removes all ../ and ./ entries from within the given path.
collapseProperties - Variable in class com.google.javascript.jscomp.CompilerOptions
Flattens multi-level property names (e.g.
collapseUnion() - Method in class com.google.javascript.rhino.jstype.JSType
Gets the least supertype of this that's not a union.
collapseUnion() - Method in class com.google.javascript.rhino.jstype.UnionType
 
collapseVariableDeclarations - Variable in class com.google.javascript.jscomp.CompilerOptions
Collapses multiple variable declarations into one
COLON - Static variable in class com.google.javascript.rhino.Token
Token types.
color() - Method in class com.google.javascript.jscomp.graph.GraphColoring
Annotates the graph with GraphColoring.Color objects using Annotatable.setAnnotation(Annotation).
color() - Method in class com.google.javascript.jscomp.graph.GraphColoring.GreedyGraphColoring
 
colorToNodeMap - Variable in class com.google.javascript.jscomp.graph.GraphColoring
 
COLUMN_BITS - Static variable in class com.google.javascript.rhino.Node
COLUMN_BITS represents how many of the lower-order bits of sourcePosition are reserved for storing the column number.
COLUMN_MASK - Static variable in class com.google.javascript.rhino.Node
COLUMN_MASK stores a value where bits storing the column number are set, and bits storing the line are not set.
COLUMN_POSITION_FIELD_NUMBER - Static variable in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
COLUMN_POSITION_FIELD_NUMBER - Static variable in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
com.google.debugging.sourcemap - package com.google.debugging.sourcemap
Provides utilities to the creation and use of source maps.
com.google.debugging.sourcemap.proto - package com.google.debugging.sourcemap.proto
 
com.google.javascript.jscomp - package com.google.javascript.jscomp
Provides the core compiler and its public API.
com.google.javascript.jscomp.ant - package com.google.javascript.jscomp.ant
 
com.google.javascript.jscomp.deps - package com.google.javascript.jscomp.deps
Analyzes information about dependencies between files.
com.google.javascript.jscomp.graph - package com.google.javascript.jscomp.graph
Provides graph data structures and algorithms for coloring and fixed-point computations.
com.google.javascript.jscomp.jsonml - package com.google.javascript.jscomp.jsonml
Provides the classes to support JsonML format and secure compiler.
com.google.javascript.jscomp.parsing - package com.google.javascript.jscomp.parsing
Provides utilities to help with parsing JSDoc annotations and performing AST transformations.
com.google.javascript.jscomp.regex - package com.google.javascript.jscomp.regex
 
com.google.javascript.jscomp.testing - package com.google.javascript.jscomp.testing
 
com.google.javascript.rhino - package com.google.javascript.rhino
The core AST from Rhino.
com.google.javascript.rhino.jstype - package com.google.javascript.rhino.jstype
Provides abstractions to represent types in JavaScript.
com.google.javascript.rhino.testing - package com.google.javascript.rhino.testing
 
comma(Node, Node) - Static method in class com.google.javascript.rhino.IR
 
COMMA - Static variable in class com.google.javascript.rhino.Token
Token types.
CommandLineRunner - Class in com.google.javascript.jscomp
CommandLineRunner translates flags into Java API calls on the Compiler.
CommandLineRunner(String[]) - Constructor for class com.google.javascript.jscomp.CommandLineRunner
Create a new command-line runner.
CommandLineRunner(String[], PrintStream, PrintStream) - Constructor for class com.google.javascript.jscomp.CommandLineRunner
 
compare(JsonML, JsonML) - Static method in class com.google.javascript.jscomp.jsonml.JsonMLUtil
Compares two specified JsonML trees.
compareTo(DiagnosticType) - Method in class com.google.javascript.jscomp.DiagnosticType
 
CompilationLevel - Enum in com.google.javascript.jscomp
A CompilationLevel represents the level of optimization that should be applied when compiling JavaScript code.
compile(SourceFile, SourceFile, CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
 
compile(SourceFile, JSSourceFile[], CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
 
compile(JSSourceFile, JSModule[], CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
 
compile(JSSourceFile[], JSSourceFile[], CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
Compiles a list of inputs.
compile(List<T1>, List<T2>, CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
Compiles a list of inputs.
compile(JSSourceFile[], JSModule[], CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
Compiles a list of modules.
compile(JsonML) - Method in class com.google.javascript.jscomp.jsonml.SecureCompiler
 
COMPILED_SOURCE_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
COMPILED_SOURCE_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
compileModules(List<T>, List<JSModule>, CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
Compiles a list of modules.
Compiler - Class in com.google.javascript.jscomp
Compiler (and the other classes in this package) does the following: parses JS code checks for undefined variables performs optimizations such as constant folding and constants inlining renames variables (to short names) outputs compact javascript code External variables are declared in 'externs' files.
Compiler() - Constructor for class com.google.javascript.jscomp.Compiler
Creates a Compiler that reports errors and warnings to its logger.
Compiler(PrintStream) - Constructor for class com.google.javascript.jscomp.Compiler
Creates n Compiler that reports errors and warnings to an output stream.
Compiler(ErrorManager) - Constructor for class com.google.javascript.jscomp.Compiler
Creates a Compiler that uses a custom error manager.
Compiler.CodeBuilder - Class in com.google.javascript.jscomp
Stores a buffer of text to which more can be appended.
Compiler.CodeBuilder() - Constructor for class com.google.javascript.jscomp.Compiler.CodeBuilder
 
Compiler.IntermediateState - Class in com.google.javascript.jscomp
Stores the internal compiler state just before optimization is performed.
CompilerInput - Class in com.google.javascript.jscomp
A class for the internal representation of an input to the compiler.
CompilerInput(SourceAst) - Constructor for class com.google.javascript.jscomp.CompilerInput
 
CompilerInput(SourceAst, boolean) - Constructor for class com.google.javascript.jscomp.CompilerInput
 
CompilerInput(SourceAst, String, boolean) - Constructor for class com.google.javascript.jscomp.CompilerInput
 
CompilerInput(SourceAst, InputId, boolean) - Constructor for class com.google.javascript.jscomp.CompilerInput
 
CompilerInput(SourceFile) - Constructor for class com.google.javascript.jscomp.CompilerInput
 
CompilerInput(SourceFile, boolean) - Constructor for class com.google.javascript.jscomp.CompilerInput
 
CompilerOptions - Class in com.google.javascript.jscomp
Compiler options
CompilerOptions() - Constructor for class com.google.javascript.jscomp.CompilerOptions
Initializes compiler options.
CompilerOptions.AliasTransformation - Interface in com.google.javascript.jscomp
A Role Specific Interface for the JsCompiler to report aliases used to change the code during a compile.
CompilerOptions.AliasTransformationHandler - Interface in com.google.javascript.jscomp
A Role Specific Interface for JsCompiler that represents a data holder object which is used to store goog.scope alias code changes to code made during a compile.
CompilerOptions.LanguageMode - Enum in com.google.javascript.jscomp
When to do the extra sanity checks
CompilerOptions.Reach - Enum in com.google.javascript.jscomp
 
CompilerOptions.TracerMode - Enum in com.google.javascript.jscomp
 
CompilerOptions.TweakProcessing - Enum in com.google.javascript.jscomp
 
CompilerPass - Interface in com.google.javascript.jscomp
Interface for classes that can compile JS.
CompileTask - Class in com.google.javascript.jscomp.ant
This class implements a simple Ant task to do almost the same as CommandLineRunner.
CompileTask() - Constructor for class com.google.javascript.jscomp.ant.CompileTask
 
ComposeWarningsGuard - Class in com.google.javascript.jscomp
WarningsGuard that represents just a chain of other guards.
ComposeWarningsGuard(List<WarningsGuard>) - Constructor for class com.google.javascript.jscomp.ComposeWarningsGuard
 
ComposeWarningsGuard(WarningsGuard...) - Constructor for class com.google.javascript.jscomp.ComposeWarningsGuard
 
compute(N) - Method in class com.google.javascript.jscomp.graph.GraphReachability
 
computeDependencyCalls() - Method in class com.google.javascript.jscomp.deps.DepsGenerator
Performs the parsing inputs and writing of outputs.
computeFixedPoint(DiGraph<N, E>) - Method in class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
Compute a fixed point for the given graph.
computeFixedPoint(DiGraph<N, E>, N) - Method in class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
Compute a fixed point for the given graph, entering from the given node.
computeFixedPoint(DiGraph<N, E>, Set<N>) - Method in class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
Compute a fixed point for the given graph, entering from the given nodes.
computeFunctionSideEffects - Variable in class com.google.javascript.jscomp.CompilerOptions
Use @nosideeffects annotations, function bodies and name graph to determine if calls have side effects.
Config - Class in com.google.javascript.jscomp.parsing
Configuration for the AST factory.
Config.LanguageMode - Enum in com.google.javascript.jscomp.parsing
 
connect(N, E, N) - Method in class com.google.javascript.jscomp.graph.Graph
Connects two nodes in the graph with an edge.
connect(N, E, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
connect(N, E, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
connectIfNotFound(N, E, N) - Method in class com.google.javascript.jscomp.graph.Graph
Connects two nodes in the graph with an edge if such edge does not already exists between the nodes.
CONST - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
CONST - Static variable in class com.google.javascript.rhino.Token
Token types.
CONSTANT_PROPERTY - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
contains(boolean) - Method in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
Returns whether this contains the given literal value.
contains(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
A UnionType contains a given type (alternate) iff the member vector contains it.
containsAnchor() - Method in class com.google.javascript.jscomp.regex.RegExpTree
True if the regular expression contains an anchor : ^ or $.
containsDeclaration() - Method in class com.google.javascript.rhino.JSDocInfo
 
containWarning(String) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard
Determines whether a given warning is included in the white-list.
CONTINUE - Static variable in class com.google.javascript.rhino.Token
Token types.
continueNode() - Static method in class com.google.javascript.rhino.IR
 
continueNode(Node) - Static method in class com.google.javascript.rhino.IR
 
convertToDottedProperties - Variable in class com.google.javascript.jscomp.CompilerOptions
Converts quoted property accesses to dot syntax (a['b'] -> a.b)
convertToJsonML() - Method in class com.google.javascript.jscomp.jsonml.JsonMLAst
 
copyFromOtherFunction(FunctionType) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
Copies all the information from another function type.
copyInformationFrom(Node) - Method in class com.google.javascript.rhino.Node
Copies source file and name information from the other node given to the current node.
copyInformationFromForTree(Node) - Method in class com.google.javascript.rhino.Node
Copies source file and name information from the other node to the entire tree rooted at this node.
create() - Static method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
create() - Static method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
createAnonymousObjectType() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Create an anonymous object type.
createCompiler() - Method in class com.google.javascript.jscomp.CommandLineRunner
 
createConfig(boolean) - Static method in class com.google.javascript.jscomp.parsing.ParserRunner
Deprecated. 
createConfig(boolean, Config.LanguageMode, boolean) - Static method in class com.google.javascript.jscomp.parsing.ParserRunner
 
createConfig(boolean, Config.LanguageMode, boolean, Set<String>) - Static method in class com.google.javascript.jscomp.parsing.ParserRunner
 
createConstructorType(JSType, JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a function type which can act as a constructor.
createConstructorType(JSType, boolean, JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a function type which can act as a constructor.
createConstructorType(String, Node, Node, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a constructor function type.
createConstructorTypeWithVarArgs(JSType, JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a function type which can act as a constructor.
createDefaultObjectUnion(JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a type representing nullable values of the given type.
createDefine() - Method in class com.google.javascript.jscomp.ant.CompileTask
Creates a new <define/> nested element.
createDelegateSuffix(String) - Static method in class com.google.javascript.rhino.jstype.ObjectType
Creates a suffix for a proxy delegate.
createDepsFileParser() - Method in class com.google.javascript.jscomp.deps.DepsGenerator
 
createDirectedGraphNode(N) - Method in class com.google.javascript.jscomp.graph.DiGraph
 
createDirectedGraphNode(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
createEnumType(String, Node, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates an enum type.
createExterns() - Method in class com.google.javascript.jscomp.CommandLineRunner
 
createFromTypeNodes(Node, String, StaticScope<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a JSType from the nodes representing a type.
createFunctionType(JSType, JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a function type.
createFunctionType(JSType, List<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a function type.
createFunctionType(ObjectType, JSType, List<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a function type in which this refers to an object instance.
createFunctionType(JSType, boolean, JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a function type.
createFunctionType(JSType, Node) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
 
createFunctionTypeWithNewReturnType(FunctionType, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a new function type based on an existing function type but with a new return type.
createFunctionTypeWithNewThisType(FunctionType, ObjectType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a new function type based on an existing function type but with a new this type.
createFunctionTypeWithVarArgs(JSType, List<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a function type.
createFunctionTypeWithVarArgs(JSType, JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a function type.
createFunctionTypeWithVarArgs(ObjectType, JSType, List<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a function type in which this refers to an object instance.
createInterfaceType(String, Node) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates an interface function type.
createInternal(AbstractCompiler) - Method in class com.google.javascript.jscomp.PassFactory
Creates a new compiler pass to be run.
createNamedType(String, String, int, int) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a named type.
createNode(N) - Method in class com.google.javascript.jscomp.graph.Graph
Gets a node from the graph given a value.
createNode(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
createNode(N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
createNullableType(JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a type representing nullable values of the given type.
createNullableType(JSType) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
createObjectType(ObjectType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Create an object type.
createObjectType(String, Node, ObjectType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Create an object type.
createOptionalNullableType(JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a nullabel and undefine-able value of the given type.
createOptionalParameters(JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a tree hierarchy representing a typed parameter list in which every parameter is optional.
createOptionalType(JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a type representing optional values of the given type.
createOptionalType(JSType) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
createOptions() - Method in class com.google.javascript.jscomp.CommandLineRunner
 
createParameterizedType(ObjectType, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a parameterized type.
createParameters(List<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a tree hierarchy representing a typed argument list.
createParameters(JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a tree hierarchy representing a typed argument list.
createParametersWithVarArgs(List<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a tree hierarchy representing a typed argument list.
createParametersWithVarArgs(JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a tree hierarchy representing a typed argument list.
createRecordType(Map<String, RecordTypeBuilder.RecordProperty>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a record type.
createRecordTypeBuilder() - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
createUndirectedGraphNode(N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
createUnionType(JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a union type whose variants are the arguments.
createUnionType(JSTypeNative...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Creates a union type whose variants are the builtin types specified by the arguments.
createUnionType(JSType...) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
createWithEdgeAnnotations() - Static method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
createWithEdgeAnnotations() - Static method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
createWithNodeAnnotations() - Static method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
createWithNodeAnnotations() - Static method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
createWithoutAnnotations() - Static method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
createWithoutAnnotations() - Static method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
crossModuleCodeMotion - Variable in class com.google.javascript.jscomp.CompilerOptions
Move code to a deeper module
crossModuleMethodMotion - Variable in class com.google.javascript.jscomp.CompilerOptions
Move methds to a deeper module
cssNames - Variable in class com.google.javascript.jscomp.Result
 
cssRenamingMap - Variable in class com.google.javascript.jscomp.CompilerOptions
Map used in the renaming of CSS class names.
CssRenamingMap - Interface in com.google.javascript.jscomp
Interface used by ReplaceCssNames to substitute CSS class names.
CssRenamingMap.ByPart - Class in com.google.javascript.jscomp
 
CssRenamingMap.ByPart() - Constructor for class com.google.javascript.jscomp.CssRenamingMap.ByPart
 
CssRenamingMap.ByWhole - Class in com.google.javascript.jscomp
 
CssRenamingMap.ByWhole() - Constructor for class com.google.javascript.jscomp.CssRenamingMap.ByWhole
 
CssRenamingMap.Style - Enum in com.google.javascript.jscomp
 
customPasses - Variable in class com.google.javascript.jscomp.CompilerOptions
Custom passes
CustomPassExecutionTime - Enum in com.google.javascript.jscomp
Custom pass type.

D

DATE_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
DATE_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
deadAssignmentElimination - Variable in class com.google.javascript.jscomp.CompilerOptions
Remove assignments to values that can not be referenced
DEBUGGER - Static variable in class com.google.javascript.rhino.Token
Token types.
DEBUGGER_STATEMENT_PRESENT - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
debugLog - Variable in class com.google.javascript.jscomp.Result
 
DEC - Static variable in class com.google.javascript.rhino.Token
Token types.
DECLARATION_TO_REMOVE_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Instrumentation
 
declareInferredSymbol(SymbolTable.SymbolScope, String, Node) - Method in class com.google.javascript.jscomp.SymbolTable
Declare a symbol after the main symbol table was constructed.
declareType(String, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Records declared global type names.
DECR_FLAG - Static variable in class com.google.javascript.rhino.Node
 
DEFAULT - Static variable in class com.google.javascript.rhino.Token
 
DEFAULT_CASE - Static variable in class com.google.javascript.rhino.Token
Token types.
DEFAULT_FILENAME_PREFIX - Static variable in class com.google.javascript.jscomp.ProcessCommonJSModules
 
defaultCase(Node) - Static method in class com.google.javascript.rhino.IR
 
defaultLevel - Variable in class com.google.javascript.jscomp.DiagnosticType
Default level
DefaultPassConfig - Class in com.google.javascript.jscomp
Pass factories and meta-data for native JSCompiler passes.
DefaultPassConfig(CompilerOptions) - Constructor for class com.google.javascript.jscomp.DefaultPassConfig
 
defineDeclaredProperty(String, JSType, Node) - Method in class com.google.javascript.rhino.jstype.ObjectType
Defines a property whose type is synthesized (i.e.
defineDelegateProxyPrototypeProperties(JSTypeRegistry, Scope, List<ObjectType>, Map<String, String>) - Method in interface com.google.javascript.jscomp.CodingConvention
Defines the delegate proxy prototype properties.
defineDelegateProxyPrototypeProperties(JSTypeRegistry, Scope, List<ObjectType>, Map<String, String>) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
defineElement(String, Node) - Method in class com.google.javascript.rhino.jstype.EnumType
Defines a new element on this enum.
defineInferredProperty(String, JSType, Node) - Method in class com.google.javascript.rhino.jstype.ObjectType
Defines a property whose type is inferred.
defineReferenceAt(Node) - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
 
DELPROP - Static variable in class com.google.javascript.rhino.Token
Token types.
DependencyInfo - Interface in com.google.javascript.jscomp.deps
A data structure for JS dependency information for a single .js file.
DependencyOptions - Class in com.google.javascript.jscomp
Options for how to manage dependencies between input files.
DependencyOptions() - Constructor for class com.google.javascript.jscomp.DependencyOptions
 
dependsOn(JSModule, JSModule) - Method in class com.google.javascript.jscomp.JSModuleGraph
Determines whether this module depends on a given module.
DEPRECATED - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
DepsFileParser - Class in com.google.javascript.jscomp.deps
A parser that can extract dependency information from existing deps.js files.
DepsFileParser(ErrorManager) - Constructor for class com.google.javascript.jscomp.deps.DepsFileParser
Constructor
DepsFileParser(Function<String, String>, ErrorManager) - Constructor for class com.google.javascript.jscomp.deps.DepsFileParser
 
DepsGenerator - Class in com.google.javascript.jscomp.deps
Generates deps.js files by scanning javascript files for calls to goog.provide(), goog.require() and goog.addDependency().
DepsGenerator(Collection<SourceFile>, Collection<SourceFile>, DepsGenerator.InclusionStrategy, String, ErrorManager) - Constructor for class com.google.javascript.jscomp.deps.DepsGenerator
Creates a new DepsGenerator.
dereference() - Method in class com.google.javascript.rhino.jstype.JSType
Dereference a type for property access.
describeFunctionBind(Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
 
describeFunctionBind(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
A Bind instance or null.
describeFunctionBind(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
description - Variable in class com.google.javascript.jscomp.JSError
Description of the error
description - Variable in class com.google.javascript.jscomp.jsonml.JsonMLError
Description of the error
destNode - Variable in class com.google.javascript.jscomp.graph.GraphReachability.EdgeTuple
 
detachChildren() - Method in class com.google.javascript.rhino.Node
Removes all children from this node and isolates the children from each other.
detachFromParent() - Method in class com.google.javascript.rhino.Node
Removes this node from its parent.
devirtualizePrototypeMethods - Variable in class com.google.javascript.jscomp.CompilerOptions
Devirtualize prototype method by rewriting them to be static calls that take the this pointer as their first argument
DiagnosticGroup - Class in com.google.javascript.jscomp
Group a set of related diagnostic types together, so that they can be toggled on and off as one unit.
DiagnosticGroup(DiagnosticType...) - Constructor for class com.google.javascript.jscomp.DiagnosticGroup
Create a group that matches all errors of the given types.
DiagnosticGroup(DiagnosticGroup...) - Constructor for class com.google.javascript.jscomp.DiagnosticGroup
Create a composite group.
DiagnosticGroup(String, DiagnosticGroup...) - Constructor for class com.google.javascript.jscomp.DiagnosticGroup
Create a composite group.
DiagnosticGroups - Class in com.google.javascript.jscomp
Named groups of DiagnosticTypes exposed by Compiler.
DiagnosticGroups() - Constructor for class com.google.javascript.jscomp.DiagnosticGroups
 
DiagnosticGroupWarningsGuard - Class in com.google.javascript.jscomp
Sets the level for a particular DiagnosticGroup.
DiagnosticGroupWarningsGuard(DiagnosticGroup, CheckLevel) - Constructor for class com.google.javascript.jscomp.DiagnosticGroupWarningsGuard
 
DiagnosticType - Class in com.google.javascript.jscomp
The type of a compile or analysis error.
didParseSucceed() - Method in class com.google.javascript.jscomp.deps.JsFileLineParser
 
diff - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
 
differsFrom(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
Whether this type is meaningfully different from that type.
DiGraph<N,E> - Class in com.google.javascript.jscomp.graph
A generic directed graph.
DiGraph() - Constructor for class com.google.javascript.jscomp.graph.DiGraph
 
DiGraph.DiGraphEdge<N,E> - Interface in com.google.javascript.jscomp.graph
A generic directed graph edge.
DiGraph.DiGraphNode<N,E> - Interface in com.google.javascript.jscomp.graph
A generic directed graph node.
DIRECT_EVAL - Static variable in class com.google.javascript.rhino.Node
 
DIRECTIVES - Static variable in class com.google.javascript.rhino.Node
 
disabled(String, String) - Static method in class com.google.javascript.jscomp.DiagnosticType
Create a DiagnosticType at level CheckLevel.OFF
disableRuntimeTypeCheck() - Method in class com.google.javascript.jscomp.CompilerOptions
 
disables(DiagnosticGroup) - Method in class com.google.javascript.jscomp.ComposeWarningsGuard
 
disables(DiagnosticGroup) - Method in class com.google.javascript.jscomp.DiagnosticGroupWarningsGuard
 
disables(DiagnosticGroup) - Method in class com.google.javascript.jscomp.WarningsGuard
Returns whether all warnings in the given diagnostic group will be filtered out.
disableThreads() - Method in class com.google.javascript.jscomp.Compiler
Disable threads.
disambiguateProperties - Variable in class com.google.javascript.jscomp.CompilerOptions
Rename properties to disambiguate between unrelated fields based on type information.
disconnect(N, N) - Method in class com.google.javascript.jscomp.graph.Graph
Disconnects two nodes in the graph by removing all edges between them.
disconnect(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
disconnect(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
disconnectInDirection(N, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
Disconnects all edges from n1 to n2.
disconnectInDirection(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
DIV - Static variable in class com.google.javascript.rhino.Token
Token types.
DO - Static variable in class com.google.javascript.rhino.Token
Token types.
doNode(Node, Node) - Static method in class com.google.javascript.rhino.IR
 
DotFormatter - Class in com.google.javascript.jscomp
DotFormatter prints out a dot file of the Abstract Syntax Tree.
DUPLICATE_MESSAGE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
DUPLICATE_VARS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 

E

edge - Variable in class com.google.javascript.jscomp.graph.GraphReachability.EdgeTuple
 
element - Variable in class com.google.javascript.jscomp.jsonml.JsonMLError
Node where the warning occurred.
elements() - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
 
elements() - Method in interface com.google.javascript.jscomp.graph.UnionFind
Returns an unmodifiable set of all elements added to the UnionFind.
ELLIPSIS - Static variable in class com.google.javascript.rhino.Token
Token types.
empty() - Static method in class com.google.javascript.rhino.IR
 
EMPTY - Static variable in class com.google.javascript.rhino.Token
Token types.
EMPTY_BLOCK - Static variable in class com.google.javascript.rhino.Node
 
EMPTY_TYPE_COMPONENT - Static variable in class com.google.javascript.rhino.jstype.JSType
 
EmptyMessageBundle - Class in com.google.javascript.jscomp
An implementation of MessageBundle that has no translations.
EmptyMessageBundle() - Constructor for class com.google.javascript.jscomp.EmptyMessageBundle
 
emptyScope() - Static method in class com.google.javascript.rhino.testing.MapBasedScope
 
enableExternExports(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
Deprecated. replaced by CompilerOptions.setExternExports(boolean)
enableFoldConstant() - Method in class com.google.javascript.jscomp.jsonml.SecureCompiler
 
enableRuntimeTypeCheck(String) - Method in class com.google.javascript.jscomp.CompilerOptions
Enable runtime type checking, which adds JS type assertions for debugging.
enables(DiagnosticGroup) - Method in class com.google.javascript.jscomp.ComposeWarningsGuard
Determines whether this guard will "elevate" the status of any disabled diagnostic type in the group to a warning or an error.
enables(DiagnosticGroup) - Method in class com.google.javascript.jscomp.DiagnosticGroupWarningsGuard
 
enables(DiagnosticGroup) - Method in class com.google.javascript.jscomp.WarningsGuard
Returns whether any of the warnings in the given diagnostic group will be upgraded to a warning or error.
encodeEntry(Appendable, int, int, int) - Static method in class com.google.debugging.sourcemap.SourceMapGeneratorV2.LineMapEncoder
The source map line map is consists of a series of entries each representing a map entry and a repetition count of that entry.
enterScope(NodeTraversal) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractScopedCallback
 
enterScope(NodeTraversal) - Method in interface com.google.javascript.jscomp.NodeTraversal.ScopedCallback
Called immediately after entering a new scope.
ENTRY_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap
 
ENUMDECL - Static variable in class com.google.javascript.rhino.jstype.JSType
 
EnumElementType - Class in com.google.javascript.rhino.jstype
The type of individual elements of an enum type (see EnumType).
EnumType - Class in com.google.javascript.rhino.jstype
An enum type representing a branded collection of elements.
EOC - Static variable in class com.google.javascript.rhino.Token
Token types.
eq(Node, Node) - Static method in class com.google.javascript.rhino.IR
"=="
EQ - Static variable in class com.google.javascript.rhino.Token
Token types.
equals(Object) - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo
 
equals(Object) - Method in class com.google.javascript.jscomp.DiagnosticType
 
equals(Object) - Method in class com.google.javascript.jscomp.graph.GraphColoring.Color
 
equals(Object) - Method in class com.google.javascript.jscomp.JSError
 
equals(Object) - Method in class com.google.javascript.jscomp.JsMessage
 
equals(Object) - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
 
equals(Object) - Method in class com.google.javascript.jscomp.regex.RegExpTree
 
equals(Object) - Method in class com.google.javascript.jscomp.Scope.Arguments
 
equals(Object) - Method in class com.google.javascript.jscomp.Scope.Var
 
equals(Object) - Method in class com.google.javascript.rhino.InputId
 
equals(Object) - Method in class com.google.javascript.rhino.jstype.JSType
 
equals(Object) - Method in class com.google.javascript.rhino.JSTypeExpression
 
EQUALS - Static variable in class com.google.javascript.rhino.Token
Token types.
error(String, String) - Static method in class com.google.javascript.jscomp.DiagnosticType
Create a DiagnosticType at level CheckLevel.ERROR
error(String, String, int, int) - Method in class com.google.javascript.jscomp.parsing.NullErrorReporter
 
error(String, String, int, String, int) - Method in class com.google.javascript.jscomp.testing.TestErrorReporter
 
error(String, String, int, int) - Method in interface com.google.javascript.rhino.ErrorReporter
Report an error.
error(String, String, int, int) - Method in class com.google.javascript.rhino.SimpleErrorReporter
 
error(String, String, int, int) - Method in class com.google.javascript.rhino.testing.TestErrorReporter
 
ERROR - Static variable in class com.google.javascript.rhino.Token
Token types.
ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
ERROR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
errorFormat - Variable in class com.google.javascript.jscomp.CompilerOptions
 
ErrorFormat - Enum in com.google.javascript.jscomp
Error formats available.
ErrorHandler - Interface in com.google.javascript.jscomp
The error handler is any generic sink for warnings and errors, after they've passed through any filtering WarningsGuards.
ErrorLevel - Enum in com.google.javascript.jscomp.jsonml
Represents possible error levels for JsonML errors.
ErrorManager - Interface in com.google.javascript.jscomp
The error manager is in charge of storing, organizing and displaying errors and warnings generated by the compiler.
ErrorReporter - Interface in com.google.javascript.rhino
This is interface defines a protocol for the reporting of errors during JavaScript translation or execution.
errorReporter - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
errors - Variable in class com.google.javascript.jscomp.Result
 
errors() - Method in class com.google.javascript.rhino.SimpleErrorReporter
Returns the list of errors, or null if there were none.
ES5_STRICT - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
escapeString(String) - Static method in class com.google.javascript.rhino.ScriptRuntime
 
escapeString(String, char) - Static method in class com.google.javascript.rhino.ScriptRuntime
For escaping strings printed by object and array literals; not quite the same as 'escape.'
EVAL_ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
EVAL_ERROR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
evaluate(StaticScope<JSType>, JSTypeRegistry) - Method in class com.google.javascript.rhino.JSTypeExpression
Evaluates the type expression into a JSType object.
execute() - Method in class com.google.javascript.jscomp.ant.CompileTask
 
exitScope(NodeTraversal) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractScopedCallback
 
exitScope(NodeTraversal) - Method in interface com.google.javascript.jscomp.NodeTraversal.ScopedCallback
Called immediately before exiting a scope.
expandToAllMatched(CharRanges) - Static method in class com.google.javascript.jscomp.regex.CaseCanonicalize
Given a character range that may include case sensitive code-units, such as [0-9B-M], returns the character range that includes all the code-units in the input and those that are case-insensitively equivalent to a code-unit in the input.
exportTestFunctions - Variable in class com.google.javascript.jscomp.CompilerOptions
Whether to export test functions.
EXPR_RESULT - Static variable in class com.google.javascript.rhino.Token
Token types.
exprResult(Node) - Static method in class com.google.javascript.rhino.IR
 
exprTypes - Static variable in class com.google.javascript.jscomp.jsonml.Validator
 
EXTERN_OBJECT_PROPERTY_STRING - Static variable in class com.google.javascript.jscomp.ObjectPropertyStringPreprocess
 
externExport - Variable in class com.google.javascript.jscomp.Result
 
EXTERNS_VALIDATION - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
extractCharno(int) - Static method in class com.google.javascript.rhino.Node
Extracts the character number and character number from a merged line char number (see Node.mergeLineCharNo(int, int)).
extractClassNameIfProvide(Node, Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
Exctracts X from goog.provide('X'), if the applied Node is goog.
extractClassNameIfProvide(Node, Node) - Method in interface com.google.javascript.jscomp.CodingConvention
Convenience method for determining provided dependencies amongst different js scripts.
extractClassNameIfProvide(Node, Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
extractClassNameIfRequire(Node, Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
Exctracts X from goog.require('X'), if the applied Node is goog.
extractClassNameIfRequire(Node, Node) - Method in interface com.google.javascript.jscomp.CodingConvention
Convenience method for determining required dependencies amongst different js scripts.
extractClassNameIfRequire(Node, Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
extractLineno(int) - Static method in class com.google.javascript.rhino.Node
Extracts the line number and character number from a merged line char number (see Node.mergeLineCharNo(int, int)).
extractMessages(SourceFile...) - Method in class com.google.javascript.jscomp.JsMessageExtractor
Extracts js messages from javascript code.
extractMessages(Iterable<T>) - Method in class com.google.javascript.jscomp.JsMessageExtractor
Extracts js messages from javascript code.
extractPrototypeMemberDeclarations - Variable in class com.google.javascript.jscomp.CompilerOptions
Extracts common prototype member declarations

F

FALSE - Static variable in class com.google.javascript.rhino.Token
Token types.
falseNode() - Static method in class com.google.javascript.rhino.IR
 
FieldCleanupPass - Class in com.google.javascript.jscomp
A CleanupPass implementation that will remove all field declarations on JSTypes contributed by the original file.
FieldCleanupPass(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.FieldCleanupPass
 
FILEOVERVIEW_JSDOC - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
FilePosition - Class in com.google.debugging.sourcemap
Represents a position in a source file.
FilePosition(int, int) - Constructor for class com.google.debugging.sourcemap.FilePosition
 
find(E) - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
 
find(E) - Method in interface com.google.javascript.jscomp.graph.UnionFind
Returns the representative of the equivalence class of e.
findAll(E) - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
 
findAll(E) - Method in interface com.google.javascript.jscomp.graph.UnionFind
Returns the elements in the same equivalence class as value.
FindExportableNodes - Class in com.google.javascript.jscomp
Records all of the symbols and properties that should be exported.
FindExportableNodes(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.FindExportableNodes
 
FindExportableNodes.GenerateNodeContext - Class in com.google.javascript.jscomp
Context holding the node references required for generating the export calls.
FindExportableNodes.GenerateNodeContext(Node, Node, Node) - Constructor for class com.google.javascript.jscomp.FindExportableNodes.GenerateNodeContext
 
findPropertyType(String) - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
findPropertyType(String) - Method in class com.google.javascript.rhino.jstype.JSType
Coerces this type to an Object type, then gets the type of the property whose name is given.
findPropertyType(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
 
findPropertyType(String) - Method in class com.google.javascript.rhino.jstype.UnionType
 
FixedPointGraphTraversal<N,E> - Class in com.google.javascript.jscomp.graph
A utility class for doing fixed-point computations.
FixedPointGraphTraversal(FixedPointGraphTraversal.EdgeCallback<N, E>) - Constructor for class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
Create a new traversal.
FixedPointGraphTraversal.EdgeCallback<Node,Edge> - Interface in com.google.javascript.jscomp.graph
 
FLAG_ARGUMENTS_UNMODIFIED - Static variable in class com.google.javascript.rhino.Node
 
FLAG_GLOBAL_STATE_UNMODIFIED - Static variable in class com.google.javascript.rhino.Node
 
FLAG_LOCAL_RESULTS - Static variable in class com.google.javascript.rhino.Node
 
FLAG_NO_THROWS - Static variable in class com.google.javascript.rhino.Node
 
FLAG_THIS_UNMODIFIED - Static variable in class com.google.javascript.rhino.Node
 
flowSensitiveInlineVariables - Variable in class com.google.javascript.jscomp.CompilerOptions
 
foldConstants - Variable in class com.google.javascript.jscomp.CompilerOptions
Folds constants (e.g.
FOR - Static variable in class com.google.javascript.rhino.Token
Token types.
forBoolean(boolean) - Static method in enum com.google.javascript.rhino.jstype.TernaryValue
Gets the TernaryValue for the given boolean.
forceResolve(ErrorReporter, StaticScope<JSType>) - Method in class com.google.javascript.rhino.jstype.JSType
Force this type to resolve, even if the registry is in a lazy resolving mode.
forConstructor() - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
Make this a constructor.
forIn(Node, Node, Node) - Static method in class com.google.javascript.rhino.IR
 
forMap(String, int, int) - Static method in class com.google.debugging.sourcemap.SourceMapSection
 
format - Variable in class com.google.javascript.jscomp.DiagnosticType
The default way to format errors
format(CheckLevel, MessageFormatter) - Method in class com.google.javascript.jscomp.JSError
Format a message at the given level.
formatError(JSError) - Method in class com.google.javascript.jscomp.LightweightMessageFormatter
 
formatError(JSError) - Method in interface com.google.javascript.jscomp.MessageFormatter
Format an error.
formatLine(String, int) - Method in interface com.google.javascript.jscomp.SourceExcerptProvider.ExcerptFormatter
Format a line excerpt.
formatPathToDepsFile(String) - Method in class com.google.javascript.jscomp.deps.DepsGenerator
Format the deps file path so that it can be included in the output file.
formatRegion(Region) - Method in interface com.google.javascript.jscomp.SourceExcerptProvider.ExcerptFormatter
Format a region excerpt.
formatWarning(JSError) - Method in class com.google.javascript.jscomp.LightweightMessageFormatter
 
formatWarning(JSError) - Method in interface com.google.javascript.jscomp.MessageFormatter
Format a warning.
formatWarning(JSError) - Static method in class com.google.javascript.jscomp.WhitelistWarningsGuard
 
formatWarning(JSError, boolean) - Static method in class com.google.javascript.jscomp.WhitelistWarningsGuard
 
forName(String) - Method in class com.google.javascript.jscomp.DiagnosticGroups
Find the diagnostic group registered under the given name.
forNewRhino() - Static method in class com.google.javascript.jscomp.parsing.NullErrorReporter
 
forNode(Node, Node, Node, Node) - Static method in class com.google.javascript.rhino.IR
 
forNoExpectedReports() - Static method in class com.google.javascript.rhino.testing.TestErrorReporter
 
forOldRhino() - Static method in class com.google.javascript.jscomp.parsing.NullErrorReporter
 
forType(DiagnosticType) - Static method in class com.google.javascript.jscomp.DiagnosticGroup
Create a diagnostic group that matches only the given type.
forURL(String, int, int) - Static method in class com.google.debugging.sourcemap.SourceMapSection
 
forwardDeclareType(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Records a forward-declared type name.
FREE_CALL - Static variable in class com.google.javascript.rhino.Node
 
fromBytes(byte[]) - Static method in class com.google.javascript.jscomp.VariableMap
Deserializes the variable map from a byte array returned by VariableMap.toBytes().
fromCode(String, String) - Static method in class com.google.javascript.jscomp.JSSourceFile
 
fromCode(String, String) - Static method in class com.google.javascript.jscomp.SourceFile
 
fromCode(String, String, String) - Static method in class com.google.javascript.jscomp.SourceFile
 
fromFile(String, Charset) - Static method in class com.google.javascript.jscomp.JSSourceFile
 
fromFile(String) - Static method in class com.google.javascript.jscomp.JSSourceFile
 
fromFile(File, Charset) - Static method in class com.google.javascript.jscomp.JSSourceFile
 
fromFile(File) - Static method in class com.google.javascript.jscomp.JSSourceFile
 
fromFile(String, Charset) - Static method in class com.google.javascript.jscomp.SourceFile
 
fromFile(String) - Static method in class com.google.javascript.jscomp.SourceFile
 
fromFile(File, Charset) - Static method in class com.google.javascript.jscomp.SourceFile
 
fromFile(File) - Static method in class com.google.javascript.jscomp.SourceFile
 
fromFile(File) - Static method in class com.google.javascript.jscomp.WhitelistWarningsGuard
Creates a warnings guard from a file.
fromGenerator(String, SourceFile.Generator) - Static method in class com.google.javascript.jscomp.JSSourceFile
 
fromGenerator(String, SourceFile.Generator) - Static method in class com.google.javascript.jscomp.SourceFile
 
fromInputStream(String, InputStream) - Static method in class com.google.javascript.jscomp.JSSourceFile
 
fromInputStream(String, InputStream) - Static method in class com.google.javascript.jscomp.SourceFile
 
fromInputStream(String, String, InputStream) - Static method in class com.google.javascript.jscomp.SourceFile
 
fromMap(Map<String, String>) - Static method in class com.google.javascript.jscomp.VariableMap
Initializes the variable map from an existing map.
fromReader(String, Reader) - Static method in class com.google.javascript.jscomp.SourceFile
 
function(Node, Node, Node) - Static method in class com.google.javascript.rhino.IR
 
FUNCTION - Static variable in class com.google.javascript.rhino.Token
Token types.
FUNCTION_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
FUNCTION_INSTANCE_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
FUNCTION_PROTOTYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
FunctionBuilder - Class in com.google.javascript.rhino.jstype
A builder class for function and arrow types.
FunctionBuilder(JSTypeRegistry) - Constructor for class com.google.javascript.rhino.jstype.FunctionBuilder
 
FunctionInfo - Class in com.google.javascript.jscomp
 
FunctionInformationMap - Class in com.google.javascript.jscomp
 
functionInformationMap - Variable in class com.google.javascript.jscomp.Result
 
FunctionInformationMap.Builder - Class in com.google.javascript.jscomp
 
FunctionInformationMap.Entry - Class in com.google.javascript.jscomp
 
FunctionInformationMap.Entry.Builder - Class in com.google.javascript.jscomp
 
FunctionInformationMap.EntryOrBuilder - Interface in com.google.javascript.jscomp
 
FunctionInformationMap.Module - Class in com.google.javascript.jscomp
 
FunctionInformationMap.Module.Builder - Class in com.google.javascript.jscomp
 
FunctionInformationMap.ModuleOrBuilder - Interface in com.google.javascript.jscomp
 
FunctionInformationMapOrBuilder - Interface in com.google.javascript.jscomp
 
functionName - Variable in class com.google.javascript.jscomp.deps.JsFunctionParser.SymbolInfo
 
FunctionParamBuilder - Class in com.google.javascript.rhino.jstype
A builder for the Rhino Node representing Function parameters.
FunctionParamBuilder(JSTypeRegistry) - Constructor for class com.google.javascript.rhino.jstype.FunctionParamBuilder
 
FunctionType - Class in com.google.javascript.rhino.jstype
This derived type provides extended information about a function, including its return type and argument types.

G

gatherCssNames - Variable in class com.google.javascript.jscomp.CompilerOptions
Gather CSS names (requires closurePass)
GE - Static variable in class com.google.javascript.rhino.Token
Token types.
generateExports - Variable in class com.google.javascript.jscomp.CompilerOptions
 
generateId(String, List<CharSequence>) - Method in class com.google.javascript.jscomp.GoogleJsMessageIdGenerator
 
generateId(String, List<CharSequence>) - Method in interface com.google.javascript.jscomp.JsMessage.IdGenerator
Generate the ID for the message.
generatePseudoNames - Variable in class com.google.javascript.jscomp.CompilerOptions
Generate pseudo names for variables and properties for debugging purposes.
generateReport() - Method in class com.google.javascript.jscomp.BasicErrorManager
 
generateReport() - Method in interface com.google.javascript.jscomp.ErrorManager
Writes a report to an implementation-specific medium.
get(String) - Method in class com.google.javascript.jscomp.CssRenamingMap.ByPart
 
get(String) - Method in class com.google.javascript.jscomp.CssRenamingMap.ByWhole
 
get(String) - Method in interface com.google.javascript.jscomp.CssRenamingMap
 
get(String) - Static method in enum com.google.javascript.jscomp.jsonml.TagAttr
 
get(SourceExcerptProvider, String, int, SourceExcerptProvider.ExcerptFormatter) - Method in enum com.google.javascript.jscomp.SourceExcerptProvider.SourceExcerpt
Get a source excerpt string based on the type of the source excerpt.
get(boolean) - Static method in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
Returns the singleton set {literalValue}.
GET - Static variable in class com.google.javascript.rhino.Token
 
getAbstractMethodName() - Method in class com.google.javascript.jscomp.ClosureCodingConvention
 
getAbstractMethodName() - Method in interface com.google.javascript.jscomp.CodingConvention
Function name for abstract methods.
getAbstractMethodName() - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
getAliasTransformationHandler() - Method in class com.google.javascript.jscomp.CompilerOptions
 
getAllCallsites() - Method in class com.google.javascript.jscomp.CallGraph
Returns a collection of all callsites in the call graph.
getAllDependencies() - Method in class com.google.javascript.jscomp.JSModule
Returns the transitive closure of dependencies starting from the dependencies of this module.
getAllExtendedInterfaces() - Method in class com.google.javascript.rhino.jstype.FunctionType
Returns all extended interfaces declared by an interfaces or its super- interfaces.
getAllFunctions() - Method in class com.google.javascript.jscomp.CallGraph
Returns a collection of all functions (including the main function) in the call graph.
getAllImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.FunctionType
Returns all interfaces implemented by a class or its superclass and any superclasses for any of those interfaces.
getAllJSDocInfo() - Method in class com.google.javascript.jscomp.SymbolTable
 
getAllMessages() - Method in class com.google.javascript.jscomp.EmptyMessageBundle
Returns an empty list of messages.
getAllMessages() - Method in interface com.google.javascript.jscomp.MessageBundle
Returns an iterable over the keys that this object has replacements for.
getAllMessages() - Method in class com.google.javascript.jscomp.XtbMessageBundle
 
getAllScopes() - Method in class com.google.javascript.jscomp.SymbolTable
Gets all the scopes in this symbol table.
getAllSymbols() - Method in class com.google.javascript.jscomp.Scope
 
getAllSymbols() - Method in class com.google.javascript.jscomp.SymbolTable
 
getAllSymbols() - Method in interface com.google.javascript.rhino.jstype.StaticSymbolTable
Returns all variables in this symbol table.
getAllSymbolsForType(JSType) - Method in class com.google.javascript.jscomp.SymbolTable
Gets all symbols associated with the given type.
getAllSymbolsForTypeOf(SymbolTable.Symbol) - Method in class com.google.javascript.jscomp.SymbolTable
Get all symbols associated with the type of the given symbol.
getAllSymbolsSorted() - Method in class com.google.javascript.jscomp.SymbolTable
Get the symbols in their natural ordering.
getAlternates() - Method in class com.google.javascript.rhino.jstype.UnionType
Gets the alternate types of this union type.
getAncestor(int) - Method in class com.google.javascript.rhino.Node
Gets the ancestor node relative to this.
getAncestors() - Method in class com.google.javascript.rhino.Node
Iterates all of the node's ancestors excluding itself.
getAnnotation() - Method in interface com.google.javascript.jscomp.graph.Annotatable
Retrieves a piece of information that has been annotated.
getAnnotation() - Method in class com.google.javascript.rhino.JSDocInfo.Marker
Gets the position information for the annotation name.
getAppNameSetter() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
getAppNameSetter() - Method in class com.google.javascript.jscomp.Instrumentation
 
getAppNameSetter() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
 
getArgumentsVar() - Method in class com.google.javascript.jscomp.Scope
Get a unique VAR object to represents "arguments" within this scope
getAssertedParam(Node) - Method in class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
Returns the parameter of the assertion function that is being checked.
getAssertedType() - Method in class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
Returns the type for a type assertion, or null if the function asserts that the node must not be null or undefined.
getAssertionFunctions() - Method in class com.google.javascript.jscomp.ClosureCodingConvention
 
getAssertionFunctions() - Method in interface com.google.javascript.jscomp.CodingConvention
Returns the set of AssertionFunction.
getAssertionFunctions() - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
getAssociatedNode() - Method in class com.google.javascript.rhino.JSDocInfo
 
getAst() - Method in class com.google.javascript.jscomp.CompilerInput
 
getAstDotGraph() - Method in class com.google.javascript.jscomp.Compiler
Gets the DOT graph of the AST generated at the end of compilation.
getAstNode() - Method in class com.google.javascript.jscomp.CallGraph.Callsite
 
getAstNode() - Method in class com.google.javascript.jscomp.CallGraph.Function
Returns the underlying AST node for the function.
getAstRoot(AbstractCompiler) - Method in class com.google.javascript.jscomp.CompilerInput
 
getAstRoot(AbstractCompiler) - Method in class com.google.javascript.jscomp.JsAst
 
getAstRoot(AbstractCompiler) - Method in class com.google.javascript.jscomp.jsonml.JsonMLAst
Generates AST based on AST representation
getAstRoot(AbstractCompiler) - Method in interface com.google.javascript.jscomp.SourceAst
Gets the root node of the AST for the source file this represents.
getAstRoot(AbstractCompiler) - Method in class com.google.javascript.jscomp.SyntheticAst
 
getAttribute(TagAttr) - Method in class com.google.javascript.jscomp.jsonml.JsonML
Returns value associated with a given attribute.
getAttributes() - Method in class com.google.javascript.jscomp.jsonml.JsonML
Returns a map with attributes and respective values.
getAuthors() - Method in class com.google.javascript.rhino.JSDocInfo
Returns the list of authors or null if none.
getBackwardDirectedGraph() - Method in class com.google.javascript.jscomp.CallGraph
Constructs and returns a directed graph where the nodes are functions and the edges are callsites connecting callees to callers.
getBaseType() - Method in class com.google.javascript.rhino.JSDocInfo
Gets the base type specified by the @extends annotation.
getBeginningLineNumber() - Method in interface com.google.javascript.jscomp.Region
Get the beginning line number.
getBeginningLineNumber() - Method in class com.google.javascript.jscomp.SimpleRegion
 
getBindReturnType(int) - Method in class com.google.javascript.rhino.jstype.FunctionType
Get the return value of calling "bind" on this function with the specified number of arguments.
getBlockDescription() - Method in class com.google.javascript.rhino.JSDocInfo
Returns the block-level description or null if none specified.
getBodyNode() - Method in class com.google.javascript.jscomp.CallGraph.Function
Returns the AST node for the body of the function.
getBooleanProp(int) - Method in class com.google.javascript.rhino.Node
 
getByName(String) - Method in class com.google.javascript.jscomp.JSModule
Returns the input with the given name or null if none.
getCallsiteForAstNode(Node) - Method in class com.google.javascript.jscomp.CallGraph
Returns the call graph Callsite object corresponding to the provided AST Token.CALL or Token.NEW node, or null if no such object exists.
getCallsitesInFunction() - Method in class com.google.javascript.jscomp.CallGraph.Function
Returns the callsites in this function.
getCallsitesPossiblyTargetingFunction() - Method in class com.google.javascript.jscomp.CallGraph.Function
Returns a collection of callsites that might call this function.
getCharno() - Method in class com.google.javascript.jscomp.JSError
Get the character number.
getCharno() - Method in class com.google.javascript.rhino.Node
 
getChecks() - Method in class com.google.javascript.jscomp.DefaultPassConfig
 
getChecks() - Method in class com.google.javascript.jscomp.PassConfig
Gets the checking passes to run.
getChild(int) - Method in class com.google.javascript.jscomp.jsonml.JsonML
Returns child at a given position.
getChildAtIndex(int) - Method in class com.google.javascript.rhino.Node
 
getChildBefore(Node) - Method in class com.google.javascript.rhino.Node
 
getChildCount() - Method in class com.google.javascript.rhino.Node
 
getChildren() - Method in class com.google.javascript.jscomp.jsonml.JsonML
Returns a list of all children.
getChildren(int, int) - Method in class com.google.javascript.jscomp.jsonml.JsonML
Returns the portion of children list between the specified fromIndex, inclusive, and toIndex, exclusive.
getClassesDefinedByCall(Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
Checks if the given method defines a subclass relationship, and if it does, returns information on that relationship.
getClassesDefinedByCall(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
Checks if the given method defines a subclass relationship, and if it does, returns information on that relationship.
getClassesDefinedByCall(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
getCode() - Method in class com.google.javascript.jscomp.CompilerInput
 
getCode() - Method in class com.google.javascript.jscomp.JSSourceFile
 
getCode() - Method in interface com.google.javascript.jscomp.SourceFile.Generator
 
getCode() - Method in class com.google.javascript.jscomp.SourceFile
Gets all the code in this source file.
getCodeReader() - Method in class com.google.javascript.jscomp.SourceFile
Gets a reader for the code in this source file.
getCodeSizeRecord() - Method in class com.google.javascript.jscomp.PerformanceTracker
 
getCodingConvention() - Method in class com.google.javascript.jscomp.AbstractCompiler
Gets the current coding convention.
getCodingConvention() - Method in class com.google.javascript.jscomp.Compiler
 
getCodingConvention() - Method in class com.google.javascript.jscomp.CompilerOptions
 
getColor() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph.GraphvizEdge
Retrieves color of the edge.
getColor() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph.GraphvizNode
Retrieves color of the node.
getColumn() - Method in class com.google.debugging.sourcemap.FilePosition
 
getColumn() - Method in class com.google.debugging.sourcemap.SourceMapSection
 
getColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
getColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
getColumnPosition() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
 
getColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
getColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
getColumnPosition() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
 
getCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
getCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
getCompiledSource() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
 
getCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
getCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
getCompiledSource() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder
 
getCompiler() - Method in class com.google.javascript.jscomp.NodeTraversal
Gets the compiler.
getConstructor() - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
getConstructor() - Method in class com.google.javascript.rhino.jstype.EnumType
 
getConstructor() - Method in class com.google.javascript.rhino.jstype.NoObjectType
 
getConstructor() - Method in class com.google.javascript.rhino.jstype.ObjectType
Gets this object's constructor.
getConstructor() - Method in class com.google.javascript.rhino.jstype.UnknownType
 
getContainingFunction() - Method in class com.google.javascript.jscomp.CallGraph.Callsite
 
getContextNode() - Method in class com.google.javascript.jscomp.FindExportableNodes.GenerateNodeContext
 
getControlFlowGraph() - Method in class com.google.javascript.jscomp.NodeTraversal
Gets the control flow graph for the current JS scope.
getCtorExtendedInterfaces() - Method in class com.google.javascript.rhino.jstype.ObjectType
Gets the interfaces extended by the interface associated with this type.
getCtorImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.ObjectType
Gets the interfaces implemented by the ctor associated with this type.
getCurrentNode() - Method in class com.google.javascript.jscomp.NodeTraversal
Returns the node currently being traversed.
getDeclaration() - Method in class com.google.javascript.jscomp.Scope.Var
 
getDeclaration() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
 
getDeclaration() - Method in class com.google.javascript.rhino.jstype.ObjectType.Property
 
getDeclaration() - Method in class com.google.javascript.rhino.jstype.SimpleSlot
 
getDeclaration() - Method in interface com.google.javascript.rhino.jstype.StaticSlot
Gets the declaration of this symbol.
getDeclarationNode() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
 
getDeclarationToRemove(int) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
getDeclarationToRemove(int) - Method in class com.google.javascript.jscomp.Instrumentation
 
getDeclarationToRemove(int) - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
 
getDeclarationToRemoveCount() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
getDeclarationToRemoveCount() - Method in class com.google.javascript.jscomp.Instrumentation
 
getDeclarationToRemoveCount() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
 
getDeclarationToRemoveList() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
getDeclarationToRemoveList() - Method in class com.google.javascript.jscomp.Instrumentation
 
getDeclarationToRemoveList() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
 
getDeclarativelyUnboundVarsWithoutTypes() - Method in class com.google.javascript.jscomp.Scope
Gets all variables declared with "var" but without declared types attached.
getDeepestCommonDependencyInclusive(JSModule, JSModule) - Method in class com.google.javascript.jscomp.JSModuleGraph
Finds the deepest common dependency of two modules, including the modules themselves.
getDeepestCommonDependencyInclusive(Collection<JSModule>) - Method in class com.google.javascript.jscomp.JSModuleGraph
Returns the deepest common dependency of the given modules.
getDefault() - Static method in class com.google.javascript.jscomp.CodingConventions
Gets the default coding convention.
getDefaultExterns() - Static method in class com.google.javascript.jscomp.CommandLineRunner
 
getDefaultInstance() - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
getDefaultInstance() - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
getDefaultInstance() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
getDefaultInstance() - Static method in class com.google.javascript.jscomp.FunctionInformationMap
 
getDefaultInstance() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
getDefaultInstance() - Static method in class com.google.javascript.jscomp.Instrumentation
 
getDefaultInstanceForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
getDefaultInstanceForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
getDefaultInstanceForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
getDefaultInstanceForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
getDefaultInstanceForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
getDefaultInstanceForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
getDefaultInstanceForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
getDefaultInstanceForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap
 
getDefaultInstanceForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
getDefaultInstanceForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
getDefaultInstanceForType() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
getDefaultInstanceForType() - Method in class com.google.javascript.jscomp.Instrumentation
 
getDefaultLevel() - Method in class com.google.javascript.jscomp.JSError
The default level, before any of the WarningsGuards are applied.
getDefineReplacements() - Method in class com.google.javascript.jscomp.CompilerOptions
Returns the map of define replacements.
getDelegateRelationship(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
 
getDelegateRelationship(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
getDelegateSuperclassName() - Method in interface com.google.javascript.jscomp.CodingConvention
 
getDelegateSuperclassName() - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
getDependencies() - Method in class com.google.javascript.jscomp.JSModule
Gets the list of modules that this module depends on.
getDependenciesOf(List<INPUT>, boolean) - Method in class com.google.javascript.jscomp.deps.SortedDependencies
Gets all the dependencies of the given roots.
getDependentModule() - Method in exception com.google.javascript.jscomp.JSModuleGraph.ModuleDependenceException
 
getDeprecationReason() - Method in class com.google.javascript.rhino.JSDocInfo
Returns the deprecation reason or null if none specified.
getDepth() - Method in class com.google.javascript.jscomp.JSModule
 
getDesc() - Method in class com.google.javascript.jscomp.JsMessage
Gets the description associated with this message, intended to help translators, or null if this message has no description.
getDescription() - Method in class com.google.javascript.rhino.JSDocInfo
Gets the description specified by the @desc annotation.
getDescription() - Method in class com.google.javascript.rhino.JSDocInfo.Marker
Gets the position information for the description found in a block tag.
getDescriptionForParameter(String) - Method in class com.google.javascript.rhino.JSDocInfo
Returns the description for the parameter with the given name, if its exists.
getDescriptor() - Static method in class com.google.debugging.sourcemap.proto.Mapping
 
getDescriptor() - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
getDescriptor() - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
getDescriptor() - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
getDescriptor() - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
getDescriptor() - Static method in class com.google.javascript.jscomp.FunctionInfo
 
getDescriptor() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
getDescriptor() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
getDescriptor() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
getDescriptor() - Static method in class com.google.javascript.jscomp.FunctionInformationMap
 
getDescriptor() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
getDescriptor() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
getDescriptor() - Static method in class com.google.javascript.jscomp.Instrumentation.Builder
 
getDescriptor() - Static method in class com.google.javascript.jscomp.Instrumentation
 
getDescriptor() - Static method in class com.google.javascript.jscomp.InstrumentationTemplate
 
getDescriptorForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
getDescriptorForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
getDescriptorForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
getDescriptorForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
getDescriptorForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
getDescriptorForType() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
getDestination() - Method in interface com.google.javascript.jscomp.graph.DiGraph.DiGraphEdge
 
getDiagnosticGroups() - Method in class com.google.javascript.jscomp.Compiler
The warning classes that are available from the command-line, and are suppressable by the @suppress annotation.
getDirectedGraphEdges(N, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
 
getDirectedGraphEdges(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getDirectedGraphNode(N) - Method in class com.google.javascript.jscomp.graph.DiGraph
 
getDirectedGraphNode(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getDirectedGraphNodes() - Method in class com.google.javascript.jscomp.graph.DiGraph
Gets an immutable iterable over all the nodes in the graph.
getDirectedGraphNodes() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getDirectedPredNodes(DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.DiGraph
 
getDirectedPredNodes(N) - Method in class com.google.javascript.jscomp.graph.DiGraph
 
getDirectedPredNodes(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getDirectedPredNodes(DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getDirectedSuccNodes(DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.DiGraph
 
getDirectedSuccNodes(N) - Method in class com.google.javascript.jscomp.graph.DiGraph
 
getDirectedSuccNodes(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getDirectedSuccNodes(DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getDirectImplementors(ObjectType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Returns a collection of types that directly implement interfaceInstance.
getDirectives() - Method in class com.google.javascript.rhino.Node
Returns the set of ES5 directives for this node.
getDisplayName() - Method in class com.google.javascript.rhino.jstype.AllType
 
getDisplayName() - Method in class com.google.javascript.rhino.jstype.BooleanType
 
getDisplayName() - Method in class com.google.javascript.rhino.jstype.EnumType
 
getDisplayName() - Method in class com.google.javascript.rhino.jstype.JSType
Returns a user meaningful label for the JSType instance.
getDisplayName() - Method in class com.google.javascript.rhino.jstype.NullType
 
getDisplayName() - Method in class com.google.javascript.rhino.jstype.NumberType
 
getDisplayName() - Method in class com.google.javascript.rhino.jstype.ObjectType
 
getDisplayName() - Method in class com.google.javascript.rhino.jstype.StringType
 
getDisplayName() - Method in class com.google.javascript.rhino.jstype.UnknownType
 
getDisplayName() - Method in class com.google.javascript.rhino.jstype.VoidType
 
getDouble() - Method in class com.google.javascript.rhino.Node
Can only be called when getType() == TokenStream.NUMBER
getEachReferenceTypeWithProperty(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Returns each reference type that has a property propertyName defined on it.
getEdges() - Method in class com.google.javascript.jscomp.graph.Graph
Gets an immutable list of all edges.
getEdges(N, N) - Method in class com.google.javascript.jscomp.graph.Graph
Retrieves an edge from the graph.
getEdges(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getEdges() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getEdges(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
getEdges() - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
getelem(Node, Node) - Static method in class com.google.javascript.rhino.IR
 
GETELEM - Static variable in class com.google.javascript.rhino.Token
Token types.
getElementPreOrder(int) - Method in class com.google.javascript.jscomp.jsonml.JsonMLAst
Returns a JsonML element with the specified number from the tree in pre-order walk.
getElements() - Method in class com.google.javascript.rhino.jstype.EnumType
Gets the elements defined on this enum.
getElementsType() - Method in class com.google.javascript.rhino.jstype.EnumType
Gets the elements' type.
getEnclosingFunction() - Method in class com.google.javascript.jscomp.NodeTraversal
Examines the functions stack for the last instance of a function node.
getEnclosingScope(Node) - Method in class com.google.javascript.jscomp.SymbolTable
Gets the scope that contains the given node.
getEndingLineNumber() - Method in interface com.google.javascript.jscomp.Region
Get the ending line number.
getEndingLineNumber() - Method in class com.google.javascript.jscomp.SimpleRegion
 
getEndLine() - Method in class com.google.javascript.rhino.SourcePosition
Returns the ending line number of this position.
getEntry(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
getEntry(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap
 
getEntry(int) - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
 
getEntryBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
getEntryBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
getEntryCount() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
getEntryCount() - Method in class com.google.javascript.jscomp.FunctionInformationMap
 
getEntryCount() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
 
getEntryList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
getEntryList() - Method in class com.google.javascript.jscomp.FunctionInformationMap
 
getEntryList() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
 
getEntryOrBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
getEntryOrBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap
 
getEntryOrBuilder(int) - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
 
getEntryOrBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
getEntryOrBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap
 
getEntryOrBuilderList() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
 
getEnumParameterType() - Method in class com.google.javascript.rhino.JSDocInfo
Gets the enum parameter type specified by the @enum annotation.
getErrorCount() - Method in class com.google.javascript.jscomp.BasicErrorManager
 
getErrorCount() - Method in class com.google.javascript.jscomp.Compiler
Gets the number of errors.
getErrorCount() - Method in interface com.google.javascript.jscomp.ErrorManager
Gets the number of reported errors.
getErrorLevel(JSError) - Method in class com.google.javascript.jscomp.Compiler
 
getErrorManager() - Method in class com.google.javascript.jscomp.AbstractCompiler
Gets the error manager.
getErrorManager() - Method in class com.google.javascript.jscomp.Compiler
 
getErrorReporter() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
 
getErrors() - Method in class com.google.javascript.jscomp.BasicErrorManager
 
getErrors() - Method in class com.google.javascript.jscomp.Compiler
Returns the array of errors (never null).
getErrors() - Method in interface com.google.javascript.jscomp.ErrorManager
Gets all the errors.
getErrors() - Method in class com.google.javascript.jscomp.jsonml.SecureCompiler.Report
 
getExistingIntProp(int) - Method in class com.google.javascript.rhino.Node
 
getExportPropertyFunction() - Method in class com.google.javascript.jscomp.ClosureCodingConvention
Use closure's implementation.
getExportPropertyFunction() - Method in interface com.google.javascript.jscomp.CodingConvention
Function name used when exporting properties.
getExportPropertyFunction() - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
getExports() - Method in class com.google.javascript.jscomp.FindExportableNodes
 
getExportSymbolFunction() - Method in class com.google.javascript.jscomp.ClosureCodingConvention
Use closure's implementation.
getExportSymbolFunction() - Method in interface com.google.javascript.jscomp.CodingConvention
Function name used when exporting symbols.
getExportSymbolFunction() - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
getExtendedInterfaces() - Method in class com.google.javascript.rhino.JSDocInfo
Returns the interfaces extended by an interface
getExtendedInterfaces() - Method in class com.google.javascript.rhino.jstype.FunctionType
Returns interfaces directly extended by an interface
getExtendedInterfacesCount() - Method in class com.google.javascript.rhino.JSDocInfo
Gets the number of extended interfaces specified
getExtendedInterfacesCount() - Method in class com.google.javascript.rhino.jstype.FunctionType
Returns the number of interfaces directly extended by an interface
getFileOverview() - Method in class com.google.javascript.rhino.JSDocInfo
Returns the file overview or null if none specified.
getFirstChild() - Method in class com.google.javascript.rhino.Node
 
getFirstEdge(N, N) - Method in class com.google.javascript.jscomp.graph.Graph
Retrieves any edge from the graph.
getFirstEdge(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getFirstEdge(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
getFirstLine(String) - Static method in class com.google.javascript.jscomp.WhitelistWarningsGuard
 
getForwardDirectedGraph() - Method in class com.google.javascript.jscomp.CallGraph
Constructs and returns a directed graph where the nodes are functions and the edges are callsites connecting callers to callees.
getFunctionForAstNode(Node) - Method in class com.google.javascript.jscomp.CallGraph
Returns the call graph Function object corresponding to the provided AST Token.FUNCTION node, or null if no such object exists.
getFunctionJSDocInfo(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
Get the JSDocInfo for a function.
getFunctionName() - Method in class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
Returns the name of the function.
getFunctionParameters(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
 
getFunctionType() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
 
getGlobalObject() - Method in class com.google.javascript.jscomp.ClosureCodingConvention
 
getGlobalObject() - Method in interface com.google.javascript.jscomp.CodingConvention
Gets the name of the global object.
getGlobalObject() - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
getGlobalObject() - Method in class com.google.javascript.jscomp.JqueryCodingConvention
 
getGlobalScope() - Method in class com.google.javascript.jscomp.SymbolTable
Returns the global scope.
getGraph() - Method in class com.google.javascript.jscomp.graph.GraphColoring
 
getGraphvizEdges() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph
Retrieve a list of edges in the graph.
getGraphvizEdges() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getGraphvizEdges() - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
getGraphvizNodes() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph
Retrieve a list of nodes in the graph.
getGraphvizNodes() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getGraphvizNodes() - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
getGreatestSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
Gets the greatest subtype of this and that.
getGreatestSubtypeWithProperty(JSType, String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Gets the greatest subtype of the type that has a property propertyName defined on it.
getGroup() - Method in class com.google.javascript.jscomp.ant.Warning
 
getId() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
getId() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
getId() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
 
getId() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph.GraphvizNode
Retrieves the unique ID.
getId() - Method in class com.google.javascript.jscomp.JsMessage
Gets the message's id, or name (e.g.
getIdentifier() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
getIdentifier() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
getIdentifier() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
 
getIdName() - Method in class com.google.javascript.rhino.InputId
 
getImplementedInterfaceCount() - Method in class com.google.javascript.rhino.JSDocInfo
Gets the number of interfaces specified by the @implements annotation.
getImplementedInterfaces() - Method in class com.google.javascript.rhino.JSDocInfo
Returns the types specified by the @implements annotation.
getImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.FunctionType
Returns interfaces implemented directly by a class or its superclass.
getImplicitPrototype() - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
getImplicitPrototype() - Method in class com.google.javascript.rhino.jstype.EnumType
 
getImplicitPrototype() - Method in class com.google.javascript.rhino.jstype.NoObjectType
 
getImplicitPrototype() - Method in class com.google.javascript.rhino.jstype.ObjectType
Gets the implicit prototype (a.k.a.
getImplicitPrototype() - Method in class com.google.javascript.rhino.jstype.UnknownType
 
getIndexOfChild(Node) - Method in class com.google.javascript.rhino.Node
 
getIndexOfSymbol(SymbolTable.Symbol) - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
Gets a unique index for the symbol in this scope.
getIndexType() - Method in class com.google.javascript.rhino.jstype.ObjectType
Gets the declared default index type.
getInEdges() - Method in interface com.google.javascript.jscomp.graph.DiGraph.DiGraphNode
 
getInEdges(N) - Method in class com.google.javascript.jscomp.graph.DiGraph
Gets an immutable list of in edges of the given node.
getInEdges(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getInferTypes() - Method in class com.google.javascript.jscomp.CompilerOptions
Gets the inferTypes flag.
getInit(int) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
getInit(int) - Method in class com.google.javascript.jscomp.Instrumentation
 
getInit(int) - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
 
getInitCount() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
getInitCount() - Method in class com.google.javascript.jscomp.Instrumentation
 
getInitCount() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
 
getInitialValue() - Method in class com.google.javascript.jscomp.Scope.Var
 
getInitList() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
getInitList() - Method in class com.google.javascript.jscomp.Instrumentation
 
getInitList() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
 
getInput(InputId) - Method in class com.google.javascript.jscomp.AbstractCompiler
Looks up an input (possibly an externs input) by name.
getInput(InputId) - Method in class com.google.javascript.jscomp.Compiler
 
getInput() - Method in class com.google.javascript.jscomp.NodeTraversal
Gets the current input source.
getInputId() - Method in class com.google.javascript.jscomp.CompilerInput
Returns a name for this input.
getInputId() - Method in class com.google.javascript.jscomp.JsAst
 
getInputId() - Method in class com.google.javascript.jscomp.jsonml.JsonMLAst
 
getInputId(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
 
getInputId() - Method in interface com.google.javascript.jscomp.SourceAst
 
getInputId() - Method in class com.google.javascript.jscomp.SyntheticAst
 
getInputId() - Method in class com.google.javascript.rhino.Node
 
getInputName() - Method in class com.google.javascript.jscomp.Scope.Var
 
getInputProviding(String) - Method in class com.google.javascript.jscomp.deps.SortedDependencies
Return the input that gives us the given symbol.
getInputs() - Method in class com.google.javascript.jscomp.JSModule
Gets this module's list of source code inputs.
getInputsById() - Method in class com.google.javascript.jscomp.Compiler
Returns an unmodifiable view of the compiler inputs indexed by id.
getInputsWithoutProvides() - Method in class com.google.javascript.jscomp.deps.SortedDependencies
 
getInstance() - Static method in class com.google.debugging.sourcemap.SourceMapGeneratorFactory
 
getInstance(SourceMapFormat) - Static method in class com.google.debugging.sourcemap.SourceMapGeneratorFactory
 
getInstanceType() - Method in class com.google.javascript.rhino.jstype.FunctionType
Gets the type of instance of this function.
getIntProp(int) - Method in class com.google.javascript.rhino.Node
Returns the integer value for the property, or 0 if the property is not defined.
getInverseOperator(int) - Static method in class com.google.javascript.jscomp.NodeUtil
Returns the inverse of an operator if it is invertible.
getItem() - Method in class com.google.javascript.rhino.SourcePosition
Returns the item found at this source position.
getJsDocBuilderForNode() - Method in class com.google.javascript.rhino.Node
 
getJSDocInfo() - Method in class com.google.javascript.jscomp.Scope.Var
Gets the JSDocInfo for the variable.
getJSDocInfo() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
 
getJSDocInfo() - Method in class com.google.javascript.rhino.jstype.JSType
Gets the docInfo for this type.
getJSDocInfo() - Method in class com.google.javascript.rhino.jstype.ObjectType
Gets the docInfo for this type.
getJSDocInfo() - Method in class com.google.javascript.rhino.jstype.ObjectType.Property
 
getJSDocInfo() - Method in class com.google.javascript.rhino.jstype.SimpleSlot
 
getJSDocInfo() - Method in interface com.google.javascript.rhino.jstype.StaticSlot
Gets the JSDoc for this slot.
getJSDocInfo() - Method in class com.google.javascript.rhino.Node
Get the JSDocInfo attached to this node.
getJsonML() - Method in class com.google.javascript.jscomp.jsonml.SecureCompiler
Returns compiled source in JsonML format.
getJSType() - Method in class com.google.javascript.rhino.Node
 
getKey() - Method in class com.google.javascript.jscomp.JsMessage.Builder
Gets the message's key (e.g.
getKey() - Method in class com.google.javascript.jscomp.JsMessage
Gets the message's key, or name (e.g.
getLabel() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph.GraphvizEdge
Retrieves the label of the edge.
getLabel() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph.GraphvizNode
Retrieves the label of the node.
getLanguageIn() - Method in class com.google.javascript.jscomp.CompilerOptions
 
getLanguageOut() - Method in class com.google.javascript.jscomp.CompilerOptions
 
getLastChild() - Method in class com.google.javascript.rhino.Node
 
getLastSibling() - Method in class com.google.javascript.rhino.Node
 
getLeastSupertype(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
Gets the least supertype of this and that.
getLeastSupertype(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
 
getLendsName() - Method in class com.google.javascript.rhino.JSDocInfo
Gets the name we're lending to in a @lends annotation.
getLength() - Method in class com.google.javascript.jscomp.Compiler.CodeBuilder
Returns the length of the text buffer.
getLength() - Method in class com.google.javascript.rhino.Node
 
getLevel() - Method in class com.google.javascript.jscomp.ant.Warning
 
getLicense() - Method in class com.google.javascript.rhino.JSDocInfo
Gets the description specified by the @license annotation.
getLine() - Method in class com.google.debugging.sourcemap.FilePosition
Returns the line number of this position.
getLine() - Method in class com.google.debugging.sourcemap.SourceMapSection
 
getLine(int) - Method in class com.google.javascript.jscomp.CompilerInput
Gets the source line for the indicated line number.
getLine(int) - Method in class com.google.javascript.jscomp.SourceFile
Gets the source line for the indicated line number.
getLineno() - Method in class com.google.javascript.rhino.Node
 
getLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
getLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
getLineNumber() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
 
getLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
getLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
getLineNumber() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
 
getLineNumber() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
getLineNumber() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
getLineNumber() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
 
getLineNumber() - Method in class com.google.javascript.jscomp.NodeTraversal
Gets the current line number, or zero if it cannot be determined.
getLineOffset(int) - Method in class com.google.javascript.jscomp.CompilerInput
 
getLineOffset(int) - Method in class com.google.javascript.jscomp.SourceFile
 
getLineOffset(int) - Method in class com.google.javascript.rhino.jstype.SimpleSourceFile
 
getLineOffset(int) - Method in interface com.google.javascript.rhino.jstype.StaticSourceFile
Returns the offset of the given line number relative to the file start.
getLog() - Method in class com.google.javascript.jscomp.PerformanceTracker
 
getMainFunction() - Method in class com.google.javascript.jscomp.CallGraph
Returns a Function object representing the "main" global function.
getMappingForLine(int, int) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV1
 
getMappingForLine(int, int) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV2
 
getMappingForLine(int, int) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
 
getMappingForLine(int, int) - Method in interface com.google.debugging.sourcemap.SourceMapping
Returns the original mapping for the line number and column position found in the source map.
getMarkers() - Method in class com.google.javascript.rhino.JSDocInfo
Gets the list of all markers for the documentation in this JSDoc.
getMaxArguments() - Method in class com.google.javascript.rhino.jstype.FunctionType
Gets the maximum number of arguments that this function requires, or Integer.MAX_VALUE if this is a variable argument function.
getMeaning() - Method in class com.google.javascript.rhino.JSDocInfo
Gets the meaning specified by the @meaning annotation.
getMessage(String) - Method in class com.google.javascript.jscomp.EmptyMessageBundle
Returns null, to indicate it has no message replacements.
getMessage(String) - Method in interface com.google.javascript.jscomp.MessageBundle
Gets a message replacement.
getMessage(String) - Method in class com.google.javascript.jscomp.XtbMessageBundle
 
getMessage(String, Object[]) - Static method in class com.google.javascript.rhino.ScriptRuntime
 
getMessage0(String) - Static method in class com.google.javascript.rhino.ScriptRuntime
 
getMessage1(String, Object) - Static method in class com.google.javascript.rhino.ScriptRuntime
 
getMessages() - Method in class com.google.javascript.jscomp.Compiler
Returns an array constructed from errors + temporary warnings.
getMinArguments() - Method in class com.google.javascript.rhino.jstype.FunctionType
Gets the minimum number of arguments that this function requires.
getModifies() - Method in class com.google.javascript.rhino.JSDocInfo
Returns the set of sideeffect notations.
getModule() - Method in class com.google.javascript.jscomp.CompilerInput
Returns the module to which the input belongs.
getModule(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
getModule(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap
 
getModule(int) - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
 
getModule() - Method in exception com.google.javascript.jscomp.JSModuleGraph.ModuleDependenceException
 
getModule() - Method in class com.google.javascript.jscomp.NodeTraversal
Gets the current input module.
getModuleBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
getModuleBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
getModuleCount() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
getModuleCount() - Method in class com.google.javascript.jscomp.FunctionInformationMap
 
getModuleCount() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
 
getModuleList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
getModuleList() - Method in class com.google.javascript.jscomp.FunctionInformationMap
 
getModuleList() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
 
getModuleName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
getModuleName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
getModuleName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
 
getModuleOrBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
getModuleOrBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap
 
getModuleOrBuilder(int) - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
 
getModuleOrBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
getModuleOrBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap
 
getModuleOrBuilderList() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
 
getName() - Method in class com.google.javascript.jscomp.CallGraph.Function
Gets the name of this function.
getName() - Method in class com.google.javascript.jscomp.CompilerInput
Returns a name for this input.
getName() - Method in interface com.google.javascript.jscomp.deps.DependencyInfo
Gets the unique name / path of this file.
getName() - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo
 
getName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
getName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
getName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
 
getName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
getName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
getName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder
 
getName() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph
Name of the graph.
getName() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getName() - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
getName() - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
 
getName() - Method in class com.google.javascript.jscomp.JSModule
Gets the module name.
getName() - Method in class com.google.javascript.jscomp.Scope.Var
Gets the name of the variable.
getName() - Method in class com.google.javascript.jscomp.SourceFile
Returns a unique name for the source file.
getName() - Method in class com.google.javascript.rhino.JSDocInfo.Marker
Deprecated. Use #getNameNode
getName() - Method in class com.google.javascript.rhino.jstype.ObjectType.Property
 
getName() - Method in class com.google.javascript.rhino.jstype.SimpleSlot
 
getName() - Method in class com.google.javascript.rhino.jstype.SimpleSourceFile
 
getName() - Method in interface com.google.javascript.rhino.jstype.StaticSlot
Gets the name of the slot.
getName() - Method in interface com.google.javascript.rhino.jstype.StaticSourceFile
The name of the file.
getNameNode() - Method in class com.google.javascript.jscomp.Scope.Var
Returns the name node that produced this variable.
getNameNode() - Method in class com.google.javascript.rhino.JSDocInfo.Marker
Gets the position information for the name found in an @param tag.
getNativeFunctionType(JSTypeNative) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
 
getNativeObjectType(JSTypeNative) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
 
getNativeType(JSTypeNative) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
 
getNaturalSymbolOrdering() - Method in class com.google.javascript.jscomp.SymbolTable
Gets the 'natural' ordering of symbols.
getNearestFunctionName(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
Gets the function's name.
getNeighborEdges() - Method in interface com.google.javascript.jscomp.graph.UndiGraph.UndiGraphNode
 
getNeighborEdgesIterator() - Method in interface com.google.javascript.jscomp.graph.UndiGraph.UndiGraphNode
 
getNeighborNodes(N) - Method in class com.google.javascript.jscomp.graph.Graph
Gets the neighboring nodes.
getNeighborNodes(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getNeighborNodes(DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getNeighborNodes(N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
getNeighborNodesIterator(N) - Method in class com.google.javascript.jscomp.graph.Graph
 
getNeighborNodesIterator(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getNeighborNodesIterator(N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
getNewNameToOriginalNameMap() - Method in class com.google.javascript.jscomp.VariableMap
Returns an unmodifiable mapping from new names to original names.
getNext() - Method in class com.google.javascript.rhino.Node
 
getNode() - Method in class com.google.javascript.jscomp.FindExportableNodes.GenerateNodeContext
 
getNode(N) - Method in interface com.google.javascript.jscomp.graph.AdjacencyGraph
Gets a node from the graph given a value.
getNode(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getNode(N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
getNode() - Method in class com.google.javascript.jscomp.Scope.Var
Gets the node for the name of the variable.
getNode() - Method in class com.google.javascript.rhino.jstype.ObjectType.Property
 
getNode() - Method in class com.google.javascript.rhino.jstype.SimpleReference
 
getNode() - Method in interface com.google.javascript.rhino.jstype.StaticReference
The node where the reference lives.
getNode1Id() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph.GraphvizEdge
Get the first node in the edge.
getNode2Id() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph.GraphvizEdge
Get the second node in the edge.
getNodeA() - Method in interface com.google.javascript.jscomp.graph.Graph.GraphEdge
 
getNodeB() - Method in interface com.google.javascript.jscomp.graph.Graph.GraphEdge
 
getNodeDegree(N) - Method in class com.google.javascript.jscomp.graph.Graph
Gets the degree of a node.
getNodeDegree(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getNodeDegree(N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
getNodeLength() - Method in class com.google.javascript.jscomp.JSError
 
getNodes() - Method in interface com.google.javascript.jscomp.graph.AdjacencyGraph
Gets an immutable list of all nodes.
getNodes() - Method in class com.google.javascript.jscomp.graph.Graph
Gets an immutable list of all nodes.
getNodes() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getNodes() - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
getNodeSourceOffset() - Method in class com.google.javascript.jscomp.JSError
 
getNormalizedReferenceName() - Method in class com.google.javascript.rhino.jstype.ObjectType
Due to the complexity of some of our internal type systems, sometimes we have different types constructed by the same constructor.
getNumLines() - Method in class com.google.javascript.jscomp.CompilerInput
 
getObjectLiteralCast(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
 
getObjectLiteralCast(NodeTraversal, Node) - Method in interface com.google.javascript.jscomp.CodingConvention
Checks if the given method performs a object literal cast, and if it does, returns information on the cast.
getObjectLiteralCast(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
getOptimizations() - Method in class com.google.javascript.jscomp.DefaultPassConfig
 
getOptimizations() - Method in class com.google.javascript.jscomp.PassConfig
Gets the optimization passes to run.
getOriginalCommentString() - Method in class com.google.javascript.rhino.JSDocInfo
Returns the original JSDoc comment string.
getOriginalFile() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
getOriginalFile() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
getOriginalFile() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
 
getOriginalMapping() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
getOriginalMapping() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
getOriginalMapping() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
 
getOriginalMappingBuilder() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
getOriginalMappingOrBuilder() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
getOriginalMappingOrBuilder() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
getOriginalMappingOrBuilder() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
 
getOriginalNameToNewNameMap() - Method in class com.google.javascript.jscomp.VariableMap
Returns an unmodifiable mapping from original names to new names.
getOriginalPath() - Method in class com.google.javascript.jscomp.SourceFile
 
getOriginalSources() - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
 
getOriginalSources() - Method in interface com.google.debugging.sourcemap.SourceMappingReversable
 
getOutEdges() - Method in interface com.google.javascript.jscomp.graph.DiGraph.DiGraphNode
 
getOutEdges(N) - Method in class com.google.javascript.jscomp.graph.DiGraph
Gets an immutable list of out edges of the given node.
getOutEdges(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
getOwnerFunction() - Method in class com.google.javascript.rhino.jstype.ObjectType
Gets the owner of this if it's a function prototype.
getOwnImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.FunctionType
Returns interfaces directly implemented by the class.
getOwnPropertyJSDocInfo(String) - Method in class com.google.javascript.rhino.jstype.NoObjectType
 
getOwnPropertyJSDocInfo(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
Gets the docInfo on the specified property on this type.
getOwnPropertyNames() - Method in class com.google.javascript.rhino.jstype.FunctionType
Includes the prototype iff someone has created it.
getOwnPropertyNames() - Method in class com.google.javascript.rhino.jstype.ObjectType
Returns the names of all the properties directly on this type.
getOwnSlot(String) - Method in class com.google.javascript.jscomp.Scope
 
getOwnSlot(String) - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
 
getOwnSlot(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
 
getOwnSlot(String) - Method in interface com.google.javascript.rhino.jstype.StaticScope
Like getSlot but does not recurse into parent scopes.
getOwnSlot(String) - Method in class com.google.javascript.rhino.testing.AbstractStaticScope
 
getParameterCount() - Method in class com.google.javascript.rhino.JSDocInfo
Gets the number of parameters defined.
getParameterInFunction(SymbolTable.Symbol, String) - Method in class com.google.javascript.jscomp.SymbolTable
If sym is a function, try to find a Symbol for a parameter with the given name.
getParameterNames() - Method in class com.google.javascript.rhino.JSDocInfo
Returns the set of names of the defined parameters.
getParameters() - Method in class com.google.javascript.rhino.jstype.FunctionType
 
getParametersNode() - Method in class com.google.javascript.rhino.jstype.FunctionType
Gets an LP node that contains all params.
getParameterType(String) - Method in class com.google.javascript.rhino.JSDocInfo
Gets the parameter type.
getParameterType() - Method in class com.google.javascript.rhino.jstype.ObjectType
Gets the declared default element type.
getParent() - Method in class com.google.javascript.jscomp.Scope
 
getParent() - Method in class com.google.javascript.rhino.Node
 
getParentNode() - Method in class com.google.javascript.jscomp.Scope.Var
Gets the parent of the name node.
getParentScope() - Method in class com.google.javascript.jscomp.Scope
 
getParentScope() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
 
getParentScope() - Method in class com.google.javascript.rhino.jstype.ObjectType
 
getParentScope() - Method in interface com.google.javascript.rhino.jstype.StaticScope
Returns the scope enclosing this one or null if none.
getParentScope() - Method in class com.google.javascript.rhino.testing.AbstractStaticScope
 
getPartitionSuperNode(N) - Method in class com.google.javascript.jscomp.graph.GraphColoring
Using the coloring as partitions, finds the node that represents that partition as the super node.
getParts() - Method in class com.google.javascript.jscomp.JsMessage.Builder
 
getPathRelativeToClosureBase() - Method in class com.google.javascript.jscomp.CompilerInput
Gets the path relative to closure-base, if one is available.
getPathRelativeToClosureBase() - Method in interface com.google.javascript.jscomp.deps.DependencyInfo
Gets the path of this file relative to Closure's base.js file.
getPathRelativeToClosureBase() - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo
 
getPathRelativeToClosureBase() - Method in class com.google.javascript.jscomp.JSModule
 
getPlaceholders() - Method in class com.google.javascript.jscomp.JsMessage.Builder
Returns the message registred placeholders
getPositionOnEndLine() - Method in class com.google.javascript.rhino.SourcePosition
Returns the character position on the ending line.
getPositionOnStartLine() - Method in class com.google.javascript.rhino.SourcePosition
Returns the character position on the starting line.
getPossibleTargets() - Method in class com.google.javascript.jscomp.CallGraph.Callsite
Returns the possible target functions that this callsite could call.
getPossibleToBooleanOutcomes() - Method in class com.google.javascript.rhino.jstype.AllType
 
getPossibleToBooleanOutcomes() - Method in class com.google.javascript.rhino.jstype.BooleanType
 
getPossibleToBooleanOutcomes() - Method in class com.google.javascript.rhino.jstype.JSType
Computes the set of possible outcomes of the ToBoolean predicate for this type.
getPossibleToBooleanOutcomes() - Method in class com.google.javascript.rhino.jstype.NoType
 
getPossibleToBooleanOutcomes() - Method in class com.google.javascript.rhino.jstype.NullType
 
getPossibleToBooleanOutcomes() - Method in class com.google.javascript.rhino.jstype.NumberType
 
getPossibleToBooleanOutcomes() - Method in class com.google.javascript.rhino.jstype.ObjectType
 
getPossibleToBooleanOutcomes() - Method in class com.google.javascript.rhino.jstype.StringType
 
getPossibleToBooleanOutcomes() - Method in class com.google.javascript.rhino.jstype.UnionType
 
getPossibleToBooleanOutcomes() - Method in class com.google.javascript.rhino.jstype.UnknownType
 
getPossibleToBooleanOutcomes() - Method in class com.google.javascript.rhino.jstype.VoidType
 
getPrimitiveType() - Method in class com.google.javascript.rhino.jstype.EnumElementType
Gets the primitive type of this enum element.
getPriority() - Method in class com.google.javascript.jscomp.ShowByPathWarningsGuard
 
getPriority() - Method in class com.google.javascript.jscomp.StrictWarningsGuard
 
getPriority() - Method in class com.google.javascript.jscomp.WarningsGuard
The priority in which warnings guards are applied.
getPriority() - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard
 
getProgress() - Method in class com.google.javascript.jscomp.AbstractCompiler
 
getProgress() - Method in class com.google.javascript.jscomp.Compiler
 
getprop(Node, Node) - Static method in class com.google.javascript.rhino.IR
 
getProp(int) - Method in class com.google.javascript.rhino.Node
 
GETPROP - Static variable in class com.google.javascript.rhino.Token
Token types.
getPropertiesCount() - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
getPropertiesCount() - Method in class com.google.javascript.rhino.jstype.NoObjectType
 
getPropertiesCount() - Method in class com.google.javascript.rhino.jstype.ObjectType
Gets the number of properties of this object.
getPropertiesCount() - Method in class com.google.javascript.rhino.jstype.UnknownType
 
getPropertyNames() - Method in class com.google.javascript.rhino.jstype.ObjectType
Returns a list of properties defined or inferred on this type and any of its supertypes.
getPropertyNode(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
Gets the node corresponding to the definition of the specified property.
getPropertyScope() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
 
getPropertyType(String) - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
getPropertyType(String) - Method in class com.google.javascript.rhino.jstype.FunctionType
 
getPropertyType(String) - Method in class com.google.javascript.rhino.jstype.NoObjectType
 
getPropertyType(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
Gets the property type of the property whose name is given.
getPropertyType(String) - Method in class com.google.javascript.rhino.jstype.UnknownType
 
getPrototype() - Method in class com.google.javascript.rhino.jstype.FunctionType
Gets the prototype property of this function type.
getProvides() - Method in class com.google.javascript.jscomp.CompilerInput
Gets a list of types provided by this input.
getProvides() - Method in interface com.google.javascript.jscomp.deps.DependencyInfo
Gets the symbols provided by this file.
getProvides() - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo
 
getProvides() - Method in class com.google.javascript.jscomp.JSModule
 
getQualifiedName() - Method in class com.google.javascript.rhino.Node
This function takes a set of GETPROP nodes and produces a string that is each property separated by dots.
getQualifiedSlot(String) - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
Get the slot for a fully-qualified name (e.g., "a.b.c") by trying to find property scopes at each part of the path.
getReferenceList(SymbolTable.Symbol) - Method in class com.google.javascript.jscomp.SymbolTable
 
getReferenceName() - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
getReferenceName() - Method in class com.google.javascript.rhino.jstype.NoObjectType
 
getReferenceName() - Method in class com.google.javascript.rhino.jstype.ObjectType
Gets the reference name for this object.
getReferenceName() - Method in class com.google.javascript.rhino.jstype.TemplateType
 
getReferenceName() - Method in class com.google.javascript.rhino.jstype.UnknownType
 
getReferences(Scope.Var) - Method in class com.google.javascript.jscomp.Scope
 
getReferences(SymbolTable.Symbol) - Method in class com.google.javascript.jscomp.SymbolTable
 
getReferences() - Method in class com.google.javascript.rhino.JSDocInfo
Returns the list of references or null if none.
getReferences(S) - Method in interface com.google.javascript.rhino.jstype.StaticSymbolTable
Returns the references that point to the given symbol.
getRegion(int) - Method in class com.google.javascript.jscomp.CompilerInput
Get a region around the indicated line number.
getRegion(int) - Method in class com.google.javascript.jscomp.SourceFile
Get a region around the indicated line number.
getRegisteredGroups() - Method in class com.google.javascript.jscomp.DiagnosticGroups
Get the registered diagnostic groups, indexed by name.
getRelativeMappingId(int, int, int) - Static method in class com.google.debugging.sourcemap.SourceMapGeneratorV2.LineMapEncoder
 
getRelativeMappingIdLength(int, int) - Static method in class com.google.debugging.sourcemap.SourceMapGeneratorV2.LineMapEncoder
 
getReport() - Method in class com.google.javascript.jscomp.jsonml.SecureCompiler
Returns report from the last compilation.
getReportCall() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
getReportCall() - Method in class com.google.javascript.jscomp.Instrumentation
 
getReportCall() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
 
getReportDefined() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
getReportDefined() - Method in class com.google.javascript.jscomp.Instrumentation
 
getReportDefined() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
 
getReportExit() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
getReportExit() - Method in class com.google.javascript.jscomp.Instrumentation
 
getReportExit() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
 
getRequires() - Method in class com.google.javascript.jscomp.CompilerInput
Gets a list of types depended on by this input.
getRequires() - Method in interface com.google.javascript.jscomp.deps.DependencyInfo
Gets the symbols required by this file.
getRequires() - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo
 
getRequires() - Method in class com.google.javascript.jscomp.JSModule
 
getReservedCharacters() - Method in enum com.google.javascript.jscomp.AnonymousFunctionNamingPolicy
Gets characters that are reserved for use in anonymous function names and can't be used in variable or property names.
getRestrictedTypeGivenToBooleanOutcome(boolean) - Method in class com.google.javascript.rhino.jstype.JSType
Computes the restricted type of this type knowing that the ToBoolean predicate has a specific value.
getRestrictedTypeGivenToBooleanOutcome(boolean) - Method in class com.google.javascript.rhino.jstype.UnionType
 
getRestrictedUnion(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
Returns a more restricted union type than this one, in which all subtypes of type have been removed.
getResult() - Method in class com.google.javascript.jscomp.Compiler
Returns the result of the compilation.
getReturnDescription() - Method in class com.google.javascript.rhino.JSDocInfo
Returns the description of the returned object or null if none specified.
getReturnType() - Method in class com.google.javascript.rhino.JSDocInfo
Gets the return type specified by the @return annotation.
getReturnType() - Method in class com.google.javascript.rhino.jstype.FunctionType
 
getReverseAbstractInterpreter() - Method in class com.google.javascript.jscomp.AbstractCompiler
Get an interpreter for type analysis.
getReverseAbstractInterpreter() - Method in class com.google.javascript.jscomp.Compiler
 
getReverseMapping(String, int, int) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
 
getReverseMapping(String, int, int) - Method in interface com.google.debugging.sourcemap.SourceMappingReversable
Given a source file, line, and column, return the reverse mapping (source --> target).
getRoot() - Method in class com.google.javascript.jscomp.Compiler
 
getRoot() - Method in class com.google.javascript.rhino.JSTypeExpression
 
getRootNode() - Method in class com.google.javascript.jscomp.Scope
Gets the container node of the scope.
getRootNode() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
 
getRootNode() - Method in class com.google.javascript.rhino.jstype.ObjectType
 
getRootNode() - Method in interface com.google.javascript.rhino.jstype.StaticScope
Returns the root node associated with this scope.
getRootNode() - Method in class com.google.javascript.rhino.testing.AbstractStaticScope
 
getRootOfQualifiedName(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
Gets the root node of a qualified name.
getRuntimeRecord() - Method in class com.google.javascript.jscomp.PerformanceTracker
 
getScope() - Method in class com.google.javascript.jscomp.NodeTraversal
Gets the current scope.
getScope(Scope.Var) - Method in class com.google.javascript.jscomp.Scope
 
getScope(SymbolTable.Symbol) - Method in class com.google.javascript.jscomp.SymbolTable
 
getScope(S) - Method in interface com.google.javascript.rhino.jstype.StaticSymbolTable
Returns the scope for a given symbol.
getScopeDepth() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
 
getScopeRoot() - Method in class com.google.javascript.jscomp.NodeTraversal
Returns the current scope's root.
getScriptNode() - Method in class com.google.javascript.jscomp.FindExportableNodes.GenerateNodeContext
 
getSectionType() - Method in class com.google.debugging.sourcemap.SourceMapSection
 
getSectionUrl() - Method in class com.google.debugging.sourcemap.SourceMapSection
Deprecated.  
getSectionValue() - Method in class com.google.debugging.sourcemap.SourceMapSection
 
getSerializedSize() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
getSerializedSize() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
getSerializedSize() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
getSerializedSize() - Method in class com.google.javascript.jscomp.FunctionInformationMap
 
getSerializedSize() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
getSerializedSize() - Method in class com.google.javascript.jscomp.Instrumentation
 
getSideEffectFlags() - Method in class com.google.javascript.rhino.Node
Returns the side effects flags for this node.
getSingletonGetterClassName(Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
 
getSingletonGetterClassName(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
Checks if the given method defines a singleton getter, and if it does, returns the name of the class with the singleton getter.
getSingletonGetterClassName(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
getSize() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
getSize() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
getSize() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
 
getSlot(String) - Method in class com.google.javascript.jscomp.Scope
 
getSlot(String) - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
 
getSlot(String) - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
getSlot(String) - Method in class com.google.javascript.rhino.jstype.FunctionType
 
getSlot(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
 
getSlot(String) - Method in interface com.google.javascript.rhino.jstype.StaticScope
Returns any defined slot within this scope for this name.
getSlot(String) - Method in class com.google.javascript.rhino.jstype.UnknownType
 
getSlot(String) - Method in class com.google.javascript.rhino.testing.AbstractStaticScope
 
getSlot(String) - Method in class com.google.javascript.rhino.testing.MapBasedScope
 
getSortedDependenciesOf(List<INPUT>) - Method in class com.google.javascript.jscomp.deps.SortedDependencies
Gets all the dependencies of the given roots.
getSortedList() - Method in class com.google.javascript.jscomp.deps.SortedDependencies
 
getSource() - Method in class com.google.javascript.jscomp.AbstractMessageFormatter
Get the source excerpt provider.
getSource() - Method in interface com.google.javascript.jscomp.graph.DiGraph.DiGraphEdge
 
getSource() - Method in class com.google.javascript.rhino.jstype.EnumType
Gets the source node or null if this is an unknown enum.
getSource() - Method in class com.google.javascript.rhino.jstype.FunctionType
Gets the source node or null if this is an unknown function.
getSourceAst() - Method in class com.google.javascript.jscomp.CompilerInput
Returns the SourceAst object on which this input is based.
getSourceExcerpt() - Method in interface com.google.javascript.jscomp.Region
Get the source region.
getSourceExcerpt() - Method in class com.google.javascript.jscomp.SimpleRegion
 
getSourceFile() - Method in class com.google.javascript.jscomp.CompilerInput
 
getSourceFile() - Method in class com.google.javascript.jscomp.JsAst
 
getSourceFile() - Method in class com.google.javascript.jscomp.jsonml.JsonMLAst
 
getSourceFile(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
 
getSourceFile() - Method in class com.google.javascript.jscomp.Scope.Var
 
getSourceFile() - Method in interface com.google.javascript.jscomp.SourceAst
Returns the source file the generated AST represents.
getSourceFile() - Method in class com.google.javascript.jscomp.SyntheticAst
 
getSourceFile() - Method in class com.google.javascript.rhino.jstype.ObjectType.Property
 
getSourceFile() - Method in class com.google.javascript.rhino.jstype.SimpleReference
 
getSourceFile() - Method in interface com.google.javascript.rhino.jstype.StaticReference
The source file where the reference lives.
getSourceFileName() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
 
getSourceFileName() - Method in class com.google.javascript.rhino.Node
 
getSourceLine(String, int) - Method in class com.google.javascript.jscomp.Compiler
 
getSourceLine(String, int) - Method in interface com.google.javascript.jscomp.SourceExcerptProvider
Get the line indicated by the line number.
getSourceLine(String, int) - Method in class com.google.javascript.jscomp.testing.SimpleSourceExcerptProvider
 
getSourceMap(String) - Method in interface com.google.debugging.sourcemap.SourceMapSupplier
 
getSourceMap() - Method in class com.google.javascript.jscomp.Compiler
 
getSourceName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
getSourceName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
getSourceName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
 
getSourceName() - Method in class com.google.javascript.jscomp.JsMessage
Gets the message's sourceName.
getSourceName() - Method in class com.google.javascript.jscomp.jsonml.JsonMLAst
 
getSourceName() - Method in class com.google.javascript.jscomp.NodeTraversal
Gets the current input source name.
getSourceName(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
 
getSourceName() - Method in class com.google.javascript.rhino.JSDocInfo
Gets the name of the source file that contains this JSDoc.
getSourceOffset() - Method in class com.google.javascript.rhino.Node
 
getSourcePosition() - Method in class com.google.javascript.rhino.Node
 
getSourceRegion(String, int) - Method in class com.google.javascript.jscomp.Compiler
 
getSourceRegion(String, int) - Method in interface com.google.javascript.jscomp.SourceExcerptProvider
Get a region around the indicated line number.
getSourceRegion(String, int) - Method in class com.google.javascript.jscomp.testing.SimpleSourceExcerptProvider
 
getStartLine() - Method in class com.google.javascript.rhino.SourcePosition
Returns the starting line number of this position.
getState() - Method in class com.google.javascript.jscomp.Compiler
Returns the current internal state, excluding the input files and modules.
getStaticSourceFile() - Method in class com.google.javascript.rhino.Node
Returns the source file associated with this input.
getStats() - Method in class com.google.javascript.jscomp.PerformanceTracker
 
getString() - Method in class com.google.javascript.jscomp.jsonml.SecureCompiler
Returns compiled source as a JavaScript.
getString() - Method in class com.google.javascript.rhino.Node
Can only be called when node has String context.
getStyle() - Method in class com.google.javascript.jscomp.CssRenamingMap.ByPart
 
getStyle() - Method in class com.google.javascript.jscomp.CssRenamingMap.ByWhole
 
getStyle() - Method in interface com.google.javascript.jscomp.CssRenamingMap
 
getSubTypes() - Method in class com.google.javascript.rhino.jstype.FunctionType
Returns a list of types that are subtypes of this type.
getSuperClassConstructor() - Method in class com.google.javascript.rhino.jstype.FunctionType
Given a constructor or an interface type, get its superclass constructor or null if none exists.
getSuppressions() - Method in class com.google.javascript.rhino.JSDocInfo
Returns the set of suppressed warnings.
getSymbol() - Method in class com.google.javascript.jscomp.Scope.Var
 
getSymbol() - Method in class com.google.javascript.rhino.jstype.ObjectType.Property
 
getSymbol() - Method in class com.google.javascript.rhino.jstype.SimpleReference
 
getSymbol() - Method in interface com.google.javascript.rhino.jstype.StaticReference
The variable that this reference points to.
getSymbolDeclaredBy(FunctionType) - Method in class com.google.javascript.jscomp.SymbolTable
Gets the symbol for the given constuctor or interface.
getSymbolDeclaredBy(EnumType) - Method in class com.google.javascript.jscomp.SymbolTable
Gets the symbol for the given enum.
getSymbolForInstancesOf(SymbolTable.Symbol) - Method in class com.google.javascript.jscomp.SymbolTable
Gets the symbol for the prototype if this is the symbol for a constructor or interface.
getSymbolForInstancesOf(FunctionType) - Method in class com.google.javascript.jscomp.SymbolTable
Gets the symbol for the prototype of the given constructor or interface.
getSymbolForScope(SymbolTable.SymbolScope) - Method in class com.google.javascript.jscomp.SymbolTable
All local scopes are associated with a function, and some functions are associated with a symbol.
getTemplateTypeName() - Method in class com.google.javascript.rhino.JSDocInfo
Gets the template type name.
getTemplateTypeName() - Method in class com.google.javascript.rhino.jstype.FunctionType
Gets the template type name.
GETTER_DEF - Static variable in class com.google.javascript.rhino.Token
Token types.
getThisAndAllDependencies() - Method in class com.google.javascript.jscomp.JSModule
Returns this module and all of its dependencies in one list.
getThisType() - Method in class com.google.javascript.rhino.JSDocInfo
Gets the type specified by the @this annotation.
getThrownTypes() - Method in class com.google.javascript.rhino.JSDocInfo
Returns the list of thrown types.
getTopDefiningInterface(ObjectType, String) - Static method in class com.google.javascript.rhino.jstype.FunctionType
Given an interface and a property, finds the top-most super interface that has the property defined (including this interface).
getTopMostDefiningType(String) - Method in class com.google.javascript.rhino.jstype.FunctionType
Given a constructor or an interface type and a property, finds the top-most superclass that has the property defined (including this constructor).
getTopScope() - Method in class com.google.javascript.jscomp.AbstractCompiler
Gets the top scope.
getTopScope() - Method in class com.google.javascript.jscomp.Compiler
 
getTracerMode() - Method in class com.google.javascript.jscomp.CompilerOptions
 
getTweakProcessing() - Method in class com.google.javascript.jscomp.CompilerOptions
 
getTweakReplacements() - Method in class com.google.javascript.jscomp.CompilerOptions
Returns the map of tweak replacements.
getType() - Method in class com.google.javascript.jscomp.JSError
 
getType() - Method in class com.google.javascript.jscomp.jsonml.JsonML
Returns type of the JsonML element.
getType() - Method in class com.google.javascript.jscomp.Scope.Var
Gets this variable's type.
getType() - Method in class com.google.javascript.rhino.JSDocInfo
Gets the type specified by the @type annotation.
getType() - Method in class com.google.javascript.rhino.JSDocInfo.Marker
Gets the position information for the type expression found in some block tags, like "@param" and "@return".
getType(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Looks up a type by name.
getType(StaticScope<JSType>, String, String, int, int) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Looks up a type by name.
getType() - Method in class com.google.javascript.rhino.jstype.ObjectType.Property
 
getType() - Method in class com.google.javascript.rhino.jstype.SimpleSlot
 
getType() - Method in interface com.google.javascript.rhino.jstype.StaticSlot
Returns the type information, if any, for this slot.
getType() - Method in class com.google.javascript.rhino.Node
 
getTypedefType() - Method in class com.google.javascript.rhino.JSDocInfo
Gets the typedef type specified by the @type annotation.
getTypedPercent() - Method in class com.google.javascript.jscomp.BasicErrorManager
 
getTypedPercent() - Method in interface com.google.javascript.jscomp.ErrorManager
Gets the percentage of typed expressions.
getTypedScopeCreator() - Method in class com.google.javascript.jscomp.Compiler
 
getTypeNodes() - Method in class com.google.javascript.rhino.JSDocInfo
Returns a collection of all type nodes that are a part of this JSDocInfo.
getTypeOfThis() - Method in class com.google.javascript.jscomp.Scope
Gets the type of this in the current scope.
getTypeOfThis() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
 
getTypeOfThis() - Method in class com.google.javascript.rhino.jstype.FunctionType
Gets the type of this in this function.
getTypeOfThis() - Method in class com.google.javascript.rhino.jstype.ObjectType
 
getTypeOfThis() - Method in interface com.google.javascript.rhino.jstype.StaticScope
Returns the expected type of this in the current scope.
getTypeOfThis() - Method in class com.google.javascript.rhino.testing.AbstractStaticScope
 
getTypeRegistry() - Method in class com.google.javascript.jscomp.AbstractCompiler
Gets a central registry of type information from the compiled JS.
getTypeRegistry() - Method in class com.google.javascript.jscomp.Compiler
 
getTypes() - Method in class com.google.javascript.jscomp.DiagnosticGroup
Returns an iterable over all the types in this group.
getTypesUnderEquality(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
Computes the subset of this and that types if equality is observed.
getTypesUnderEquality(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
 
getTypesUnderInequality(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
Computes the subset of this and that types if inequality is observed.
getTypesUnderInequality(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
 
getTypesUnderShallowEquality(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
Computes the subset of this and that types under shallow equality.
getTypesUnderShallowInequality(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
Computes the subset of this and that types under shallow inequality.
getTypesUnderShallowInequality(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
 
getTypesWithProperty(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Returns each type that has a property propertyName defined on it.
getUndirectedGraphEdges(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
getUndirectedGraphNode(N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
getUndirectedGraphNode(N) - Method in class com.google.javascript.jscomp.graph.UndiGraph
 
getUndirectedGraphNodes() - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
getUniqueFunctionWithName(String) - Method in class com.google.javascript.jscomp.CallGraph
Finds a function with the given name.
getValue() - Method in interface com.google.javascript.jscomp.graph.Graph.GraphEdge
Retrieves the edge's value.
getValue() - Method in interface com.google.javascript.jscomp.graph.GraphNode
Retrieves the node's value.
getValue() - Method in enum com.google.javascript.jscomp.WarningsGuard.Priority
 
getVar(String) - Method in class com.google.javascript.jscomp.Scope
Returns the variable, may be null
getVarCount() - Method in class com.google.javascript.jscomp.Scope
Returns number of variables in this scope
getVars() - Method in class com.google.javascript.jscomp.Scope
Return an iterator over all of the variables declared in this scope.
getVarsDeclaredInBranch(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
Retrieves vars declared in the current node tree, excluding descent scopes.
getVersion() - Method in class com.google.javascript.rhino.JSDocInfo
Returns the version or null if none.
getVisibility() - Method in class com.google.javascript.rhino.JSDocInfo
Gets the visibility specified by @private, @protected or @public annotation.
getWarningCount() - Method in class com.google.javascript.jscomp.BasicErrorManager
 
getWarningCount() - Method in class com.google.javascript.jscomp.Compiler
Gets the number of warnings.
getWarningCount() - Method in interface com.google.javascript.jscomp.ErrorManager
Gets the number of reported warnings.
getWarnings() - Method in class com.google.javascript.jscomp.BasicErrorManager
 
getWarnings() - Method in class com.google.javascript.jscomp.Compiler
Returns the array of warnings (never null).
getWarnings() - Method in interface com.google.javascript.jscomp.ErrorManager
Gets all the warnings.
getWarnings() - Method in class com.google.javascript.jscomp.jsonml.SecureCompiler.Report
 
getWeight(N) - Method in interface com.google.javascript.jscomp.graph.AdjacencyGraph
Returns a weight for the given value to be used in ordering nodes, e.g.
getWeight(N) - Method in class com.google.javascript.jscomp.graph.Graph
 
getZippedCodeSizeRecord() - Method in class com.google.javascript.jscomp.PerformanceTracker
 
GLOBAL_THIS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
GLOBAL_THIS - Static variable in class com.google.javascript.jscomp.SymbolTable
The name we use for the JavaScript built-in Global object.
GoogleCodingConvention - Class in com.google.javascript.jscomp
This describes the Google-specific JavaScript coding conventions.
GoogleCodingConvention() - Constructor for class com.google.javascript.jscomp.GoogleCodingConvention
By default, decorate the ClosureCodingConvention.
GoogleCodingConvention(CodingConvention) - Constructor for class com.google.javascript.jscomp.GoogleCodingConvention
Decorates a wrapped CodingConvention.
GoogleJsMessageIdGenerator - Class in com.google.javascript.jscomp
An JsMessage.IdGenerator designed to play nicely with Google's Translation systems.
GoogleJsMessageIdGenerator(String) - Constructor for class com.google.javascript.jscomp.GoogleJsMessageIdGenerator
Creates an instance.
Graph<N,E> - Class in com.google.javascript.jscomp.graph
The base generic class for graph-like data structure and algorithms in the compiler.
Graph() - Constructor for class com.google.javascript.jscomp.graph.Graph
 
graph - Variable in class com.google.javascript.jscomp.graph.GraphColoring
 
Graph.GraphEdge<N,E> - Interface in com.google.javascript.jscomp.graph
A generic edge.
GraphColoring<N,E> - Class in com.google.javascript.jscomp.graph
Annotates the graph with a color in a way that no connected node will have the same color.
GraphColoring(AdjacencyGraph<N, E>) - Constructor for class com.google.javascript.jscomp.graph.GraphColoring
 
GraphColoring.Color - Class in com.google.javascript.jscomp.graph
 
GraphColoring.GreedyGraphColoring<N,E> - Class in com.google.javascript.jscomp.graph
Greedily assign nodes with high degree unique colors.
GraphColoring.GreedyGraphColoring(AdjacencyGraph<N, E>) - Constructor for class com.google.javascript.jscomp.graph.GraphColoring.GreedyGraphColoring
 
GraphColoring.GreedyGraphColoring(AdjacencyGraph<N, E>, Comparator<N>) - Constructor for class com.google.javascript.jscomp.graph.GraphColoring.GreedyGraphColoring
 
GraphNode<N,E> - Interface in com.google.javascript.jscomp.graph
A generic node.
GraphPruner<N,E> - Class in com.google.javascript.jscomp.graph
Prunes a graph, creating a new graph with nodes removed.
GraphPruner(DiGraph<N, E>) - Constructor for class com.google.javascript.jscomp.graph.GraphPruner
 
GraphReachability<N,E> - Class in com.google.javascript.jscomp.graph
Computes all the reachable nodes.
GraphReachability(DiGraph<N, E>) - Constructor for class com.google.javascript.jscomp.graph.GraphReachability
 
GraphReachability(DiGraph<N, E>, Predicate<GraphReachability.EdgeTuple<N, E>>) - Constructor for class com.google.javascript.jscomp.graph.GraphReachability
 
GraphReachability.EdgeTuple<N,E> - Class in com.google.javascript.jscomp.graph
Represents Source Node, Edge and Destination Node.
GraphReachability.EdgeTuple(N, E, N) - Constructor for class com.google.javascript.jscomp.graph.GraphReachability.EdgeTuple
 
GraphvizGraph - Interface in com.google.javascript.jscomp.graph
A graph that can be dumped to a Graphviz DOT file.
GraphvizGraph.GraphvizEdge - Interface in com.google.javascript.jscomp.graph
A Graphviz edge.
GraphvizGraph.GraphvizNode - Interface in com.google.javascript.jscomp.graph
A Graphviz node.
GREATEST_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
GT - Static variable in class com.google.javascript.rhino.Token
Token types.
gzDiff - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
 
gzSize - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
 

H

handleViolation(String, Node) - Method in interface com.google.javascript.jscomp.AstValidator.ViolationHandler
 
hasAppNameSetter() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
hasAppNameSetter() - Method in class com.google.javascript.jscomp.Instrumentation
 
hasAppNameSetter() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
 
hasBaseType() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether this JSDocInfo contains a type for @extends annotation.
hasBrackets() - Method in class com.google.javascript.rhino.JSDocInfo.TypePosition
Returns whether the type has curly braces around it.
hasCachedValues() - Method in class com.google.javascript.rhino.jstype.FunctionType
 
hasCachedValues() - Method in class com.google.javascript.rhino.jstype.ObjectType
Returns true if any cached values have been set for this type.
hasCapturingGroup() - Method in class com.google.javascript.jscomp.regex.RegExpTree
True if the regular expression contains capturing groups.
hasChild(Node) - Method in class com.google.javascript.rhino.Node
 
hasChildren() - Method in class com.google.javascript.jscomp.jsonml.JsonML
Returns true if the JsonML element has at least one child.
hasChildren() - Method in class com.google.javascript.rhino.Node
 
hasColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
hasColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
hasColumnPosition() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
 
hasColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
hasColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
hasColumnPosition() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
 
hasCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
hasCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
hasCompiledSource() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
 
hasCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
hasCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
hasCompiledSource() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder
 
hasDescriptionForParameter(String) - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether a description exists for the parameter with the specified name.
hasDisplayName() - Method in class com.google.javascript.rhino.jstype.AllType
 
hasDisplayName() - Method in class com.google.javascript.rhino.jstype.JSType
 
hasDisplayName() - Method in class com.google.javascript.rhino.jstype.UnknownType
 
hasEncounteredAllErrors() - Method in class com.google.javascript.jscomp.testing.TestErrorReporter
Returns whether all errors were reported to this reporter.
hasEncounteredAllErrors() - Method in class com.google.javascript.rhino.testing.TestErrorReporter
Returns whether all errors were reported to this reporter.
hasEncounteredAllWarnings() - Method in class com.google.javascript.jscomp.testing.TestErrorReporter
Returns whether all warnings were reported to this reporter.
hasEncounteredAllWarnings() - Method in class com.google.javascript.rhino.testing.TestErrorReporter
Returns whether all warnings were reported to this reporter.
hasEnumParameterType() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether an enum parameter type, specified using the @enum annotation, is present on this JSDoc.
hasEqualCallType(FunctionType) - Method in class com.google.javascript.rhino.jstype.FunctionType
 
hasErrors() - Method in class com.google.javascript.jscomp.Compiler
Consults the ErrorManager to see if we've encountered errors that should halt compilation.
hasExternTarget() - Method in class com.google.javascript.jscomp.CallGraph.Callsite
If true, then this callsite could target a function defined in the externs.
hasFileOverview() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether this has a fileoverview flag.
hashCode() - Method in class com.google.javascript.jscomp.DiagnosticType
 
hashCode() - Method in class com.google.javascript.jscomp.graph.GraphColoring.Color
 
hashCode() - Method in class com.google.javascript.jscomp.JSError
 
hashCode() - Method in class com.google.javascript.jscomp.JsMessage
 
hashCode() - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
 
hashCode() - Method in class com.google.javascript.jscomp.regex.RegExpTree
 
hashCode() - Method in class com.google.javascript.jscomp.Scope.Arguments
 
hashCode() - Method in class com.google.javascript.jscomp.Scope.Var
 
hashCode() - Method in class com.google.javascript.rhino.InputId
 
hashCode() - Method in class com.google.javascript.rhino.jstype.EnumElementType
If this is equal to a NamedType object, its hashCode must be equal to the hashCode of the NamedType object.
hashCode() - Method in class com.google.javascript.rhino.jstype.FunctionType
 
hashCode() - Method in class com.google.javascript.rhino.jstype.JSType
 
hashCode() - Method in class com.google.javascript.rhino.jstype.NoObjectType
 
hashCode() - Method in class com.google.javascript.rhino.jstype.UnionType
 
hashCode() - Method in class com.google.javascript.rhino.JSTypeExpression
 
hasId() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
hasId() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
hasId() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
 
hasIdentifier() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
hasIdentifier() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
hasIdentifier() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
 
hasImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.FunctionType
 
hasInstanceType() - Method in class com.google.javascript.rhino.jstype.FunctionType
Returns whether this function type has an instance type.
hasLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
hasLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
hasLineNumber() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
 
hasLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
hasLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
hasLineNumber() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
 
hasLineNumber() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
hasLineNumber() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
hasLineNumber() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
 
hasModifies() - Method in class com.google.javascript.rhino.JSDocInfo
 
hasModuleName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
hasModuleName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
hasModuleName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
 
hasMoreThanOneChild() - Method in class com.google.javascript.rhino.Node
Check for more than one child more efficiently than by iterating over all the children as is done with Node.getChildCount().
hasName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
hasName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
hasName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
 
hasName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
hasName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
hasName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder
 
hasNamespace(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Determines whether the given JS package exists.
hasNode(N) - Method in class com.google.javascript.jscomp.graph.Graph
Checks whether the node exists in the graph (Graph.createNode(Object) has been called with that value).
hasOneChild() - Method in class com.google.javascript.rhino.Node
Check for one child more efficiently than by iterating over all the children as is done with Node.getChildCount().
hasOriginalFile() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
hasOriginalFile() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
hasOriginalFile() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
 
hasOriginalMapping() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
hasOriginalMapping() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
hasOriginalMapping() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
 
hasOwnProperty(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
Checks whether the property whose name is given is present directly on the object.
hasParameter(String) - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the parameter is defined.
hasParameter(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
 
hasParameterType(String) - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the parameter has an attached type.
hasParts() - Method in class com.google.javascript.jscomp.JsMessage.Builder
Gets whether at least one part has been appended.
hasProperty(String) - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
hasProperty(String) - Method in class com.google.javascript.rhino.jstype.NoObjectType
 
hasProperty(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
Checks whether the property whose name is given is present on the object.
hasProperty(String) - Method in class com.google.javascript.rhino.jstype.UnknownType
 
hasReferenceName() - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
hasReferenceName() - Method in class com.google.javascript.rhino.jstype.ObjectType
Returns true if the object is named.
hasReportCall() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
hasReportCall() - Method in class com.google.javascript.jscomp.Instrumentation
 
hasReportCall() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
 
hasReportDefined() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
hasReportDefined() - Method in class com.google.javascript.jscomp.Instrumentation
 
hasReportDefined() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
 
hasReportExit() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
hasReportExit() - Method in class com.google.javascript.jscomp.Instrumentation
 
hasReportExit() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
 
hasReturnType() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether this JSDocInfo contains a type for @return annotation.
hasScope() - Method in class com.google.javascript.jscomp.NodeTraversal
 
hasSize() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
hasSize() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
hasSize() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
 
hasSourceName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
hasSourceName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
hasSourceName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
 
hasThisType() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether this JSDocInfo contains a type for @this annotation.
hasType() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether a type, specified using the @type annotation, is present on this JSDoc.
hasTypedefType() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether a typedef parameter type, specified using the @typedef annotation, is present on this JSDoc.
hasUnknownTarget() - Method in class com.google.javascript.jscomp.CallGraph.Callsite
If true, then DefinitionProvider used in callgraph construction was unable find all target functions of this callsite.
hasVarArgs() - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
 
hook(Node, Node, Node) - Static method in class com.google.javascript.rhino.IR
 
HOOK - Static variable in class com.google.javascript.rhino.Token
Token types.
HotSwapCompilerPass - Interface in com.google.javascript.jscomp
Interface for compiler passes that can be used in a hot-swap fashion.
hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.FieldCleanupPass
 
hotSwapScript(Node, Node) - Method in interface com.google.javascript.jscomp.HotSwapCompilerPass
Process the JS with root node root.

I

ID_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
ideMode - Variable in class com.google.javascript.jscomp.CompilerOptions
Configures the compiler for use as an IDE backend.
IDENTIFIER_FIELD_NUMBER - Static variable in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
identifyNonNullableName(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Identifies the name of a typedef or enum before we actually declare it.
identifyTypeDeclarationCall(Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
 
identifyTypeDeclarationCall(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
Checks if the given CALL node is forward-declaring any types, and returns the name of the types if it is.
identifyTypeDeclarationCall(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
idGenerator() - Method in class com.google.javascript.jscomp.EmptyMessageBundle
Gets a dummy message ID generator.
idGenerator() - Method in interface com.google.javascript.jscomp.MessageBundle
Gets the message ID generator to use to compute message IDs for this type of bundle.
idGenerator() - Method in class com.google.javascript.jscomp.XtbMessageBundle
 
idGeneratorMap - Variable in class com.google.javascript.jscomp.Result
 
IF - Static variable in class com.google.javascript.rhino.Token
Token types.
ifNode(Node, Node) - Static method in class com.google.javascript.rhino.IR
 
ifNode(Node, Node, Node) - Static method in class com.google.javascript.rhino.IR
 
IN - Static variable in class com.google.javascript.rhino.Token
Token types.
INC - Static variable in class com.google.javascript.rhino.Token
Token types.
INCRDECR_PROP - Static variable in class com.google.javascript.rhino.Node
 
incrementGeneration() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Increments the current generation.
inExterns() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
 
inGlobalScope() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
 
init(JSSourceFile[], JSSourceFile[], CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
Initializes the instance state needed for a compile job.
init(List<T1>, List<T2>, CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
Initializes the instance state needed for a compile job.
init(JSSourceFile[], JSModule[], CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
Initializes the instance state needed for a compile job if the sources are in modules.
INIT_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Instrumentation
 
initModules(List<T>, List<JSModule>, CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
Initializes the instance state needed for a compile job if the sources are in modules.
initOptions(CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
Initialize the compiler options.
initTypes() - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
inlineConstantVars - Variable in class com.google.javascript.jscomp.CompilerOptions
Inlines constants (symbols that are all CAPS)
inlineFunctions - Variable in class com.google.javascript.jscomp.CompilerOptions
Inlines short functions
inlineGetters - Variable in class com.google.javascript.jscomp.CompilerOptions
Inlines trivial getters
inlineLocalFunctions - Variable in class com.google.javascript.jscomp.CompilerOptions
Enhanced function inlining
inlineVariables - Variable in class com.google.javascript.jscomp.CompilerOptions
Inlines variables
INPUT_ID - Static variable in class com.google.javascript.rhino.Node
 
inputDelimiter - Variable in class com.google.javascript.jscomp.CompilerOptions
The string to use as the separator for printInputDelimiter
InputId - Class in com.google.javascript.rhino
An id used uniquely identify a CompilerInput
InputId(String) - Constructor for class com.google.javascript.rhino.InputId
 
inputPropertyMapSerialized - Variable in class com.google.javascript.jscomp.CompilerOptions
Serialized input property renaming map.
inputVariableMapSerialized - Variable in class com.google.javascript.jscomp.CompilerOptions
Serialized input variable renaming map.
INSTANCEOF - Static variable in class com.google.javascript.rhino.Token
Token types.
Instrumentation - Class in com.google.javascript.jscomp
 
Instrumentation.Builder - Class in com.google.javascript.jscomp
 
InstrumentationOrBuilder - Interface in com.google.javascript.jscomp
 
instrumentationTemplate - Variable in class com.google.javascript.jscomp.CompilerOptions
Instrumentation template to use with #recordFunctionInformation
InstrumentationTemplate - Class in com.google.javascript.jscomp
 
internalGetFieldAccessorTable() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
internalGetFieldAccessorTable() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
internalGetFieldAccessorTable() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
internalGetFieldAccessorTable() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
internalGetFieldAccessorTable() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
internalGetFieldAccessorTable() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
internalGetFieldAccessorTable() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
internalGetFieldAccessorTable() - Method in class com.google.javascript.jscomp.FunctionInformationMap
 
internalGetFieldAccessorTable() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
internalGetFieldAccessorTable() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
internalGetFieldAccessorTable() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
internalGetFieldAccessorTable() - Method in class com.google.javascript.jscomp.Instrumentation
 
INTERNET_EXPLORER_CHECKS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
intersection(BooleanLiteralSet) - Method in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
Computes the intersection of this set and that.
INVALID_CASTS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
IR - Class in com.google.javascript.rhino
An AST construction helper class
IS_CONSTANT_NAME - Static variable in class com.google.javascript.rhino.Node
 
IS_DISPATCHER - Static variable in class com.google.javascript.rhino.Node
 
IS_NAMESPACE - Static variable in class com.google.javascript.rhino.Node
 
IS_OPTIONAL_PARAM - Static variable in class com.google.javascript.rhino.Node
 
IS_VAR_ARGS_PARAM - Static variable in class com.google.javascript.rhino.Node
 
isAdd() - Method in class com.google.javascript.rhino.Node
AST type check methods
isAliased() - Method in class com.google.javascript.jscomp.CallGraph.Function
Returns true if the function is aliased.
isAllType() - Method in class com.google.javascript.rhino.jstype.AllType
 
isAllType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isAnd() - Method in class com.google.javascript.rhino.Node
 
isAnonymous() - Method in class com.google.javascript.jscomp.JsMessage
 
isArrayLit() - Method in class com.google.javascript.rhino.Node
 
isArrayType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isAssign() - Method in class com.google.javascript.rhino.Node
 
isAssignAdd() - Method in class com.google.javascript.rhino.Node
 
isBleedingFunction() - Method in class com.google.javascript.jscomp.Scope.Var
Whether this is a bleeding function (an anonymous named function that bleeds into the inner scope.
isBlock() - Method in class com.google.javascript.rhino.Node
 
isBooleanObjectType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isBooleanValueType() - Method in class com.google.javascript.rhino.jstype.BooleanType
 
isBooleanValueType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isBreak() - Method in class com.google.javascript.rhino.Node
 
isCall() - Method in class com.google.javascript.rhino.Node
 
isCase() - Method in class com.google.javascript.rhino.Node
 
isCaseSensitive() - Method in class com.google.javascript.jscomp.regex.RegExpTree
True if the presence or absence of an "i" flag would change the meaning of this regular expression.
isCatch() - Method in class com.google.javascript.rhino.Node
 
isCheckedUnknownType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isCheckedUnknownType() - Method in class com.google.javascript.rhino.jstype.UnknownType
 
isComma() - Method in class com.google.javascript.rhino.Node
 
isConnected(N, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
 
isConnected(N, E, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
 
isConnected(N, N) - Method in class com.google.javascript.jscomp.graph.Graph
Checks whether two nodes in the graph are connected.
isConnected(N, E, N) - Method in class com.google.javascript.jscomp.graph.Graph
Checks whether two nodes in the graph are connected by the given edge type.
isConnected(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
isConnected(N, E, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
isConnectedInDirection(N, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
Checks whether two nodes in the graph are connected via a directed edge.
isConnectedInDirection(N, E, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
Checks whether two nodes in the graph are connected via a directed edge with the given value.
isConnectedInDirection(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
isConnectedInDirection(N, E, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
isConsistentIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfo
 
isConst() - Method in class com.google.javascript.jscomp.Scope.Var
Returns true if the variable is declared as a constant, based on the value reported by NodeUtil.
isConstant(String) - Method in interface com.google.javascript.jscomp.CodingConvention
This checks whether a given variable name, such as a name in all-caps should be treated as if it had the @const annotation.
isConstant(String) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
isConstant(String) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
This checks whether a given variable name, such as a name in all-caps should be treated as if it had the @const annotation.
isConstant() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the @const annotation is present on this JSDocInfo.
isConstantKey(String) - Method in interface com.google.javascript.jscomp.CodingConvention
This checks whether a given key of an object literal, such as a name in all-caps should be treated as if it had the @const annotation.
isConstantKey(String) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
isConstantKey(String) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
 
isConstructor() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the @constructor annotation is present on this JSDocInfo.
isConstructor() - Method in class com.google.javascript.rhino.jstype.FunctionType
 
isConstructor() - Method in class com.google.javascript.rhino.jstype.JSType
Whether this type is a FunctionType that is a constructor or a named type that points to such a type.
isConstructorRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Whether the JSDocInfo being built will have its JSDocInfo.isConstructor() flag set to true.
isContinue() - Method in class com.google.javascript.rhino.Node
 
isDateType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isDebugger() - Method in class com.google.javascript.rhino.Node
 
isDec() - Method in class com.google.javascript.rhino.Node
 
isDeclared(String, boolean) - Method in class com.google.javascript.jscomp.Scope
Returns true if a variable is declared.
isDefaultCase() - Method in class com.google.javascript.rhino.Node
 
isDefine() - Method in class com.google.javascript.jscomp.Scope.Var
Returns true if the variable is declared as a define.
isDefine() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the @define annotation is present on this JSDocInfo.
isDelProp() - Method in class com.google.javascript.rhino.Node
 
isDeprecated() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the @deprecated annotation is present on this JSDocInfo.
isDescriptionRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Returns whether this builder recorded a description.
isDirected() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph
Graph type.
isDirected() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
isDirected() - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
isDo() - Method in class com.google.javascript.rhino.Node
 
isDocOnlyParameter() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
Whether this is a variable that's only in JSDoc.
isDocScope() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
Returns whether this is a doc scope.
isEmpty() - Method in class com.google.javascript.jscomp.JsMessage
 
isEmpty() - Method in class com.google.javascript.rhino.Node
 
isEmptyType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isEnumElementType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isEnumType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isEquivalent(JSType, JSType) - Static method in class com.google.javascript.rhino.jstype.JSType
 
isEquivalentTo(JSType) - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
isEquivalentTo(JSType) - Method in class com.google.javascript.rhino.jstype.FunctionType
Two function types are equal if their signatures match.
isEquivalentTo(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
Checks if two types are equivalent.
isEquivalentTo(JSType) - Method in class com.google.javascript.rhino.jstype.NoObjectType
 
isEquivalentTo(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
Two union types are equal if they have the same number of alternates and all alternates are equal.
isEquivalentTo(Node) - Method in class com.google.javascript.rhino.Node
Returns true if this node is equivalent semantically to another
isEquivalentToTyped(Node) - Method in class com.google.javascript.rhino.Node
Returns true if this node is equivalent semantically to another and the types are equivalent.
isExport() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the @export annotation is present on this JSDocInfo.
isExported(String, boolean) - Method in interface com.google.javascript.jscomp.CodingConvention
Checks whether a global variable or function name should be treated as exported, or externally referenceable.
isExported(String) - Method in interface com.google.javascript.jscomp.CodingConvention
Should be isExported(name, true) || isExported(name, false);
isExported(String, boolean) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
isExported(String) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
isExported(String, boolean) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
Checks whether a global variable or function name should be treated as exported, or externally referenceable.
isExpose() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the @expose annotation is present on this JSDocInfo.
isExposedToCallOrApply() - Method in class com.google.javascript.jscomp.CallGraph.Function
Returns true if the function is ever exposed to ".call" or ".apply".
isExpression(JsonML) - Static method in class com.google.javascript.jscomp.jsonml.JsonMLUtil
Checks if the specified JsonML element represents an expression.
isExprResult() - Method in class com.google.javascript.rhino.Node
 
isExtern() - Method in class com.google.javascript.jscomp.CompilerInput
 
isExtern() - Method in class com.google.javascript.jscomp.SourceFile
Returns whether this is an extern.
isExtern() - Method in class com.google.javascript.rhino.jstype.SimpleSourceFile
 
isExtern() - Method in interface com.google.javascript.rhino.jstype.StaticSourceFile
Returns whether this is an externs file.
isExternal() - Method in class com.google.javascript.jscomp.JsMessage
 
isExternExportsEnabled() - Method in class com.google.javascript.jscomp.CompilerOptions
 
isExterns() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the @externs annotation is present on this JSDocInfo.
isFalse() - Method in class com.google.javascript.rhino.Node
 
isFor() - Method in class com.google.javascript.rhino.Node
 
isForwardDeclaredType(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Whether this is a forward-declared type name.
isFromExterns() - Method in class com.google.javascript.rhino.Node
 
isFunction() - Method in class com.google.javascript.rhino.Node
 
isFunctionPrototypeType() - Method in class com.google.javascript.rhino.jstype.JSType
Whether this is the prototype of a function.
isFunctionPrototypeType() - Method in class com.google.javascript.rhino.jstype.ObjectType
 
isFunctionType() - Method in class com.google.javascript.rhino.jstype.JSType
Returns true if toMaybeFunctionType returns a non-null FunctionType.
isGetElem() - Method in class com.google.javascript.rhino.Node
 
isGetProp() - Method in class com.google.javascript.rhino.Node
 
isGetterDef() - Method in class com.google.javascript.rhino.Node
 
isGlobal() - Method in class com.google.javascript.jscomp.Scope
Returns whether this is the global scope.
isGlobal() - Method in class com.google.javascript.jscomp.Scope.Var
Returns whether this is a global variable.
isGlobalScope() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
 
isGlobalThisType() - Method in class com.google.javascript.rhino.jstype.JSType
Returns true if this is a global this type.
isHidden() - Method in class com.google.javascript.jscomp.JsMessage
Gets whether this message should be hidden from volunteer translators (to reduce the chances of a new feature leak).
isHidden() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the @hidden annotation is present on this JSDocInfo.
isHook() - Method in class com.google.javascript.rhino.Node
 
isIdeMode() - Method in class com.google.javascript.jscomp.Compiler
 
isIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfo
 
isIf() - Method in class com.google.javascript.rhino.Node
 
isImplicitCast() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the @implicitCast annotation is present on this JSDocInfo.
isIn() - Method in class com.google.javascript.rhino.Node
 
isInc() - Method in class com.google.javascript.rhino.Node
 
isIndependentOf(N) - Method in interface com.google.javascript.jscomp.graph.SubGraph
Returns true if the node is a neighbor of any node in this SubGraph.
isInitialized() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
isInitialized() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
isInitialized() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
isInitialized() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
isInitialized() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
isInitialized() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
isInitialized() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
isInitialized() - Method in class com.google.javascript.jscomp.FunctionInformationMap
 
isInitialized() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
isInitialized() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
isInitialized() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
isInitialized() - Method in class com.google.javascript.jscomp.Instrumentation
 
isInstanceOf() - Method in class com.google.javascript.rhino.Node
 
isInstanceType() - Method in class com.google.javascript.rhino.jstype.FunctionType
 
isInstanceType() - Method in class com.google.javascript.rhino.jstype.JSType
Whether this type is an Instance object of some constructor.
isInterface() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the @interface annotation is present on this JSDocInfo.
isInterface() - Method in class com.google.javascript.rhino.jstype.FunctionType
 
isInterface() - Method in class com.google.javascript.rhino.jstype.JSType
Whether this type is a FunctionType that is an interface or a named type that points to such a type.
isInterfaceRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Whether the JSDocInfo being built will have its JSDocInfo.isInterface() flag set to true.
isJavaDispatch() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the @javadispath annotation is present on this JSDocInfo.
isJavaDispatch() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Whether the JSDocInfo being built will have its JSDocInfo.isJavaDispatch() flag set to true.
isJSIdentifier(String) - Static method in class com.google.javascript.rhino.TokenStream
 
isJSLineTerminator(int) - Static method in class com.google.javascript.rhino.ScriptRuntime
 
isKeyword(String) - Static method in class com.google.javascript.rhino.TokenStream
 
isLabel() - Method in class com.google.javascript.rhino.Node
 
isLabelName() - Method in class com.google.javascript.rhino.Node
 
isLexicalScope() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
 
isLexicalVariable() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
Whether this is a variable in a lexical scope.
isLocal() - Method in class com.google.javascript.jscomp.Scope
Returns whether this is a local scope (i.e.
isLocal() - Method in class com.google.javascript.jscomp.Scope.Var
Returns whether this is a local variable.
isLocalResultCall() - Method in class com.google.javascript.rhino.Node
Returns true if this node is a function or constructor call that returns a primitive or a local object (an object that has no other references).
isMain() - Method in class com.google.javascript.jscomp.CallGraph.Function
Does this function represent the global "main" function?
isName() - Method in class com.google.javascript.rhino.Node
 
isNativeObjectType() - Method in class com.google.javascript.rhino.jstype.ObjectType
Whether this is a built-in object.
isNE() - Method in class com.google.javascript.rhino.Node
 
isNew() - Method in class com.google.javascript.rhino.Node
 
isNoAlias() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the @noalias annotation is present on this JSDocInfo.
isNoCompile() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the @nocompile annotation is present on this JSDocInfo.
isNominalConstructor() - Method in class com.google.javascript.rhino.jstype.JSType
Whether this type is the original constructor of a nominal type.
isNominalType() - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
isNominalType() - Method in class com.google.javascript.rhino.jstype.JSType
Whether this type is a nominal type (a named instance object or a named enum).
isNoObjectType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isNoObjectType() - Method in class com.google.javascript.rhino.jstype.NoObjectType
 
isNoObjectType() - Method in class com.google.javascript.rhino.jstype.NoType
 
isNoResolvedType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isNoShadow() - Method in class com.google.javascript.jscomp.Scope.Var
 
isNoShadow() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the @noshadow annotation is present on this JSDocInfo.
isNoSideEffects() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the @nosideeffects annotation is present on this JSDocInfo.
isNoSideEffectsCall() - Method in class com.google.javascript.rhino.Node
Returns true if this node is a function or constructor call that has no side effects.
isNot() - Method in class com.google.javascript.rhino.Node
 
isNoType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isNoType() - Method in class com.google.javascript.rhino.jstype.NoType
 
isNoTypeCheck() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the @nocheck annotation is present on this JSDocInfo.
isNull() - Method in class com.google.javascript.rhino.Node
 
isNullable() - Method in class com.google.javascript.rhino.jstype.BooleanType
 
isNullable() - Method in class com.google.javascript.rhino.jstype.EnumElementType
This predicate determines whether objects of this type can have the null value, and therefore can appear in contexts where null is expected.
isNullable() - Method in class com.google.javascript.rhino.jstype.JSType
Tests whether this type is nullable.
isNullable() - Method in class com.google.javascript.rhino.jstype.NoType
 
isNullable() - Method in class com.google.javascript.rhino.jstype.NullType
 
isNullable() - Method in class com.google.javascript.rhino.jstype.NumberType
 
isNullable() - Method in class com.google.javascript.rhino.jstype.UnionType
This predicate determines whether objects of this type can have the null value, and therefore can appear in contexts where null is expected.
isNullable() - Method in class com.google.javascript.rhino.jstype.UnknownType
 
isNullType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isNullType() - Method in class com.google.javascript.rhino.jstype.NullType
 
isNumber() - Method in class com.google.javascript.rhino.jstype.JSType
Tests whether the type is a number (value or Object).
isNumber() - Method in class com.google.javascript.rhino.Node
 
isNumberObjectType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isNumberValueType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isNumberValueType() - Method in class com.google.javascript.rhino.jstype.NumberType
 
isObject() - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
isObject() - Method in class com.google.javascript.rhino.jstype.JSType
Tests whether this type is an Object, or any subtype thereof.
isObject() - Method in class com.google.javascript.rhino.jstype.ObjectType
 
isObject() - Method in class com.google.javascript.rhino.jstype.UnionType
 
isObjectLit() - Method in class com.google.javascript.rhino.Node
 
isOn() - Method in enum com.google.javascript.jscomp.CompilerOptions.TweakProcessing
 
isOnlyModifiesThisCall() - Method in class com.google.javascript.rhino.Node
 
isOptionalArg() - Method in class com.google.javascript.rhino.JSTypeExpression
 
isOptionalArg() - Method in class com.google.javascript.rhino.Node
Returns whether this node is an optional argument node.
isOptionalParameter(Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
 
isOptionalParameter(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
This checks whether a given parameter name should be treated as an optional parameter as far as type checking or function call arg count checking is concerned.
isOptionalParameter(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
isOptionalParameter(Node) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
This checks whether a given parameter name should be treated as an optional parameter as far as type checking or function call arg count checking is concerned.
isOr() - Method in class com.google.javascript.rhino.Node
 
isOrdinaryFunction() - Method in class com.google.javascript.rhino.jstype.FunctionType
 
isOrdinaryFunction() - Method in class com.google.javascript.rhino.jstype.JSType
Whether this type is a FunctionType that is an ordinary function or a named type that points to such a type.
isOverride() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the @override annotation is present on this JSDocInfo.
isParamList() - Method in class com.google.javascript.rhino.Node
 
isPopulated() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Returns whether this builder is populated with information that can be used to JSDocInfoBuilder.build(com.google.javascript.rhino.Node) a JSDocInfo object.
isPopulatedWithFileOverview() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Returns whether this builder is populated with information that can be used to JSDocInfoBuilder.build(com.google.javascript.rhino.Node) a JSDocInfo object that has a fileoverview tag.
isPrivate(String) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
 
isPrivate(String) - Method in interface com.google.javascript.jscomp.CodingConvention
Checks whether a name should be considered private.
isPrivate(String) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
isPrivate(String) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
Checks whether a name should be considered private.
isProperty() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
Whether this is a property of another variable.
isPropertyInExterns(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
Checks whether the property was defined in the externs.
isPropertyScope() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
 
isPropertyTestFunction(Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
 
isPropertyTestFunction(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
Whether this CALL function is testing for the existence of a property.
isPropertyTestFunction(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
isPropertyTestFunction(Node) - Method in class com.google.javascript.jscomp.JqueryCodingConvention
 
isPropertyTypeDeclared(String) - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
isPropertyTypeDeclared(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
Checks whether the property's type is declared.
isPropertyTypeDeclared(String) - Method in class com.google.javascript.rhino.jstype.UnknownType
 
isPropertyTypeInferred(String) - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
isPropertyTypeInferred(String) - Method in class com.google.javascript.rhino.jstype.NoObjectType
 
isPropertyTypeInferred(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
Checks whether the property's type is inferred.
isPropertyTypeInferred(String) - Method in class com.google.javascript.rhino.jstype.UnknownType
 
isPrototypeAlias(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
Whether this GETPROP node is an alias for an object prototype.
isPrototypeAlias(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
isPrototypeAlias(Node) - Method in class com.google.javascript.jscomp.JqueryCodingConvention
 
isQualifiedName() - Method in class com.google.javascript.rhino.Node
Returns whether a node corresponds to a simple or a qualified name, such as x or a.b.c or this.a.
isQuotedString() - Method in class com.google.javascript.rhino.Node
This should only be called for STRING nodes children of OBJECTLIT.
isRecordType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isRegExp() - Method in class com.google.javascript.rhino.Node
 
isRegexpType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isRelationalOperation(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
Returns true if the operator on this node is relational.
isResolved() - Method in class com.google.javascript.rhino.jstype.JSType
Whether the type has been resolved.
isReturn() - Method in class com.google.javascript.rhino.Node
 
isReturnTypeInferred() - Method in class com.google.javascript.rhino.jstype.FunctionType
 
isScript() - Method in class com.google.javascript.rhino.Node
 
isSetterDef() - Method in class com.google.javascript.rhino.Node
 
isString() - Method in class com.google.javascript.rhino.jstype.JSType
Tests whether the type is a string (value or Object).
isString() - Method in class com.google.javascript.rhino.Node
 
isStringObjectType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isStringValueType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isStringValueType() - Method in class com.google.javascript.rhino.jstype.StringType
 
isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.EnumType
 
isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.FunctionType
A function is a subtype of another if their call methods are related via subtyping and this is a subtype of that with regard to the prototype chain.
isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
Checks whether this is a subtype of that.
isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.NoObjectType
 
isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.NoType
 
isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
 
isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.UnknownType
 
isSuccessful() - Method in class com.google.javascript.jscomp.jsonml.SecureCompiler.Report
 
isSuperClassReference(String) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
 
isSuperClassReference(String) - Method in interface com.google.javascript.jscomp.CodingConvention
Returns true if passed a string referring to the superclass.
isSuperClassReference(String) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
isSwitch() - Method in class com.google.javascript.rhino.Node
 
isSymmetricOperation(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
Returns true if the operator on this node is symmetric
isSyntheticBlock() - Method in class com.google.javascript.rhino.Node
Returns whether this is a synthetic block that should not be considered a real source block.
isTemplateType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isTemplateType() - Method in class com.google.javascript.rhino.jstype.TemplateType
 
isThis() - Method in class com.google.javascript.rhino.Node
 
isThrow() - Method in class com.google.javascript.rhino.Node
 
isTrue() - Method in class com.google.javascript.rhino.Node
 
isTry() - Method in class com.google.javascript.rhino.Node
 
isTypeCheckingEnabled() - Method in class com.google.javascript.jscomp.Compiler
 
isTypeInferred() - Method in class com.google.javascript.jscomp.Scope.Var
Returns whether this variable's type is inferred.
isTypeInferred() - Method in class com.google.javascript.rhino.jstype.ObjectType.Property
 
isTypeInferred() - Method in class com.google.javascript.rhino.jstype.SimpleSlot
 
isTypeInferred() - Method in interface com.google.javascript.rhino.jstype.StaticSlot
Returns whether the type has been inferred (as opposed to declared).
isTypeOf() - Method in class com.google.javascript.rhino.Node
 
isUnionType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isUnknownType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isUnknownType() - Method in class com.google.javascript.rhino.jstype.ObjectType
We treat this as the unknown type if any of its implicit prototype properties is unknown.
isUnknownType() - Method in class com.google.javascript.rhino.jstype.UnionType
 
isUnknownType() - Method in class com.google.javascript.rhino.jstype.UnknownType
 
isUnscopedQualifiedName() - Method in class com.google.javascript.rhino.Node
Returns whether a node corresponds to a simple or a qualified name without a "this" reference, such as a.b.c, but not this.a .
isValidEnumKey(String) - Method in interface com.google.javascript.jscomp.CodingConvention
This checks that a given key may be used as a key for an enum.
isValidEnumKey(String) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
isValidEnumKey(String) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
This checks that a given key may be used as a key for an enum.
isValidQualifiedName(String) - Static method in class com.google.javascript.jscomp.NodeUtil
Determines whether the given name is a valid qualified name.
isValidSimpleName(String) - Static method in class com.google.javascript.jscomp.NodeUtil
Determines whether the given name is a valid variable name.
isVar() - Method in class com.google.javascript.rhino.Node
 
isVarArgs() - Method in class com.google.javascript.rhino.JSTypeExpression
 
isVarArgs() - Method in class com.google.javascript.rhino.Node
Returns whether this node is a variable length argument node.
isVarArgsParameter(Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
 
isVarArgsParameter(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
This checks whether a given parameter should be treated as a marker for a variable argument list function.
isVarArgsParameter(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
 
isVarArgsParameter(Node) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
 
isVoid() - Method in class com.google.javascript.rhino.Node
 
isVoidType() - Method in class com.google.javascript.rhino.jstype.JSType
 
isVoidType() - Method in class com.google.javascript.rhino.jstype.VoidType
 
isWhile() - Method in class com.google.javascript.rhino.Node
 
isWith() - Method in class com.google.javascript.rhino.Node
 
iterator() - Method in class com.google.javascript.rhino.Node.AncestorIterable
 

J

JqueryCodingConvention - Class in com.google.javascript.jscomp
This describes the jQuery specific JavaScript coding conventions.
JqueryCodingConvention() - Constructor for class com.google.javascript.jscomp.JqueryCodingConvention
 
JqueryCodingConvention(CodingConvention) - Constructor for class com.google.javascript.jscomp.JqueryCodingConvention
 
jqueryPass - Variable in class com.google.javascript.jscomp.CompilerOptions
Processes jQuery aliases
JsAst - Class in com.google.javascript.jscomp
Generates an AST for a JavaScript source file.
JsAst(SourceFile) - Constructor for class com.google.javascript.jscomp.JsAst
 
JSDOC_INFO_PROP - Static variable in class com.google.javascript.rhino.Node
 
JSDocInfo - Class in com.google.javascript.rhino
JSDoc information describing JavaScript code.
JSDocInfo() - Constructor for class com.google.javascript.rhino.JSDocInfo
 
JSDocInfo.Marker - Class in com.google.javascript.rhino
Defines a class for containing the parsing information for this JSDocInfo.
JSDocInfo.Marker() - Constructor for class com.google.javascript.rhino.JSDocInfo.Marker
 
JSDocInfo.NamePosition - Class in com.google.javascript.rhino
A piece of information (found in a marker) which contains a position with a name node.
JSDocInfo.NamePosition() - Constructor for class com.google.javascript.rhino.JSDocInfo.NamePosition
 
JSDocInfo.StringPosition - Class in com.google.javascript.rhino
A piece of information (found in a marker) which contains a position with a string.
JSDocInfo.StringPosition() - Constructor for class com.google.javascript.rhino.JSDocInfo.StringPosition
 
JSDocInfo.TypePosition - Class in com.google.javascript.rhino
A piece of information (found in a marker) which contains a position with a type expression syntax tree.
JSDocInfo.TypePosition() - Constructor for class com.google.javascript.rhino.JSDocInfo.TypePosition
 
JSDocInfo.Visibility - Enum in com.google.javascript.rhino
Visibility categories.
JSDocInfoBuilder - Class in com.google.javascript.rhino
A builder for JSDocInfo objects.
JSDocInfoBuilder(boolean) - Constructor for class com.google.javascript.rhino.JSDocInfoBuilder
 
JsDocInfoParser - Class in com.google.javascript.jscomp.parsing
A parser for JSDoc comments.
JSError - Class in com.google.javascript.jscomp
Compile error description
JsFileLineParser - Class in com.google.javascript.jscomp.deps
Base class for classes that parse Javascript sources on a line-by-line basis.
JsFileLineParser(ErrorManager) - Constructor for class com.google.javascript.jscomp.deps.JsFileLineParser
Constructor.
JsFileParser - Class in com.google.javascript.jscomp.deps
A parser that can extract goog.require() and goog.provide() dependency information from a .js file.
JsFileParser(ErrorManager) - Constructor for class com.google.javascript.jscomp.deps.JsFileParser
Constructor
JsFunctionParser - Class in com.google.javascript.jscomp.deps
A parser that can extract dependency information from a .js file.
JsFunctionParser(Collection<String>, ErrorManager) - Constructor for class com.google.javascript.jscomp.deps.JsFunctionParser
Constructor
JsFunctionParser.SymbolInfo - Class in com.google.javascript.jscomp.deps
 
JsMessage - Class in com.google.javascript.jscomp
A representation of a translatable message in JavaScript source code.
JsMessage.Builder - Class in com.google.javascript.jscomp
Contains functionality for creating js messages.
JsMessage.Builder() - Constructor for class com.google.javascript.jscomp.JsMessage.Builder
 
JsMessage.Builder(String) - Constructor for class com.google.javascript.jscomp.JsMessage.Builder
Creates an instance.
JsMessage.IdGenerator - Interface in com.google.javascript.jscomp
 
JsMessage.PlaceholderReference - Class in com.google.javascript.jscomp
A reference to a placeholder in a translatable message.
JsMessage.Style - Enum in com.google.javascript.jscomp
Message style that could be used for JS code parsing.
JsMessageExtractor - Class in com.google.javascript.jscomp
Extracts messages and message comments from JS code.
JsMessageExtractor(JsMessage.IdGenerator, JsMessage.Style) - Constructor for class com.google.javascript.jscomp.JsMessageExtractor
 
JSModule - Class in com.google.javascript.jscomp
A JavaScript module has a unique name, consists of a list of compiler inputs, and can depend on other modules.
JSModule(String) - Constructor for class com.google.javascript.jscomp.JSModule
Creates an instance.
JSModuleGraph - Class in com.google.javascript.jscomp
A JSModule dependency graph that assigns a depth to each module and can answer depth-related queries about them.
JSModuleGraph(JSModule[]) - Constructor for class com.google.javascript.jscomp.JSModuleGraph
Creates a module graph from a list of modules in dependency order.
JSModuleGraph(List<JSModule>) - Constructor for class com.google.javascript.jscomp.JSModuleGraph
Creates a module graph from a list of modules in dependency order.
JSModuleGraph.ModuleDependenceException - Exception in com.google.javascript.jscomp
 
JSModuleGraph.ModuleDependenceException(String, JSModule, JSModule) - Constructor for exception com.google.javascript.jscomp.JSModuleGraph.ModuleDependenceException
 
JsonML - Class in com.google.javascript.jscomp.jsonml
Class which represents JsonML element according to the specification at "http://code.google.com/p/es-lab/wiki/JsonMLASTFormat"
JsonML(TagType) - Constructor for class com.google.javascript.jscomp.jsonml.JsonML
Creates a new element with a given type.
JsonML(TagType, JsonML...) - Constructor for class com.google.javascript.jscomp.jsonml.JsonML
Creates a new element.
JsonML(TagType, List<? extends JsonML>) - Constructor for class com.google.javascript.jscomp.jsonml.JsonML
 
JsonML(TagType, Map<? extends TagAttr, ?>) - Constructor for class com.google.javascript.jscomp.jsonml.JsonML
 
JsonML(TagType, Map<? extends TagAttr, ?>, List<? extends JsonML>) - Constructor for class com.google.javascript.jscomp.jsonml.JsonML
 
JsonMLAst - Class in com.google.javascript.jscomp.jsonml
Generates an AST from a JsonML source file.
JsonMLAst(JsonML) - Constructor for class com.google.javascript.jscomp.jsonml.JsonMLAst
 
JsonMLError - Class in com.google.javascript.jscomp.jsonml
Class used to represent errors which correspond to JsonML elements.
JsonMLUtil - Class in com.google.javascript.jscomp.jsonml
JsonMLUtil contains utilities for the JsonML object.
JsonMLUtil() - Constructor for class com.google.javascript.jscomp.jsonml.JsonMLUtil
 
JSSourceFile - Class in com.google.javascript.jscomp
An abstract representation of a JavaScript source file, as input to JSCompiler.
JSType - Class in com.google.javascript.rhino.jstype
Represents JavaScript value types.
JSType.TypePair - Class in com.google.javascript.rhino.jstype
 
JSType.TypePair(JSType, JSType) - Constructor for class com.google.javascript.rhino.jstype.JSType.TypePair
 
JSTypeExpression - Class in com.google.javascript.rhino
Represents a type expression as a miniture Rhino AST, so that the type expression can be evaluated later.
JSTypeExpression(Node, String) - Constructor for class com.google.javascript.rhino.JSTypeExpression
 
JSTypeNative - Enum in com.google.javascript.rhino.jstype
Constants corresponding to types that are built into a JavaScript engine and other types that occur very often in the type system.
JSTypeRegistry - Class in com.google.javascript.rhino.jstype
The type registry is used to resolve named types.
JSTypeRegistry(ErrorReporter) - Constructor for class com.google.javascript.rhino.jstype.JSTypeRegistry
Constructs a new type registry populated with the built-in types.
JSTypeRegistry(ErrorReporter, boolean) - Constructor for class com.google.javascript.rhino.jstype.JSTypeRegistry
Constructs a new type registry populated with the built-in types.
JSTypeRegistry.ResolveMode - Enum in com.google.javascript.rhino.jstype
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).

K

key - Variable in class com.google.javascript.jscomp.DiagnosticType
The error type.

L

label(Node, Node) - Static method in class com.google.javascript.rhino.IR
 
LABEL - Static variable in class com.google.javascript.rhino.Token
Token types.
LABEL_NAME - Static variable in class com.google.javascript.rhino.Token
Token types.
labelName(String) - Static method in class com.google.javascript.rhino.IR
 
labelRenaming - Variable in class com.google.javascript.jscomp.CompilerOptions
Controls label renaming.
languageMode() - Method in class com.google.javascript.jscomp.Compiler
 
LAST_PROP - Static variable in class com.google.javascript.rhino.Node
 
LB - Static variable in class com.google.javascript.rhino.Token
Token types.
LC - Static variable in class com.google.javascript.rhino.Token
Token types.
LE - Static variable in class com.google.javascript.rhino.Token
Token types.
LEAST_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
length() - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
 
LENGTH - Static variable in class com.google.javascript.rhino.Node
 
level(JSError) - Method in class com.google.javascript.jscomp.ComposeWarningsGuard
 
level(JSError) - Method in class com.google.javascript.jscomp.DiagnosticGroupWarningsGuard
 
level - Variable in class com.google.javascript.jscomp.DiagnosticType
Reporting level, initially the defaultLevel but may be changed.
level - Variable in class com.google.javascript.jscomp.JSError
Deprecated. Use #getDefaultLevel
level - Variable in class com.google.javascript.jscomp.jsonml.JsonMLError
Level
level(JSError) - Method in class com.google.javascript.jscomp.ShowByPathWarningsGuard
 
level(JSError) - Method in class com.google.javascript.jscomp.StrictWarningsGuard
 
level(JSError) - Method in class com.google.javascript.jscomp.WarningsGuard
Returns a new check level for a given error.
level(JSError) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard
 
LightweightMessageFormatter - Class in com.google.javascript.jscomp
Lightweight message formatter.
LightweightMessageFormatter(SourceExcerptProvider) - Constructor for class com.google.javascript.jscomp.LightweightMessageFormatter
 
LightweightMessageFormatter(SourceExcerptProvider, SourceExcerptProvider.SourceExcerpt) - Constructor for class com.google.javascript.jscomp.LightweightMessageFormatter
 
LINE_NUMBER_FIELD_NUMBER - Static variable in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
LINE_NUMBER_FIELD_NUMBER - Static variable in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
LINE_NUMBER_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
lineBreak - Variable in class com.google.javascript.jscomp.CompilerOptions
Line break the output a bit more aggressively
lineNumber - Variable in class com.google.javascript.jscomp.JSError
Line number of the source
lineNumber - Variable in class com.google.javascript.jscomp.jsonml.JsonMLError
Line number of the source
LinkedDirectedGraph<N,E> - Class in com.google.javascript.jscomp.graph
A directed graph using linked list within nodes to store edge information.
LinkedDirectedGraph(boolean, boolean) - Constructor for class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
LinkedUndirectedGraph<N,E> - Class in com.google.javascript.jscomp.graph
An undirected graph using linked list within nodes to store edge information.
LinkedUndirectedGraph(boolean, boolean) - Constructor for class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
load(String) - Static method in class com.google.javascript.jscomp.VariableMap
Reads the variable map from a file written via VariableMap.save(String).
loadWhitelistedJsWarnings(File) - Static method in class com.google.javascript.jscomp.WhitelistWarningsGuard
Loads legacy warnings list from the file.
loadWhitelistedJsWarnings(InputSupplier<InputStreamReader>) - Static method in class com.google.javascript.jscomp.WhitelistWarningsGuard
Loads legacy warnings list from the file.
locale - Variable in class com.google.javascript.jscomp.CompilerOptions
Compiling locale
logAliasTransformation(String, SourcePosition<CompilerOptions.AliasTransformation>) - Method in interface com.google.javascript.jscomp.CompilerOptions.AliasTransformationHandler
Builds an AliasTransformation implementation and returns it to the caller.
LoggerErrorManager - Class in com.google.javascript.jscomp
An error manager that logs errors and warnings using a logger in addition to collecting them in memory.
LoggerErrorManager(MessageFormatter, Logger) - Constructor for class com.google.javascript.jscomp.LoggerErrorManager
Creates an instance.
LoggerErrorManager(Logger) - Constructor for class com.google.javascript.jscomp.LoggerErrorManager
Creates an instance with a source-less error formatter.
lookupNewName(String) - Method in class com.google.javascript.jscomp.VariableMap
Given an original variable name, look up new name, may return null if it's not found.
lookupSourceName(String) - Method in class com.google.javascript.jscomp.VariableMap
Given a new variable name, lookup the source name, may return null if it's not found.
LP - Static variable in class com.google.javascript.rhino.Token
 
LSH - Static variable in class com.google.javascript.rhino.Token
Token types.
LT - Static variable in class com.google.javascript.rhino.Token
Token types.

M

main(String[]) - Static method in class com.google.javascript.jscomp.CommandLineRunner
Runs the Compiler.
MAIN_FUNCTION_NAME - Static variable in class com.google.javascript.jscomp.CallGraph
The name we give the main function.
make(String, CheckLevel, String) - Static method in class com.google.javascript.jscomp.DiagnosticType
Create a DiagnosticType at a given CheckLevel.
make(DiagnosticType, String...) - Static method in class com.google.javascript.jscomp.JSError
Creates a JSError with no source information
make(String, int, int, DiagnosticType, String...) - Static method in class com.google.javascript.jscomp.JSError
Creates a JSError at a given source location
make(String, int, int, CheckLevel, DiagnosticType, String...) - Static method in class com.google.javascript.jscomp.JSError
Creates a JSError at a given source location
make(String, Node, DiagnosticType, String...) - Static method in class com.google.javascript.jscomp.JSError
Creates a JSError from a file and Node position.
make(String, Node, CheckLevel, DiagnosticType, String...) - Static method in class com.google.javascript.jscomp.JSError
Creates a JSError from a file and Node position.
make(DiagnosticType, String, JsonML, int, ErrorLevel, String...) - Static method in class com.google.javascript.jscomp.jsonml.JsonMLError
 
make(JSError, JsonMLAst) - Static method in class com.google.javascript.jscomp.jsonml.JsonMLError
 
makeAbsolute(String) - Static method in class com.google.javascript.jscomp.deps.PathUtil
Converts the given path into an absolute one.
makeAbsolute(String, String) - Static method in class com.google.javascript.jscomp.deps.PathUtil
Converts the given path into an absolute one.
makeError(Node, CheckLevel, DiagnosticType, String...) - Method in class com.google.javascript.jscomp.NodeTraversal
Creates a JSError during NodeTraversal.
makeError(Node, DiagnosticType, String...) - Method in class com.google.javascript.jscomp.NodeTraversal
Creates a JSError during NodeTraversal.
makeOptionalArg(JSTypeExpression) - Static method in class com.google.javascript.rhino.JSTypeExpression
Make the given type expression into an optional type expression, if possible.
makeRelative(String, String) - Static method in class com.google.javascript.jscomp.deps.PathUtil
Returns targetPath relative to basePath.
manageDependencies(List<String>, List<CompilerInput>) - Method in class com.google.javascript.jscomp.JSModuleGraph
Applies a DependencyOptions in "dependency sorting" and "dependency pruning" mode to the given list of inputs.
manageDependencies(DependencyOptions, List<CompilerInput>) - Method in class com.google.javascript.jscomp.JSModuleGraph
Apply the dependency options to the list of sources, returning a new source list re-ordering and dropping files as necessary.
MapBasedScope - Class in com.google.javascript.rhino.testing
A scope based on a simple hashmap.
MapBasedScope(Map<String, ? extends JSType>) - Constructor for class com.google.javascript.rhino.testing.MapBasedScope
 
Mapping - Class in com.google.debugging.sourcemap.proto
 
Mapping.LineMapping - Class in com.google.debugging.sourcemap.proto
 
Mapping.LineMapping.Builder - Class in com.google.debugging.sourcemap.proto
 
Mapping.LineMappingOrBuilder - Interface in com.google.debugging.sourcemap.proto
 
Mapping.OriginalMapping - Class in com.google.debugging.sourcemap.proto
 
Mapping.OriginalMapping.Builder - Class in com.google.debugging.sourcemap.proto
 
Mapping.OriginalMappingOrBuilder - Interface in com.google.debugging.sourcemap.proto
 
markAnnotation(String, int, int) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Adds a marker to the current JSDocInfo and populates the marker with the annotation information.
markAsCompiled - Variable in class com.google.javascript.jscomp.CompilerOptions
Sets the special "COMPILED" value to true
markName(String, int, int) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Deprecated. Use #markName(String, StaticSourceFile, int, int)
markName(String, StaticSourceFile, int, int) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Adds a name declaration to the current marker.
markNoSideEffectCalls - Variable in class com.google.javascript.jscomp.CompilerOptions
Mark no side effect calls
markText(String, int, int, int, int) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Adds a textual block to the current marker.
markTypeNode(Node, int, int, int, int, boolean) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Adds a type declaration to the current marker.
matchConstraint(ObjectType) - Method in class com.google.javascript.rhino.jstype.JSType
Modify this type so that it matches the specified type.
matchConstraint(ObjectType) - Method in class com.google.javascript.rhino.jstype.UnionType
 
matches(JSError) - Method in class com.google.javascript.jscomp.DiagnosticGroup
Returns whether the given error's type matches a type in this group.
matches(DiagnosticType) - Method in class com.google.javascript.jscomp.DiagnosticGroup
Returns whether the given type matches a type in this group.
matchesInt32Context() - Method in class com.google.javascript.rhino.jstype.JSType
This predicate is used to test whether a given type can appear in a 'Int32' context.
matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.BooleanType
 
matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.EnumType
 
matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.JSType
This predicate is used to test whether a given type can appear in a numeric context, such as an operand of a multiply operator.
matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.NoObjectType
 
matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.NoType
 
matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.NullType
 
matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.NumberType
 
matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.StringType
 
matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.UnionType
This predicate is used to test whether a given type can appear in a numeric context, such as an operand of a multiply operator.
matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.UnknownType
 
matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.VoidType
 
matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.AllType
 
matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.BooleanType
 
matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.EnumType
 
matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.JSType
This predicate is used to test whether a given type can appear in an Object context, such as the expression in a with statement.
matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.NoObjectType
 
matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.NoType
 
matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.NullType
 
matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.NumberType
 
matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.StringType
 
matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.UnionType
This predicate is used to test whether a given type can appear in an Object context, such as the expression in a with statement.
matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.UnknownType
 
matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.VoidType
 
matchesStringContext() - Method in class com.google.javascript.rhino.jstype.AllType
 
matchesStringContext() - Method in class com.google.javascript.rhino.jstype.BooleanType
 
matchesStringContext() - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
matchesStringContext() - Method in class com.google.javascript.rhino.jstype.EnumType
 
matchesStringContext() - Method in class com.google.javascript.rhino.jstype.JSType
This predicate is used to test whether a given type can appear in a String context, such as an operand of a string concat (+) operator.
matchesStringContext() - Method in class com.google.javascript.rhino.jstype.NoObjectType
 
matchesStringContext() - Method in class com.google.javascript.rhino.jstype.NoType
 
matchesStringContext() - Method in class com.google.javascript.rhino.jstype.NullType
 
matchesStringContext() - Method in class com.google.javascript.rhino.jstype.NumberType
 
matchesStringContext() - Method in class com.google.javascript.rhino.jstype.StringType
 
matchesStringContext() - Method in class com.google.javascript.rhino.jstype.UnionType
This predicate is used to test whether a given type can appear in a String context, such as an operand of a string concat (+) operator.
matchesStringContext() - Method in class com.google.javascript.rhino.jstype.UnknownType
 
matchesStringContext() - Method in class com.google.javascript.rhino.jstype.VoidType
 
matchesUint32Context() - Method in class com.google.javascript.rhino.jstype.JSType
This predicate is used to test whether a given type can appear in a 'Uint32' context.
matchesWholeInput(RegExpTree, String) - Static method in class com.google.javascript.jscomp.regex.RegExpTree
True if, but not necessarily always when the, given regular expression must match the whole input or none of it.
MATH_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
MAX_COLUMN_NUMBER - Static variable in class com.google.javascript.rhino.Node
MAX_COLUMN_NUMBER represents the maximum column number that can be represented.
mergeFrom(Message) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
mergeFrom(Mapping.LineMapping) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
mergeFrom(Message) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
mergeFrom(Mapping.OriginalMapping) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
mergeFrom(Message) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
mergeFrom(FunctionInformationMap) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
mergeFrom(Message) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
mergeFrom(FunctionInformationMap.Entry) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
mergeFrom(Message) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
mergeFrom(FunctionInformationMap.Module) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
mergeFrom(Message) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
mergeFrom(Instrumentation) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
mergeLineCharNo(int, int) - Static method in class com.google.javascript.rhino.Node
Merges the line number and character number in one integer.
mergeMapSection(int, int, String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
 
mergeOriginalMapping(Mapping.OriginalMapping) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
messageBundle - Variable in class com.google.javascript.jscomp.CompilerOptions
Returns localized replacement for MSG_* variables
MessageBundle - Interface in com.google.javascript.jscomp
An interface for providing alterative values for user-visible messages in javascript code.
MessageFormatter - Interface in com.google.javascript.jscomp
Format warnings and errors.
MISSING_ARGUMENT - Static variable in class com.google.javascript.jscomp.jsonml.Validator
 
MISSING_PROPERTIES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
MOD - Static variable in class com.google.javascript.rhino.Token
Token types.
MODULE_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap
 
MODULE_NAME_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
MOTION_ITERATIONS_ERROR - Static variable in class com.google.javascript.jscomp.Compiler
 
moveFunctionDeclarations - Variable in class com.google.javascript.jscomp.CompilerOptions
Move top level function declarations to the top
MUL - Static variable in class com.google.javascript.rhino.Token
Token types.

N

name(String) - Static method in class com.google.javascript.rhino.IR
 
NAME - Static variable in class com.google.javascript.rhino.Token
Token types.
name(int) - Static method in class com.google.javascript.rhino.Token
 
NAME_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
NAME_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
namedAnonFunctionMap - Variable in class com.google.javascript.jscomp.Result
 
NaN - Static variable in class com.google.javascript.rhino.ScriptRuntime
 
NATIVE_PROPERTIES_COUNT - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
NE - Static variable in class com.google.javascript.rhino.Token
Token types.
neg(Node) - Static method in class com.google.javascript.rhino.IR
 
NEG - Static variable in class com.google.javascript.rhino.Token
Token types.
negativeZero - Static variable in class com.google.javascript.rhino.ScriptRuntime
 
NEW - Static variable in class com.google.javascript.rhino.Token
Token types.
newBuilder() - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
newBuilder(Mapping.LineMapping) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
newBuilder() - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
newBuilder(Mapping.OriginalMapping) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
newBuilder() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
newBuilder(FunctionInformationMap.Entry) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
newBuilder() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
newBuilder(FunctionInformationMap.Module) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
newBuilder() - Static method in class com.google.javascript.jscomp.FunctionInformationMap
 
newBuilder(FunctionInformationMap) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
 
newBuilder() - Static method in class com.google.javascript.jscomp.Instrumentation
 
newBuilder(Instrumentation) - Static method in class com.google.javascript.jscomp.Instrumentation
 
newBuilderForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
newBuilderForType(GeneratedMessage.BuilderParent) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
newBuilderForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
newBuilderForType(GeneratedMessage.BuilderParent) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
newBuilderForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
newBuilderForType(GeneratedMessage.BuilderParent) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
newBuilderForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
newBuilderForType(GeneratedMessage.BuilderParent) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
newBuilderForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap
 
newBuilderForType(GeneratedMessage.BuilderParent) - Method in class com.google.javascript.jscomp.FunctionInformationMap
 
newBuilderForType() - Method in class com.google.javascript.jscomp.Instrumentation
 
newBuilderForType(GeneratedMessage.BuilderParent) - Method in class com.google.javascript.jscomp.Instrumentation
 
newCompilerOptions() - Method in class com.google.javascript.jscomp.Compiler
Allow subclasses to override the default CompileOptions object.
newExpr(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
Creates an EXPR_RESULT.
newExternInput(String) - Method in class com.google.javascript.jscomp.Compiler
 
newNode(Node, Node...) - Static method in class com.google.javascript.rhino.IR
 
newNumber(double) - Static method in class com.google.javascript.rhino.Node
 
newNumber(double, int, int) - Static method in class com.google.javascript.rhino.Node
 
newOptionalParameterFromNode(Node) - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
Copies the parameter specification from the given node, but makes sure it's optional.
newParameterFromNode(Node) - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
Copies the parameter specification from the given node.
newQualifiedNameNode(CodingConvention, String) - Static method in class com.google.javascript.jscomp.NodeUtil
Creates a node representing a qualified name.
newString(String) - Static method in class com.google.javascript.rhino.Node
 
newString(int, String) - Static method in class com.google.javascript.rhino.Node
 
newString(String, int, int) - Static method in class com.google.javascript.rhino.Node
 
newString(int, String, int, int) - Static method in class com.google.javascript.rhino.Node
 
newSubGraph() - Method in interface com.google.javascript.jscomp.graph.AdjacencyGraph
Returns an empty SubGraph for this Graph.
newSubGraph() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
newSubGraph() - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
newTraversal(FixedPointGraphTraversal.EdgeCallback<NODE, EDGE>) - Static method in class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
Helper method for creating new traversals.
nextConvention - Variable in class com.google.javascript.jscomp.CodingConventions.Proxy
 
NO_OBJECT_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
NO_RESOLVED_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
NO_SIDE_EFFECTS - Static variable in class com.google.javascript.rhino.Node
 
NO_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
Node - Class in com.google.javascript.rhino
This class implements the root of the intermediate representation.
Node(int) - Constructor for class com.google.javascript.rhino.Node
 
Node(int, Node) - Constructor for class com.google.javascript.rhino.Node
 
Node(int, Node, Node) - Constructor for class com.google.javascript.rhino.Node
 
Node(int, Node, Node, Node) - Constructor for class com.google.javascript.rhino.Node
 
Node(int, Node, Node, Node, Node) - Constructor for class com.google.javascript.rhino.Node
 
Node(int, int, int) - Constructor for class com.google.javascript.rhino.Node
 
Node(int, Node, int, int) - Constructor for class com.google.javascript.rhino.Node
 
Node(int, Node, Node, int, int) - Constructor for class com.google.javascript.rhino.Node
 
Node(int, Node, Node, Node, int, int) - Constructor for class com.google.javascript.rhino.Node
 
Node(int, Node, Node, Node, Node, int, int) - Constructor for class com.google.javascript.rhino.Node
 
Node(int, Node[], int, int) - Constructor for class com.google.javascript.rhino.Node
 
Node(int, Node[]) - Constructor for class com.google.javascript.rhino.Node
 
Node.AncestorIterable - Class in com.google.javascript.rhino
Iterator to go up the ancestor tree.
Node.FileLevelJsDocBuilder - Class in com.google.javascript.rhino
An inner class that provides back-door access to the license property of the JSDocInfo property for this node.
Node.FileLevelJsDocBuilder() - Constructor for class com.google.javascript.rhino.Node.FileLevelJsDocBuilder
 
Node.SideEffectFlags - Class in com.google.javascript.rhino
A helper class for getting and setting the side-effect flags.
Node.SideEffectFlags() - Constructor for class com.google.javascript.rhino.Node.SideEffectFlags
 
Node.SideEffectFlags(int) - Constructor for class com.google.javascript.rhino.Node.SideEffectFlags
 
NODE_TRAVERSAL_ERROR - Static variable in class com.google.javascript.jscomp.NodeTraversal
 
nodes - Variable in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
 
nodes - Variable in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
 
NodeTraversal - Class in com.google.javascript.jscomp
Nodetraversal allows an iteration through the nodes in the parse tree, and facilitates the optimizations on the parse tree.
NodeTraversal(AbstractCompiler, NodeTraversal.Callback) - Constructor for class com.google.javascript.jscomp.NodeTraversal
Creates a node traversal using the specified callback interface.
NodeTraversal(AbstractCompiler, NodeTraversal.Callback, ScopeCreator) - Constructor for class com.google.javascript.jscomp.NodeTraversal
Creates a node traversal using the specified callback interface and the scope creator.
NodeTraversal.AbstractNodeTypePruningCallback - Class in com.google.javascript.jscomp
Abstract callback to visit a pruned set of nodes.
NodeTraversal.AbstractNodeTypePruningCallback(Set<Integer>) - Constructor for class com.google.javascript.jscomp.NodeTraversal.AbstractNodeTypePruningCallback
Creates an abstract pruned callback.
NodeTraversal.AbstractNodeTypePruningCallback(Set<Integer>, boolean) - Constructor for class com.google.javascript.jscomp.NodeTraversal.AbstractNodeTypePruningCallback
Creates an abstract pruned callback.
NodeTraversal.AbstractPostOrderCallback - Class in com.google.javascript.jscomp
Abstract callback to visit all nodes in post order.
NodeTraversal.AbstractPostOrderCallback() - Constructor for class com.google.javascript.jscomp.NodeTraversal.AbstractPostOrderCallback
 
NodeTraversal.AbstractScopedCallback - Class in com.google.javascript.jscomp
Abstract scoped callback to visit all nodes in post order.
NodeTraversal.AbstractScopedCallback() - Constructor for class com.google.javascript.jscomp.NodeTraversal.AbstractScopedCallback
 
NodeTraversal.AbstractShallowCallback - Class in com.google.javascript.jscomp
Abstract callback to visit all nodes but not traverse into function bodies.
NodeTraversal.AbstractShallowCallback() - Constructor for class com.google.javascript.jscomp.NodeTraversal.AbstractShallowCallback
 
NodeTraversal.AbstractShallowStatementCallback - Class in com.google.javascript.jscomp
Abstract callback to visit all structure and statement nodes but doesn't traverse into functions or expressions.
NodeTraversal.AbstractShallowStatementCallback() - Constructor for class com.google.javascript.jscomp.NodeTraversal.AbstractShallowStatementCallback
 
NodeTraversal.Callback - Interface in com.google.javascript.jscomp
Callback
NodeTraversal.ScopedCallback - Interface in com.google.javascript.jscomp
Callback that also knows about scope changes
NodeUtil - Class in com.google.javascript.jscomp
NodeUtil contains utilities that get properties from the Node object.
NON_HALTING_ERROR_MSG - Static variable in class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
 
NON_STANDARD_JSDOC - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
NoObjectType - Class in com.google.javascript.rhino.jstype
The bottom Object type, representing the subclass of all objects.
normalize() - Method in class com.google.javascript.jscomp.Compiler
 
not(Node) - Static method in class com.google.javascript.rhino.IR
 
not() - Method in enum com.google.javascript.rhino.jstype.TernaryValue
Gets the not of this.
NOT - Static variable in class com.google.javascript.rhino.Token
Token types.
NOT_A_CLASS - Static variable in class com.google.javascript.rhino.jstype.JSType
 
NOT_A_CONSTRUCTOR - Static variable in class com.google.javascript.jscomp.TypeCheck
 
NOT_A_TYPE - Static variable in class com.google.javascript.rhino.jstype.JSType
 
NOT_ENOUGH_CHILDREN_FMT - Static variable in class com.google.javascript.jscomp.jsonml.Validator
 
NOT_ENUMDECL - Static variable in class com.google.javascript.rhino.jstype.JSType
 
NoType - Class in com.google.javascript.rhino.jstype
Bottom type, representing the subclass of any value or object.
NULL - Static variable in class com.google.javascript.rhino.Token
Token types.
NULL_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
NullErrorReporter - Class in com.google.javascript.jscomp.parsing
An error reporter which consumes all calls and performs no actions.
nullNode() - Static method in class com.google.javascript.rhino.IR
 
NullType - Class in com.google.javascript.rhino.jstype
Null type.
number(double) - Static method in class com.google.javascript.rhino.IR
 
NUMBER - Static variable in class com.google.javascript.rhino.Token
Token types.
NUMBER_OBJECT_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
NUMBER_OBJECT_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
NUMBER_STRING_BOOLEAN - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
NUMBER_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
NumberType - Class in com.google.javascript.rhino.jstype
Number type.
numCapturingGroups() - Method in class com.google.javascript.jscomp.regex.RegExpTree
The number of capturing groups.

O

OBJECT_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
OBJECT_NUMBER_STRING - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
OBJECT_NUMBER_STRING_BOOLEAN - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
OBJECT_PROTOTYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
OBJECT_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
objectlit(Node...) - Static method in class com.google.javascript.rhino.IR
 
OBJECTLIT - Static variable in class com.google.javascript.rhino.Token
Token types.
ObjectPropertyStringPreprocess - Class in com.google.javascript.jscomp
Rewrites new goog.testing.ObjectPropertyString(foo, 'bar') to new JSCompiler_ObjectPropertyString(window, foo.bar).
ObjectType - Class in com.google.javascript.rhino.jstype
Object type.
ObjectType.Property - Class in com.google.javascript.rhino.jstype
 
OPT_ARG_NAME - Static variable in class com.google.javascript.rhino.Node
 
optimize() - Method in class com.google.javascript.jscomp.Compiler
 
OPTIMIZE_LOOP_ERROR - Static variable in class com.google.javascript.jscomp.Compiler
Error strings used for reporting JSErrors
optimizeArgumentsArray - Variable in class com.google.javascript.jscomp.CompilerOptions
Provide formal names for elements of arguments array.
optimizeCalls - Variable in class com.google.javascript.jscomp.CompilerOptions
Remove unused parameters from call sites.
optimizeParameters - Variable in class com.google.javascript.jscomp.CompilerOptions
Remove unused and constant parameters.
optimizeReturns - Variable in class com.google.javascript.jscomp.CompilerOptions
Remove unused return values.
or(Node, Node) - Static method in class com.google.javascript.rhino.IR
 
or(TernaryValue) - Method in enum com.google.javascript.rhino.jstype.TernaryValue
Gets the or of this and that.
OR - Static variable in class com.google.javascript.rhino.Token
Token types.
ORIGINAL_FILE_FIELD_NUMBER - Static variable in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
ORIGINAL_MAPPING_FIELD_NUMBER - Static variable in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
ORIGINALNAME_PROP - Static variable in class com.google.javascript.rhino.Node
 
OVERRIDING_PROTOTYPE_WITH_NON_OBJECT - Static variable in class com.google.javascript.jscomp.TypeCheck
 
overwriteDeclaredType(String, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Overrides a declared global type name.

P

PARAM_LIST - Static variable in class com.google.javascript.rhino.Token
Token types.
paramList() - Static method in class com.google.javascript.rhino.IR
 
paramList(Node) - Static method in class com.google.javascript.rhino.IR
 
paramList(Node...) - Static method in class com.google.javascript.rhino.IR
 
paramList(List<Node>) - Static method in class com.google.javascript.rhino.IR
 
PARENTHESIZED_PROP - Static variable in class com.google.javascript.rhino.Node
 
parse(String) - Method in interface com.google.debugging.sourcemap.SourceMapConsumer
Parses the given contents containing a source map to provide initialize a class providing SourceMapping.
parse(String) - Static method in class com.google.debugging.sourcemap.SourceMapConsumerFactory
 
parse(String, SourceMapSupplier) - Static method in class com.google.debugging.sourcemap.SourceMapConsumerFactory
 
parse(String) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV1
Parses the given contents containing a source map.
parse(String) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV2
Parses the given contents containing a source map.
parse(JSONObject) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV2
Parses the given contents containing a source map.
parse(String) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
Parses the given contents containing a source map.
parse(String, SourceMapSupplier) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
Parses the given contents containing a source map.
parse(JSONObject) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
Parses the given contents containing a source map.
parse(JSONObject, SourceMapSupplier) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
Parses the given contents containing a source map.
parse() - Method in class com.google.javascript.jscomp.Compiler
 
parse(SourceFile) - Method in class com.google.javascript.jscomp.Compiler
 
parse(AbstractCompiler) - Method in class com.google.javascript.jscomp.jsonml.Reader
Generates AST for a specified JsonML source file.
parse(StaticSourceFile, String, Config, ErrorReporter, Logger) - Static method in class com.google.javascript.jscomp.parsing.ParserRunner
Parses the JavaScript text given by a reader.
parseDelimitedFrom(InputStream) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
parseDelimitedFrom(InputStream) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
parseDelimitedFrom(InputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
parseDelimitedFrom(InputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
parseDelimitedFrom(InputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
 
parseDelimitedFrom(InputStream) - Static method in class com.google.javascript.jscomp.Instrumentation
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Instrumentation
 
parseFile(String) - Method in class com.google.javascript.jscomp.deps.DepsFileParser
Parses the given file and returns a list of dependency information that it contained.
parseFile(String, String) - Method in class com.google.javascript.jscomp.deps.DepsFileParser
Parses the given file and returns a list of dependency information that it contained.
parseFile(String, String) - Method in class com.google.javascript.jscomp.deps.JsFileParser
Parses the given file and returns the dependency information that it contained.
parseFile(String, String, String) - Method in class com.google.javascript.jscomp.deps.JsFileParser
Parses the given file and returns the dependency information that it contained.
parseFile(String, String) - Method in class com.google.javascript.jscomp.deps.JsFunctionParser
Parses the given file and returns the dependency information that it contained.
parseFileReader(String, Reader) - Method in class com.google.javascript.jscomp.deps.DepsFileParser
Parses the file from the given reader and returns a list of dependency information that it contained.
parseFrom(ByteString) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
parseFrom(byte[]) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
parseFrom(InputStream) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
parseFrom(CodedInputStream) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
parseFrom(ByteString) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
parseFrom(byte[]) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
parseFrom(InputStream) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
parseFrom(CodedInputStream) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
parseFrom(ByteString) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
parseFrom(byte[]) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
parseFrom(InputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
parseFrom(CodedInputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
parseFrom(ByteString) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
parseFrom(byte[]) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
parseFrom(InputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
parseFrom(CodedInputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
parseFrom(ByteString) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
 
parseFrom(byte[]) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
 
parseFrom(InputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
 
parseFrom(CodedInputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
 
parseFrom(ByteString) - Static method in class com.google.javascript.jscomp.Instrumentation
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Instrumentation
 
parseFrom(byte[]) - Static method in class com.google.javascript.jscomp.Instrumentation
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Instrumentation
 
parseFrom(InputStream) - Static method in class com.google.javascript.jscomp.Instrumentation
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Instrumentation
 
parseFrom(CodedInputStream) - Static method in class com.google.javascript.jscomp.Instrumentation
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Instrumentation
 
parseLine(String) - Method in class com.google.javascript.jscomp.deps.DepsFileParser
Extracts dependency information from lines that look like goog.addDependency('pathRelativeToClosure', ['provides'], ['requires']); Adds the dependencies to depInfos.
parseLine(String) - Method in class com.google.javascript.jscomp.deps.JsFileParser
Parses a line of javascript, extracting goog.provide and goog.require information.
parseLine(String) - Method in class com.google.javascript.jscomp.deps.JsFunctionParser
Parses a line of javascript, extracting dependency information.
parseRegExp(String, String) - Static method in class com.google.javascript.jscomp.regex.RegExpTree
Parses a regular expression to an AST.
ParserRunner - Class in com.google.javascript.jscomp.parsing
 
parseString(String) - Static method in class com.google.javascript.jscomp.jsonml.JsonMLUtil
Parses JSON string which contains serialized JsonML content.
parseTypeString(String) - Static method in class com.google.javascript.jscomp.parsing.JsDocInfoParser
Parses a string containing a JsDoc type declaration, returning the type if the parsing succeeded or null if it failed.
parts() - Method in class com.google.javascript.jscomp.JsMessage
Gets a read-only list of the parts of this message.
pass - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
 
PassConfig - Class in com.google.javascript.jscomp
Pass factories and meta-data for native Compiler passes.
PassConfig(CompilerOptions) - Constructor for class com.google.javascript.jscomp.PassConfig
 
PassFactory - Class in com.google.javascript.jscomp
A factory for creating JSCompiler passes based on the Options injected.
PassFactory(String, boolean) - Constructor for class com.google.javascript.jscomp.PassFactory
 
PathUtil - Class in com.google.javascript.jscomp.deps
Utility methods for manipulation of UNIX-like paths.
PeepholeCollectPropertyAssignments - Class in com.google.javascript.jscomp
A pass that looks for assignments to properties of an object or array immediately following its creation using the abbreviated syntax.
PeepholeCollectPropertyAssignments() - Constructor for class com.google.javascript.jscomp.PeepholeCollectPropertyAssignments
 
PerformanceTracker - Class in com.google.javascript.jscomp
 
PerformanceTracker.Stats - Class in com.google.javascript.jscomp
 
PerformanceTracker.Stats(String) - Constructor for class com.google.javascript.jscomp.PerformanceTracker.Stats
 
PIPE - Static variable in class com.google.javascript.rhino.Token
Token types.
placeholders() - Method in class com.google.javascript.jscomp.JsMessage
Gets a read-only set of the registered placeholders in this message.
popEdgeAnnotations() - Method in class com.google.javascript.jscomp.graph.Graph
Restores edges' annotation values to state before last Graph.pushEdgeAnnotations().
popNodeAnnotations() - Method in class com.google.javascript.jscomp.graph.Graph
Restores nodes' annotation values to state before last Graph.pushNodeAnnotations().
pos(Node) - Static method in class com.google.javascript.rhino.IR
 
POS - Static variable in class com.google.javascript.rhino.Token
Token types.
POST_FLAG - Static variable in class com.google.javascript.rhino.Node
 
preferLineBreakAtEndOfFile - Variable in class com.google.javascript.jscomp.CompilerOptions
Prefer line breaks at end of file
prettyPrint - Variable in class com.google.javascript.jscomp.CompilerOptions
Output in pretty indented format
printInputDelimiter - Variable in class com.google.javascript.jscomp.CompilerOptions
Prints a separator comment before each js script
printList(Object[]) - Static method in class com.google.javascript.jscomp.jsonml.Validator
 
println(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.ant.AntErrorManager
 
println(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.BasicErrorManager
Print a message with a trailing new line.
println(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.LoggerErrorManager
 
println(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.PrintStreamErrorManager
 
PrintStreamErrorManager - Class in com.google.javascript.jscomp
An error manager that prints errors and warnings to the print stream provided in addition to the functionality of the BasicErrorManager.
PrintStreamErrorManager(MessageFormatter, PrintStream) - Constructor for class com.google.javascript.jscomp.PrintStreamErrorManager
Creates an error manager.
PrintStreamErrorManager(PrintStream) - Constructor for class com.google.javascript.jscomp.PrintStreamErrorManager
Creates an instance with a source-less error formatter.
printSummary() - Method in class com.google.javascript.jscomp.ant.AntErrorManager
 
printSummary() - Method in class com.google.javascript.jscomp.BasicErrorManager
Print the summary of the compilation - number of errors and warnings.
printSummary() - Method in class com.google.javascript.jscomp.LoggerErrorManager
 
printSummary() - Method in class com.google.javascript.jscomp.PrintStreamErrorManager
 
process(Node, Node) - Method in class com.google.javascript.jscomp.AstValidator
 
process(Node, Node) - Method in class com.google.javascript.jscomp.CallGraph
Builds a call graph for the given externsRoot and jsRoot.
process(Node, Node) - Method in interface com.google.javascript.jscomp.CompilerPass
Process the JS with root node root.
process(Node, Node) - Method in class com.google.javascript.jscomp.FieldCleanupPass
 
process(Node, Node) - Method in class com.google.javascript.jscomp.ObjectPropertyStringPreprocess
 
process(Node, Node) - Method in class com.google.javascript.jscomp.ProcessCommonJSModules
 
process(Node, Node) - Method in class com.google.javascript.jscomp.TypeCheck
Main entry point for this phase of processing.
processAst(Node) - Method in class com.google.javascript.jscomp.jsonml.Writer
Creates JsonML tree based on a specified AST.
ProcessCommonJSModules - Class in com.google.javascript.jscomp
Rewrites a Common JS module http://wiki.commonjs.org/wiki/Modules/1.1.1 into a form that can be safely concatenated.
processDefines() - Method in class com.google.javascript.jscomp.Compiler
Reprocesses the current defines over the AST.
processForTesting(Node, Node) - Method in class com.google.javascript.jscomp.TypeCheck
Main entry point of this phase for testing code.
propdef(Node, Node) - Static method in class com.google.javascript.rhino.IR
 
propertyMap - Variable in class com.google.javascript.jscomp.Result
 
propertyRenaming - Variable in class com.google.javascript.jscomp.CompilerOptions
Controls which properties get renamed.
PropertyRenamingPolicy - Enum in com.google.javascript.jscomp
Policies to determine how properties should be renamed.
prune(Predicate<N>) - Method in class com.google.javascript.jscomp.graph.GraphPruner
 
pushEdgeAnnotations() - Method in class com.google.javascript.jscomp.graph.Graph
Pushes edges' annotation values.
pushNodeAnnotations() - Method in class com.google.javascript.jscomp.graph.Graph
Pushes nodes' annotation values.
putBooleanProp(int, boolean) - Method in class com.google.javascript.rhino.Node
 
putIntProp(int, int) - Method in class com.google.javascript.rhino.Node
 
putProp(int, Object) - Method in class com.google.javascript.rhino.Node
 

Q

QMARK - Static variable in class com.google.javascript.rhino.Token
Token types.
QUOTED_PROP - Static variable in class com.google.javascript.rhino.Node
 

R

RANGE_ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
RANGE_ERROR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
REACHABLE - Static variable in class com.google.javascript.jscomp.graph.GraphReachability
 
Reader - Class in com.google.javascript.jscomp.jsonml
Traverse JsonML source tree and generates AST.
Reader() - Constructor for class com.google.javascript.jscomp.jsonml.Reader
 
rebuildInputsFromModules() - Method in class com.google.javascript.jscomp.Compiler
Rebuilds the internal list of inputs by iterating over all modules.
recentChange - Variable in class com.google.javascript.jscomp.Compiler
 
recompute(N) - Method in class com.google.javascript.jscomp.graph.GraphReachability
 
recordBaseType(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records a base type.
recordBlockDescription(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records a block-level description.
recordConsistentIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should have its JSDocInfo.isConsistentIdGenerator() flag set to true.
recordConstancy() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should have its JSDocInfo.isConstant() flag set to true.
recordConstructor() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should have its JSDocInfo.isConstructor() flag set to true.
recordDefineType(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records the type of a define.
recordDeprecated() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should have its JSDocInfo.isDeprecated() flag set to true.
recordDeprecationReason(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records the deprecation reason.
recordDescription(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records a description giving context for translation (i18n).
recordEnumParameterType(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records a parameter type to an enum.
recordExport() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should have its JSDocInfo.isExport() flag set to true.
recordExpose() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should have its JSDocInfo.isExpose() flag set to true.
recordExtendedInterface(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records an extended interface type.
recordExterns() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should have its JSDocInfo.isExterns() flag set to true.
recordFileOverview(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records a fileoverview description.
recordFunctionInformation - Variable in class com.google.javascript.jscomp.CompilerOptions
Record function information
recordHiddenness() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should have its JSDocInfo.isHidden() flag set to true.
recordIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should have its JSDocInfo.isIdGenerator() flag set to true.
recordImplementedInterface(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records an implemented interface.
recordImplicitCast() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should have its JSDocInfo.isImplicitCast() flag set to true.
recordInterface() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should have its JSDocInfo.isInterface() flag set to true.
recordJavaDispatch() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should have its JSDocInfo.isJavaDispatch() flag set to true.
recordLends(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that we're lending to another name.
recordMeaning(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records a meaning giving context for translation (i18n).
recordModifies(Set<String>) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records the list of modifies warnings.
recordNoAlias() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should have its JSDocInfo.isNoAlias() flag set to true.
recordNoCompile() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should have its JSDocInfo.isNoCompile() flag set to true.
recordNoShadow() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should have its JSDocInfo.isNoShadow() flag set to true.
recordNoSideEffects() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should have its JSDocInfo.isNoSideEffects() flag set to true.
recordNoTypeCheck() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should have its JSDocInfo.isNoTypeCheck() flag set to true.
recordOriginalCommentString(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Sets the original JSDoc comment string.
recordOverride() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should have its JSDocInfo.isOverride() flag set to true.
recordParameter(String, JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records a typed parameter.
recordParameterDescription(String, String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records a parameter's description.
recordPreserveTry() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should have its JSDocInfo.shouldPreserveTry() flag set to true.
recordReturnDescription(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records a return description
recordReturnType(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records a return type.
recordSuppressions(Set<String>) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records the list of suppressed warnings.
recordTemplateTypeName(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records a template type name.
recordThisType(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records a type for @this annotation.
recordThrowDescription(JSTypeExpression, String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records a throw type's description.
recordThrowType(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records a thrown type.
recordType(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records a type.
RecordTypeBuilder - Class in com.google.javascript.rhino.jstype
A builder for record types.
RecordTypeBuilder(JSTypeRegistry) - Constructor for class com.google.javascript.rhino.jstype.RecordTypeBuilder
 
recordTypedef(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records that the JSDocInfo being built should be populated with a typedef'd type.
recordVersion(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records the version.
recordVisibility(JSDocInfo.Visibility) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
Records a visibility.
reduceToMinimum(CharRanges) - Static method in class com.google.javascript.jscomp.regex.CaseCanonicalize
Given a character range that may include case sensitive code-units, such as [0-9B-M], returns the character range that includes the minimal set of code units such that for every code unit in the input there is a case-sensitively equivalent canonical code unit in the output.
REFERENCE_ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
REFERENCE_ERROR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
regexp(Node) - Static method in class com.google.javascript.rhino.IR
 
regexp(Node, Node) - Static method in class com.google.javascript.rhino.IR
 
REGEXP - Static variable in class com.google.javascript.rhino.Token
Token types.
REGEXP_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
REGEXP_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
RegExpTree - Class in com.google.javascript.jscomp.regex
An AST for JavaScript regular expressions.
RegExpTree() - Constructor for class com.google.javascript.jscomp.regex.RegExpTree
 
Region - Interface in com.google.javascript.jscomp
Source code region.
registerAllExtensions(ExtensionRegistry) - Static method in class com.google.debugging.sourcemap.proto.Mapping
 
registerAllExtensions(ExtensionRegistry) - Static method in class com.google.javascript.jscomp.FunctionInfo
 
registerAllExtensions(ExtensionRegistry) - Static method in class com.google.javascript.jscomp.InstrumentationTemplate
 
registerPropertyOnType(String, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Tells the type system that owner may have a property named propertyName.
registry - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
remove(CompilerInput) - Method in class com.google.javascript.jscomp.JSModule
Removes an input from this module.
removeAll() - Method in class com.google.javascript.jscomp.JSModule
Removes all of the inputs from this module.
removeByName(String) - Method in class com.google.javascript.jscomp.JSModule
Removes any input with the given name.
removeChild(Node) - Method in class com.google.javascript.rhino.Node
Detach a child from its parent and siblings.
removeChildAfter(Node) - Method in class com.google.javascript.rhino.Node
 
removeChildren() - Method in class com.google.javascript.rhino.Node
 
removeDeadCode - Variable in class com.google.javascript.jscomp.CompilerOptions
Removes code that will never execute
removeEntry(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
removeExternInput(InputId) - Method in class com.google.javascript.jscomp.Compiler
Removes an input file from AST.
removeFirstChild() - Method in class com.google.javascript.rhino.Node
Removes the first child of Node.
removeModule(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
removeProp(int) - Method in class com.google.javascript.rhino.Node
 
removeProperty(String) - Method in class com.google.javascript.rhino.jstype.NoObjectType
 
removeProperty(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
Removes the declared or inferred property from this ObjectType.
removeRequire(String) - Method in class com.google.javascript.jscomp.CompilerInput
 
removeTryCatchFinally - Variable in class com.google.javascript.jscomp.CompilerOptions
Removes try...catch...finally blocks for easier debugging
removeUnusedLocalVars - Variable in class com.google.javascript.jscomp.CompilerOptions
Removes unused variables in local scope.
removeUnusedPrototypeProperties - Variable in class com.google.javascript.jscomp.CompilerOptions
Removes unused member prototypes
removeUnusedPrototypePropertiesInExterns - Variable in class com.google.javascript.jscomp.CompilerOptions
Tells AnalyzePrototypeProperties it can remove externed props.
removeUnusedVars - Variable in class com.google.javascript.jscomp.CompilerOptions
Removes unused variables
renamePrefix - Variable in class com.google.javascript.jscomp.CompilerOptions
Specifies a prefix for all globals
renamePrefixNamespace - Variable in class com.google.javascript.jscomp.CompilerOptions
Specifies the name of an object that will be used to store all non-extern globals.
replaceChild(Node, Node) - Method in class com.google.javascript.rhino.Node
Detaches child from Node and replaces it with newChild.
replaceChildAfter(Node, Node) - Method in class com.google.javascript.rhino.Node
 
replaceScript(JsAst) - Method in class com.google.javascript.jscomp.Compiler
Replaces one file in a hot-swap mode.
report(JSError) - Method in class com.google.javascript.jscomp.AbstractCompiler
Report an error or warning.
report(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.BasicErrorManager
 
report(JSError) - Method in class com.google.javascript.jscomp.Compiler
 
report(CheckLevel, JSError) - Method in interface com.google.javascript.jscomp.ErrorHandler
 
report(CheckLevel, JSError) - Method in interface com.google.javascript.jscomp.ErrorManager
Reports an error.
report(Node, DiagnosticType, String...) - Method in class com.google.javascript.jscomp.NodeTraversal
Reports a diagnostic (error or warning)
report(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard.WhitelistBuilder
 
REPORT_CALL_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Instrumentation
 
REPORT_DEFINED_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Instrumentation
 
REPORT_EXIT_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Instrumentation
 
reportCodeChange() - Method in class com.google.javascript.jscomp.AbstractCompiler
Report code changes.
reportCodeChange() - Method in class com.google.javascript.jscomp.Compiler
All passes should call reportCodeChange() when they alter the JS tree structure.
reportMissingOverride - Variable in class com.google.javascript.jscomp.CompilerOptions
 
reserveRawExports - Variable in class com.google.javascript.jscomp.CompilerOptions
Reserve property names on the global this object.
reset() - Method in interface com.google.debugging.sourcemap.SourceMapGenerator
Resets the source map for reuse.
reset() - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV1
Resets the source map for reuse for the generation of a new source file.
reset() - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV2
Resets the source map for reuse.
reset() - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
Resets the source map for reuse.
reset() - Method in class com.google.javascript.jscomp.SourceMap
 
resetForTypeCheck() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Reset to run the TypeCheck pass.
resetImplicitPrototype(JSType, ObjectType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Set the implicit prototype if it's possible to do so.
resetWarningsGuard() - Method in class com.google.javascript.jscomp.CompilerOptions
Reset the warnings guard.
resolve(ErrorReporter, StaticScope<JSType>) - Method in class com.google.javascript.rhino.jstype.JSType
Resolve this type in the given scope.
resolve(JSTypeExpression, String...) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
Resolves a type expression, expecting the given warnings.
resolveTypesInScope(StaticScope<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Resolve all the unresolved types in the given scope.
restrictByNotNullOrUndefined() - Method in class com.google.javascript.rhino.jstype.JSType
If this is a union type, returns a union type that does not include the null or undefined type.
restrictByNotNullOrUndefined() - Method in class com.google.javascript.rhino.jstype.NullType
 
restrictByNotNullOrUndefined() - Method in class com.google.javascript.rhino.jstype.UnionType
 
restrictByNotNullOrUndefined() - Method in class com.google.javascript.rhino.jstype.VoidType
 
Result - Class in com.google.javascript.jscomp
Compilation results
Result(JSError[], JSError[], String, VariableMap, VariableMap, VariableMap, FunctionInformationMap, SourceMap, String) - Constructor for class com.google.javascript.jscomp.Result
 
RETURN - Static variable in class com.google.javascript.rhino.Token
Token types.
returnNode() - Static method in class com.google.javascript.rhino.IR
 
returnNode(Node) - Static method in class com.google.javascript.rhino.IR
 
rewriteFunctionExpressions - Variable in class com.google.javascript.jscomp.CompilerOptions
Reduces the size of common function expressions.
RSH - Static variable in class com.google.javascript.rhino.Token
Token types.
runs - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
 
runtime - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
 
runtimeError(String, String, int, String, int) - Method in class com.google.javascript.jscomp.testing.TestErrorReporter
 

S

save(String) - Method in class com.google.javascript.jscomp.VariableMap
Saves the variable map to a file.
Scope - Class in com.google.javascript.jscomp
Scope contains information about a variable scope in javascript.
Scope.Arguments - Class in com.google.javascript.jscomp
A special subclass of Var used to distinguish "arguments" in the current scope.
Scope.Var - Class in com.google.javascript.jscomp
Stores info about a variable
script(Node...) - Static method in class com.google.javascript.rhino.IR
 
SCRIPT - Static variable in class com.google.javascript.rhino.Token
Token types.
ScriptRuntime - Class in com.google.javascript.rhino
This is the class that implements the runtime.
ScriptRuntime() - Constructor for class com.google.javascript.rhino.ScriptRuntime
No instances should be created.
SecureCompiler - Class in com.google.javascript.jscomp.jsonml
Compilation of JavaScript code which guarantees that all security capabilities are preserved after the process.
SecureCompiler() - Constructor for class com.google.javascript.jscomp.jsonml.SecureCompiler
 
SecureCompiler.Report - Class in com.google.javascript.jscomp.jsonml
 
serialVersionUID - Static variable in class com.google.javascript.rhino.InputId
 
SET - Static variable in class com.google.javascript.rhino.Token
 
setAcceptConstKeyword(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
If true, accept `const' keyword.
setAggressiveVarCheck(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
Checks for suspicious variable definitions and undefined variables
setAliasableGlobals(String) - Method in class com.google.javascript.jscomp.CompilerOptions
A comma separated white-list of global names.
setAliasableStrings(Set<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setAliasAllStrings(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setAliasExternals(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setAliasKeywords(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setAliasStringsBlacklist(String) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setAliasTransformationHandler(CompilerOptions.AliasTransformationHandler) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setAllFlags() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
All side-effect occur and the returned results are non-local.
setAmbiguateProperties(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setAnnotation(Annotation) - Method in interface com.google.javascript.jscomp.graph.Annotatable
Annotates a piece of information to the object.
setAnonymousFunctionNaming(AnonymousFunctionNamingPolicy) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setAppNameSetter(String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
setAppNameStr(String) - Method in class com.google.javascript.jscomp.CompilerOptions
App identifier string for use by the instrumentation template's app_name_setter.
setAssociatedNode(Node) - Method in class com.google.javascript.rhino.JSDocInfo
Sets the node associated with this JSDoc.
setAssumeClosuresOnlyCaptureReferences(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
Whether to assume closures capture only what they reference.
setAssumeStrictThis(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
If true, enables enables additional optimizations.
setAttribute(TagAttr, Object) - Method in class com.google.javascript.jscomp.jsonml.JsonML
Sets value for a given attribute.
setAttributes(Map<TagAttr, Object>) - Method in class com.google.javascript.jscomp.jsonml.JsonML
Sets attributes of the JsonML element.
setBrokenClosureRequiresLevel(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
Sets the check level for bad Closure require calls.
setChainCalls(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
If true, chain calls to functions that return this.
setCharno(int) - Method in class com.google.javascript.rhino.Node
 
setCheckCaja(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setCheckControlStructures(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setCheckGlobalNamesLevel(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
Checks the integrity of references to qualified global names.
setCheckGlobalThisLevel(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
Checks for certain uses of the this keyword that are considered unsafe because they are likely to reference the global this object unintentionally.
setCheckMissingGetCssNameBlacklist(String) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setCheckMissingGetCssNameLevel(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
Checks that certain string literals only appear in strings used as goog.getCssName arguments.
setCheckMissingReturn(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
Checks for missing return statements
setCheckProvides(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
Checks for missing goog.provides() calls
setCheckRequires(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setCheckSuspiciousCode(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setCheckSymbols(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setCheckTypes(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setCheckUnreachableCode(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
Checks for unreachable code
setChild(int, JsonML) - Method in class com.google.javascript.jscomp.jsonml.JsonML
Replaces the element at the given position in the list of children wit the given JsonML element.
setChildren(JsonML...) - Method in class com.google.javascript.jscomp.jsonml.JsonML
Replaces all elements in the list of children with the given JsonML elements.
setChildren(List<JsonML>) - Method in class com.google.javascript.jscomp.jsonml.JsonML
Replaces all elements in the list of children with the given list of JsonML elements..
setClosurePass(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setCoalesceVariableNames(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setCodingConvention(CodingConvention) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setCollapseAnonymousFunctions(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setCollapseObjectLiterals(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setCollapseProperties(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setCollapsePropertiesOnExternTypes(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
If true, flattens multi-level property names on extern types (e.g.
setCollapseVariableDeclarations(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setColorize(boolean) - Method in class com.google.javascript.jscomp.AbstractMessageFormatter
 
setColorizeErrorOutput(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setColumnPosition(int) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
setColumnPosition(int) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
setCommonJSModulePathPrefix(String) - Method in class com.google.javascript.jscomp.CompilerOptions
Sets a path prefix for Common JS modules.
setCompilationLevel(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
Set the compilation level.
setCompiledSource(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
setCompiledSource(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
setCompiler(AbstractCompiler) - Method in class com.google.javascript.jscomp.CompilerInput
Sets an abstract compiler for doing parsing.
setComputeFunctionSideEffects(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setConvertToDottedProperties(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setCrossModuleCodeMotion(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setCrossModuleMethodMotion(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setCssRenamingMap(CssRenamingMap) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setCustomExternsOnly(boolean) - Method in class com.google.javascript.jscomp.ant.CompileTask
Use only custom externs.
setCustomPasses(Multimap<CustomPassExecutionTime, CompilerPass>) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setDeadAssignmentElimination(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setDebug(boolean) - Method in class com.google.javascript.jscomp.ant.CompileTask
Enable debugging options.
setDebugFunctionSideEffectsPath(String) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setDebugOptionsForCompilationLevel(CompilerOptions) - Method in enum com.google.javascript.jscomp.CompilationLevel
 
setDeclarationToRemove(int, String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
setDefineReplacements(Map<String, Object>) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setDefineToBooleanLiteral(String, boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
Sets the value of the @define variable in JS to a boolean literal.
setDefineToDoubleLiteral(String, double) - Method in class com.google.javascript.jscomp.CompilerOptions
Sets the value of the @define variable in JS to a number literal.
setDefineToNumberLiteral(String, int) - Method in class com.google.javascript.jscomp.CompilerOptions
Sets the value of the @define variable in JS to a number literal.
setDefineToStringLiteral(String, String) - Method in class com.google.javascript.jscomp.CompilerOptions
Sets the value of the @define variable in JS to a String literal.
setDependencyOptions(DependencyOptions) - Method in class com.google.javascript.jscomp.CompilerOptions
Sets dependency options.
setDependencyPruning(boolean) - Method in class com.google.javascript.jscomp.DependencyOptions
Enables or disables dependency pruning mode.
setDependencySorting(boolean) - Method in class com.google.javascript.jscomp.DependencyOptions
Enables or disables dependency sorting mode.
setDeprecated(boolean) - Method in class com.google.javascript.rhino.JSDocInfo
 
setDepth(int) - Method in class com.google.javascript.jscomp.JSModule
 
setDesc(String) - Method in class com.google.javascript.jscomp.JsMessage.Builder
Sets the description of the message, which helps translators.
setDestination(DiGraph.DiGraphNode<N, E>) - Method in interface com.google.javascript.jscomp.graph.DiGraph.DiGraphEdge
 
setDevirtualizePrototypeMethods(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setDevMode(CompilerOptions.DevMode) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setDirectives(Set<String>) - Method in class com.google.javascript.rhino.Node
Sets the ES5 directives on this node.
setDisambiguateProperties(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setDouble(double) - Method in class com.google.javascript.rhino.Node
Can only be called when getType() == TokenStream.NUMBER
setEncoding(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
Set input file encoding
setEntry(int, FunctionInformationMap.Entry) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
setEntry(int, FunctionInformationMap.Entry.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
setEntryPoints(Collection<String>) - Method in class com.google.javascript.jscomp.DependencyOptions
Adds a collection of symbols to always keep.
setErrorFormat(ErrorFormat) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setErrorHandler(ErrorHandler) - Method in class com.google.javascript.jscomp.CompilerOptions
Set a custom handler for warnings and errors.
setErrorManager(ErrorManager) - Method in class com.google.javascript.jscomp.Compiler
Sets the error manager.
setErrors(String[]) - Method in class com.google.javascript.rhino.testing.TestErrorReporter
 
setExportTestFunctions(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setExtendedInterfaces(List<ObjectType>) - Method in class com.google.javascript.rhino.jstype.FunctionType
 
setExternExports(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setExternExportsPath(String) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setExtraAnnotationNames(Set<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setExtractPrototypeMemberDeclarations(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setFlowSensitiveInlineVariables(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setFoldConstants(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setForceRecompile(boolean) - Method in class com.google.javascript.jscomp.ant.CompileTask
Set force recompile option
setGatherCssNames(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setGenerateExports(boolean) - Method in class com.google.javascript.jscomp.ant.CompileTask
Set generateExports option
setGenerateExports(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setGeneratePseudoNames(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setGeneratorTarget(String) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard.WhitelistBuilder
Fill in instructions on how to generate this whitelist.
setGroup(String) - Method in class com.google.javascript.jscomp.ant.Warning
 
setGroupVariableDeclarations(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setId(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
setIdeMode(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setIdentifier(String) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
setIdGenerators(Set<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
Sets the id generators to replace.
setIgnoreCajaProperties(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
Add code to skip properties that Caja adds to Object.prototype
setImplementedInterfaces(List<ObjectType>) - Method in class com.google.javascript.rhino.jstype.FunctionType
 
setInferTypes(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
If true, enables type inference.
setInit(int, String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
setInlineConstantVars(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setInlineFunctions(CompilerOptions.Reach) - Method in class com.google.javascript.jscomp.CompilerOptions
Set the function inlining policy for the compiler.
setInlineFunctions(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setInlineGetters(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setInlineLocalFunctions(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setInlineLocalVariables(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setInlineVariables(CompilerOptions.Reach) - Method in class com.google.javascript.jscomp.CompilerOptions
Set the variable inlining policy for the compiler.
setInlineVariables(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setInputDelimiter(String) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setInputId(InputId) - Method in class com.google.javascript.rhino.Node
 
setInputPropertyMapSerialized(byte[]) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setInputVariableMapSerialized(byte[]) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setInstrumentationTemplate(String) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setIsConstructor(boolean) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
Set whether this is a constructor.
setIsHidden(boolean) - Method in class com.google.javascript.jscomp.JsMessage.Builder
Sets whether the message should be hidden from volunteer translators.
setIsSyntheticBlock(boolean) - Method in class com.google.javascript.rhino.Node
Sets whether this is a synthetic block that should not be considered a real source block.
setItem(T) - Method in class com.google.javascript.rhino.SourcePosition
Sets the item that this source position references.
setJSDocInfo(JSDocInfo) - Method in class com.google.javascript.rhino.jstype.ObjectType
Sets the docInfo for this type from the given JSDocInfo.
setJSDocInfo(JSDocInfo) - Method in class com.google.javascript.rhino.Node
Sets the JSDocInfo attached to this node.
setJSType(JSType) - Method in class com.google.javascript.rhino.Node
 
setKey(String) - Method in class com.google.javascript.jscomp.JsMessage.Builder
 
setLabelRenaming(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setLanguageIn(CompilerOptions.LanguageMode) - Method in class com.google.javascript.jscomp.CompilerOptions
Sets how goog.tweak calls are processed.
setLanguageOut(CompilerOptions.LanguageMode) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setLastGeneration(boolean) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Sets whether this is the last generation.
setLength(int) - Method in class com.google.javascript.rhino.Node
 
setLevel(CheckLevel) - Method in class com.google.javascript.jscomp.ant.Warning
 
setLicense(String) - Method in class com.google.javascript.rhino.JSDocInfo
License directives can appear in multiple comments, and always apply to the entire file.
setLineBreak(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setLineLengthThreshold(int) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setLineno(int) - Method in class com.google.javascript.rhino.Node
 
setLineNumber(int) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
setLineNumber(int) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
setLineNumber(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
setLocale(String) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setLoggingLevel(Level) - Static method in class com.google.javascript.jscomp.Compiler
Sets the logging level for the com.google.javascript.jscomp package.
setLooseTypes(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
Whether to include "undefined" in the default types.
setManageClosureDependencies(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
Sort inputs by their goog.provide/goog.require calls, and prune inputs whose symbols are not required.
setManageClosureDependencies(List<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
Sort inputs by their goog.provide/goog.require calls.
setManageDependencies(boolean) - Method in class com.google.javascript.jscomp.ant.CompileTask
 
setMarkAsCompiled(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setMarkNoSideEffectCalls(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setMeaning(String) - Method in class com.google.javascript.jscomp.JsMessage.Builder
Sets the programmer-specified meaning of this message, which forces this message to translate differently.
setMessageBundle(MessageBundle) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setModule(JSModule) - Method in class com.google.javascript.jscomp.CompilerInput
Sets the module to which the input belongs.
setModule(int, FunctionInformationMap.Module) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
setModule(int, FunctionInformationMap.Module.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
 
setModuleName(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
setMoocherDropping(boolean) - Method in class com.google.javascript.jscomp.DependencyOptions
Enables or disables moocher dropping mode.
setMoveFunctionDeclarations(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setMutatesArguments() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
 
setMutatesGlobalState() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
 
setMutatesThis() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
 
setName(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
setName(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
 
setNameAnonymousFunctionsOnly(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
If true, name anonymous functions only.
setNameReferenceGraphPath(String) - Method in class com.google.javascript.jscomp.CompilerOptions
Where to save the name reference graph
setNameReferenceReportPath(String) - Method in class com.google.javascript.jscomp.CompilerOptions
Where to save a cross-reference report from the name reference graph
setNode(Node) - Method in class com.google.javascript.rhino.jstype.ObjectType.Property
 
setOptimizeArgumentsArray(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setOptimizeCalls(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setOptimizeParameters(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setOptimizeReturns(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setOptionalArg(boolean) - Method in class com.google.javascript.rhino.Node
Sets whether this node is an optional argument node.
setOptionsForCompilationLevel(CompilerOptions) - Method in enum com.google.javascript.jscomp.CompilationLevel
 
setOptionsForWarningLevel(CompilerOptions) - Method in enum com.google.javascript.jscomp.WarningLevel
 
setOriginalFile(String) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
 
setOriginalMapping(Mapping.OriginalMapping) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
setOriginalMapping(Mapping.OriginalMapping.Builder) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
 
setOriginalPath(String) - Method in class com.google.javascript.jscomp.SourceFile
 
setOutput(File) - Method in class com.google.javascript.jscomp.ant.CompileTask
Set output file.
setOutputCharset(String) - Method in class com.google.javascript.jscomp.CompilerOptions
Sets the output charset by name.
setOutputEncoding(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
Set output file encoding
setOutputJsStringUsage(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setPassConfig(PassConfig) - Method in class com.google.javascript.jscomp.Compiler
 
setPositionInformation(int, int, int, int) - Method in class com.google.javascript.rhino.SourcePosition
Sets the position information contained in this source position.
setPreferLineBreakAtEndOfFile(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setPrefixMappings(List<SourceMap.LocationMapping>) - Method in class com.google.javascript.jscomp.SourceMap
 
setPrettyPrint(boolean) - Method in class com.google.javascript.jscomp.ant.CompileTask
Set pretty print formatting option
setPrettyPrint(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setPrintInputDelimiter(boolean) - Method in class com.google.javascript.jscomp.ant.CompileTask
Set print input delimitter formatting option
setPrintInputDelimiter(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setProcessCommonJSModules(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
Rewrites CommonJS modulee so that modules can be concatenated together, by renaming all globals to avoid conflicting with other modules.
setProcessObjectPropertyString(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
If true, process goog.testing.ObjectPropertyString instances.
setProductName(String) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard.WhitelistBuilder
Fill in your product name to get a fun message!
setPropertyAffinity(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setPropertyInvalidationErrors(Map<String, CheckLevel>) - Method in class com.google.javascript.jscomp.CompilerOptions
Sets the list of properties that we report property invalidation errors for.
setPropertyJSDocInfo(String, JSDocInfo) - Method in class com.google.javascript.rhino.jstype.NoObjectType
 
setPropertyJSDocInfo(String, JSDocInfo) - Method in class com.google.javascript.rhino.jstype.ObjectType
Sets the docInfo for the specified property from the JSDocInfo on its definition.
setPropertyRenaming(PropertyRenamingPolicy) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setProtectHiddenSideEffects(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
When enabled, assume that apparently side-effect free code is meaningful.
setPrototypeBasedOn(ObjectType) - Method in class com.google.javascript.rhino.jstype.FunctionType
Sets the prototype, creating the prototype object from the given base type.
setQuotedString() - Method in class com.google.javascript.rhino.Node
This should only be called for STRING nodes children of OBJECTLIT.
setRecordFunctionInformation(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setRemoveAbstractMethods(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setRemoveClosureAsserts(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setRemoveDeadCode(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setRemoveTryCatchFinally(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setRemoveUnusedLocalVars(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setRemoveUnusedPrototypeProperties(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setRemoveUnusedPrototypePropertiesInExterns(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setRemoveUnusedVariable(CompilerOptions.Reach) - Method in class com.google.javascript.jscomp.CompilerOptions
Deprecated. 
setRemoveUnusedVariables(CompilerOptions.Reach) - Method in class com.google.javascript.jscomp.CompilerOptions
Set the variable removal policy for the compiler.
setRemoveUnusedVars(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setRenamePrefix(String) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setRenamePrefixNamespace(String) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setRenamingPolicy(VariableRenamingPolicy, PropertyRenamingPolicy) - Method in class com.google.javascript.jscomp.CompilerOptions
Sets the variable and property renaming policies for the compiler, in a way that clears warnings about the renaming policy being uninitialized from flags.
setReplaceIdGenerators(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setReplaceProperties(boolean) - Method in class com.google.javascript.jscomp.ant.CompileTask
Whether to replace @define lines with properties
setReplacePropertiesPrefix(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
Set the replacement property prefix.
setReplaceStringsConfiguration(String, List<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
Sets the functions whose debug strings to replace.
setReplaceStringsFunctionDescriptions(List<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setReplaceStringsPlaceholderToken(String) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setReplaceStringsReservedStrings(Set<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setReportCall(String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
setReportDefined(String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
setReportExit(String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
 
setReportMissingOverride(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
Flags a warning if a property is missing the @override annotation, but it overrides a base class property.
setReportPath(String) - Method in class com.google.javascript.jscomp.CompilerOptions
Where to save a report of global name usage
setReportUnknownTypes(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
Flags a warning for every node whose type could not be determined.
setReserveRawExports(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setResolveMode(JSTypeRegistry.ResolveMode) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Set the current resolving mode of the type registry.
setReturnsTainted() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
 
setRewriteFunctionExpressions(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setRewriteNewDateGoogNow(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setRootElement(JsonML) - Method in class com.google.javascript.jscomp.jsonml.Reader
 
setRuntimeTypeCheck(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setRuntimeTypeCheckLogFunction(String) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setShadowVariables(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
Should shadow outer scope variable name during renaming.
setShortcutMode(boolean) - Method in class com.google.javascript.jscomp.deps.JsFileLineParser
In shortcut mode, the file line parser can stop reading early if it thinks it found enough information.
setSideEffectFlags(int) - Method in class com.google.javascript.rhino.Node
Marks this function or constructor call's side effect flags.
setSideEffectFlags(Node.SideEffectFlags) - Method in class com.google.javascript.rhino.Node
 
setSize(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
setSkipAllPasses(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setSmartNameRemoval(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setSource(DiGraph.DiGraphNode<N, E>) - Method in interface com.google.javascript.jscomp.graph.DiGraph.DiGraphEdge
 
setSource(Node) - Method in class com.google.javascript.rhino.jstype.FunctionType
Sets the source node.
setSourceEncodedPosition(int) - Method in class com.google.javascript.rhino.Node
 
setSourceEncodedPositionForTree(int) - Method in class com.google.javascript.rhino.Node
 
setSourceFile(SourceFile) - Method in class com.google.javascript.jscomp.CompilerInput
 
setSourceFile(SourceFile) - Method in class com.google.javascript.jscomp.JsAst
 
setSourceFile(SourceFile) - Method in class com.google.javascript.jscomp.jsonml.JsonMLAst
 
setSourceFile(SourceFile) - Method in interface com.google.javascript.jscomp.SourceAst
Sets the source file the generated AST represents.
setSourceFile(SourceFile) - Method in class com.google.javascript.jscomp.SyntheticAst
 
setSourceFileForTesting(String) - Method in class com.google.javascript.rhino.Node
Sets the source file to a non-extern file of the given name.
setSourceMapDetailLevel(SourceMap.DetailLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setSourceMapFormat(SourceMap.Format) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setSourceMapLocationMappings(List<SourceMap.LocationMapping>) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setSourceMapOutputPath(String) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setSourceName(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
 
setSourceName(String) - Method in class com.google.javascript.jscomp.JsMessage.Builder
 
setSpecializeInitialModule(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
Specialize the initial module at the cost of later modules
setStartingPosition(int, int) - Method in interface com.google.debugging.sourcemap.SourceMapGenerator
Sets the source code that exists in the buffer for which the generated code is being generated.
setStartingPosition(int, int) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV1
Sets the source code that exists in the buffer to which the generated code is being generated.
setStartingPosition(int, int) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV2
Sets the source code that exists in the buffer for which the generated code is being generated.
setStartingPosition(int, int) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
Sets the source code that exists in the buffer for which the generated code is being generated.
setStartingPosition(int, int) - Method in class com.google.javascript.jscomp.SourceMap
 
setState(Compiler.IntermediateState) - Method in class com.google.javascript.jscomp.Compiler
Sets the internal state to the capture given.
setStaticSourceFile(StaticSourceFile) - Method in class com.google.javascript.rhino.Node
 
setString(String) - Method in class com.google.javascript.rhino.Node
Can only be called when node has String context.
setStripNamePrefixes(Set<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setStripNameSuffixes(Set<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setStripTypePrefixes(Set<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setStripTypes(Set<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setSummaryDetailLevel(int) - Method in class com.google.javascript.jscomp.CompilerOptions
Controls how detailed the compilation summary is.
setSummaryDetailLevel(int) - Method in class com.google.javascript.jscomp.PrintStreamErrorManager
 
setSyntheticBlockEndMarker(String) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setSyntheticBlockStartMarker(String) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setTemplateTypeName(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Sets the template type name.
SETTER_DEF - Static variable in class com.google.javascript.rhino.Token
Token types.
setThrows() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
 
setTightenTypes(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
Tightens types based on a global analysis.
setTracer(CompilerOptions.TracerMode) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setTracerMode(CompilerOptions.TracerMode) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setTransformAMDToCJSModules(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
Activates transformation of AMD to CJS modules.
setTweakProcessing(CompilerOptions.TweakProcessing) - Method in class com.google.javascript.jscomp.CompilerOptions
Sets how goog.tweak calls are processed.
setTweakReplacements(Map<String, Object>) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setTweakToBooleanLiteral(String, boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
Sets the value of the tweak in JS to a boolean literal.
setTweakToDoubleLiteral(String, double) - Method in class com.google.javascript.jscomp.CompilerOptions
Sets the value of the tweak in JS to a number literal.
setTweakToNumberLiteral(String, int) - Method in class com.google.javascript.jscomp.CompilerOptions
Sets the value of the tweak in JS to a number literal.
setTweakToStringLiteral(String, String) - Method in class com.google.javascript.jscomp.CompilerOptions
Sets the value of the tweak in JS to a String literal.
setType(int) - Method in class com.google.javascript.rhino.Node
 
setTypedPercent(double) - Method in class com.google.javascript.jscomp.BasicErrorManager
 
setTypedPercent(double) - Method in interface com.google.javascript.jscomp.ErrorManager
Sets the percentage of typed expressions.
setUnaliasableGlobals(String) - Method in class com.google.javascript.jscomp.CompilerOptions
A comma separated white-list of global names.
setUp() - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
setValidator(Predicate<JSType>) - Method in class com.google.javascript.rhino.jstype.JSType
Certain types have constraints on them at resolution-time.
setValidator(Predicate<JSType>) - Method in class com.google.javascript.rhino.jstype.UnionType
 
setVarArgs(boolean) - Method in class com.google.javascript.rhino.Node
Sets whether this node is a variable length argument node.
setVariableRenaming(VariableRenamingPolicy) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setVisibility(JSDocInfo.Visibility) - Method in class com.google.javascript.rhino.JSDocInfo
 
setWarning(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
Set the warning level.
setWarningLevel(DiagnosticGroup, CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
Configure the given type of warning to the given level.
setWarnings(String[]) - Method in class com.google.javascript.rhino.testing.TestErrorReporter
 
setWarningsGuard(ComposeWarningsGuard) - Method in class com.google.javascript.jscomp.CompilerOptions
 
setWasEmptyNode(boolean) - Method in class com.google.javascript.rhino.Node
Sets whether this is a synthetic block that should not be considered a real source block.
setWithLineNumber(boolean) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard.WhitelistBuilder
Sets whether line number are recorded in the whitelist.
setWrapperPrefix(String) - Method in interface com.google.debugging.sourcemap.SourceMapGenerator
Sets the prefix used for wrapping the generated source file before it is written.
setWrapperPrefix(String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV1
Sets the prefix used for wrapping the generated source file before it is output.
setWrapperPrefix(String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV2
Sets the prefix used for wrapping the generated source file before it is written.
setWrapperPrefix(String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
Sets the prefix used for wrapping the generated source file before it is written.
setWrapperPrefix(String) - Method in class com.google.javascript.jscomp.SourceMap
 
sheq(Node, Node) - Static method in class com.google.javascript.rhino.IR
"==="
SHEQ - Static variable in class com.google.javascript.rhino.Token
Token types.
SHNE - Static variable in class com.google.javascript.rhino.Token
Token types.
shouldColorizeErrorOutput() - Method in class com.google.javascript.jscomp.CompilerOptions
 
shouldParseDocumentation() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
 
shouldPreserveTry() - Method in class com.google.javascript.rhino.JSDocInfo
Returns whether the @preserveTry annotation is present on this JSDocInfo.
shouldRunCompiler() - Method in class com.google.javascript.jscomp.CommandLineRunner
 
shouldSkipDepsFile(SourceFile) - Method in class com.google.javascript.jscomp.deps.DepsGenerator
Returns whether we should ignore dependency info in the given deps file.
shouldStrip() - Method in enum com.google.javascript.jscomp.CompilerOptions.TweakProcessing
 
shouldTolerateUndefinedValues() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
 
shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractNodeTypePruningCallback
 
shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractPostOrderCallback
 
shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractScopedCallback
 
shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractShallowCallback
 
shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractShallowStatementCallback
 
shouldTraverse(NodeTraversal, Node, Node) - Method in interface com.google.javascript.jscomp.NodeTraversal.Callback
Visits a node in pre order (before visiting its children) and decides whether this node's children should be traversed.
shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.TypeCheck
 
ShowByPathWarningsGuard - Class in com.google.javascript.jscomp
Control whether warnings should be restricted or suppressed for specified paths.
ShowByPathWarningsGuard(String) - Constructor for class com.google.javascript.jscomp.ShowByPathWarningsGuard
 
ShowByPathWarningsGuard(String[]) - Constructor for class com.google.javascript.jscomp.ShowByPathWarningsGuard
 
ShowByPathWarningsGuard(String, ShowByPathWarningsGuard.ShowType) - Constructor for class com.google.javascript.jscomp.ShowByPathWarningsGuard
 
ShowByPathWarningsGuard(String[], ShowByPathWarningsGuard.ShowType) - Constructor for class com.google.javascript.jscomp.ShowByPathWarningsGuard
 
ShowByPathWarningsGuard.ShowType - Enum in com.google.javascript.jscomp
Controls whether warnings should be restricted to a specified path or suppressed within the specified path.
siblings() - Method in class com.google.javascript.rhino.Node
Return an iterable object that iterates over this nodes's siblings.
SIDE_EFFECT_FLAGS - Static variable in class com.google.javascript.rhino.Node
 
SIDE_EFFECTS_ALL - Static variable in class com.google.javascript.rhino.Node
 
SIDE_EFFECTS_FLAGS_MASK - Static variable in class com.google.javascript.rhino.Node
 
SimpleDependencyInfo - Class in com.google.javascript.jscomp.deps
A class to hold JS dependency information for a single .js file.
SimpleDependencyInfo(String, String, List<String>, List<String>) - Constructor for class com.google.javascript.jscomp.deps.SimpleDependencyInfo
Constructs a DependencyInfo object with the given list of provides & requires.
SimpleErrorReporter - Class in com.google.javascript.rhino
A simple ErrorReporter that collects warnings and errors and makes them accessible via SimpleErrorReporter.errors() and SimpleErrorReporter.warnings().
SimpleErrorReporter() - Constructor for class com.google.javascript.rhino.SimpleErrorReporter
 
SimpleReference<T extends StaticSlot<JSType>> - Class in com.google.javascript.rhino.jstype
A simple immutable reference.
SimpleReference(T, Node) - Constructor for class com.google.javascript.rhino.jstype.SimpleReference
 
SimpleRegion - Class in com.google.javascript.jscomp
Simple region.
SimpleRegion(int, int, String) - Constructor for class com.google.javascript.jscomp.SimpleRegion
 
SimpleSlot - Class in com.google.javascript.rhino.jstype
The minimum implementation of StaticSlot.
SimpleSlot(String, JSType, boolean) - Constructor for class com.google.javascript.rhino.jstype.SimpleSlot
 
SimpleSourceExcerptProvider - Class in com.google.javascript.jscomp.testing
A simple source excerpt provider for testing.
SimpleSourceExcerptProvider(String) - Constructor for class com.google.javascript.jscomp.testing.SimpleSourceExcerptProvider
 
SimpleSourceFile - Class in com.google.javascript.rhino.jstype
A simple implementation of StaticSourceFile for testing.
SimpleSourceFile(String, boolean) - Constructor for class com.google.javascript.rhino.jstype.SimpleSourceFile
 
simplify(String) - Method in class com.google.javascript.jscomp.regex.RegExpTree
Returns a simpler regular expression that is semantically the same assuming the given flags.
size - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
 
SIZE_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
skipAllCompilerPasses() - Method in class com.google.javascript.jscomp.CompilerOptions
Skip all possible passes, to make the compiler as fast as possible.
SLASH_V - Static variable in class com.google.javascript.rhino.Node
 
smartNameRemoval - Variable in class com.google.javascript.jscomp.CompilerOptions
Removes code associated with unused global names
SortedDependencies<INPUT extends DependencyInfo> - Class in com.google.javascript.jscomp.deps
A sorted list of inputs with dependency information.
SortedDependencies(List<INPUT>) - Constructor for class com.google.javascript.jscomp.deps.SortedDependencies
 
SortedDependencies.CircularDependencyException - Exception in com.google.javascript.jscomp.deps
 
SortedDependencies.MissingProvideException - Exception in com.google.javascript.jscomp.deps
 
sortInputsByDeps(Compiler) - Method in class com.google.javascript.jscomp.JSModule
Puts the JS files into a topologically sorted order by their dependencies.
sortJsModules(Collection<JSModule>) - Static method in class com.google.javascript.jscomp.JSModule
Returns the given collection of modules in topological order.
SOURCE_NAME_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
SourceAst - Interface in com.google.javascript.jscomp
An interface for accessing the AST root of an input.
SourceExcerptProvider - Interface in com.google.javascript.jscomp
A source excerpt provider is responsible for building source code excerpt of specific locations, such as a specific line or a region around a given line number.
SourceExcerptProvider.ExcerptFormatter - Interface in com.google.javascript.jscomp
A excerpt formatter is responsible of formatting source excerpts.
SourceExcerptProvider.SourceExcerpt - Enum in com.google.javascript.jscomp
Source excerpt variety.
SourceFile - Class in com.google.javascript.jscomp
An abstract representation of a source file that provides access to language-neutral features.
SourceFile(String) - Constructor for class com.google.javascript.jscomp.SourceFile
Construct a new abstract source file.
SourceFile.Builder - Class in com.google.javascript.jscomp
A builder interface for source files.
SourceFile.Builder() - Constructor for class com.google.javascript.jscomp.SourceFile.Builder
 
SourceFile.Generator - Interface in com.google.javascript.jscomp
A JavaScript source code provider.
sourceMap - Variable in class com.google.javascript.jscomp.Result
 
SourceMap - Class in com.google.javascript.jscomp
Collects information mapping the generated (compiled) source back to its original source for debugging purposes.
SourceMap.DetailLevel - Enum in com.google.javascript.jscomp
Source maps can be very large different levels of detail can be specified.
SourceMap.Format - Enum in com.google.javascript.jscomp
 
SourceMap.LocationMapping - Class in com.google.javascript.jscomp
 
SourceMap.LocationMapping(String, String) - Constructor for class com.google.javascript.jscomp.SourceMap.LocationMapping
 
SourceMapConsumer - Interface in com.google.debugging.sourcemap
A SourceMapConsumer is a SourceMapping provide that can parse from a raw string.
SourceMapConsumerFactory - Class in com.google.debugging.sourcemap
Detect and parse the provided source map.
SourceMapConsumerV1 - Class in com.google.debugging.sourcemap
Class for parsing and representing a SourceMap, as produced by the Closure Compiler, Caja-Compiler, etc.
SourceMapConsumerV1() - Constructor for class com.google.debugging.sourcemap.SourceMapConsumerV1
 
SourceMapConsumerV2 - Class in com.google.debugging.sourcemap
Class for parsing version 2 of the SourceMap format, as produced by the Closure Compiler, etc.
SourceMapConsumerV2() - Constructor for class com.google.debugging.sourcemap.SourceMapConsumerV2
 
SourceMapConsumerV3 - Class in com.google.debugging.sourcemap
Class for parsing version 3 of the SourceMap format, as produced by the Closure Compiler, etc.
SourceMapConsumerV3() - Constructor for class com.google.debugging.sourcemap.SourceMapConsumerV3
 
SourceMapConsumerV3.EntryVisitor - Interface in com.google.debugging.sourcemap
 
sourceMapDetailLevel - Variable in class com.google.javascript.jscomp.CompilerOptions
The detail level for the generated source map.
SourceMapFormat - Enum in com.google.debugging.sourcemap
A list of currently support SourceMap format revisions.
sourceMapFormat - Variable in class com.google.javascript.jscomp.CompilerOptions
The source map file format
SourceMapGenerator - Interface in com.google.debugging.sourcemap
Collects information mapping the generated (compiled) source back to its original source for debugging purposes
SourceMapGeneratorFactory - Class in com.google.debugging.sourcemap
 
SourceMapGeneratorFactory() - Constructor for class com.google.debugging.sourcemap.SourceMapGeneratorFactory
 
SourceMapGeneratorV1 - Class in com.google.debugging.sourcemap
Collects information mapping the generated (compiled) source back to its original source for debugging purposes.
SourceMapGeneratorV1() - Constructor for class com.google.debugging.sourcemap.SourceMapGeneratorV1
 
SourceMapGeneratorV2 - Class in com.google.debugging.sourcemap
Collects information mapping the generated (compiled) source back to its original source for debugging purposes.
SourceMapGeneratorV2() - Constructor for class com.google.debugging.sourcemap.SourceMapGeneratorV2
 
SourceMapGeneratorV2.LineMapEncoder - Class in com.google.debugging.sourcemap
 
SourceMapGeneratorV2.LineMapEncoder() - Constructor for class com.google.debugging.sourcemap.SourceMapGeneratorV2.LineMapEncoder
 
SourceMapGeneratorV3 - Class in com.google.debugging.sourcemap
Collects information mapping the generated (compiled) source back to its original source for debugging purposes.
SourceMapGeneratorV3() - Constructor for class com.google.debugging.sourcemap.SourceMapGeneratorV3
 
sourceMapLocationMappings - Variable in class com.google.javascript.jscomp.CompilerOptions
 
sourceMapOutputPath - Variable in class com.google.javascript.jscomp.CompilerOptions
The output path for the source map.
SourceMapParseException - Exception in com.google.debugging.sourcemap
Throw if an invalid or unknown source map is encountered.
SourceMapParseException(String) - Constructor for exception com.google.debugging.sourcemap.SourceMapParseException
 
SourceMapping - Interface in com.google.debugging.sourcemap
Interface for provide a way of mapping (line, column) positions back to positions in the original (uncompiled) source code.
SourceMappingReversable - Interface in com.google.debugging.sourcemap
A SourceMappingReversable is a SourceMapping that can provide the reverse (source --> target) source mapping.
SourceMapSection - Class in com.google.debugging.sourcemap
A class representing a partial source map.
SourceMapSection(String, int, int) - Constructor for class com.google.debugging.sourcemap.SourceMapSection
Deprecated.  
SourceMapSection.SectionType - Enum in com.google.debugging.sourcemap
 
SourceMapSupplier - Interface in com.google.debugging.sourcemap
A class for mapping source map names to the actual contents.
sourceName - Variable in class com.google.javascript.jscomp.JSError
Name of the source
sourceName - Variable in class com.google.javascript.jscomp.jsonml.JsonMLError
Name of the source
SOURCENAME_PROP - Static variable in class com.google.javascript.rhino.Node
 
sourceNode - Variable in class com.google.javascript.jscomp.graph.GraphReachability.EdgeTuple
 
SourcePosition<T> - Class in com.google.javascript.rhino
Represents a position in some piece of source code, with an associated item of type T found at that position.
SourcePosition() - Constructor for class com.google.javascript.rhino.SourcePosition
 
srcref(Node) - Method in class com.google.javascript.rhino.Node
 
srcrefTree(Node) - Method in class com.google.javascript.rhino.Node
 
StandardUnionFind<E> - Class in com.google.javascript.jscomp.graph
A Union-Find implementation.
StandardUnionFind() - Constructor for class com.google.javascript.jscomp.graph.StandardUnionFind
Creates an empty UnionFind structure.
StandardUnionFind(UnionFind<E>) - Constructor for class com.google.javascript.jscomp.graph.StandardUnionFind
Creates an UnionFind structure being a copy of other structure.
STAR - Static variable in class com.google.javascript.rhino.Token
Token types.
StatementFusion - Class in com.google.javascript.jscomp
Tries to fuse all the statements in a block into a one statement by using COMMAs.
StatementFusion() - Constructor for class com.google.javascript.jscomp.StatementFusion
 
STATIC_SOURCE_FILE - Static variable in class com.google.javascript.rhino.Node
 
StaticReference<T> - Interface in com.google.javascript.rhino.jstype
The StaticReference tells us all the ways that a StaticSlot is used in a program.
StaticScope<T> - Interface in com.google.javascript.rhino.jstype
The StaticScope interface must be implemented by any object that defines variables for the purposes of static analysis.
StaticSlot<T> - Interface in com.google.javascript.rhino.jstype
The StaticSlot interface must be implemented by variables that can appear as members of a StaticScope.
StaticSourceFile - Interface in com.google.javascript.rhino.jstype
The StaticSourceFile contains information about a compiler input.
StaticSymbolTable<S extends StaticSlot<JSType>,R extends StaticReference<JSType>> - Interface in com.google.javascript.rhino.jstype
Lookup references by the symbols that they refer to.
STRICT_MODULE_DEP_CHECK - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
StrictWarningsGuard - Class in com.google.javascript.jscomp
All warnings should be reported as errors.
StrictWarningsGuard() - Constructor for class com.google.javascript.jscomp.StrictWarningsGuard
 
string(String) - Static method in class com.google.javascript.rhino.IR
 
STRING - Static variable in class com.google.javascript.rhino.Token
Token types.
STRING_OBJECT_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
STRING_OBJECT_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
STRING_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
stringMap - Variable in class com.google.javascript.jscomp.Result
 
StringType - Class in com.google.javascript.rhino.jstype
String type.
stripNamePrefixes - Variable in class com.google.javascript.jscomp.CompilerOptions
Name prefixes that determine which variables and properties to strip
stripNameSuffixes - Variable in class com.google.javascript.jscomp.CompilerOptions
Name suffixes that determine which variables and properties to strip
stripTypePrefixes - Variable in class com.google.javascript.jscomp.CompilerOptions
Qualified type name prefixes that determine which types to strip
stripTypes - Variable in class com.google.javascript.jscomp.CompilerOptions
Names of types to strip
sub(Node, Node) - Static method in class com.google.javascript.rhino.IR
 
SUB - Static variable in class com.google.javascript.rhino.Token
Token types.
SubGraph<N,E> - Interface in com.google.javascript.jscomp.graph
An interface representing a subgraph that provides adjacency calculation to a node.
subSequence(int, int) - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
 
success - Variable in class com.google.javascript.jscomp.Result
 
SWITCH - Static variable in class com.google.javascript.rhino.Token
Token types.
switchNode(Node, Node...) - Static method in class com.google.javascript.rhino.IR
 
symbol - Variable in class com.google.javascript.jscomp.deps.JsFunctionParser.SymbolInfo
 
SymbolTable - Class in com.google.javascript.jscomp
A symbol table for people that want to use Closure Compiler as an indexer.
SymbolTable.Reference - Class in com.google.javascript.jscomp
 
SymbolTable.Symbol - Class in com.google.javascript.jscomp
 
SymbolTable.SymbolScope - Class in com.google.javascript.jscomp
 
SYNTAX_ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
SYNTAX_ERROR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
SYNTHETIC_BLOCK_PROP - Static variable in class com.google.javascript.rhino.Node
 
SyntheticAst - Class in com.google.javascript.jscomp
An AST generated totally by the compiler.
syntheticBlockEndMarker - Variable in class com.google.javascript.jscomp.CompilerOptions
 
syntheticBlockStartMarker - Variable in class com.google.javascript.jscomp.CompilerOptions
 

T

TagAttr - Enum in com.google.javascript.jscomp.jsonml
List of attributes that a JsonML element may have.
TagType - Enum in com.google.javascript.jscomp.jsonml
List of types allowed for JsonML elements.
TemplateType - Class in com.google.javascript.rhino.jstype
 
TernaryValue - Enum in com.google.javascript.rhino.jstype
An enum for ternary logic.
TestErrorReporter - Class in com.google.javascript.jscomp.testing
An error reporter for testing that verifies that messages reported to the reporter are expected.
TestErrorReporter(String[], String[]) - Constructor for class com.google.javascript.jscomp.testing.TestErrorReporter
 
TestErrorReporter - Class in com.google.javascript.rhino.testing
An error reporter for testing that verifies that messages reported to the reporter are expected.
TestErrorReporter(String[], String[]) - Constructor for class com.google.javascript.rhino.testing.TestErrorReporter
 
testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.AllType
 
testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.BooleanType
 
testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.EnumType
 
testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
Compares this and that.
testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.NullType
 
testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.NumberType
 
testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.ObjectType
 
testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.StringType
 
testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
 
testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.UnknownType
 
testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.VoidType
 
testUint32String(String) - Static method in class com.google.javascript.rhino.ScriptRuntime
If str is a decimal presentation of Uint32 value, return it as long.
THIS - Static variable in class com.google.javascript.rhino.Token
Token types.
thisNode() - Static method in class com.google.javascript.rhino.IR
 
THROW - Static variable in class com.google.javascript.rhino.Token
Token types.
throwNode(Node) - Static method in class com.google.javascript.rhino.IR
 
toAnnotationString() - Method in class com.google.javascript.rhino.jstype.JSType
A string representation of this type, suitable for printing in type annotations at code generation time.
toBoolean(boolean) - Method in enum com.google.javascript.rhino.jstype.TernaryValue
Converts this ternary value to boolean.
toBuilder() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
toBuilder() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
toBuilder() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
toBuilder() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
toBuilder() - Method in class com.google.javascript.jscomp.FunctionInformationMap
 
toBuilder() - Method in class com.google.javascript.jscomp.Instrumentation
 
toBytes() - Method in class com.google.javascript.jscomp.VariableMap
Serializes the variable map to a byte array.
toDebugHashCodeString() - Method in class com.google.javascript.rhino.jstype.FunctionType
 
toDebugHashCodeString() - Method in class com.google.javascript.rhino.jstype.JSType
A hash code function for diagnosing complicated issues around type-identity.
toDebugHashCodeString() - Method in class com.google.javascript.rhino.jstype.UnionType
 
toDebugString() - Method in class com.google.javascript.jscomp.regex.RegExpTree
 
toDebugString() - Method in class com.google.javascript.jscomp.SymbolTable
 
toDot(Node) - Static method in class com.google.javascript.jscomp.DotFormatter
Converts an AST to dot representation.
toDot(GraphvizGraph) - Static method in class com.google.javascript.jscomp.DotFormatter
Outputs a string in DOT format that presents the graph.
toFormatter(SourceExcerptProvider, boolean) - Method in enum com.google.javascript.jscomp.ErrorFormat
Convert to a concrete formatter.
Token - Class in com.google.javascript.rhino
This class implements the JavaScript scanner.
Token() - Constructor for class com.google.javascript.rhino.Token
 
TokenStream - Class in com.google.javascript.rhino
This class implements the JavaScript scanner.
TokenStream() - Constructor for class com.google.javascript.rhino.TokenStream
 
toMaybeEnumElementType() - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
toMaybeEnumElementType() - Method in class com.google.javascript.rhino.jstype.JSType
Downcasts this to an EnumElementType, or returns null if this is not an EnumElementType.
toMaybeEnumType() - Method in class com.google.javascript.rhino.jstype.EnumType
 
toMaybeEnumType() - Method in class com.google.javascript.rhino.jstype.JSType
Downcasts this to an EnumType, or returns null if this is not an EnumType.
toMaybeFunctionType() - Method in class com.google.javascript.rhino.jstype.FunctionType
 
toMaybeFunctionType() - Method in class com.google.javascript.rhino.jstype.JSType
Downcasts this to a FunctionType, or returns null if this is not a function.
toMaybeFunctionType(JSType) - Static method in class com.google.javascript.rhino.jstype.JSType
Null-safe version of toMaybeFunctionType().
toMaybeFunctionType() - Method in class com.google.javascript.rhino.jstype.NoObjectType
 
toMaybeUnionType() - Method in class com.google.javascript.rhino.jstype.JSType
Downcasts this to a UnionType, or returns null if this is not a UnionType.
toMaybeUnionType() - Method in class com.google.javascript.rhino.jstype.UnionType
 
toModuleName(String) - Static method in class com.google.javascript.jscomp.ProcessCommonJSModules
Turns a filename into a JS identifier that is used for moduleNames in rewritten code.
toModuleName(String, String) - Static method in class com.google.javascript.jscomp.ProcessCommonJSModules
Turn a filename into a moduleName with support for relative addressing with ./ and ../ based on currentFilename;
TOO_MANY_CHILDREN_FMT - Static variable in class com.google.javascript.jscomp.jsonml.Validator
 
toObjectType() - Method in class com.google.javascript.rhino.jstype.JSType
Casts this to an ObjectType, or returns null if this is not an ObjectType.
toSource() - Method in class com.google.javascript.jscomp.Compiler
Converts the main parse tree back to js code.
toSource(JSModule) - Method in class com.google.javascript.jscomp.Compiler
Converts the parse tree for a module back to js code.
toSource(Compiler.CodeBuilder, int, Node) - Method in class com.google.javascript.jscomp.Compiler
Writes out js code from a root node.
toSourceArray() - Method in class com.google.javascript.jscomp.Compiler
Converts the parse tree for each input back to js code.
toSourceArray(JSModule) - Method in class com.google.javascript.jscomp.Compiler
Converts the parse tree for each input in a module back to js code.
toString() - Method in class com.google.javascript.jscomp.Compiler.CodeBuilder
Returns all text in the text buffer.
toString() - Method in class com.google.javascript.jscomp.CompilerInput
 
toString() - Method in class com.google.javascript.jscomp.ComposeWarningsGuard
 
toString() - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo
 
toString() - Method in class com.google.javascript.jscomp.DiagnosticGroup
 
toString() - Method in class com.google.javascript.jscomp.DiagnosticGroupWarningsGuard
 
toString() - Method in class com.google.javascript.jscomp.DiagnosticType
 
toString() - Method in class com.google.javascript.jscomp.JSError
 
toString() - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
 
toString() - Method in class com.google.javascript.jscomp.JsMessage
 
toString() - Method in class com.google.javascript.jscomp.JSModule
Returns the module name (primarily for debugging).
toString() - Method in class com.google.javascript.jscomp.jsonml.JsonML
 
toString() - Method in enum com.google.javascript.jscomp.jsonml.TagAttr
 
toString() - Method in class com.google.javascript.jscomp.regex.RegExpTree
 
toString() - Method in class com.google.javascript.jscomp.Scope.Var
 
toString() - Method in class com.google.javascript.jscomp.SourceFile
 
toString() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
 
toString() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
 
toString() - Method in class com.google.javascript.rhino.InputId
 
toString() - Method in class com.google.javascript.rhino.JSDocInfo
 
toString() - Method in class com.google.javascript.rhino.jstype.JSType
A string representation of this type, suitable for printing in warnings.
toString() - Method in class com.google.javascript.rhino.jstype.SimpleReference
 
toString() - Method in class com.google.javascript.rhino.jstype.SimpleSourceFile
 
toString() - Method in class com.google.javascript.rhino.Node
 
toString(boolean, boolean, boolean) - Method in class com.google.javascript.rhino.Node
 
toStringTree() - Method in class com.google.javascript.jscomp.jsonml.JsonML
Prints a JsonML tree in a human readable format.
toStringTree() - Method in class com.google.javascript.rhino.Node
 
tracker - Variable in class com.google.javascript.jscomp.Compiler
 
traverse(Node) - Method in class com.google.javascript.jscomp.NodeTraversal
Traverses a parse tree recursively.
traverse(AbstractCompiler, Node, NodeTraversal.Callback) - Static method in class com.google.javascript.jscomp.NodeTraversal
Traverses a node recursively.
traverseEdge(Node, Edge, Node) - Method in interface com.google.javascript.jscomp.graph.FixedPointGraphTraversal.EdgeCallback
Update the state of the destination node when the given edge is traversed.
traverseEdge(N, E, N) - Method in class com.google.javascript.jscomp.graph.GraphReachability
 
traverseInnerNode(Node, Node, Scope) - Method in class com.google.javascript.jscomp.NodeTraversal
Traverses an inner node recursively with a refined scope.
traverseRoots(Node...) - Method in class com.google.javascript.jscomp.NodeTraversal
 
traverseRoots(List<Node>) - Method in class com.google.javascript.jscomp.NodeTraversal
 
traverseRoots(AbstractCompiler, List<Node>, NodeTraversal.Callback) - Static method in class com.google.javascript.jscomp.NodeTraversal
Traverses a list of node trees.
traverseRoots(AbstractCompiler, NodeTraversal.Callback, Node...) - Static method in class com.google.javascript.jscomp.NodeTraversal
 
TRUE - Static variable in class com.google.javascript.rhino.Token
Token types.
trueNode() - Static method in class com.google.javascript.rhino.IR
 
TRY - Static variable in class com.google.javascript.rhino.Token
Token types.
tryCatch(Node, Node) - Static method in class com.google.javascript.rhino.IR
 
tryCatchFinally(Node, Node, Node) - Static method in class com.google.javascript.rhino.IR
 
tryFinally(Node, Node) - Static method in class com.google.javascript.rhino.IR
 
TWEAKS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
TYPE_ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
TYPE_ERROR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
TYPE_INVALIDATION - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
typeA - Variable in class com.google.javascript.rhino.jstype.JSType.TypePair
 
typeB - Variable in class com.google.javascript.rhino.jstype.JSType.TypePair
 
TypeCheck - Class in com.google.javascript.jscomp
Checks the types of JS expressions against any declared type information.
TypeCheck(AbstractCompiler, ReverseAbstractInterpreter, JSTypeRegistry, Scope, ScopeCreator, CheckLevel, CheckLevel) - Constructor for class com.google.javascript.jscomp.TypeCheck
 
TypeCheck(AbstractCompiler, ReverseAbstractInterpreter, JSTypeRegistry, CheckLevel, CheckLevel) - Constructor for class com.google.javascript.jscomp.TypeCheck
 
TYPEOF - Static variable in class com.google.javascript.rhino.Token
Token types.

U

U2U_CONSTRUCTOR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
U2U_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
unboxesTo() - Method in class com.google.javascript.rhino.jstype.JSType
Gets the type to which this type unboxes.
UNDEFINED_NAMES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
UNDEFINED_VARIABLES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
UndiGraph<N,E> - Class in com.google.javascript.jscomp.graph
A generic undirected graph.
UndiGraph() - Constructor for class com.google.javascript.jscomp.graph.UndiGraph
 
UndiGraph.UndiGraphEdge<N,E> - Interface in com.google.javascript.jscomp.graph
A generic undirected graph edge.
UndiGraph.UndiGraphNode<N,E> - Interface in com.google.javascript.jscomp.graph
A generic undirected graph node.
union(E, E) - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
 
union(E, E) - Method in interface com.google.javascript.jscomp.graph.UnionFind
Unions the equivalence classes of a and b and returns the representative of the resulting equivalence class.
union(BooleanLiteralSet) - Method in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
Computes the union of this set and that.
UnionFind<E> - Interface in com.google.javascript.jscomp.graph
Union-Find is a classical algorithm used to find connected components in graph theory.
UnionType - Class in com.google.javascript.rhino.jstype
The UnionType implements a common JavaScript idiom in which the code is specifically designed to work with multiple input types.
UNKNOWN_DEFINES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
UNKNOWN_NAME - Static variable in class com.google.javascript.rhino.jstype.JSType
 
UNKNOWN_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
UnknownType - Class in com.google.javascript.rhino.jstype
The Unknown type.
unregisterPropertyOnType(String, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
Removes the index's reference to a property on the given type (if it is currently registered).
URI_ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
URI_ERROR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
URSH - Static variable in class com.google.javascript.rhino.Token
Token types.
useSourceInfoFrom(Node) - Method in class com.google.javascript.rhino.Node
Overwrite all the source information in this node with that of other.
useSourceInfoFromForTree(Node) - Method in class com.google.javascript.rhino.Node
Overwrite all the source information in this node and its subtree with that of other.
useSourceInfoIfMissingFrom(Node) - Method in class com.google.javascript.rhino.Node
Overwrite all the source information in this node with that of other iff the source info is missing.
useSourceInfoIfMissingFromForTree(Node) - Method in class com.google.javascript.rhino.Node
Overwrite all the source information in this node and its subtree with that of other iff the source info is missing.

V

validate(boolean) - Method in interface com.google.debugging.sourcemap.SourceMapGenerator
Whether to perform additional validation on the source map.
validate(boolean) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV1
 
validate(boolean) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV2
 
validate(boolean) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
 
validate(JsonML) - Static method in class com.google.javascript.jscomp.jsonml.Validator
Validates the specified JsonML element.
validate(boolean) - Method in class com.google.javascript.jscomp.SourceMap
 
validateCodeRoot(Node) - Method in class com.google.javascript.jscomp.AstValidator
 
validateExpression(Node) - Method in class com.google.javascript.jscomp.AstValidator
 
validateRoot(Node) - Method in class com.google.javascript.jscomp.AstValidator
 
validateScript(Node) - Method in class com.google.javascript.jscomp.AstValidator
 
validateStatement(Node) - Method in class com.google.javascript.jscomp.AstValidator
 
Validator - Class in com.google.javascript.jscomp.jsonml
Statically validates JsonML elements.
valueOf(String) - Static method in enum com.google.debugging.sourcemap.SourceMapFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.debugging.sourcemap.SourceMapSection.SectionType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.AnonymousFunctionNamingPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.CheckLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.CheckLevelLegacy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.CodingConvention.SubclassType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.CompilationLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.CompilerOptions.LanguageMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.CompilerOptions.Reach
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.CompilerOptions.TracerMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.CompilerOptions.TweakProcessing
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.CssRenamingMap.Style
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.CustomPassExecutionTime
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.ErrorFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.JsMessage.Style
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.jsonml.ErrorLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.jsonml.TagAttr
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.jsonml.TagType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.parsing.Config.LanguageMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.PropertyRenamingPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.ShowByPathWarningsGuard.ShowType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.SourceExcerptProvider.SourceExcerpt
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.SourceMap.DetailLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.SourceMap.Format
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.VariableRenamingPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.WarningLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.jscomp.WarningsGuard.Priority
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.rhino.JSDocInfo.Visibility
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.rhino.jstype.JSTypeNative
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.rhino.jstype.JSTypeRegistry.ResolveMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.javascript.rhino.jstype.TernaryValue
Returns the enum constant of this type with the specified name.
valueOf() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
 
values() - Static method in enum com.google.debugging.sourcemap.SourceMapFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.debugging.sourcemap.SourceMapSection.SectionType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.AnonymousFunctionNamingPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.CheckLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.CheckLevelLegacy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.CodingConvention.SubclassType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.CompilationLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.CompilerOptions.LanguageMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.CompilerOptions.Reach
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.CompilerOptions.TracerMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.CompilerOptions.TweakProcessing
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.CssRenamingMap.Style
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.CustomPassExecutionTime
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.ErrorFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.JsMessage.Style
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.jsonml.ErrorLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.jsonml.TagAttr
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.jsonml.TagType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.parsing.Config.LanguageMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.PropertyRenamingPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.ShowByPathWarningsGuard.ShowType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.SourceExcerptProvider.SourceExcerpt
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.SourceMap.DetailLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.SourceMap.Format
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.VariableRenamingPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.WarningLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.jscomp.WarningsGuard.Priority
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.rhino.JSDocInfo.Visibility
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.rhino.jstype.JSTypeNative
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.rhino.jstype.JSTypeRegistry.ResolveMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.javascript.rhino.jstype.TernaryValue
Returns an array containing the constants of this enum type, in the order they are declared.
var(Node, Node) - Static method in class com.google.javascript.rhino.IR
 
var(Node) - Static method in class com.google.javascript.rhino.IR
 
VAR - Static variable in class com.google.javascript.rhino.Token
Token types.
VAR_ARGS_NAME - Static variable in class com.google.javascript.rhino.Node
 
variableMap - Variable in class com.google.javascript.jscomp.Result
 
VariableMap - Class in com.google.javascript.jscomp
Stores the mapping from original variable name to new variable names.
variableRenaming - Variable in class com.google.javascript.jscomp.CompilerOptions
Controls which variables get renamed.
VariableRenamingPolicy - Enum in com.google.javascript.jscomp
Policies to determine which variables should be renamed.
VISIBILITY - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
 
visit(String, String, FilePosition, FilePosition, FilePosition) - Method in interface com.google.debugging.sourcemap.SourceMapConsumerV3.EntryVisitor
 
visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.FindExportableNodes
 
visit(NodeTraversal, Node, Node) - Method in interface com.google.javascript.jscomp.NodeTraversal.Callback
Visits a node in post order (after its children have been visited).
visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.TypeCheck
This is the meat of the type checking.
visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.AllType
 
visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.BooleanType
 
visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.EnumElementType
 
visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.EnumType
 
visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.FunctionType
 
visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.JSType
Visit this type with the given visitor.
visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.NoObjectType
 
visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.NoType
 
visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.NullType
 
visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.NumberType
 
visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.ObjectType
 
visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.StringType
 
visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.UnionType
 
visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.UnknownType
 
visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.VoidType
 
visitMappings(SourceMapConsumerV3.EntryVisitor) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
 
Visitor<T> - Interface in com.google.javascript.rhino.jstype
A type visitor.
VOID - Static variable in class com.google.javascript.rhino.Token
Token types.
VOID_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
 
voidNode(Node) - Static method in class com.google.javascript.rhino.IR
 
VoidType - Class in com.google.javascript.rhino.jstype
Void type whose only element is the undefined value.

W

Warning - Class in com.google.javascript.jscomp.ant
Simple representation of a warning flag in Ant
Warning() - Constructor for class com.google.javascript.jscomp.ant.Warning
 
warning(String, String) - Static method in class com.google.javascript.jscomp.DiagnosticType
Create a DiagnosticType at level CheckLevel.WARNING
warning(String, String, int, int) - Method in class com.google.javascript.jscomp.parsing.NullErrorReporter
 
warning(String, String, int, String, int) - Method in class com.google.javascript.jscomp.testing.TestErrorReporter
 
warning(String, String, int, int) - Method in interface com.google.javascript.rhino.ErrorReporter
Report a warning.
warning(String, String, int, int) - Method in class com.google.javascript.rhino.SimpleErrorReporter
 
warning(String, String, int, int) - Method in class com.google.javascript.rhino.testing.TestErrorReporter
 
WarningLevel - Enum in com.google.javascript.jscomp
Convert the warnings level to an Options object.
warnings - Variable in class com.google.javascript.jscomp.Result
 
warnings() - Method in class com.google.javascript.rhino.SimpleErrorReporter
Returns the list of warnings, or null if there were none.
WarningsGuard - Class in com.google.javascript.jscomp
Class that allows to flexibly manage what to do with a reported warning/error.
WarningsGuard() - Constructor for class com.google.javascript.jscomp.WarningsGuard
 
WarningsGuard.Priority - Enum in com.google.javascript.jscomp
 
wasEmptyNode() - Method in class com.google.javascript.rhino.Node
Returns whether this is a synthetic block that should not be considered a real source block.
WHILE - Static variable in class com.google.javascript.rhino.Token
Token types.
WhitelistWarningsGuard - Class in com.google.javascript.jscomp
An extension of WarningsGuard that provides functionality to maintain a list of warnings (white-list).
WhitelistWarningsGuard(Set<String>) - Constructor for class com.google.javascript.jscomp.WhitelistWarningsGuard
This class depends on an input set that contains the white-list.
WhitelistWarningsGuard.WhitelistBuilder - Class in com.google.javascript.jscomp
 
WhitelistWarningsGuard.WhitelistBuilder() - Constructor for class com.google.javascript.jscomp.WhitelistWarningsGuard.WhitelistBuilder
 
WITH - Static variable in class com.google.javascript.rhino.Token
Token types.
withCharset(Charset) - Method in class com.google.javascript.jscomp.SourceFile.Builder
Set the charset to use when reading from an input stream or file.
withInferredReturnType(JSType) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
Sets an inferred return type.
withName(String) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
Set the name of the function type.
withOriginalPath(String) - Method in class com.google.javascript.jscomp.SourceFile.Builder
Set the original path to use.
withParams(FunctionParamBuilder) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
Set the parameters of the function type from a FunctionParamBuilder.
withParamsNode(Node) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
Set the parameters of the function type with a specially-formatted node.
withReturnType(JSType) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
Set the return type.
withReturnType(JSType, boolean) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
Set the return type and whether it's inferred.
withSourceNode(Node) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
Set the source node of the function type.
withTemplateName(String) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
Set the template name.
withTypeOfThis(ObjectType) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
Set the "this" type.
Writer - Class in com.google.javascript.jscomp.jsonml
Converts internal AST into JsonML tree.
Writer() - Constructor for class com.google.javascript.jscomp.jsonml.Writer
 
writeReplace() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
writeReplace() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
writeReplace() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
writeReplace() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
writeReplace() - Method in class com.google.javascript.jscomp.FunctionInformationMap
 
writeReplace() - Method in class com.google.javascript.jscomp.Instrumentation
 
writeTo(CodedOutputStream) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
 
writeTo(CodedOutputStream) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
 
writeTo(CodedOutputStream) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
 
writeTo(CodedOutputStream) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
 
writeTo(CodedOutputStream) - Method in class com.google.javascript.jscomp.FunctionInformationMap
 
writeTo(CodedOutputStream) - Method in class com.google.javascript.jscomp.Instrumentation
 
writeWhitelist(File) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard.WhitelistBuilder
Writes the warnings collected in a format that the WhitelistWarningsGuard can read back later.
WRONG_CHILD_TYPE_FMT - Static variable in class com.google.javascript.jscomp.jsonml.Validator
 

X

xor(TernaryValue) - Method in enum com.google.javascript.rhino.jstype.TernaryValue
Gets the xor of this and that.
XtbMessageBundle - Class in com.google.javascript.jscomp
A MessageBundle that parses messages from an XML Translation Bundle (XTB) file.
XtbMessageBundle(InputStream, String, boolean) - Constructor for class com.google.javascript.jscomp.XtbMessageBundle
 
XtbMessageBundle(InputStream, String) - Constructor for class com.google.javascript.jscomp.XtbMessageBundle
Creates an instance and initializes it with the messages in an XTB file.

A B C D E F G H I J K L M N O P Q R S T U V W X