Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
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 aSourceExcerptProvider
. - AbstractMessageFormatter(SourceExcerptProvider) - Constructor for class com.google.javascript.jscomp.AbstractMessageFormatter
- AbstractNodeTypePruningCallback(Set<Integer>) - Constructor for class com.google.javascript.jscomp.NodeTraversal.AbstractNodeTypePruningCallback
-
Creates an abstract pruned callback.
- AbstractNodeTypePruningCallback(Set<Integer>, boolean) - Constructor for class com.google.javascript.jscomp.NodeTraversal.AbstractNodeTypePruningCallback
-
Creates an abstract pruned callback.
- AbstractPostOrderCallback() - Constructor for class com.google.javascript.jscomp.NodeTraversal.AbstractPostOrderCallback
- AbstractScopedCallback() - Constructor for class com.google.javascript.jscomp.NodeTraversal.AbstractScopedCallback
- AbstractShallowCallback() - Constructor for class com.google.javascript.jscomp.NodeTraversal.AbstractShallowCallback
- AbstractShallowStatementCallback() - Constructor for class com.google.javascript.jscomp.NodeTraversal.AbstractShallowStatementCallback
- 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
- AbstractWebServiceException - Exception in com.google.javascript.jscomp.webservice.common
-
All the exceptions that can be returned as error to the client of the API.
- AbstractWebServiceException() - Constructor for exception com.google.javascript.jscomp.webservice.common.AbstractWebServiceException
- 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
- ACCOUNT_OVER_QUOTA - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- add(CompilerInput) - Method in class com.google.javascript.jscomp.JSModule
-
Adds a source code input to this module.
- add(SourceFile) - Method in class com.google.javascript.jscomp.JSModule
-
Adds a source file input to this module.
- add(Node, Node) - Static method in class com.google.javascript.rhino.IR
- 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 - 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
-
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
- addAllEntry(Iterable<? extends FunctionInformationMap.Entry>) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- addAllInit(Iterable<String>) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
Definition of functions used to report module contents and function calls.
- addAllModule(Iterable<? extends FunctionInformationMap.Module>) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- 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
-
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
- addDeclarationToRemoveBytes(ByteString) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
- addDependency(JSModule) - Method in class com.google.javascript.jscomp.JSModule
-
Adds a dependency on another module.
- addEntry(int, FunctionInformationMap.Entry) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- addEntry(int, FunctionInformationMap.Entry.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- addEntry(FunctionInformationMap.Entry) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- addEntry(FunctionInformationMap.Entry.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- addEntryBuilder() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- addEntryBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- addExterns(FileList) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Sets the externs file.
- addFirst(CompilerInput) - Method in class com.google.javascript.jscomp.JSModule
-
Adds a source code input to this module.
- addFirst(SourceFile) - Method in class com.google.javascript.jscomp.JSModule
-
Adds a source file input to this module.
- addInit(String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
Definition of functions used to report module contents and function calls.
- addInitBytes(ByteString) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
Definition of functions used to report module contents and function calls.
- addMapping(Node, FilePosition, FilePosition) - Method in class com.google.javascript.jscomp.SourceMap
- 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.
- addModule(int, FunctionInformationMap.Module) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- addModule(int, FunctionInformationMap.Module.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- addModule(FunctionInformationMap.Module) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- addModule(FunctionInformationMap.Module.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- addModuleBuilder() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- addModuleBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- 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.
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
- 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.
- ADVANCED_OPTIMIZATIONS - Enum constant in enum com.google.javascript.jscomp.CompilationLevel
-
ADVANCED_OPTIMIZATIONS aggressively reduces code size by renaming function names and variables, removing code which is never called, etc.
- ADVANCED_OPTIMIZATIONS - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.CompilationLevelKey
- AFTER_OPTIMIZATION_LOOP - Enum constant in enum com.google.javascript.jscomp.CustomPassExecutionTime
- AGGRESSIVE_HEURISTIC - Enum constant in enum com.google.javascript.jscomp.PropertyRenamingPolicy
-
Rename properties more heuristically.
- 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 - Enum constant in enum com.google.javascript.jscomp.CompilerOptions.Reach
- ALL - Enum constant in enum com.google.javascript.jscomp.CompilerOptions.TracerMode
- ALL - Enum constant in enum com.google.javascript.jscomp.SourceMap.DetailLevel
- ALL - Enum constant in enum com.google.javascript.jscomp.VariableRenamingPolicy
-
Rename all variables and functions unless they are exported or externed.
- ALL_NATIVE_EXTERN_TYPES - Static variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
A definition of all extern types.
- ALL_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- ALL_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- ALL_UNQUOTED - Enum constant in enum com.google.javascript.jscomp.PropertyRenamingPolicy
-
Rename all properties that aren't explicitly quoted and aren't externally defined (i.e.
- 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.
- ALWAYS - Enum constant in enum com.google.javascript.jscomp.deps.DepsGenerator.InclusionStrategy
- 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(TernaryValue) - Method in enum com.google.javascript.rhino.jstype.TernaryValue
-
Gets the
and
ofthis
andthat
. - and(Node, Node) - Static method in class com.google.javascript.rhino.IR
- 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
orGraph.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
- API_KEY - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ApiKeyResponse
- API_KEY - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- APP_NAME_SETTER_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Instrumentation
- append(ChainableReverseAbstractInterpreter) - Method in class com.google.javascript.jscomp.type.ChainableReverseAbstractInterpreter
-
Appends a link to
this
, returning the updated last link. - 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 aconstructor
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
andb
belong to the same equivalence class. - areNodesEqualForInlining(Node, Node) - Method in class com.google.javascript.jscomp.StatementFusion
-
Are the nodes equal for the purpose of inlining? If type aware optimizations are on, type equality is checked.
- ARRAY_FUNCTION_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- ARRAY_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- ARRAY_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- ARRAY_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- ArrayExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- arraylit(Node...) - Static method in class com.google.javascript.rhino.IR
- ARRAYLIT - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- asGetParameter() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- assertedType - Variable in class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
- 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)
- AssertInstanceofSpec(String) - Constructor for class com.google.javascript.jscomp.ClosureCodingConvention.AssertInstanceofSpec
- AssertionFunctionSpec(String) - Constructor for class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
- AssertionFunctionSpec(String, JSTypeNative) - Constructor for class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
- 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.
- assertTypeCollectionEquals(Iterable<T>, Iterable<S>) - Static method in class com.google.javascript.rhino.testing.Asserts
- assertTypeEquals(JSType, JSType) - Static method in class com.google.javascript.rhino.testing.Asserts
- assertTypeEquals(JSType, JSType) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- 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, Node) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
Asserts that a Node representing a type expression resolves to the correct
JSType
. - assertTypeEquals(String, JSType, JSType) - Static method in class com.google.javascript.rhino.testing.Asserts
- 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(JSType, JSType) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- assertTypeNotEquals(String, JSType, JSType) - Static method in class com.google.javascript.rhino.testing.Asserts
- 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.
- AssignExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- assumeClosuresOnlyCaptureReferences() - Method in class com.google.javascript.jscomp.CompilerOptions
- assumeStrictThis() - Method in class com.google.javascript.jscomp.CompilerOptions
- ast - Variable in class com.google.javascript.jscomp.parsing.ParserRunner.ParseResult
- AstValidator - Class in com.google.javascript.jscomp
-
This class walks the AST and validates that the structure is correct.
- AstValidator() - Constructor for class com.google.javascript.jscomp.AstValidator
- AstValidator(AstValidator.ViolationHandler) - 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
-
Turn a scalar type to the corresponding object type.
- 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.
- BASE - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- Base64 - Class in com.google.debugging.sourcemap
-
A utility class for working with Base64 values.
- base64EncodeInt(int) - Static method in class com.google.debugging.sourcemap.Base64
- 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
- BEFORE_CHECKS - Enum constant in enum com.google.javascript.jscomp.CustomPassExecutionTime
- BEFORE_OPTIMIZATION_LOOP - Enum constant in enum com.google.javascript.jscomp.CustomPassExecutionTime
- BEFORE_OPTIMIZATIONS - Enum constant in enum com.google.javascript.jscomp.CustomPassExecutionTime
- BinaryExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- Bind(Node, Node, Node) - Constructor for class com.google.javascript.jscomp.CodingConvention.Bind
- 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(List<Node>) - Static method in class com.google.javascript.rhino.IR
- BLOCK - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- BlockStmt - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- BODY - Enum constant in enum com.google.javascript.jscomp.jsonml.TagAttr
- BOOLEAN_OBJECT_FUNCTION_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- BOOLEAN_OBJECT_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- BOOLEAN_OBJECT_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- BOOLEAN_OBJECT_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- BOOLEAN_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- 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.
- BOTH - Enum constant in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
- 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
- BreakStmt - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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() - 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.
- 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_DEBUG - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- builder() - Static method in class com.google.javascript.jscomp.SourceFile
-
Create a new builder for source files.
- Builder() - Constructor for class com.google.javascript.jscomp.JsMessage.Builder
- Builder() - Constructor for class com.google.javascript.jscomp.SourceFile.Builder
- Builder(String) - Constructor for class com.google.javascript.jscomp.JsMessage.Builder
-
Creates an instance.
- buildFromCode(String, String) - Method in class com.google.javascript.jscomp.SourceFile.Builder
- buildFromFile(File) - Method in class com.google.javascript.jscomp.SourceFile.Builder
- buildFromFile(String) - 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
- BY_PART - Enum constant in enum com.google.javascript.jscomp.CssRenamingMap.Style
- BY_WHOLE - Enum constant in enum com.google.javascript.jscomp.CssRenamingMap.Style
- ByPart() - Constructor for class com.google.javascript.jscomp.CssRenamingMap.ByPart
- ByPathWarningsGuard - Class in com.google.javascript.jscomp
-
An implementation of a
WarningsGuard
that can modify theCheckLevel
based on the file that caused the warning, and whether this file matches a set of paths (specified either as include or exclude of path name parts). - ByWhole() - Constructor for class com.google.javascript.jscomp.CssRenamingMap.ByWhole
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.
- CallExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- CallGraph - Class in com.google.javascript.jscomp
-
A pass the uses a
DefinitionProvider
to compute a call graph for an AST. - CallGraph(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.CallGraph
-
Creates a call graph object support both forward and backward lookups.
- CallGraph(AbstractCompiler, boolean, boolean) - Constructor for class com.google.javascript.jscomp.CallGraph
-
Creates a call graph object supporting the specified 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.
- 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.EnumType
- canBeCalled() - Method in class com.google.javascript.rhino.jstype.TemplateType
- canBeCalled() - Method in class com.google.javascript.rhino.jstype.UnionType
- canBeCalled() - Method in class com.google.javascript.rhino.jstype.UnknownType
- canCastTo(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Tests whether values of
this
type can be safely assigned to values ofthat
type. - 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
andthat
are meaningfully comparable. - canTestForShallowEqualityWith(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Tests whether
this
andthat
are meaningfully comparable using shallow comparison. - Case - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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 class com.google.javascript.rhino.jstype.ModificationVisitor
- caseAllType() - Method in interface com.google.javascript.rhino.jstype.Visitor
-
All type's case.
- caseBooleanType() - Method in class com.google.javascript.rhino.jstype.ModificationVisitor
- caseBooleanType() - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Boolean value type's case.
- caseCanonicalize(char) - Static method in class com.google.javascript.jscomp.regex.CaseCanonicalize
-
Returns the case canonical version of the given code-unit.
- caseCanonicalize(String) - Static method in class com.google.javascript.jscomp.regex.CaseCanonicalize
-
Returns the case canonical version of the given string.
- CaseCanonicalize - Class in com.google.javascript.jscomp.regex
-
Implements the ECMAScript 5 Canonicalize operation used to specify how case-insensitive regular expressions match.
- caseEnumElementType(EnumElementType) - Method in class com.google.javascript.rhino.jstype.ModificationVisitor
- caseEnumElementType(EnumElementType) - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Enum element type's case.
- caseFunctionType(FunctionType) - Method in class com.google.javascript.rhino.jstype.ModificationVisitor
- 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 class com.google.javascript.rhino.jstype.ModificationVisitor
- caseNoObjectType() - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Bottom Object type's case.
- caseNoType() - Method in class com.google.javascript.rhino.jstype.ModificationVisitor
- caseNoType() - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Bottom type's case.
- caseNullType() - Method in class com.google.javascript.rhino.jstype.ModificationVisitor
- caseNullType() - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Null type's case.
- caseNumberType() - Method in class com.google.javascript.rhino.jstype.ModificationVisitor
- caseNumberType() - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Number value type's case.
- caseObjectType(ObjectType) - Method in class com.google.javascript.rhino.jstype.ModificationVisitor
- caseObjectType(ObjectType) - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Object type's case.
- caseStringType() - Method in class com.google.javascript.rhino.jstype.ModificationVisitor
- caseStringType() - Method in interface com.google.javascript.rhino.jstype.Visitor
-
String value type's case.
- caseTemplateType(TemplateType) - Method in class com.google.javascript.rhino.jstype.ModificationVisitor
- caseTemplateType(TemplateType) - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Template type's case.
- caseTemplatizedType(TemplatizedType) - Method in class com.google.javascript.rhino.jstype.ModificationVisitor
- caseTemplatizedType(TemplatizedType) - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Templatized type's case.
- caseUnionType(UnionType) - Method in class com.google.javascript.rhino.jstype.ModificationVisitor
- caseUnionType(UnionType) - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Union type's case.
- caseUnknownType() - Method in class com.google.javascript.rhino.jstype.ModificationVisitor
- caseUnknownType() - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Unknown type's case.
- caseVoidType() - Method in class com.google.javascript.rhino.jstype.ModificationVisitor
- 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.
- cast(Node) - Static method in class com.google.javascript.rhino.IR
- CAST - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- CATCH - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- CatchClause - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- catchNode(Node, Node) - Static method in class com.google.javascript.rhino.IR
- ChainableReverseAbstractInterpreter - Class in com.google.javascript.jscomp.type
-
Chainable reverse abstract interpreter providing basic functionality.
- ChainableReverseAbstractInterpreter(CodingConvention, JSTypeRegistry) - Constructor for class com.google.javascript.jscomp.type.ChainableReverseAbstractInterpreter
-
Constructs an interpreter, which is the only link in a chain.
- changes - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
- charAt(int) - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
- CHARSET - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- check() - Method in class com.google.javascript.jscomp.Compiler
- check(Node, boolean) - Method in class com.google.javascript.jscomp.TypeCheck
- CHECK - Enum constant in enum com.google.javascript.jscomp.CompilerOptions.TweakProcessing
- CHECK_PROVIDES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- CHECK_REGEXP - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- CHECK_STRUCT_DICT_INHERITENCE - 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 - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
-
A checked unknown type is a type that we know something about, but we're not really sure what we know about it.
- CHECKED_UNKNOWN_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- checkEquivalenceHelper(TemplateTypeMap, EquivalenceMethod) - Method in class com.google.javascript.rhino.jstype.TemplateTypeMap
-
Determines if this map and the specified map have equivalent template types.
- 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
- checkModuleName(String) - Method in class com.google.javascript.jscomp.CommandLineRunner
-
Validates the module name.
- 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 node'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
-
name of function(<string>); used to inform the harness about the app name
- 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
-
Deprecated.
- 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
-
The column position on the line.
- clearColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
The column number on the line.
- clearCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string compiled_source = 8;
- clearCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string compiled_source = 103;
- clearDeclarationToRemove() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
- 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
-
repeated group Entry = 1 { ...
- clearField(Descriptors.FieldDescriptor) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
- clearId() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required int32 id = 2;
- clearIdentifier() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
The original name of the identifier.
- clearInit() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
Definition of functions used to report module contents and function calls.
- clearLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
The line number of the generated code.
- clearLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
The line in the original file.
- clearLineNumber() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required int32 line_number = 4;
- clearModule() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- clearModuleName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string module_name = 5;
- clearName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string name = 7;
- clearName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string name = 102;
- clearNamedTypes() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Flushes out the current resolved and unresolved 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
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
- clearOriginalFile() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
The original source file.
- clearOriginalMapping() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
The original mapping for this line mapping.
- clearReportCall() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
name of function(ID = <numeric function id>); used to inform the harness about a function call
- clearReportDefined() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
- clearReportExit() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.
- 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
-
required int32 size = 6;
- clearSourceName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string source_name = 3;
- clearTemplateTypeNames() - 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
- cloneWithoutArrowType() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Create a new constructor with the parameters and return type stripped.
- CLOSURE - Enum constant in enum com.google.javascript.jscomp.JsMessage.Style
- 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
- ClosureCodingConvention.AssertInstanceofSpec - Class in com.google.javascript.jscomp
-
A function that will throw an exception when if the value is not an instanceof a specific type.
- closurePass - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Processes goog.provide() and goog.require() calls
- ClosureReverseAbstractInterpreter - Class in com.google.javascript.jscomp.type
-
A reverse abstract interpreter (RAI) for specific closure patterns such as
goog.isDef
. - ClosureReverseAbstractInterpreter(CodingConvention, JSTypeRegistry) - Constructor for class com.google.javascript.jscomp.type.ClosureReverseAbstractInterpreter
-
Creates a
ClosureReverseAbstractInterpreter
. - 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.
- CODE_URL - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- CodeBuilder() - Constructor for class com.google.javascript.jscomp.Compiler.CodeBuilder
- 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.Bind - Class in com.google.javascript.jscomp
- 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.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.
- 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.TemplateType
- 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 usingAnnotatable.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.jscomp.type - package com.google.javascript.jscomp.type
-
Provides type-checking data structures and algorithms.
- com.google.javascript.jscomp.webservice.common - package com.google.javascript.jscomp.webservice.common
- 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
- COMPILATION_ERROR - Enum constant in enum com.google.javascript.jscomp.jsonml.ErrorLevel
- COMPILATION_LEVEL - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- COMPILATION_WARNING - Enum constant in enum com.google.javascript.jscomp.jsonml.ErrorLevel
- CompilationLevel - Enum in com.google.javascript.jscomp
-
A CompilationLevel represents the level of optimization that should be applied when compiling JavaScript code.
- compile(JsonML) - Method in class com.google.javascript.jscomp.jsonml.SecureCompiler
- compile(JSSourceFile[], JSModule[], CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Deprecated.Convert your arrays to lists and use the list-based compileModules method.
- compile(JSSourceFile[], JSSourceFile[], CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Deprecated.Convert your arrays to lists and use the list-based compile method.
- compile(JSSourceFile, JSModule[], CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Deprecated.Convert your arrays to lists and use the list-based compileModules method.
- compile(SourceFile, JSSourceFile[], CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Deprecated.Convert your arrays to lists and use the list-based API.
- compile(SourceFile, SourceFile, CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
- compile(List<T1>, List<T2>, CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Compiles a list of inputs.
- COMPILE_TIME_TAG - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- COMPILED_CODE - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.OutputInfoKey
- COMPILED_CODE_TAG - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- 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(ErrorManager) - Constructor for class com.google.javascript.jscomp.Compiler
-
Creates a Compiler that uses a custom error manager.
- Compiler(PrintStream) - Constructor for class com.google.javascript.jscomp.Compiler
-
Creates a Compiler that reports errors and warnings to an output stream.
- COMPILER_EXCEPTION - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- Compiler.CodeBuilder - Class in com.google.javascript.jscomp
-
Stores a buffer of text to which more can be appended.
- 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, InputId, boolean) - Constructor for class com.google.javascript.jscomp.CompilerInput
- CompilerInput(SourceAst, String, 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 JS Compiler to report aliases used to change the code during a compile.
- CompilerOptions.AliasTransformationHandler - Interface in com.google.javascript.jscomp
-
A Role Specific Interface for JS Compiler 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
- completeScope(StaticScope<JSType>) - Method in interface com.google.javascript.jscomp.type.FlowScope
-
Look through the given scope, and try to find slots where it doesn't have enough type information.
- ComposeWarningsGuard - Class in com.google.javascript.jscomp
-
WarningsGuard that represents just a chain of other guards.
- ComposeWarningsGuard(WarningsGuard...) - Constructor for class com.google.javascript.jscomp.ComposeWarningsGuard
- ComposeWarningsGuard(List<WarningsGuard>) - Constructor for class com.google.javascript.jscomp.ComposeWarningsGuard
- COMPRESSED_GZIP_SIZE_TAG - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- COMPRESSED_SIZE_TAG - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- 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>, Set<N>) - Method in class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
-
Compute a fixed point for the given graph, entering from the given nodes.
- 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.
- computeFunctionSideEffects - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Use @nosideeffects annotations, function bodies and name graph to determine if calls have side effects.
- ConditionalExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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
- ContinueStmt - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- convention - Variable in class com.google.javascript.jscomp.type.ChainableReverseAbstractInterpreter
- 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.
- CountExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- create() - Static method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- create() - Static method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
- createAnonymousObjectType(JSDocInfo) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Create an anonymous object type.
- createChildFlowScope() - Method in interface com.google.javascript.jscomp.type.FlowScope
-
Creates a child of this flow scope, to represent an instruction directly following this one.
- 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, boolean, JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a function type which can act as a constructor.
- createConstructorType(JSType, 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, ImmutableList<String>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a constructor function type.
- 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, boolean, JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a function type.
- createFunctionType(JSType, 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
- 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. - 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, JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a function type.
- createFunctionTypeWithVarArgs(JSType, List<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. - createInputs(List<String>, boolean) - Method in class com.google.javascript.jscomp.CommandLineRunner
-
Creates inputs from a list of files.
- createInterfaceType(String, Node) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates an interface function type.
- 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 nullable 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
- createParameters(JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a tree hierarchy representing a typed argument list.
- createParameters(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.
- createParametersWithVarArgs(List<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
- createTemplateType(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- createTemplateTypeMap(ImmutableList<TemplateType>, ImmutableList<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a template type map from the specified list of template keys and template value types.
- createTemplatizedType(ObjectType, ImmutableList<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a templatized instance of the specified type.
- createTemplatizedType(ObjectType, ImmutableList<JSType>) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- createTemplatizedType(ObjectType, JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a templatized instance of the specified type.
- createTemplatizedType(ObjectType, JSType...) - 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(JSType...) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- createUnionType(JSTypeNative...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a union type whose variants are the built-in types specified by the arguments.
- 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 methods 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.ByWhole - Class in com.google.javascript.jscomp
- 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
- DataProp - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- DATE_FUNCTION_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- DATE_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- DATE_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- 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
- DebuggerStmt - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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.
- declareNameInScope(FlowScope, Node, JSType) - Method in class com.google.javascript.jscomp.type.ChainableReverseAbstractInterpreter
-
Declares a refined type in
scope
for the name represented bynode
. - 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 - Enum constant in enum com.google.debugging.sourcemap.SourceMapFormat
-
The latest "stable" format
- DEFAULT - Enum constant in enum com.google.javascript.jscomp.SourceMap.Format
- DEFAULT - Enum constant in enum com.google.javascript.jscomp.WarningLevel
- DEFAULT - Enum constant in enum com.google.javascript.jscomp.WarningsGuard.Priority
- DEFAULT - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.WarningLevelKey
- 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
- DefaultCase - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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 explicitly declared by the programmer.
- defineDelegateProxyPrototypeProperties(JSTypeRegistry, StaticScope<JSType>, List<ObjectType>, Map<String, String>) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Defines the delegate proxy prototype properties.
- defineDelegateProxyPrototypeProperties(JSTypeRegistry, StaticScope<JSType>, 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
- defineSynthesizedProperty(String, JSType, Node) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Defines a property whose type is on a synthesized object.
- DeleteExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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(Function<String, String>, ErrorManager) - Constructor for class com.google.javascript.jscomp.deps.DepsFileParser
- DepsFileParser(ErrorManager) - Constructor for class com.google.javascript.jscomp.deps.DepsFileParser
-
Constructor
- 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.
- DepsGenerator.InclusionStrategy - Enum in com.google.javascript.jscomp.deps
- dereference() - Method in class com.google.javascript.rhino.jstype.JSType
-
Dereference a type for property access.
- 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
- describeFunctionBind(Node, boolean) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
- describeFunctionBind(Node, boolean) - Method in interface com.google.javascript.jscomp.CodingConvention
-
A Bind instance or null.
- describeFunctionBind(Node, boolean) - 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(DiagnosticGroup...) - Constructor for class com.google.javascript.jscomp.DiagnosticGroup
-
Create a composite group.
- DiagnosticGroup(DiagnosticType...) - Constructor for class com.google.javascript.jscomp.DiagnosticGroup
-
Create a group that matches all errors of the given types.
- 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 for the purposes of data flow analysis. - 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
- DIRECTIVE - Enum constant in enum com.google.javascript.jscomp.jsonml.TagAttr
- 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.
- DO_NOT_DUPLICATE - Enum constant in enum com.google.javascript.jscomp.deps.DepsGenerator.InclusionStrategy
- doNode(Node, Node) - Static method in class com.google.javascript.rhino.IR
- doRun() - Method in class com.google.javascript.jscomp.CommandLineRunner
-
Parses command-line arguments and runs the compiler.
- DotFormatter - Class in com.google.javascript.jscomp
-
DotFormatter prints out a dot file of the Abstract Syntax Tree.
- DoWhileStmt - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- DOWNLOAD_OVER_QUOTA - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- DUPLICATE_MESSAGE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- DUPLICATE_VARS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
E
- ECMASCRIPT3 - Enum constant in enum com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
Traditional JavaScript
- ECMASCRIPT3 - Enum constant in enum com.google.javascript.jscomp.parsing.Config.LanguageMode
- ECMASCRIPT5 - Enum constant in enum com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
Shiny new JavaScript
- ECMASCRIPT5 - Enum constant in enum com.google.javascript.jscomp.parsing.Config.LanguageMode
- ECMASCRIPT5_STRICT - Enum constant in enum com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
Nitpicky, shiny new JavaScript
- ECMASCRIPT5_STRICT - Enum constant in enum com.google.javascript.jscomp.parsing.Config.LanguageMode
- edge - Variable in class com.google.javascript.jscomp.graph.GraphReachability.EdgeTuple
- EdgeTuple(N, E, N) - Constructor for 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 - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- EMPTY - Enum constant in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
- 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
- EmptyStmt - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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 run-time 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.
- END_COLUMN - Enum constant in enum com.google.javascript.jscomp.jsonml.TagAttr
- END_LINE - Enum constant in enum com.google.javascript.jscomp.jsonml.TagAttr
- 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.debugging.sourcemap.proto.Mapping.LineMapping
- equals(Object) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- 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.FunctionInformationMap.Entry
- equals(Object) - Method in class com.google.javascript.jscomp.FunctionInformationMap
- equals(Object) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- equals(Object) - Method in class com.google.javascript.jscomp.graph.GraphColoring.Color
- equals(Object) - Method in class com.google.javascript.jscomp.Instrumentation
- 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, 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(String, String, int, String, int) - Method in class com.google.javascript.jscomp.testing.TestErrorReporter
- ERROR - Enum constant in enum com.google.javascript.jscomp.CheckLevel
- ERROR - Enum constant in enum com.google.javascript.jscomp.CheckLevelLegacy
- ERROR - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ERROR_CHAR_ATTR - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- ERROR_FILE_ATTR - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- ERROR_FUNCTION_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- ERROR_LINE_ATTR - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- ERROR_LINE_NO_ATTR - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- ERROR_TAG - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- ERROR_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- ERROR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- ERROR_TYPE_ATTR - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- ErrorCode - Enum in com.google.javascript.jscomp.webservice.common
-
Enum of all the possible error described in the Web Service protocol.
- 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
WarningsGuard
s. - 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 - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- ErrorReporter - Interface in com.google.javascript.rhino
-
This is interface defines a protocol for the reporting of errors during JavaScript translation or execution.
- 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. - ERRORS - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.OutputInfoKey
- ERRORS_TAG - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- 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 - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- EVAL_ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- EVAL_ERROR_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- EVAL_ERROR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- EvalExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- evaluate(StaticScope<JSType>, JSTypeRegistry) - Method in class com.google.javascript.rhino.JSTypeExpression
-
Evaluates the type expression into a
JSType
object. - exceptPath(List<String>, CheckLevel) - Static method in class com.google.javascript.jscomp.ByPathWarningsGuard
- EXCLUDE - Enum constant in enum com.google.javascript.jscomp.ShowByPathWarningsGuard.ShowType
- EXCLUDE_DEFAULT_EXTERNS - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- 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_CODE - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- EXTERNS_URL - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- 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
-
Extracts 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
-
Extracts 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
- FALLBACK_MAX_INPUT_SIZE - Static variable in class com.google.javascript.jscomp.webservice.common.Protocol
-
Fallback value in case no setting is provided.
- FALSE - Enum constant in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
- FALSE - Enum constant in enum com.google.javascript.rhino.jstype.TernaryValue
-
false
- 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
- FILE_TOO_LARGE - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- FileLevelJsDocBuilder() - Constructor for class com.google.javascript.rhino.Node.FileLevelJsDocBuilder
- filenameToOutputStream(String) - Method in class com.google.javascript.jscomp.CommandLineRunner
-
Converts a file name into a Outputstream.
- 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
- FILTER_BY_PATH - Enum constant in enum com.google.javascript.jscomp.WarningsGuard.Priority
- 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.
- 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.TemplateType
- findPropertyType(String) - Method in class com.google.javascript.rhino.jstype.UnionType
- findUniqueRefinedSlot(FlowScope) - Method in interface com.google.javascript.jscomp.type.FlowScope
-
Tries to find a unique refined variable in the refined scope, up to the the blind scope.
- firstPreciserScopeKnowingConditionOutcome(Node, FlowScope, boolean) - Method in class com.google.javascript.jscomp.type.ChainableReverseAbstractInterpreter
-
Calculates the preciser scope starting with the first link.
- 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
- FLAGS - Enum constant in enum com.google.javascript.jscomp.jsonml.TagAttr
- FlowScope - Interface in com.google.javascript.jscomp.type
-
A symbol table for inferring types during data flow analysis.
- 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
- ForInStmt - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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.
- FORMATTING - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- 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
- forPath(List<String>, CheckLevel) - Static method in class com.google.javascript.jscomp.ByPathWarningsGuard
- ForStmt - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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
- fromBase64(char) - Static method in class com.google.debugging.sourcemap.Base64
- 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
-
Deprecated.
- 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(File) - Static method in class com.google.javascript.jscomp.JSSourceFile
-
Deprecated.
- 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.
- fromFile(File, Charset) - Static method in class com.google.javascript.jscomp.JSSourceFile
-
Deprecated.
- fromFile(File, Charset) - Static method in class com.google.javascript.jscomp.SourceFile
- fromFile(String) - Static method in class com.google.javascript.jscomp.JSSourceFile
-
Deprecated.
- fromFile(String) - Static method in class com.google.javascript.jscomp.SourceFile
- fromFile(String, Charset) - Static method in class com.google.javascript.jscomp.JSSourceFile
-
Deprecated.
- fromFile(String, Charset) - Static method in class com.google.javascript.jscomp.SourceFile
- fromGenerator(String, SourceFile.Generator) - Static method in class com.google.javascript.jscomp.JSSourceFile
-
Deprecated.
- 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
-
Deprecated.
- 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
- fromString(String) - Static method in enum com.google.javascript.jscomp.CompilerOptions.LanguageMode
- 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 - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- FUNCTION_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- FUNCTION_INSTANCE_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- FUNCTION_INSTANCE_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- FUNCTION_PROTOTYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- 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
- FunctionDecl - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- FunctionExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- FunctionInfo - Class in com.google.javascript.jscomp
- functionInformationMap - Variable in class com.google.javascript.jscomp.Result
- FunctionInformationMap - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.FunctionInformationMap
- FunctionInformationMap.Builder - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.FunctionInformationMap
- FunctionInformationMap.Entry - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.FunctionInformationMap.Entry
- FunctionInformationMap.Entry.Builder - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.FunctionInformationMap.Entry
- FunctionInformationMap.EntryOrBuilder - Interface in com.google.javascript.jscomp
- FunctionInformationMap.Module - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.FunctionInformationMap.Module
- FunctionInformationMap.Module.Builder - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.FunctionInformationMap.Module
- FunctionInformationMap.ModuleOrBuilder - Interface in com.google.javascript.jscomp
- FunctionInformationMapOrBuilder - Interface in com.google.javascript.jscomp
- functionName - Variable in class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
- 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.
- GenerateNodeContext(Node, Node, Node) - Constructor for class com.google.javascript.jscomp.FindExportableNodes.GenerateNodeContext
- 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(boolean) - Static method in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
-
Returns the singleton set {literalValue}.
- 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(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 - 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
-
name of function(<string>); used to inform the harness about the app name
- getAppNameSetter() - Method in class com.google.javascript.jscomp.Instrumentation
-
name of function(<string>); used to inform the harness about the app name
- getAppNameSetter() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
name of function(<string>); used to inform the harness about the app name
- getAppNameSetterBytes() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
name of function(<string>); used to inform the harness about the app name
- getAppNameSetterBytes() - Method in class com.google.javascript.jscomp.Instrumentation
-
name of function(<string>); used to inform the harness about the app name
- getAppNameSetterBytes() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
name of function(<string>); used to inform the harness about the app name
- 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(Node, JSTypeRegistry) - Method in class com.google.javascript.jscomp.ClosureCodingConvention.AssertInstanceofSpec
-
Returns the type for a type assertion, or null if the function asserts that the node must not be null or undefined.
- getAssertedType(Node, JSTypeRegistry) - 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
- getCheckDeterminism() - Method in class com.google.javascript.jscomp.CompilerOptions
- 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
- getClassTemplateTypeNames() - Method in class com.google.javascript.rhino.JSDocInfo
- getCode() - Method in class com.google.javascript.jscomp.CompilerInput
- getCode() - Method in class com.google.javascript.jscomp.JSSourceFile
-
Deprecated.
- 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.
- getCode() - Method in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- getCodeReader() - Method in class com.google.javascript.jscomp.SourceFile
-
Gets a reader for the code in this source file.
- 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
- getColumnOfOffset(int) - Method in class com.google.javascript.jscomp.SourceFile
- getColumnOfOffset(int) - Method in class com.google.javascript.rhino.jstype.SimpleSourceFile
- getColumnOfOffset(int) - Method in interface com.google.javascript.rhino.jstype.StaticSourceFile
-
Gets the 0-based column number of the given source offset.
- getColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
The column position on the line.
- getColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
The column position on the line.
- getColumnPosition() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
-
The column position on the line.
- getColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
The column number on the line.
- getColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
The column number on the line.
- getColumnPosition() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
The column number on the line.
- getCommandLineConfig() - Method in class com.google.javascript.jscomp.CommandLineRunner
-
Get the command line config, so that it can be initialized.
- getCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string compiled_source = 8;
- getCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string compiled_source = 8;
- getCompiledSource() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string compiled_source = 8;
- getCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string compiled_source = 103;
- getCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
required string compiled_source = 103;
- getCompiledSource() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder
-
required string compiled_source = 103;
- getCompiledSourceBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string compiled_source = 8;
- getCompiledSourceBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string compiled_source = 8;
- getCompiledSourceBytes() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string compiled_source = 8;
- getCompiledSourceBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string compiled_source = 103;
- getCompiledSourceBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
required string compiled_source = 103;
- getCompiledSourceBytes() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder
-
required string compiled_source = 103;
- getCompiler() - Method in class com.google.javascript.jscomp.CommandLineRunner
- 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.FunctionType
- getConstructor() - Method in class com.google.javascript.rhino.jstype.TemplateType
- 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.
- getCtorExtendedInterfaces() - Method in class com.google.javascript.rhino.jstype.NoType
- getCtorImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Gets the interfaces implemented by the ctor associated with this type.
- getCtorImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.NoType
- getCtorImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.TemplateType
- 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.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
-
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
- getDeclarationToRemove(int) - Method in class com.google.javascript.jscomp.Instrumentation
-
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
- getDeclarationToRemove(int) - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
- getDeclarationToRemoveBytes(int) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
- getDeclarationToRemoveBytes(int) - Method in class com.google.javascript.jscomp.Instrumentation
-
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
- getDeclarationToRemoveBytes(int) - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
- getDeclarationToRemoveCount() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
- getDeclarationToRemoveCount() - Method in class com.google.javascript.jscomp.Instrumentation
-
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
- getDeclarationToRemoveCount() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
- getDeclarationToRemoveList() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
- getDeclarationToRemoveList() - Method in class com.google.javascript.jscomp.Instrumentation
-
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
- getDeclarationToRemoveList() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
- 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.CommandLineRunner
-
The warning classes that are available from the command-line.
- getDiagnosticGroups() - Method in class com.google.javascript.jscomp.Compiler
-
The warning classes that are available from the command-line, and are suppressible 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(DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- getDirectedPredNodes(N) - Method in class com.google.javascript.jscomp.graph.DiGraph
- getDirectedPredNodes(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- getDirectedSuccNodes(DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.DiGraph
- getDirectedSuccNodes(DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- getDirectedSuccNodes(N) - Method in class com.google.javascript.jscomp.graph.DiGraph
- getDirectedSuccNodes(N) - 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() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- getEdges() - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
- 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(N, N) - 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
-
repeated group Entry = 1 { ...
- getEntry(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Entry = 1 { ...
- getEntry(int) - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Entry = 1 { ...
- getEntryBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- getEntryBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- getEntryCount() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- getEntryCount() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Entry = 1 { ...
- getEntryCount() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Entry = 1 { ...
- getEntryList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- getEntryList() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Entry = 1 { ...
- getEntryList() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Entry = 1 { ...
- getEntryOrBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- getEntryOrBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Entry = 1 { ...
- getEntryOrBuilder(int) - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Entry = 1 { ...
- getEntryOrBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- getEntryOrBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Entry = 1 { ...
- getEntryOrBuilderList() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Entry = 1 { ...
- getEnumParameterType() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the enum parameter type specified by the
@enum
annotation. - getErrorCode() - Method in exception com.google.javascript.jscomp.webservice.common.AbstractWebServiceException
- 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
- getErrorPrintStream() - Method in class com.google.javascript.jscomp.CommandLineRunner
-
Returns the PrintStream for writing errors associated with this AbstractCommandLineRunner.
- 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.
- getFirst() - Method in class com.google.javascript.jscomp.type.ChainableReverseAbstractInterpreter
-
Gets the first link of this chain.
- 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
- getFormattedError() - Method in exception com.google.javascript.jscomp.webservice.common.AbstractWebServiceException
- 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
andthat
. - getGreatestSubtypeWithProperty(JSType, String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Gets the greatest subtype of the
type
that has a propertypropertyName
defined on it. - getGroup() - Method in class com.google.javascript.jscomp.ant.Warning
- getGzSize() - Method in class com.google.javascript.jscomp.PerformanceTracker
- getId() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required int32 id = 2;
- getId() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required int32 id = 2;
- getId() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required int32 id = 2;
- 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
-
The original name of the identifier.
- getIdentifier() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
The original name of the identifier.
- getIdentifier() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
The original name of the identifier.
- getIdentifierBytes() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
The original name of the identifier.
- getIdentifierBytes() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
The original name of the identifier.
- getIdentifierBytes() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
The original name of the identifier.
- 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.FunctionType
- getImplicitPrototype() - Method in class com.google.javascript.rhino.jstype.TemplateType
- 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.
- getIndirectlyDeclaredProperties() - Method in class com.google.javascript.jscomp.ClosureCodingConvention
- getIndirectlyDeclaredProperties() - Method in interface com.google.javascript.jscomp.CodingConvention
-
Gets a collection of all properties that are defined indirectly on global objects.
- getIndirectlyDeclaredProperties() - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
- 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
-
Definition of functions used to report module contents and function calls.
- getInit(int) - Method in class com.google.javascript.jscomp.Instrumentation
-
Definition of functions used to report module contents and function calls.
- getInit(int) - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
Definition of functions used to report module contents and function calls.
- getInitBytes(int) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
Definition of functions used to report module contents and function calls.
- getInitBytes(int) - Method in class com.google.javascript.jscomp.Instrumentation
-
Definition of functions used to report module contents and function calls.
- getInitBytes(int) - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
Definition of functions used to report module contents and function calls.
- getInitCount() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
Definition of functions used to report module contents and function calls.
- getInitCount() - Method in class com.google.javascript.jscomp.Instrumentation
-
Definition of functions used to report module contents and function calls.
- getInitCount() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
Definition of functions used to report module contents and function calls.
- getInitialValue() - Method in class com.google.javascript.jscomp.Scope.Var
- getInitList() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
Definition of functions used to report module contents and function calls.
- getInitList() - Method in class com.google.javascript.jscomp.Instrumentation
-
Definition of functions used to report module contents and function calls.
- getInitList() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
Definition of functions used to report module contents and function calls.
- getInput() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Gets the current input source.
- getInput(InputId) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Looks up an input (possibly an externs input) by input id.
- getInput(InputId) - Method in class com.google.javascript.jscomp.Compiler
- 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() - 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
- getInputId(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- 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.
- getIntermediateState() - Method in class com.google.javascript.jscomp.DefaultPassConfig
- getIntermediateState() - Method in class com.google.javascript.jscomp.PassConfig
-
Get intermediate state for a running pass config, so it can be paused and started again later.
- 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.
- 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.Property
- getJSDocInfo() - Method in class com.google.javascript.rhino.jstype.TemplateType
- 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
andthat
. - 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
-
The line number of the generated code.
- getLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
The line number of the generated code.
- getLineNumber() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
-
The line number of the generated code.
- getLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
The line in the original file.
- getLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
The line in the original file.
- getLineNumber() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
The line in the original file.
- getLineNumber() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required int32 line_number = 4;
- getLineNumber() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required int32 line_number = 4;
- getLineNumber() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required int32 line_number = 4;
- getLineNumber() - Method in class com.google.javascript.jscomp.JSError
-
Get the line number.
- 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.
- getLineOfOffset(int) - Method in class com.google.javascript.jscomp.SourceFile
- getLineOfOffset(int) - Method in class com.google.javascript.rhino.jstype.SimpleSourceFile
- getLineOfOffset(int) - Method in interface com.google.javascript.rhino.jstype.StaticSourceFile
-
Gets the 1-based line number of the given source offset.
- 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() - Method in exception com.google.javascript.jscomp.JSModuleGraph.ModuleDependenceException
- getModule() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Gets the current input module.
- getModule(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- getModule(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Module = 101 { ...
- getModule(int) - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Module = 101 { ...
- getModuleBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- getModuleBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- getModuleCount() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- getModuleCount() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Module = 101 { ...
- getModuleCount() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Module = 101 { ...
- getModuleList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- getModuleList() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Module = 101 { ...
- getModuleList() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Module = 101 { ...
- getModuleName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string module_name = 5;
- getModuleName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string module_name = 5;
- getModuleName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string module_name = 5;
- getModuleNameBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string module_name = 5;
- getModuleNameBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string module_name = 5;
- getModuleNameBytes() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string module_name = 5;
- getModuleOrBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- getModuleOrBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Module = 101 { ...
- getModuleOrBuilder(int) - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Module = 101 { ...
- getModuleOrBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- getModuleOrBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Module = 101 { ...
- getModuleOrBuilderList() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Module = 101 { ...
- 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
-
required string name = 7;
- getName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string name = 7;
- getName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string name = 7;
- getName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string name = 102;
- getName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
required string name = 102;
- getName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder
-
required string name = 102;
- 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.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.
- getNameBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string name = 7;
- getNameBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string name = 7;
- getNameBytes() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string name = 7;
- getNameBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string name = 102;
- getNameBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
required string name = 102;
- getNameBytes() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder
-
required string name = 102;
- 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(DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- 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(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() - 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.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.
- 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
- 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
- getObjectElementKey() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- getObjectIndexKey() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- getObjectLiteralCast(Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
- getObjectLiteralCast(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(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
- getOldParseTreeByName(String) - Method in class com.google.javascript.jscomp.Compiler
- 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
-
The original source file.
- getOriginalFile() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
The original source file.
- getOriginalFile() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
The original source file.
- getOriginalFileBytes() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
The original source file.
- getOriginalFileBytes() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
The original source file.
- getOriginalFileBytes() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
The original source file.
- getOriginalMapping() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
The original mapping for this line mapping.
- getOriginalMapping() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
The original mapping for this line mapping.
- getOriginalMapping() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
-
The original mapping for this line mapping.
- getOriginalMappingBuilder() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
The original mapping for this line mapping.
- getOriginalMappingOrBuilder() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
The original mapping for this line mapping.
- getOriginalMappingOrBuilder() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
The original mapping for this line mapping.
- getOriginalMappingOrBuilder() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
-
The original mapping for this line mapping.
- 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.
- getOwnerFunction() - Method in class com.google.javascript.rhino.jstype.NoType
- getOwnerFunction() - Method in class com.google.javascript.rhino.jstype.TemplateType
- 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.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.
- 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
- getParserForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
- getParserForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- getParserForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- getParserForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap
- getParserForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- getParserForType() - Method in class com.google.javascript.jscomp.Instrumentation
- 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 registered 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
- getPreciserScopeKnowingConditionOutcome(Node, FlowScope, boolean) - Method in class com.google.javascript.jscomp.type.ClosureReverseAbstractInterpreter
- getPreciserScopeKnowingConditionOutcome(Node, FlowScope, boolean) - Method in interface com.google.javascript.jscomp.type.ReverseAbstractInterpreter
-
Calculates a precise version of the scope knowing the outcome of the condition.
- getPreciserScopeKnowingConditionOutcome(Node, FlowScope, boolean) - Method in class com.google.javascript.jscomp.type.SemanticReverseAbstractInterpreter
- 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.ByPathWarningsGuard
- 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.ObjectType
-
Gets the number of properties of this object.
- getPropertyMap() - Method in class com.google.javascript.rhino.jstype.EnumElementType
- 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.FunctionType
- getPropertyType(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Gets the property type of the property whose name is given.
- 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.
- getReferencedType() - Method in class com.google.javascript.rhino.jstype.TemplatizedType
- 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.EnumType
- getReferenceName() - Method in class com.google.javascript.rhino.jstype.TemplatizedType
- getReferenceName() - Method in class com.google.javascript.rhino.jstype.TemplateType
- getReferenceName() - Method in class com.google.javascript.rhino.jstype.UnknownType
- getReferences() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns the list of references or null if none.
- getReferences(Scope.Var) - Method in class com.google.javascript.jscomp.Scope
- getReferences(SymbolTable.Symbol) - Method in class com.google.javascript.jscomp.SymbolTable
- 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
- getReleaseDate() - Static method in class com.google.javascript.jscomp.Compiler
-
Returns the compiler date baked into the jar.
- getReleaseVersion() - Static method in class com.google.javascript.jscomp.Compiler
-
Returns the compiler version baked into the jar.
- 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
-
name of function(ID = <numeric function id>); used to inform the harness about a function call
- getReportCall() - Method in class com.google.javascript.jscomp.Instrumentation
-
name of function(ID = <numeric function id>); used to inform the harness about a function call
- getReportCall() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
name of function(ID = <numeric function id>); used to inform the harness about a function call
- getReportCallBytes() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
name of function(ID = <numeric function id>); used to inform the harness about a function call
- getReportCallBytes() - Method in class com.google.javascript.jscomp.Instrumentation
-
name of function(ID = <numeric function id>); used to inform the harness about a function call
- getReportCallBytes() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
name of function(ID = <numeric function id>); used to inform the harness about a function call
- getReportDefined() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
- getReportDefined() - Method in class com.google.javascript.jscomp.Instrumentation
-
name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
- getReportDefined() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
- getReportDefinedBytes() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
- getReportDefinedBytes() - Method in class com.google.javascript.jscomp.Instrumentation
-
name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
- getReportDefinedBytes() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
- getReportExit() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.
- getReportExit() - Method in class com.google.javascript.jscomp.Instrumentation
-
name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.
- getReportExit() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.
- getReportExitBytes() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.
- getReportExitBytes() - Method in class com.google.javascript.jscomp.Instrumentation
-
name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.
- getReportExitBytes() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.
- 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.
- getReservedVars() - Static method in class com.google.javascript.jscomp.parsing.ParserRunner
- getResponseParam() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.ApiKeyResponse
-
Name of the key as it appears in the JSON.
- getResponseTag() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- 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 oftype
have been removed. - getRestrictedWithoutNull(JSType) - Method in class com.google.javascript.jscomp.type.ChainableReverseAbstractInterpreter
-
Returns a version of type where null is not present.
- getRestrictedWithoutUndefined(JSType) - Method in class com.google.javascript.jscomp.type.ChainableReverseAbstractInterpreter
-
Returns a version of type where undefined is not present.
- 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
- getRuntime() - 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
-
required int32 size = 6;
- getSize() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required int32 size = 6;
- getSize() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required int32 size = 6;
- getSize() - Method in class com.google.javascript.jscomp.PerformanceTracker
- 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.FunctionType
- getSlot(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Default getSlot implementation.
- 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.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() - 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.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.
- getSourceFile(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- 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() - Method in class com.google.javascript.jscomp.Compiler
- getSourceMap(String) - Method in interface com.google.debugging.sourcemap.SourceMapSupplier
- getSourceName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string source_name = 3;
- getSourceName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string source_name = 3;
- getSourceName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string source_name = 3;
- 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() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the name of the source file that contains this JSDoc.
- getSourceName(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- getSourceNameBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string source_name = 3;
- getSourceNameBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string source_name = 3;
- getSourceNameBytes() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string source_name = 3;
- 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.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(EnumType) - Method in class com.google.javascript.jscomp.SymbolTable
-
Gets the symbol for the given enum.
- getSymbolDeclaredBy(FunctionType) - Method in class com.google.javascript.jscomp.SymbolTable
-
Gets the symbol for the given constructor or interface.
- 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.
- getTemplateKeys() - Method in class com.google.javascript.rhino.jstype.TemplateTypeMap
-
Returns a list of all template keys.
- getTemplateType(TemplateType) - Method in class com.google.javascript.rhino.jstype.TemplateTypeMap
-
Returns the JSType value associated with the specified template key.
- getTemplateTypeKeyByName(String) - Method in class com.google.javascript.rhino.jstype.TemplateTypeMap
- getTemplateTypeMap() - Method in class com.google.javascript.rhino.jstype.JSType
-
Returns the template type map associated with this type.
- getTemplateTypeMap() - Method in class com.google.javascript.rhino.jstype.TemplateType
- getTemplateTypeMap() - Method in class com.google.javascript.rhino.jstype.TemplatizedType
- getTemplateTypeNames() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the template type name.
- getTemplateTypes() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Gets the declared default element type.
- getTemplateTypes() - Method in class com.google.javascript.rhino.jstype.TemplateType
- getTemplateTypes() - Method in class com.google.javascript.rhino.jstype.TemplatizedType
- GETTER_DEF - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- GetterProp - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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() - Method in class com.google.javascript.rhino.jstype.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
- getType(StaticScope<JSType>, String, String, int, int) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Looks up a type by name.
- getType(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Looks up a type by name.
- 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
- getTypeIfRefinable(Node, FlowScope) - Method in class com.google.javascript.jscomp.type.ChainableReverseAbstractInterpreter
-
Returns the type of a node in the given scope if the node corresponds to a name whose type is capable of being refined.
- 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 class com.google.javascript.rhino.jstype.TemplateType
- 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
andthat
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
andthat
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
andthat
types under shallow equality. - getTypesUnderShallowInequality(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Computes the subset of
this
andthat
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.
- getUnknownFields() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
- getUnknownFields() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- getUnknownFields() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- getUnknownFields() - Method in class com.google.javascript.jscomp.FunctionInformationMap
- getUnknownFields() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- getUnknownFields() - Method in class com.google.javascript.jscomp.Instrumentation
- 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
- getValue() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.ApiKeyResponse
- getValue() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.CompilationLevelKey
- getValue() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.FormattingKey
- getValue() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.OutputFormatKey
- getValue() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.OutputInfoKey
- getValue() - Method in interface com.google.javascript.jscomp.webservice.common.Protocol.ProtocolEnum
- getValue() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- getValue() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- getValue() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.WarningLevelKey
- 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.
- 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
- GLOBAL_THIS - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- 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 - Variable in class com.google.javascript.jscomp.graph.GraphColoring
- 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.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.
- 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.
- 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 - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- GREATEST_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- GreedyGraphColoring(AdjacencyGraph<N, E>) - Constructor for class com.google.javascript.jscomp.graph.GraphColoring.GreedyGraphColoring
- GreedyGraphColoring(AdjacencyGraph<N, E>, Comparator<N>) - Constructor for class com.google.javascript.jscomp.graph.GraphColoring.GreedyGraphColoring
- 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
- hasAnyTemplateTypes() - Method in class com.google.javascript.rhino.jstype.JSType
- hasAnyTemplateTypesInternal() - Method in class com.google.javascript.rhino.jstype.FunctionType
- hasAnyTemplateTypesInternal() - Method in class com.google.javascript.rhino.jstype.TemplateType
- hasAnyTemplateTypesInternal() - Method in class com.google.javascript.rhino.jstype.TemplatizedType
- hasAnyTemplateTypesInternal() - Method in class com.google.javascript.rhino.jstype.UnionType
- hasAppNameSetter() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
name of function(<string>); used to inform the harness about the app name
- hasAppNameSetter() - Method in class com.google.javascript.jscomp.Instrumentation
-
name of function(<string>); used to inform the harness about the app name
- hasAppNameSetter() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
name of function(<string>); used to inform the harness about the app name
- 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.
- hasCachedValues() - Method in class com.google.javascript.rhino.jstype.EnumType
- 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
-
The column position on the line.
- hasColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
The column position on the line.
- hasColumnPosition() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
-
The column position on the line.
- hasColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
The column number on the line.
- hasColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
The column number on the line.
- hasColumnPosition() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
The column number on the line.
- hasCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string compiled_source = 8;
- hasCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string compiled_source = 8;
- hasCompiledSource() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string compiled_source = 8;
- hasCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string compiled_source = 103;
- hasCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
required string compiled_source = 103;
- hasCompiledSource() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder
-
required string compiled_source = 103;
- 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
- hasDisplayName() - Method in class com.google.javascript.rhino.jstype.VoidType
- 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.
- HASH_MISMATCH - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- hashCode() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
- hashCode() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- hashCode() - Method in class com.google.javascript.jscomp.DiagnosticType
- hashCode() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- hashCode() - Method in class com.google.javascript.jscomp.FunctionInformationMap
- hashCode() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- hashCode() - Method in class com.google.javascript.jscomp.graph.GraphColoring.Color
- hashCode() - Method in class com.google.javascript.jscomp.Instrumentation
- 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.TemplateType
- 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
-
required int32 id = 2;
- hasId() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required int32 id = 2;
- hasId() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required int32 id = 2;
- hasIdentifier() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
The original name of the identifier.
- hasIdentifier() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
The original name of the identifier.
- hasIdentifier() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
The original name of the identifier.
- 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
-
The line number of the generated code.
- hasLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
The line number of the generated code.
- hasLineNumber() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
-
The line number of the generated code.
- hasLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
The line in the original file.
- hasLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
The line in the original file.
- hasLineNumber() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
The line in the original file.
- hasLineNumber() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required int32 line_number = 4;
- hasLineNumber() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required int32 line_number = 4;
- hasLineNumber() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required int32 line_number = 4;
- hasModifies() - Method in class com.google.javascript.rhino.JSDocInfo
- hasModuleName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string module_name = 5;
- hasModuleName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string module_name = 5;
- hasModuleName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string module_name = 5;
- 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
-
required string name = 7;
- hasName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string name = 7;
- hasName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string name = 7;
- hasName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string name = 102;
- hasName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
required string name = 102;
- hasName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder
-
required string name = 102;
- 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
-
The original source file.
- hasOriginalFile() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
The original source file.
- hasOriginalFile() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
The original source file.
- hasOriginalMapping() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
The original mapping for this line mapping.
- hasOriginalMapping() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
The original mapping for this line mapping.
- hasOriginalMapping() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
-
The original mapping for this line mapping.
- 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.JSType
-
Checks whether the property is present on the object.
- hasProperty(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
- hasProperty(String) - Method in class com.google.javascript.rhino.jstype.UnionType
- 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.
- hasReferenceName() - Method in class com.google.javascript.rhino.jstype.NoType
- hasReferenceName() - Method in class com.google.javascript.rhino.jstype.TemplateType
- hasReportCall() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
name of function(ID = <numeric function id>); used to inform the harness about a function call
- hasReportCall() - Method in class com.google.javascript.jscomp.Instrumentation
-
name of function(ID = <numeric function id>); used to inform the harness about a function call
- hasReportCall() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
name of function(ID = <numeric function id>); used to inform the harness about a function call
- hasReportDefined() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
- hasReportDefined() - Method in class com.google.javascript.jscomp.Instrumentation
-
name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
- hasReportDefined() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
- hasReportExit() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.
- hasReportExit() - Method in class com.google.javascript.jscomp.Instrumentation
-
name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.
- hasReportExit() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.
- 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
-
required int32 size = 6;
- hasSize() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required int32 size = 6;
- hasSize() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required int32 size = 6;
- hasSourceName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string source_name = 3;
- hasSourceName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string source_name = 3;
- hasSourceName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string source_name = 3;
- hasTemplateKey(TemplateType) - Method in class com.google.javascript.rhino.jstype.TemplateTypeMap
-
Returns true if this map contains the specified template key, false otherwise.
- hasTemplateType(TemplateType) - Method in class com.google.javascript.rhino.jstype.TemplateTypeMap
-
Returns true if there is a JSType value associated with the specified template key; false otherwise.
- 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
- HEURISTIC - Enum constant in enum com.google.javascript.jscomp.PropertyRenamingPolicy
-
Rename properties heuristically.
- 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
- IdExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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
- IdPatt - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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
- IfStmt - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- ILLEGAL_OUTPUT_FILE_NAME - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- IMMEDIATE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeRegistry.ResolveMode
-
Expressions and type names are evaluated aggressively.
- IN - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- INC - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- INCLUDE - Enum constant in enum com.google.javascript.jscomp.ShowByPathWarningsGuard.ShowType
- 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
- inferQualifiedSlot(Node, String, JSType, JSType) - Method in interface com.google.javascript.jscomp.type.FlowScope
-
Infer the type of a qualified name.
- INFERRED_FUNCTION - Static variable in class com.google.javascript.rhino.Node
- inferSlotType(String, JSType) - Method in interface com.google.javascript.jscomp.type.FlowScope
-
Defines the type of a symbol at this point in the flow.
- inGlobalScope() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
- INHERITED - Enum constant in enum com.google.javascript.rhino.JSDocInfo.Visibility
- INHERITS - Enum constant in enum com.google.javascript.jscomp.CodingConvention.SubclassType
- init(JSSourceFile[], JSModule[], CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Deprecated.Convert your arrays to lists and use the list-based API.
- init(JSSourceFile[], JSSourceFile[], CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Deprecated.Convert your arrays to lists and use the list-based API.
- init(List<T1>, List<T2>, CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Initializes the instance state needed for a compile job.
- 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.
- InitPatt - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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 global functions
- inlineGetters - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Inlines trivial getters
- inlineLocalFunctions - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Inlines functions defined in local scopes
- InlineProperties - Class in com.google.javascript.jscomp
-
InlineProperties attempts to find references to properties that are known to be constants and inline the known value.
- 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
- INSTANCEOF - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- Instrumentation - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.Instrumentation
- Instrumentation.Builder - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.Instrumentation
- 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
- InvokeExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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_PREFIX - Enum constant in enum com.google.javascript.jscomp.jsonml.TagAttr
- 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
- isAllType() - Method in class com.google.javascript.rhino.jstype.TemplateType
- 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
- isASTNormalized() - Method in class com.google.javascript.jscomp.StatementFusion
-
Is the current AST normalized? (e.g.
- 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. - isCast() - Method in class com.google.javascript.rhino.Node
- 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.TemplateType
- isCheckedUnknownType() - Method in class com.google.javascript.rhino.jstype.UnknownType
- isComma() - Method in class com.google.javascript.rhino.Node
- isConnected(N, E, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
- 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, E, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
- isConnected(N, 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, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
- 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, E, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- 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, 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 byNodeUtil
. - isConstant() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@const
annotation is present on thisJSDocInfo
. - 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.
- 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 thisJSDocInfo
. - 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. - isConstructor() - Method in class com.google.javascript.rhino.jstype.TemplateType
- isConstructorRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- 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 thisJSDocInfo
. - 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 thisJSDocInfo
. - isDescriptionRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether this builder recorded a description.
- isDict() - Method in class com.google.javascript.rhino.jstype.JSType
-
Returns true iff
this
can be adict
. - isDict() - Method in class com.google.javascript.rhino.jstype.TemplateType
- isDict() - Method in class com.google.javascript.rhino.jstype.UnionType
- 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.JSType
-
Checks if two types are equivalent.
- 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 thisJSDocInfo
. - isExported(String) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Should be isExported(name, true) || isExported(name, false);
- isExported(String) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
- 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, boolean) - 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 thisJSDocInfo
. - 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 thisJSDocInfo
. - 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 thisJSDocInfo
. - 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 thisJSDocInfo
. - 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
- isInlinableFunction(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
- isInlinableFunction(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
- 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.
- isInstanceType() - Method in class com.google.javascript.rhino.jstype.TemplateType
- isInterface() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@interface
annotation is present on thisJSDocInfo
. - 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. - isInterface() - Method in class com.google.javascript.rhino.jstype.TemplateType
- isInterfaceRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- isInTestMode() - Method in class com.google.javascript.jscomp.CommandLineRunner
-
Returns whether we're in test mode.
- isInvariant(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Checks if two types are invariant.
- isJavaDispatch() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@javadispatch
annotation is present on thisJSDocInfo
. - isJavaDispatch() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- isJSIdentifier(String) - Static method in class com.google.javascript.rhino.TokenStream
- isJSLineTerminator(int) - Static method in class com.google.javascript.rhino.ScriptRuntime
- isKeyValid(String) - Static method in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- 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).
- isLValue(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Determines whether this node is used as an L-value.
- 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.
- isNativeObjectType() - Method in class com.google.javascript.rhino.jstype.NoType
-
Whether this is a built-in object.
- isNativeObjectType() - Method in class com.google.javascript.rhino.jstype.TemplateType
- isNE() - Method in class com.google.javascript.rhino.Node
- isNew() - Method in class com.google.javascript.rhino.Node
- isNgInject() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether JSDoc is annotated with
@ngInject
annotation. - isNgInjectRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether current JSDoc is annotated with
@ngInject
. - isNoAlias() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@noalias
annotation is present on thisJSDocInfo
. - isNoCompile() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@nocompile
annotation is present on thisJSDocInfo
. - 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).
- isNominalType() - Method in class com.google.javascript.rhino.jstype.TemplateType
- 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
- isNoObjectType() - Method in class com.google.javascript.rhino.jstype.TemplateType
- isNoResolvedType() - Method in class com.google.javascript.rhino.jstype.JSType
- isNoResolvedType() - Method in class com.google.javascript.rhino.jstype.TemplateType
- 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 thisJSDocInfo
. - isNoSideEffects() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@nosideeffects
annotation is present on thisJSDocInfo
. - 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
- isNoType() - Method in class com.google.javascript.rhino.jstype.TemplateType
- isNoTypeCheck() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@nocheck
annotation is present on thisJSDocInfo
. - 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.TemplateType
- 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 wherenull
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
- isOneTime - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
- 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. - isOrdinaryFunction() - Method in class com.google.javascript.rhino.jstype.TemplateType
- isOverride() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@override
annotation is present on thisJSDocInfo
. - 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)
aJSDocInfo
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)
aJSDocInfo
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.ObjectType
-
Checks whether the property's type is declared.
- isPropertyTypeInferred(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Checks whether the property's type is inferred.
- 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
ora.b.c
orthis.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
- isRemoveUnusedClassProperties() - Method in class com.google.javascript.jscomp.CompilerOptions
- 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
- isStableIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfo
- 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
- isStringKey() - 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
- isStruct() - Method in class com.google.javascript.rhino.jstype.JSType
-
Returns true iff
this
can be astruct
. - isStruct() - Method in class com.google.javascript.rhino.jstype.TemplateType
- isStruct() - Method in class com.google.javascript.rhino.jstype.UnionType
- isStrWhiteSpaceChar(int) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Copied from Rhino's ScriptRuntime
- 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 ofthat
with regard to the prototype chain. - isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Checks whether
this
is a subtype ofthat
. - 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.TemplateType
- isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.TemplatizedType
- 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
- 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
- isTemplatizedType() - Method in class com.google.javascript.rhino.jstype.JSType
- 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.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.TemplateType
- 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 notthis.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.
- 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
- JS_CODE - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- 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.NamePosition - Class in com.google.javascript.rhino
-
A piece of information (found in a marker) which contains a position with a name node.
- JSDocInfo.StringPosition - Class in com.google.javascript.rhino
-
A piece of information (found in a marker) which contains a position with a string.
- 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.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.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
- JsMessageExtractor(JsMessage.IdGenerator, JsMessage.Style, CompilerOptions) - 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.MissingModuleException - Exception in com.google.javascript.jscomp
- JSModuleGraph.ModuleDependenceException - Exception in com.google.javascript.jscomp
- JSON - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.OutputFormatKey
- 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
-
Deprecated.JSSourceFile is an empty wrapper around SourceFile. Just use SourceFile directly.
- JSType - Class in com.google.javascript.rhino.jstype
-
Represents JavaScript value types.
- JSType.TypePair - Class in com.google.javascript.rhino.jstype
- JSTypeExpression - Class in com.google.javascript.rhino
-
Represents a type expression as a miniature 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<com.google.javascript.rhino.jstype.JSType>)
.
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 - Enum constant in enum com.google.javascript.jscomp.jsonml.TagAttr
- 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.
- LabelledStmt - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- labelName(String) - Static method in class com.google.javascript.rhino.IR
- labelRenaming - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Controls label renaming.
- LANGUAGE - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- languageMode() - Method in class com.google.javascript.jscomp.Compiler
- LAST_PROP - Static variable in class com.google.javascript.rhino.Node
- LatticeElement - Interface in com.google.javascript.jscomp.graph
-
A lattice element.
- LAZY_EXPRESSIONS - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeRegistry.ResolveMode
-
Expressions are converted into Unknown blobs that can be resolved into complex types.
- LAZY_NAMES - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeRegistry.ResolveMode
-
Expressions are evaluated.
- 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 - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- LEAST_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- LEGACY - Enum constant in enum com.google.javascript.jscomp.CheckLevelLegacy
- LEGACY - Enum constant in enum com.google.javascript.jscomp.ErrorFormat
- LEGACY - Enum constant in enum com.google.javascript.jscomp.JsMessage.Style
- length() - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
- LENGTH - Static variable in class com.google.javascript.rhino.Node
- 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.ByPathWarningsGuard
- level(JSError) - Method in class com.google.javascript.jscomp.ComposeWarningsGuard
- level(JSError) - Method in class com.google.javascript.jscomp.DiagnosticGroupWarningsGuard
- 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 - Enum constant in enum com.google.javascript.jscomp.SourceExcerptProvider.SourceExcerpt
-
Line excerpt.
- 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
- LineMapEncoder() - Constructor for class com.google.debugging.sourcemap.SourceMapGeneratorV2.LineMapEncoder
- 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
- LiteralExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- load(String) - Static method in class com.google.javascript.jscomp.VariableMap
-
Reads the variable map from a file written via
VariableMap.save(String)
. - loadWhitelistedJsWarnings(InputSupplier<? extends Reader>) - Static method in class com.google.javascript.jscomp.WhitelistWarningsGuard
-
Loads legacy warnings list from the file.
- loadWhitelistedJsWarnings(File) - Static method in class com.google.javascript.jscomp.WhitelistWarningsGuard
-
Loads legacy warnings list from the file.
- LOCAL - Enum constant in enum com.google.javascript.jscomp.VariableRenamingPolicy
-
Rename local variables only.
- LOCAL_ONLY - Enum constant in enum com.google.javascript.jscomp.CompilerOptions.Reach
- locale - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Compiling locale
- LocationMapping(String, String) - Constructor for class com.google.javascript.jscomp.SourceMap.LocationMapping
- 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.
- LogicalAndExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- LogicalOrExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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(DiagnosticType, String...) - Static method in class com.google.javascript.jscomp.JSError
-
Creates a JSError with no source information
- 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
- make(Node, DiagnosticType, String...) - Static method in class com.google.javascript.jscomp.JSError
-
Creates a JSError from a file and Node position.
- 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, int, int, DiagnosticType, String...) - Static method in class com.google.javascript.jscomp.JSError
-
Creates a JSError at a given source location
- make(String, CheckLevel, String) - Static method in class com.google.javascript.jscomp.DiagnosticType
-
Create a DiagnosticType at a given CheckLevel.
- 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(String, Node, DiagnosticType, String...) - Static method in class com.google.javascript.jscomp.JSError
-
Creates a JSError from a file and Node position.
- 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.
- makesDicts() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@dict
annotation is present on thisJSDocInfo
. - makesDicts() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
When a class B inherits from A and A is annotated as a dict, then B automatically gets the annotation, even if B's constructor is not explicitly annotated.
- makesStructs() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@struct
annotation is present on thisJSDocInfo
. - makesStructs() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
When a class B inherits from A and A is annotated as a struct, then B automatically gets the annotation, even if B's constructor is not explicitly annotated.
- MALFORMED_URL - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- 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.
- 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.
- MAP - Enum constant in enum com.google.debugging.sourcemap.SourceMapSection.SectionType
- 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
- MAPPED - Enum constant in enum com.google.javascript.jscomp.AnonymousFunctionNamingPolicy
-
Generates short unique names and provides a mapping from them back to a more meaningful name that's based on the left-hand side of the assignment.
- Mapping - Class in com.google.debugging.sourcemap.proto
- Mapping.LineMapping - Class in com.google.debugging.sourcemap.proto
-
Maps a position on a given line to the mapping describing the original code.
- Mapping.LineMapping.Builder - Class in com.google.debugging.sourcemap.proto
-
Maps a position on a given line to the mapping describing the original code.
- Mapping.LineMappingOrBuilder - Interface in com.google.debugging.sourcemap.proto
- Mapping.OriginalMapping - Class in com.google.debugging.sourcemap.proto
-
Protobuf type
sourcemap.OriginalMapping
- Mapping.OriginalMapping.Builder - Class in com.google.debugging.sourcemap.proto
-
Protobuf type
sourcemap.OriginalMapping
- 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
- Marker() - Constructor for class com.google.javascript.rhino.JSDocInfo.Marker
- 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(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Modify this type so that it matches the specified type.
- matchConstraint(JSType) - Method in class com.google.javascript.rhino.jstype.NoType
- matchConstraint(JSType) - Method in class com.google.javascript.rhino.jstype.TemplateType
- matchConstraint(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
- matches(DiagnosticType) - Method in class com.google.javascript.jscomp.DiagnosticGroup
-
Returns whether the given type matches a type in this group.
- matches(JSError) - Method in class com.google.javascript.jscomp.DiagnosticGroup
-
Returns whether the given error's 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.FunctionType
- matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.TemplateType
- 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.FunctionType
- matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.TemplateType
- 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 awith
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.FunctionType
- matchesStringContext() - Method in class com.google.javascript.rhino.jstype.TemplateType
- 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.
- matchRecordTypeConstraint(ObjectType) - Method in class com.google.javascript.rhino.jstype.NoType
- MATH_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- MAX - Enum constant in enum com.google.javascript.jscomp.WarningsGuard.Priority
- MAX_COLUMN_NUMBER - Static variable in class com.google.javascript.rhino.Node
-
MAX_COLUMN_NUMBER represents the maximum column number that can be represented.
- MAX_INPUT_SIZE_KEY - Static variable in class com.google.javascript.jscomp.webservice.common.Protocol
-
Properties key for getting the maximum input file size that may be compiled by the service.
- maximumInputSize() - Static method in class com.google.javascript.jscomp.webservice.common.Protocol
-
Find the maximum input size that this configuration of the web service allows.
- maybeGetInputProviding(String) - Method in class com.google.javascript.jscomp.deps.SortedDependencies
-
Return the input that gives us the given symbol, or null.
- MemberExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- mergeFrom(Mapping.LineMapping) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
- mergeFrom(Mapping.OriginalMapping) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
- mergeFrom(FunctionInformationMap) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
- mergeFrom(FunctionInformationMap.Entry) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
- mergeFrom(FunctionInformationMap.Module) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
- mergeFrom(Instrumentation) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
- mergeFrom(Message) - 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(Message) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
- mergeFrom(Message) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
- mergeFrom(Message) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
- mergeFrom(Message) - 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
-
The original mapping for this line mapping.
- mergeUnknownFields(UnknownFieldSet) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class com.google.javascript.jscomp.Instrumentation.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 alternative values for user-visible messages in JavaScript code.
- MessageFormatter - Interface in com.google.javascript.jscomp
-
Format warnings and errors.
- MIN - Enum constant in enum com.google.javascript.jscomp.WarningsGuard.Priority
- MISPLACED_TYPE_ANNOTATION - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- MISSING_API_KEY - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- MISSING_ARGUMENT - Static variable in class com.google.javascript.jscomp.jsonml.Validator
- MISSING_PROPERTIES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- MIXIN - Enum constant in enum com.google.javascript.jscomp.CodingConvention.SubclassType
- MOD - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- MODE - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- ModificationVisitor - Class in com.google.javascript.rhino.jstype
-
A visitor implementation that enables type substitutions.
- ModificationVisitor(JSTypeRegistry) - Constructor for class com.google.javascript.rhino.jstype.ModificationVisitor
- 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
- ModuleDependenceException(String, JSModule, JSModule) - Constructor for exception com.google.javascript.jscomp.JSModuleGraph.ModuleDependenceException
- 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.
- MULTILINE - Enum constant in enum com.google.javascript.jscomp.ErrorFormat
N
- name(int) - Static method in class com.google.javascript.rhino.Token
- name(String) - Static method in class com.google.javascript.rhino.IR
- NAME - Enum constant in enum com.google.javascript.jscomp.jsonml.TagAttr
- NAME - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- 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
- NamePosition() - Constructor for class com.google.javascript.rhino.JSDocInfo.NamePosition
- 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.
- NEW_NAME_ATTR - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- newBuilder() - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
- newBuilder() - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- newBuilder() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- newBuilder() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- newBuilder() - Static method in class com.google.javascript.jscomp.FunctionInformationMap
- newBuilder() - Static method in class com.google.javascript.jscomp.Instrumentation
- newBuilder(Mapping.LineMapping) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
- newBuilder(Mapping.OriginalMapping) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- newBuilder(FunctionInformationMap) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
- newBuilder(FunctionInformationMap.Entry) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- newBuilder(FunctionInformationMap.Module) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- newBuilder(Instrumentation) - Static method in class com.google.javascript.jscomp.Instrumentation
- newBuilderForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
- newBuilderForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- newBuilderForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- newBuilderForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- newBuilderForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap
- newBuilderForType() - Method in class com.google.javascript.jscomp.Instrumentation
- newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
- newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class com.google.javascript.jscomp.FunctionInformationMap
- newBuilderForType(GeneratedMessageV3.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 - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- newExternInput(String) - Method in class com.google.javascript.jscomp.Compiler
- newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
- newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class com.google.javascript.jscomp.FunctionInformationMap
- newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class com.google.javascript.jscomp.Instrumentation
- 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(int, String) - Static method in class com.google.javascript.rhino.Node
- newString(int, String, int, int) - Static method in class com.google.javascript.rhino.Node
- newString(String) - Static method in class com.google.javascript.rhino.Node
- newString(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
- nextPreciserScopeKnowingConditionOutcome(Node, FlowScope, boolean) - Method in class com.google.javascript.jscomp.type.ChainableReverseAbstractInterpreter
-
Delegates the calculation of the preciser scope to the next link.
- NO_CODE_FOUND_IN_CACHE - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- NO_OBJECT_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- NO_OBJECT_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- NO_OUTPUT_INFO - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- NO_RESOLVED_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- 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 - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- NO_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- NOCACHE - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- 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, int, int) - Constructor for class com.google.javascript.rhino.Node
- Node(int, Node) - Constructor for class com.google.javascript.rhino.Node
- Node(int, Node[]) - Constructor for class com.google.javascript.rhino.Node
- Node(int, 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, Node) - 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) - 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) - 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_TRAVERSAL_ERROR - Static variable in class com.google.javascript.jscomp.NodeTraversal
- 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.SideEffectFlags - Class in com.google.javascript.rhino
-
A helper class for getting and setting the side-effect flags.
- 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.AbstractPostOrderCallback - Class in com.google.javascript.jscomp
-
Abstract callback to visit all nodes in post order.
- NodeTraversal.AbstractScopedCallback - Class in com.google.javascript.jscomp
-
Abstract scoped callback to visit all nodes in post order.
- NodeTraversal.AbstractShallowCallback - Class in com.google.javascript.jscomp
-
Abstract callback to visit all nodes but not traverse into function bodies.
- 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.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 generally useful AST utilities.
- 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
- NONE - Enum constant in enum com.google.javascript.jscomp.CompilerOptions.Reach
- 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() - Method in enum com.google.javascript.rhino.jstype.TernaryValue
-
Gets the
not
ofthis
. - not(Node) - Static method in class com.google.javascript.rhino.IR
- 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 - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- NULL_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- NULL_VOID - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
-
(null, void)
- NULL_VOID - 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 - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- NUMBER_OBJECT_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- NUMBER_OBJECT_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- NUMBER_OBJECT_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- NUMBER_STRING - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
-
(number,string)
- NUMBER_STRING_BOOLEAN - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
-
(number,string,boolean)
- NUMBER_STRING_BOOLEAN - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- NUMBER_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- NUMBER_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- NUMBER_VALUE_OR_OBJECT_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- 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_ELEMENT_TEMPLATE - Static variable in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
The name associated with the template variable corresponding to the property value type for Javascript Objects and Arrays.
- OBJECT_FUNCTION_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- OBJECT_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- OBJECT_INDEX_TEMPLATE - Static variable in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
The name associated with the template variable corresponding to the property key type of the built-in Javascript object.
- OBJECT_NUMBER_STRING - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
-
(Object,number,string)
- OBJECT_NUMBER_STRING - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- OBJECT_NUMBER_STRING_BOOLEAN - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
-
(Object,number,string,boolean)
- OBJECT_NUMBER_STRING_BOOLEAN - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- OBJECT_PROTOTYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- OBJECT_PROTOTYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- OBJECT_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- OBJECT_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- ObjectExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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')
tonew JSCompiler_ObjectPropertyString(window, foo.bar)
. - ObjectType - Class in com.google.javascript.rhino.jstype
-
Object type.
- OFF - Enum constant in enum com.google.javascript.jscomp.AnonymousFunctionNamingPolicy
-
Don't give anonymous functions names
- OFF - Enum constant in enum com.google.javascript.jscomp.CheckLevel
- OFF - Enum constant in enum com.google.javascript.jscomp.CheckLevelLegacy
- OFF - Enum constant in enum com.google.javascript.jscomp.CompilerOptions.TracerMode
- OFF - Enum constant in enum com.google.javascript.jscomp.CompilerOptions.TweakProcessing
- OFF - Enum constant in enum com.google.javascript.jscomp.PropertyRenamingPolicy
-
Rename no properties.
- OFF - Enum constant in enum com.google.javascript.jscomp.VariableRenamingPolicy
-
Rename no variables.
- oldAst - Variable in class com.google.javascript.jscomp.parsing.ParserRunner.ParseResult
- OP - Enum constant in enum com.google.javascript.jscomp.jsonml.TagAttr
- OPAQUE_POSITION - Enum constant in enum com.google.javascript.jscomp.jsonml.TagAttr
- OPT_ARG_NAME - Static variable in class com.google.javascript.rhino.Node
- optimize() - Method in class com.google.javascript.jscomp.Compiler
- optimize() - Method in interface com.google.javascript.jscomp.type.FlowScope
-
Optimize this scope and return a new FlowScope with faster lookup.
- 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(TernaryValue) - Method in enum com.google.javascript.rhino.jstype.TernaryValue
-
Gets the
or
ofthis
andthat
. - or(Node, Node) - Static method in class com.google.javascript.rhino.IR
- 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_GZIP_SIZE_TAG - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- ORIGINAL_MAPPING_FIELD_NUMBER - Static variable in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
- ORIGINAL_NAME_ATTR - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- ORIGINAL_SIZE_TAG - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- ORIGINALNAME_PROP - Static variable in class com.google.javascript.rhino.Node
- OUTPUT_FILE_NAME - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- OUTPUT_FILE_PATH - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- OUTPUT_FORMAT - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- OUTPUT_INFO - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- OUTPUT_WRAPPER - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- outputTracerReport(PrintStream) - Method in class com.google.javascript.jscomp.PerformanceTracker
- 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.
- ParamDecl - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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
- parse() - 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(SourceFile) - Method in class com.google.javascript.jscomp.Compiler
- parse(StaticSourceFile, String, Config, ErrorReporter, Logger) - Static method in class com.google.javascript.jscomp.parsing.ParserRunner
-
Parses the JavaScript text given by a reader.
- 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) - 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(String) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
-
Parses the given contents containing a source map.
- parse(String, SourceMapSupplier) - Static method in class com.google.debugging.sourcemap.SourceMapConsumerFactory
- 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.SourceMapConsumerV2
-
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.
- parseDelimitedFrom(InputStream) - 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) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- parseDelimitedFrom(InputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- parseDelimitedFrom(InputStream) - 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.debugging.sourcemap.proto.Mapping.LineMapping
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
- 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) - Method in class com.google.javascript.jscomp.deps.JsFunctionParser
-
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.
- 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(byte[]) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
- parseFrom(byte[]) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- parseFrom(byte[]) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- parseFrom(byte[]) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- parseFrom(byte[]) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
- parseFrom(byte[]) - Static method in class com.google.javascript.jscomp.Instrumentation
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Instrumentation
- parseFrom(ByteString) - 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) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- parseFrom(ByteString) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- parseFrom(ByteString) - 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.debugging.sourcemap.proto.Mapping.LineMapping
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Instrumentation
- parseFrom(CodedInputStream) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
- parseFrom(CodedInputStream) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- parseFrom(CodedInputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- parseFrom(CodedInputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- parseFrom(CodedInputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
- parseFrom(CodedInputStream) - Static method in class com.google.javascript.jscomp.Instrumentation
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Instrumentation
- parseFrom(InputStream) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
- parseFrom(InputStream) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- parseFrom(InputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- parseFrom(InputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- parseFrom(InputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
- parseFrom(InputStream) - Static method in class com.google.javascript.jscomp.Instrumentation
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Instrumentation
- parseFrom(ByteBuffer) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
- parseFrom(ByteBuffer) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- parseFrom(ByteBuffer) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- parseFrom(ByteBuffer) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- parseFrom(ByteBuffer) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
- parseFrom(ByteBuffer) - Static method in class com.google.javascript.jscomp.Instrumentation
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Instrumentation
- parseInlineTypeDoc() - Method in class com.google.javascript.jscomp.parsing.JsDocInfoParser
-
Parse a description as a
@type
. - 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.
- parser() - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
- parser() - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
- parser() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
- parser() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
- parser() - Static method in class com.google.javascript.jscomp.FunctionInformationMap
- parser() - Static method in class com.google.javascript.jscomp.Instrumentation
- PARSER - Static variable in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
Deprecated.
- PARSER - Static variable in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
Deprecated.
- PARSER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
Deprecated.
- PARSER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
Deprecated.
- PARSER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap
-
Deprecated.
- PARSER - Static variable in class com.google.javascript.jscomp.Instrumentation
-
Deprecated.
- parseRegExp(String, String) - Static method in class com.google.javascript.jscomp.regex.RegExpTree
-
Parses a regular expression to an AST.
- ParseResult(Node, AstRoot) - Constructor for class com.google.javascript.jscomp.parsing.ParserRunner.ParseResult
- ParserRunner - Class in com.google.javascript.jscomp.parsing
- ParserRunner.ParseResult - Class in com.google.javascript.jscomp.parsing
-
Holds results of 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
- PassConfig.State - Class in com.google.javascript.jscomp
-
Intermediate state for a running pass configuration.
- 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
-
For each pass, keep track of the runtime, the size changes, etc
- 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_DATA_TOO_LARGE - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- 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
- PRETTY_PRINT - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.FormattingKey
- prettyPrint - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Output in pretty indented format
- PRINT_INPUT_DELIMITER - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.FormattingKey
- 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
- PRIVATE - Enum constant in enum com.google.javascript.rhino.JSDocInfo.Visibility
- 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.InlineProperties
- 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 CommonJS 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.
- Program - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- PrologueDecl - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- propdef(Node, Node) - Static method in class com.google.javascript.rhino.IR
- Property - Class in com.google.javascript.rhino.jstype
-
A property slot of an object.
- 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.
- PROTECTED - Enum constant in enum com.google.javascript.rhino.JSDocInfo.Visibility
- Protocol - Class in com.google.javascript.jscomp.webservice.common
-
All the strings used by the webservice protocol.
- Protocol.ApiKeyResponse - Enum in com.google.javascript.jscomp.webservice.common
-
Fields in the JSON response from the ApiKeyGenerationServlet.
- Protocol.CompilationLevelKey - Enum in com.google.javascript.jscomp.webservice.common
- Protocol.FormattingKey - Enum in com.google.javascript.jscomp.webservice.common
-
All the possible values for the FORMATTING key.
- Protocol.OutputFormatKey - Enum in com.google.javascript.jscomp.webservice.common
- Protocol.OutputInfoKey - Enum in com.google.javascript.jscomp.webservice.common
-
All the possible values for the OUTPUT_INFO key.
- Protocol.ProtocolEnum - Interface in com.google.javascript.jscomp.webservice.common
-
All enums that need to be shared between the Java and JS code should implement this interface.
- Protocol.RequestKey - Enum in com.google.javascript.jscomp.webservice.common
-
All the keys that can be part of the http request.
- Protocol.ResponseTag - Enum in com.google.javascript.jscomp.webservice.common
-
All the xml/json tags that can be returned by the backend if xml or json is selected as the output mode.
- Protocol.WarningLevelKey - Enum in com.google.javascript.jscomp.webservice.common
- Proxy(CodingConvention) - Constructor for class com.google.javascript.jscomp.CodingConventions.Proxy
- prune(Predicate<N>) - Method in class com.google.javascript.jscomp.graph.GraphPruner
- PUBLIC - Enum constant in enum com.google.javascript.rhino.JSDocInfo.Visibility
- 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.
- QUIET - Enum constant in enum com.google.javascript.jscomp.WarningLevel
- QUIET - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.WarningLevelKey
- QUOTED_PROP - Static variable in class com.google.javascript.rhino.Node
R
- RANGE_ERROR_FUNCTION_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- RANGE_ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- RANGE_ERROR_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- RANGE_ERROR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- RAW_SIZE - Enum constant in enum com.google.javascript.jscomp.CompilerOptions.TracerMode
- RAWJS - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- 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
- reconcileOptionsWithGuards() - Method in class com.google.javascript.jscomp.Compiler
-
When the CompilerOptions and its WarningsGuard overlap, reconcile any discrepencies.
- 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.
- recordClassTemplateTypeNames(List<String>) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a template type name.
- recordConsistentIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that the
JSDocInfo
being built should have itsJSDocInfo.isConsistentIdGenerator()
flag set totrue
. - recordConstancy() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordConstructor() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- 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
- 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).
- recordDict() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- 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
- recordExpose() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordExtendedInterface(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records an extended interface type.
- recordExterns() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- 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
- recordIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordImplementedInterface(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records an implemented interface.
- recordImplicitCast() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordInterface() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordJavaDispatch() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- 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.
- recordNgInject(boolean) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that we'd like to add
$inject
property inferred from parameters. - recordNoAlias() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordNoCompile() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordNoShadow() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordNoSideEffects() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that the
JSDocInfo
being built should have itsJSDocInfo.isNoSideEffects()
flag set totrue
. - recordNoTypeCheck() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- 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
- 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 itsJSDocInfo.shouldPreserveTry()
flag set totrue
. - 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.
- recordStableIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that the
JSDocInfo
being built should have itsJSDocInfo.isStableIdGenerator()
flag set totrue
. - recordStruct() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordSuppressions(Set<String>) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records the list of suppressed warnings.
- recordTemplateTypeNames(List<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 atypedef
'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 - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- REFERENCE_ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- REFERENCE_ERROR_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- 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 - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- REGEXP_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- REGEXP_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- REGEXP_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- RegExpExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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.
- REGION - Enum constant in enum com.google.javascript.jscomp.SourceExcerptProvider.SourceExcerpt
-
Region excerpt.
- 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
- registerAllExtensions(ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping
- registerAllExtensions(ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInfo
- registerAllExtensions(ExtensionRegistryLite) - 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 namedpropertyName
. - registry - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- RELAX - Enum constant in enum com.google.javascript.jscomp.JsMessage.Style
- 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
-
repeated group Entry = 1 { ...
- 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
-
repeated group Module = 101 { ...
- 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.
- removeProperty(String) - Method in class com.google.javascript.rhino.jstype.EnumType
- removeProperty(String) - Method in class com.google.javascript.rhino.jstype.TemplateType
- 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
- removeUnusedClassProperties - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Removes unused member properties
- 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(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.BasicErrorManager
- 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(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard.WhitelistBuilder
- report(DiagnosticType, Node) - Method in class com.google.javascript.jscomp.StatementFusion
-
Helper method for reporting an error to the compiler when applying a peephole optimization.
- report(JSError) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Report an error or warning.
- report(JSError) - Method in class com.google.javascript.jscomp.Compiler
- report(Node, DiagnosticType, String...) - Method in class com.google.javascript.jscomp.NodeTraversal
-
Reports a diagnostic (error or warning)
- 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.StatementFusion
-
Helper method for telling the compiler that something has changed.
- 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.
- resetMaximumInputSize() - Static method in class com.google.javascript.jscomp.webservice.common.Protocol
-
Reset the maximum input size so that the property key is rechecked.
- 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
- ReturnStmt - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- ReverseAbstractInterpreter - Interface in com.google.javascript.jscomp.type
-
This interface defines what reversed abstract interpreters provide.
- rewriteFunctionExpressions - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Reduces the size of common function expressions.
- ROOT_TAG - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- RSH - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- run() - Method in class com.google.javascript.jscomp.CommandLineRunner
-
Runs the Compiler and calls System.exit() with the exit status of the compiler.
- 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() - Static method in class com.google.javascript.rhino.IR
- script(Node...) - Static method in class com.google.javascript.rhino.IR
- script(List<Node>) - Static method in class com.google.javascript.rhino.IR
- SCRIPT - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- 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 run-time.
- 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
- SemanticReverseAbstractInterpreter - Class in com.google.javascript.jscomp.type
-
A reverse abstract interpreter using the semantics of the JavaScript language as a means to reverse interpret computations.
- SemanticReverseAbstractInterpreter(CodingConvention, JSTypeRegistry) - Constructor for class com.google.javascript.jscomp.type.SemanticReverseAbstractInterpreter
-
Creates a semantic reverse abstract interpreter.
- serialVersionUID - Static variable in class com.google.javascript.rhino.InputId
- SERVER_ERROR_CODE_ATTR - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- SERVER_ERROR_TAG - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- SERVER_ERRORS_TAG - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- 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
- setAngularPass(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
-
name of function(<string>); used to inform the harness about the app name
- setAppNameSetterBytes(ByteString) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
name of function(<string>); used to inform the harness about the app name
- 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
- setCheckDeterminism(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 globalthis
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
-
The column position on the line.
- setColumnPosition(int) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
The column number on the line.
- setCommonJSModulePathPrefix(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets a path prefix for CommonJS 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
-
required string compiled_source = 8;
- setCompiledSource(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string compiled_source = 103;
- setCompiledSourceBytes(ByteString) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string compiled_source = 8;
- setCompiledSourceBytes(ByteString) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string compiled_source = 103;
- 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
- setCssRenamingWhitelist(Set<String>) - 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
-
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness.
- 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
- setDict() - Method in class com.google.javascript.rhino.jstype.FunctionType
- 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() == Token.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
-
repeated group Entry = 1 { ...
- setEntry(int, FunctionInformationMap.Entry.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- 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(Iterable<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
- setExtractPrototypeMemberDeclarations(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
- 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
-
required int32 id = 2;
- setIdeMode(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setIdentifier(String) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
The original name of the identifier.
- setIdentifierBytes(ByteString) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
The original name of the identifier.
- setIdGenerators(Set<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the id generators to replace.
- setIdGeneratorsMap(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
A previous map of ids (serialized to a string by a previous compile).
- 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
- setIncludeGoogBase(boolean) - Method in class com.google.javascript.jscomp.deps.JsFileParser
-
Sets whether we should create implicit provides and requires of the root namespace.
- 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
-
Definition of functions used to report module contents and function calls.
- setInlineConstantVars(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setInlineFunctions(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.
- 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
- setInlineProperties(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Set the function inlining policy for the compiler.
- setInlineVariables(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.
- setInputAnonymousFunctionNamingMap(VariableMap) - 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
- setInputPropertyMap(VariableMap) - Method in class com.google.javascript.jscomp.CompilerOptions
- setInputPropertyMapSerialized(byte[]) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Deprecated.
- setInputVariableMap(VariableMap) - Method in class com.google.javascript.jscomp.CompilerOptions
- setInputVariableMapSerialized(byte[]) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Deprecated.
- setInstrumentationTemplate(String) - Method in class com.google.javascript.jscomp.CompilerOptions
- setIntermediateState(PassConfig.State) - Method in class com.google.javascript.jscomp.DefaultPassConfig
- setIntermediateState(PassConfig.State) - Method in class com.google.javascript.jscomp.PassConfig
-
Set the intermediate state for a pass config, to restart a compilation process that had been previously paused.
- 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.jstype.TemplateType
- 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.
- setLanguageIn(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set the language to which input sources conform.
- 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
-
The line number of the generated code.
- setLineNumber(int) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
The line in the original file.
- setLineNumber(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required int32 line_number = 4;
- 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(int, FunctionInformationMap.Module) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- setModule(int, FunctionInformationMap.Module.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- setModule(JSModule) - Method in class com.google.javascript.jscomp.CompilerInput
-
Sets the module to which the input belongs.
- setModuleName(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string module_name = 5;
- setModuleNameBytes(ByteString) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string module_name = 5;
- 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
-
required string name = 7;
- setName(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string name = 102;
- setNameAnonymousFunctionsOnly(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
If true, name anonymous functions only.
- setNameBytes(ByteString) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string name = 7;
- setNameBytes(ByteString) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string name = 102;
- 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.Property
- setNote(String) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard.WhitelistBuilder
-
A note to include at the top of the whitelist file.
- setOldParseTree(String, AstRoot) - Method in class com.google.javascript.jscomp.Compiler
- 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
-
The original source file.
- setOriginalFileBytes(ByteString) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
The original source file.
- setOriginalMapping(Mapping.OriginalMapping) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
The original mapping for this line mapping.
- setOriginalMapping(Mapping.OriginalMapping.Builder) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
The original mapping for this line mapping.
- 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
- setPreferSingleQuotes(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Normally, when there are an equal number of single and double quotes in a string, the compiler will use double quotes.
- 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 delimiter formatting option
- setPrintInputDelimiter(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setProcessCommonJSModules(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Rewrites CommonJS modules 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. - setPropertyJSDocInfo(String, JSDocInfo) - Method in class com.google.javascript.rhino.jstype.EnumType
- setPropertyJSDocInfo(String, JSDocInfo) - Method in class com.google.javascript.rhino.jstype.TemplateType
- 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
- setRemoveUnusedClassProperties(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.
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
- setReplaceIdGenerators(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setReplaceMessagesWithChromeI18n(boolean, String) - 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
- setReplaceStringsInputMap(VariableMap) - 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
-
name of function(ID = <numeric function id>); used to inform the harness about a function call
- setReportCallBytes(ByteString) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
name of function(ID = <numeric function id>); used to inform the harness about a function call
- setReportDefined(String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
- setReportDefinedBytes(ByteString) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
- setReportExit(String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.
- setReportExitBytes(ByteString) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.
- 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
-
Deprecated.
- setRootElement(JsonML) - Method in class com.google.javascript.jscomp.jsonml.Reader
- setRunOptions(CompilerOptions) - Method in class com.google.javascript.jscomp.CommandLineRunner
-
Sets options based on the configurations set flags API.
- setRuntimeTypeCheck(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setRuntimeTypeCheckLogFunction(String) - Method in class com.google.javascript.jscomp.CompilerOptions
- setSaveDataStructures(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Whether to keep internal data structures around after we're finished compiling.
- 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
-
required int32 size = 6;
- 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
- setSourceMapFormat(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
- setSourceMapLocationMappings(List<SourceMap.LocationMapping>) - Method in class com.google.javascript.jscomp.CompilerOptions
- setSourceMapOutputFile(File) - Method in class com.google.javascript.jscomp.ant.CompileTask
- setSourceMapOutputPath(String) - Method in class com.google.javascript.jscomp.CompilerOptions
- setSourceName(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string source_name = 3;
- setSourceName(String) - Method in class com.google.javascript.jscomp.JsMessage.Builder
- setSourceNameBytes(ByteString) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string source_name = 3;
- 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 for a Token.STRING or Token.NAME.
- 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
- setStruct() - Method in class com.google.javascript.rhino.jstype.FunctionType
- 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
- setTemplateTypeNames(List<TemplateType>) - 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.
- SetterProp - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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 CommonJS modules.
- setTrustedStrings(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Some people want to put arbitrary user input into strings, which are then run through the compiler.
- 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
- setTypeBasedOptimizationOptions(CompilerOptions) - Method in enum com.google.javascript.jscomp.CompilationLevel
-
Enable additional optimizations that use type information.
- 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.
- setUnknownFields(UnknownFieldSet) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
- setUnknownFields(UnknownFieldSet) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
- setUnknownFields(UnknownFieldSet) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
- setUnknownFields(UnknownFieldSet) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
- setUnknownFields(UnknownFieldSet) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
- setUnknownFields(UnknownFieldSet) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
- 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
-
Deprecated.
- 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 thisJSDocInfo
. - 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 node'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
- SideEffectFlags() - Constructor for class com.google.javascript.rhino.Node.SideEffectFlags
- SideEffectFlags(int) - Constructor for class com.google.javascript.rhino.Node.SideEffectFlags
- SIMPLE_OPTIMIZATIONS - Enum constant in enum com.google.javascript.jscomp.CompilationLevel
-
SIMPLE_OPTIMIZATIONS performs transformations to the input JS that do not require any changes to JS that depend on the input JS.
- SIMPLE_OPTIMIZATIONS - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.CompilationLevelKey
- 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 viaSimpleErrorReporter.errors()
andSimpleErrorReporter.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.
- SINGLELINE - Enum constant in enum com.google.javascript.jscomp.ErrorFormat
- 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 - Enum constant in enum com.google.javascript.jscomp.jsonml.TagAttr
- 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.Generator - Interface in com.google.javascript.jscomp
-
A JavaScript source code provider.
- SOURCELESS - Enum constant in enum com.google.javascript.jscomp.ErrorFormat
- 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
- 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 - Variable in class com.google.javascript.jscomp.CompilerOptions
-
The source map file format
- SourceMapFormat - Enum in com.google.debugging.sourcemap
-
A list of currently support SourceMap format revisions.
- 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
- 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
- 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.
- START_COLUMN - Enum constant in enum com.google.javascript.jscomp.jsonml.TagAttr
- START_LINE - Enum constant in enum com.google.javascript.jscomp.jsonml.TagAttr
- State(Map<String, Integer>, Set<String>, CrossModuleMethodMotion.IdGenerator, VariableMap, VariableMap, VariableMap, VariableMap, FunctionNames, String) - Constructor for class com.google.javascript.jscomp.PassConfig.State
- 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 aStaticSlot
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 aStaticScope
. - 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.
- STATISTICS - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.OutputInfoKey
- STATS_TAG - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- STRICT - Enum constant in enum com.google.javascript.jscomp.WarningsGuard.Priority
- 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_KEY - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- STRING_OBJECT_FUNCTION_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- STRING_OBJECT_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- STRING_OBJECT_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- STRING_OBJECT_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- STRING_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- STRING_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- STRING_VALUE_OR_OBJECT_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- stringKey(String) - Static method in class com.google.javascript.rhino.IR
- stringMap - Variable in class com.google.javascript.jscomp.Result
- StringPosition() - Constructor for class com.google.javascript.rhino.JSDocInfo.StringPosition
- StringType - Class in com.google.javascript.rhino.jstype
-
String type.
- STRIP - Enum constant in enum com.google.javascript.jscomp.CompilerOptions.TweakProcessing
- 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.
- SubclassRelationship(CodingConvention.SubclassType, Node, Node) - Constructor for class com.google.javascript.jscomp.CodingConvention.SubclassRelationship
- 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
- SUPPRESS_BY_WHITELIST - Enum constant in enum com.google.javascript.jscomp.WarningsGuard.Priority
- SUPPRESS_DOC - Enum constant in enum com.google.javascript.jscomp.WarningsGuard.Priority
- SUSPICIOUS_CODE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- SWITCH - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- switchNode(Node, Node...) - Static method in class com.google.javascript.rhino.IR
- SwitchStmt - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- symbol - Variable in class com.google.javascript.jscomp.deps.JsFunctionParser.SymbolInfo
- SYMBOLS - Enum constant in enum com.google.javascript.jscomp.SourceMap.DetailLevel
- 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 - Enum constant in enum com.google.javascript.jscomp.jsonml.ErrorLevel
- SYNTAX_ERROR_FUNCTION_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- SYNTAX_ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- SYNTAX_ERROR_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- 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
- templateTypeMap - Variable in class com.google.javascript.rhino.jstype.JSType
- TemplateTypeMap - Class in com.google.javascript.rhino.jstype
-
Manages a mapping from TemplateType to its resolved JSType.
- TemplatizedType - Class in com.google.javascript.rhino.jstype
-
An object type with declared template types, such as
Array.
. - 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 - 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.jscomp.testing.TestErrorReporter
- 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
andthat
. - 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.TemplateType
- 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.
- TEXT - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.OutputFormatKey
- THIS - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ThisExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- 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
- ThrowStmt - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- TIMING_ONLY - Enum constant in enum com.google.javascript.jscomp.CompilerOptions.TracerMode
- 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.
- toBase64(int) - Static method in class com.google.debugging.sourcemap.Base64
- 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.TemplateType
- 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(GraphvizGraph) - Static method in class com.google.javascript.jscomp.DotFormatter
-
Outputs a string in DOT format that presents the graph.
- toDot(Node) - Static method in class com.google.javascript.jscomp.DotFormatter
-
Converts an AST to dot representation.
- 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.
- toMaybeEnumElementType() - Method in class com.google.javascript.rhino.jstype.TemplateType
- 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.
- toMaybeEnumType() - Method in class com.google.javascript.rhino.jstype.TemplateType
- 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() - Method in class com.google.javascript.rhino.jstype.NoObjectType
- toMaybeFunctionType() - Method in class com.google.javascript.rhino.jstype.TemplateType
- toMaybeFunctionType(JSType) - Static method in class com.google.javascript.rhino.jstype.JSType
-
Null-safe version of toMaybeFunctionType().
- toMaybeTemplateType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Downcasts this to a TemplateType, or returns null if this is not a function.
- toMaybeTemplateType() - Method in class com.google.javascript.rhino.jstype.TemplatizedType
- toMaybeTemplateType() - Method in class com.google.javascript.rhino.jstype.TemplateType
- toMaybeTemplateType(JSType) - Static method in class com.google.javascript.rhino.jstype.JSType
-
Null-safe version of toMaybeTemplateType().
- toMaybeTemplatizedType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Downcasts this to a TemplatizedType, or returns null if this is not a function.
- toMaybeTemplatizedType() - Method in class com.google.javascript.rhino.jstype.TemplateType
- toMaybeTemplatizedType() - Method in class com.google.javascript.rhino.jstype.TemplatizedType
- toMaybeTemplatizedType(JSType) - Static method in class com.google.javascript.rhino.jstype.JSType
-
Null-safe version of toMaybeTemplatizedType().
- 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.TemplateType
- 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.
- TOP_LEVEL_PROTOTYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- toSource() - Method in class com.google.javascript.jscomp.Compiler
-
Converts the main parse tree 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.
- toSource(JSModule) - Method in class com.google.javascript.jscomp.Compiler
-
Converts the parse tree for a module back to JS code.
- 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 exception com.google.javascript.jscomp.webservice.common.AbstractWebServiceException
- toString() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.ApiKeyResponse
- toString() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.OutputFormatKey
- toString() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- toString() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- 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(AbstractCompiler, Node, NodeTraversal.Callback) - Static method in class com.google.javascript.jscomp.NodeTraversal
-
Traverses a node recursively.
- traverse(Node) - Method in class com.google.javascript.jscomp.NodeTraversal
-
Traverses a parse tree 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(AbstractCompiler, NodeTraversal.Callback, Node...) - Static 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(Node...) - Method in class com.google.javascript.jscomp.NodeTraversal
- traverseRoots(List<Node>) - Method in class com.google.javascript.jscomp.NodeTraversal
- TRUE - Enum constant in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
- TRUE - Enum constant in enum com.google.javascript.rhino.jstype.TernaryValue
-
true
- 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
- TryStmt - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- TWEAKS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- TYPE - Enum constant in enum com.google.javascript.jscomp.jsonml.TagAttr
- TYPE_ERROR_FUNCTION_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- TYPE_ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- TYPE_ERROR_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- 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, CheckLevel, CheckLevel) - Constructor for class com.google.javascript.jscomp.TypeCheck
- TypeCheck(AbstractCompiler, ReverseAbstractInterpreter, JSTypeRegistry, Scope, MemoizedScopeCreator, CheckLevel, CheckLevel) - Constructor for class com.google.javascript.jscomp.TypeCheck
- TYPEOF - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- TypeofExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- TypePair(JSType, JSType) - Constructor for class com.google.javascript.rhino.jstype.JSType.TypePair
- TypePosition() - Constructor for class com.google.javascript.rhino.JSDocInfo.TypePosition
U
- U2U_CONSTRUCTOR_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- U2U_CONSTRUCTOR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- U2U_FUNCTION_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- U2U_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- UnaryExpr - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- unboxesTo() - Method in class com.google.javascript.rhino.jstype.JSType
-
Turn an object type to its corresponding scalar type.
- unboxesTo() - Method in class com.google.javascript.rhino.jstype.NoType
- 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(BooleanLiteralSet) - Method in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
-
Computes the union of this set and
that
. - 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
andb
and returns the representative of the resulting equivalence class. - 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 - Enum constant in enum com.google.javascript.rhino.jstype.TernaryValue
-
unknown
, it represents lack of knowledge about whether this value istrue
orfalse
. - UNKNOWN_API_KEY - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- UNKNOWN_CHARSET - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- UNKNOWN_COMPILATION_LEVEL - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- UNKNOWN_DEFINES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- UNKNOWN_FORMATTING_OPTION - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- UNKNOWN_NAME - Static variable in class com.google.javascript.rhino.jstype.JSType
- UNKNOWN_OUTPUT_INFO - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- UNKNOWN_OUTPUT_MODE - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- UNKNOWN_PARAMETER - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- UNKNOWN_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- UNKNOWN_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- UNKNOWN_WARNING_LEVEL - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- UnknownType - Class in com.google.javascript.rhino.jstype
-
The
Unknown
type. - UNMAPPED - Enum constant in enum com.google.javascript.jscomp.AnonymousFunctionNamingPolicy
-
Generates names that are based on the left-hand side of the assignment.
- UNREACHABLE_URL - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- 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).
- UNSPECIFIED - Enum constant in enum com.google.javascript.jscomp.PropertyRenamingPolicy
- UNSPECIFIED - Enum constant in enum com.google.javascript.jscomp.VariableRenamingPolicy
- UNSUPPORTED_INPUT_RESOURCE_TYPE - Enum constant in enum com.google.javascript.jscomp.webservice.common.ErrorCode
- URI_ERROR_FUNCTION_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- URI_ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- URI_ERROR_TYPE - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- URI_ERROR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
- URL - Enum constant in enum com.google.debugging.sourcemap.SourceMapSection.SectionType
- URSH - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- USE_CLOSURE - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- USE_TYPES_FOR_OPTIMIZATIONS - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- USER_ID - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- 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
- V1 - Enum constant in enum com.google.debugging.sourcemap.SourceMapFormat
-
V1: The original Closure Inspector format
- V1 - Enum constant in enum com.google.javascript.jscomp.SourceMap.Format
- V2 - Enum constant in enum com.google.debugging.sourcemap.SourceMapFormat
-
V2: A more compact format
- V2 - Enum constant in enum com.google.javascript.jscomp.SourceMap.Format
- V3 - Enum constant in enum com.google.debugging.sourcemap.SourceMapFormat
-
V3: An even more compact format
- V3 - Enum constant in enum com.google.javascript.jscomp.SourceMap.Format
- 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(boolean) - Method in class com.google.javascript.jscomp.SourceMap
- validate(JsonML) - Static method in class com.google.javascript.jscomp.jsonml.Validator
-
Validates the specified JsonML element.
- 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.
- VALUE - Enum constant in enum com.google.javascript.jscomp.jsonml.TagAttr
- valueOf() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
- 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.deps.DepsGenerator.InclusionStrategy
-
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.jscomp.webservice.common.ErrorCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.webservice.common.Protocol.ApiKeyResponse
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.webservice.common.Protocol.CompilationLevelKey
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.webservice.common.Protocol.FormattingKey
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.webservice.common.Protocol.OutputFormatKey
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.webservice.common.Protocol.OutputInfoKey
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.webservice.common.Protocol.WarningLevelKey
-
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.
- 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.deps.DepsGenerator.InclusionStrategy
-
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.jscomp.webservice.common.ErrorCode
-
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.webservice.common.Protocol.ApiKeyResponse
-
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.webservice.common.Protocol.CompilationLevelKey
-
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.webservice.common.Protocol.FormattingKey
-
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.webservice.common.Protocol.OutputFormatKey
-
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.webservice.common.Protocol.OutputInfoKey
-
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.webservice.common.Protocol.RequestKey
-
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.webservice.common.Protocol.ResponseTag
-
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.webservice.common.Protocol.WarningLevelKey
-
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) - Static method in class com.google.javascript.rhino.IR
- var(Node, 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
- VarDecl - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- VARIABLE_MAP - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.OutputInfoKey
- VARIABLE_MAP - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- VARIABLE_MAP_ENTRY - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- 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.
- VERBOSE - Enum constant in enum com.google.javascript.jscomp.WarningLevel
- VERBOSE - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.WarningLevelKey
- VIOLATED_MODULE_DEP - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- VISIBILITY - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- 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.TemplateType
- visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.TemplatizedType
- 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
- visit(String, String, FilePosition, FilePosition, FilePosition) - Method in interface com.google.debugging.sourcemap.SourceMapConsumerV3.EntryVisitor
- 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 - Enum constant in enum com.google.javascript.rhino.jstype.JSTypeNative
- 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(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, 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
- warning(String, String, int, String, int) - Method in class com.google.javascript.jscomp.testing.TestErrorReporter
- 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 - Enum constant in enum com.google.javascript.jscomp.CheckLevel
- WARNING - Enum constant in enum com.google.javascript.jscomp.CheckLevelLegacy
- WARNING_LEVEL - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
- WARNING_TAG - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- 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. - WARNINGS - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.OutputInfoKey
- WARNINGS_TAG - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- 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.
- WHEN_IN_SRCS - Enum constant in enum com.google.javascript.jscomp.deps.DepsGenerator.InclusionStrategy
- WHILE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- WhileStmt - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- WhitelistBuilder() - Constructor for class com.google.javascript.jscomp.WhitelistWarningsGuard.WhitelistBuilder
- 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
- WHITESPACE_ONLY - Enum constant in enum com.google.javascript.jscomp.CompilationLevel
-
WHITESPACE_ONLY removes comments and extra whitespace in the input JS.
- WHITESPACE_ONLY - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.CompilationLevelKey
- 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.
- WithStmt - Enum constant in enum com.google.javascript.jscomp.jsonml.TagType
- withTemplateKeys(ImmutableList<TemplateType>) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
-
Set the template name.
- withTypeOfThis(JSType) - 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
- 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
- XML - Enum constant in enum com.google.javascript.jscomp.webservice.common.Protocol.OutputFormatKey
- xor(TernaryValue) - Method in enum com.google.javascript.rhino.jstype.TernaryValue
-
Gets the
xor
ofthis
andthat
. - XtbMessageBundle - Class in com.google.javascript.jscomp
-
A MessageBundle that parses messages from an XML Translation Bundle (XTB) file.
- XtbMessageBundle(InputStream, String) - Constructor for class com.google.javascript.jscomp.XtbMessageBundle
-
Creates an instance and initializes it with the messages in an XTB file.
- XtbMessageBundle(InputStream, String, boolean) - Constructor for class com.google.javascript.jscomp.XtbMessageBundle
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form