- 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
-
- AbstractMessageFormatter(SourceExcerptProvider) - Constructor for class com.google.javascript.jscomp.AbstractMessageFormatter
-
- AbstractStaticScope<T> - Class in com.google.javascript.rhino.testing
-
A scope that just returns null for everything.
- AbstractStaticScope() - Constructor for class com.google.javascript.rhino.testing.AbstractStaticScope
-
- 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
-
- add(E) - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
-
- add(E) - Method in interface com.google.javascript.jscomp.graph.UnionFind
-
Adds the given element to a new set if it is not already in a set.
- add(SourceFile) - Method in class com.google.javascript.jscomp.JSModule
-
Adds a source file input to this module.
- add(CompilerInput) - Method in class com.google.javascript.jscomp.JSModule
-
Adds a source code input to this module.
- add(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- ADD - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- addAfter(CompilerInput, CompilerInput) - Method in class com.google.javascript.jscomp.JSModule
-
Adds a source code input to this module directly after other.
- addAlias(String, String) - Method in interface com.google.javascript.jscomp.CompilerOptions.AliasTransformation
-
Adds an alias definition to the AliasTransformation instance.
- addAllDeclarationToRemove(Iterable<String>) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- addAllEntry(Iterable<? extends FunctionInformationMap.Entry>) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- addAllInit(Iterable<String>) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- addAllModule(Iterable<? extends FunctionInformationMap.Module>) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- addAnonymousFunctions() - Method in class com.google.javascript.jscomp.SymbolTable
-
Finds anonymous functions in local scopes, and gives them names
and symbols.
- addAuthor(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Adds an author to the current information.
- addChild(int, JsonML) - Method in class com.google.javascript.jscomp.jsonml.JsonML
-
Inserts the given JsonML element at the given position in the
list of children.
- addChildAfter(Node, Node) - Method in class com.google.javascript.rhino.Node
-
Add 'child' after 'node'.
- addChildBefore(Node, Node) - Method in class com.google.javascript.rhino.Node
-
Add 'child' before 'node'.
- addChildrenAfter(Node, Node) - Method in class com.google.javascript.rhino.Node
-
Add all children after 'node'.
- addChildrenToBack(Node) - Method in class com.google.javascript.rhino.Node
-
- addChildrenToFront(Node) - Method in class com.google.javascript.rhino.Node
-
- addChildToBack(Node) - Method in class com.google.javascript.rhino.Node
-
- addChildToFront(Node) - Method in class com.google.javascript.rhino.Node
-
- addDeclarationToRemove(String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- addDependency(JSModule) - Method in class com.google.javascript.jscomp.JSModule
-
Adds a dependency on another module.
- addEntry(FunctionInformationMap.Entry) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- addEntry(int, FunctionInformationMap.Entry) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- addEntry(FunctionInformationMap.Entry.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- addEntry(int, FunctionInformationMap.Entry.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- addEntryBuilder() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- addEntryBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- addExterns(FileList) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Sets the externs file.
- addFirst(SourceFile) - Method in class com.google.javascript.jscomp.JSModule
-
Adds a source file input to this module.
- addFirst(CompilerInput) - Method in class com.google.javascript.jscomp.JSModule
-
Adds a source code input to this module.
- addInit(String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- addMapping(String, String, FilePosition, FilePosition, FilePosition) - Method in interface com.google.debugging.sourcemap.SourceMapGenerator
-
Adds a mapping for the given node.
- addMapping(String, String, FilePosition, FilePosition, FilePosition) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV1
-
Adds a mapping for the given node.
- addMapping(String, String, FilePosition, FilePosition, FilePosition) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV2
-
Adds a mapping for the given node.
- addMapping(String, String, FilePosition, FilePosition, FilePosition) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Adds a mapping for the given node.
- addMapping(Node, FilePosition, FilePosition) - Method in class com.google.javascript.jscomp.SourceMap
-
- addModule(FunctionInformationMap.Module) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- addModule(int, FunctionInformationMap.Module) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- addModule(FunctionInformationMap.Module.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- addModule(int, FunctionInformationMap.Module.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- addModuleBuilder() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- addModuleBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- addNativeProperties(JSTypeRegistry) - Static method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
Adds a basic set of properties to the native types.
- addNewScript(JsAst) - Method in class com.google.javascript.jscomp.Compiler
-
Adds a new Script AST to the compile state.
- addNode(N) - Method in interface com.google.javascript.jscomp.graph.SubGraph
-
Adds the node into this subgraph.
- addOptionalParams(JSType...) - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
-
Add optional parameters of the given type to the end of the param list.
- addPath(Path) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
- addProperty(String, JSType, Node) - Method in class com.google.javascript.rhino.jstype.RecordTypeBuilder
-
Adds a property with the given name and type to the record type.
- addReference(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Adds a reference ("@see") to the current information.
- addRequiredParams(JSType...) - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
-
Add parameters of the given type to the end of the param list.
- addSources(FileList) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Sets the source files.
- addSuppression(String) - Method in class com.google.javascript.rhino.JSDocInfo
-
Add a suppressed warning.
- addSuppression(String) - Method in class com.google.javascript.rhino.Node
-
Adds a warning to be suppressed.
- addVarArgs(JSType) - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
-
Add variable arguments to the end of the parameter list.
- addWarning(Warning) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Adds a entry
Each warning entry must have two attributes, group and level.
- addWarningsGuard(WarningsGuard) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Add a guard to the set of warnings guards.
- AdjacencyGraph<N,E> - Interface in com.google.javascript.jscomp.graph
-
A minimal graph interface.
- aggressiveVarCheck - Variable in class com.google.javascript.jscomp.CompilerOptions
-
- aliasableStrings - Variable in class com.google.javascript.jscomp.CompilerOptions
-
If set to a non-empty set, those strings literals will be aliased to a
single global instance per string, to avoid creating more objects than
necessary.
- aliasAllStrings - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Aliases all string literals to global instances, to avoid creating more
objects than necessary (if true, overrides any set of strings passed in
to aliasableStrings)
- aliasExternals - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Adds variable aliases for externals to reduce code size
- aliasKeywords - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Aliases true, false, and null to variables with shorter names.
- aliasStringsBlacklist - Variable in class com.google.javascript.jscomp.CompilerOptions
-
A blacklist in the form of a regular expression to block strings that
contains certain words from being aliased.
- ALL_NATIVE_EXTERN_TYPES - Static variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
A definition of all extern types.
- ALL_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- allEquivalenceClasses() - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
-
- allEquivalenceClasses() - Method in interface com.google.javascript.jscomp.graph.UnionFind
-
Returns an immutable collection containing all equivalence classes.
- AllType - Class in com.google.javascript.rhino.jstype
-
All type, representing all values.
- ambiguateProperties - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Rename unrelated properties to the same name to reduce code size.
- AMBIGUOUS_FUNCTION_DECL - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- and(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- and(TernaryValue) - Method in enum com.google.javascript.rhino.jstype.TernaryValue
-
Gets the and
of this
and that
.
- AND - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- Annotatable - Interface in com.google.javascript.jscomp.graph
-
Object that has an annotation.
- Annotation - Interface in com.google.javascript.jscomp.graph
-
- ANNOTATION - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- anonymousFunctionNaming - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Give anonymous functions names for easier debugging
- AnonymousFunctionNamingPolicy - Enum in com.google.javascript.jscomp
-
Strategies for how to do naming of anonymous functions that occur as
r-values in assignments and variable declarations.
- AntErrorManager - Class in com.google.javascript.jscomp.ant
-
An error manager that pipes warnings and errors properly into the Ant
task infrastructure.
- AntErrorManager(MessageFormatter, Task) - Constructor for class com.google.javascript.jscomp.ant.AntErrorManager
-
- APP_NAME_SETTER_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Instrumentation
-
- append(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 a constructor
property.
- applySubclassRelationship(FunctionType, FunctionType, CodingConvention.SubclassType) - Method in interface com.google.javascript.jscomp.CodingConvention
-
In many JS libraries, the function that produces inheritance also
adds properties to the superclass and/or subclass.
- applySubclassRelationship(FunctionType, FunctionType, CodingConvention.SubclassType) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- areAllFlagsSet() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
-
- areEquivalent(E, E) - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
-
- areEquivalent(E, E) - Method in interface com.google.javascript.jscomp.graph.UnionFind
-
Returns true if a
and b
belong to the same equivalence
class.
- ARRAY_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- ARRAY_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- arraylit(Node...) - Static method in class com.google.javascript.rhino.IR
-
- ARRAYLIT - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- 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)
- 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(String, JSType, JSType) - Static method in class com.google.javascript.rhino.testing.Asserts
-
- assertTypeEquals(JSType, Node) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
Asserts that a Node representing a type expression resolves to the
correct JSType
.
- assertTypeEquals(JSType, JSTypeExpression) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
Asserts that a a type expression resolves to the correct JSType
.
- assertTypeEquals(JSType, JSType) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- assertTypeEquals(String, JSType, JSType) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- assertTypeNotEquals(JSType, JSType) - Static method in class com.google.javascript.rhino.testing.Asserts
-
- assertTypeNotEquals(String, JSType, JSType) - Static method in class com.google.javascript.rhino.testing.Asserts
-
- assertTypeNotEquals(JSType, JSType) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- assertTypeNotEquals(String, JSType, JSType) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- assertValidResolve(JSType) - Static method in class com.google.javascript.rhino.testing.Asserts
-
- assertValidResolve(JSType, StaticScope<JSType>) - Static method in class com.google.javascript.rhino.testing.Asserts
-
- assign(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- ASSIGN - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ASSIGN_ADD - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ASSIGN_BITAND - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ASSIGN_BITOR - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ASSIGN_BITXOR - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ASSIGN_DIV - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ASSIGN_LSH - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ASSIGN_MOD - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ASSIGN_MUL - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ASSIGN_RSH - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ASSIGN_SUB - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ASSIGN_URSH - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- assumeClosuresOnlyCaptureReferences() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- assumeStrictThis() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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(AstValidator.ViolationHandler) - Constructor for class com.google.javascript.jscomp.AstValidator
-
- AstValidator() - Constructor for class com.google.javascript.jscomp.AstValidator
-
- AstValidator.ViolationHandler - Interface in com.google.javascript.jscomp
-
- autobox() - Method in class com.google.javascript.rhino.jstype.JSType
-
Dereference a type for property access.
- autobox() - Method in class com.google.javascript.rhino.jstype.UnionType
-
- autoboxesTo() - Method in class com.google.javascript.rhino.jstype.BooleanType
-
- autoboxesTo() - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
- autoboxesTo() - Method in class com.google.javascript.rhino.jstype.JSType
-
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
-
- call(Node, Node...) - Static method in class com.google.javascript.rhino.IR
-
- CALL - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- CallGraph - Class in com.google.javascript.jscomp
-
A pass the uses a DefinitionProvider
to compute a call graph for an
AST.
- CallGraph(AbstractCompiler, boolean, boolean) - Constructor for class com.google.javascript.jscomp.CallGraph
-
Creates a call graph object supporting the specified lookups.
- CallGraph(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.CallGraph
-
Creates a call graph object support both forward and backward lookups.
- CallGraph.Callsite - Class in com.google.javascript.jscomp
-
An inner class that represents call sites in the call graph.
- CallGraph.Function - Class in com.google.javascript.jscomp
-
An inner class that represents functions in the call graph.
- canBeCalled() - Method in class com.google.javascript.rhino.jstype.AllType
-
- canBeCalled() - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
- canBeCalled() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- canBeCalled() - Method in class com.google.javascript.rhino.jstype.JSType
-
This predicate is used to test whether a given type can be used as the
'function' in a function call.
- canBeCalled() - Method in class com.google.javascript.rhino.jstype.UnionType
-
- canBeCalled() - Method in class com.google.javascript.rhino.jstype.UnknownType
-
- canCastTo(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Tests whether values of this
type can be safely assigned
to values of that
type.
- canPropertyBeDefined(JSType, String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Returns whether the given property can possibly be set on the given type.
- canTestForEqualityWith(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Tests whether this
and that
are meaningfully
comparable.
- canTestForShallowEqualityWith(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Tests whether this
and that
are meaningfully
comparable using shallow comparison.
- CASE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- CASE_SENSITIVE - Static variable in class com.google.javascript.jscomp.regex.CaseCanonicalize
-
Set of code units that are case-insensitively equivalent to some other
code unit according to the EcmaScript
Canonicalize operation
described in section 15.10.2.8.
- caseAllType() - Method in 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 - Class in com.google.javascript.jscomp.regex
-
Implements the ECMAScript 5
Canonicalize operation
used to specify how case-insensitive regular expressions match.
- caseCanonicalize(String) - Static method in class com.google.javascript.jscomp.regex.CaseCanonicalize
-
Returns the case canonical version of the given string.
- caseCanonicalize(char) - Static method in class com.google.javascript.jscomp.regex.CaseCanonicalize
-
Returns the case canonical version of the given code-unit.
- caseEnumElementType(EnumElementType) - Method in 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(Node) - Static method in class com.google.javascript.rhino.IR
-
- cast(JSType) - Static method in class com.google.javascript.rhino.jstype.ObjectType
-
A null-safe version of JSType#toObjectType.
- CAST - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- CATCH - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- 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
-
- check() - Method in class com.google.javascript.jscomp.Compiler
-
- check(Node, boolean) - Method in class com.google.javascript.jscomp.TypeCheck
-
- CHECK_PROVIDES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- CHECK_REGEXP - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- CHECK_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 - 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
-
- 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
-
- 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
-
- clearColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- clearCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- clearCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
- clearDeclarationToRemove() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- clearEdgeAnnotations() - Method in class com.google.javascript.jscomp.graph.Graph
-
Makes each edge's annotation null.
- clearEntry() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- clearId() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- clearIdentifier() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- clearInit() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- clearLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- clearLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- clearLineNumber() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- clearModule() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- clearModuleName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- clearName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- clearName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
- clearNamedTypes() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Flushes out the current resolved and 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
-
- clearOriginalFile() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- clearOriginalMapping() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- clearReportCall() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- clearReportDefined() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- clearReportExit() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- clearResolved() - Method in class com.google.javascript.rhino.jstype.JSType
-
Clears the resolved field.
- clearSideEffectFlags() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
-
Preserve the return result flag, but clear the others:
no global state change, no throws, no this change, no arguments change
- clearSize() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- clearSourceName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- 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.
- 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.
- ClosureCodingConvention.AssertInstanceofSpec(String) - Constructor for class com.google.javascript.jscomp.ClosureCodingConvention.AssertInstanceofSpec
-
- 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
-
- coalesceDuplicateFiles() - Method in class com.google.javascript.jscomp.JSModuleGraph
-
Replaces any files that are found multiple times with a single instance in
the closest parent module that is common to all modules where it appears.
- coalesceVariableNames - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Merge two variables together as one.
- CodingConvention - Interface in com.google.javascript.jscomp
-
CodingConvention defines a set of hooks to customize the behavior of the
Compiler for a specific team/company.
- CodingConvention.AssertionFunctionSpec - Class in com.google.javascript.jscomp
-
A function that will throw an exception when either:
-One or more of its parameters evaluate to false.
- CodingConvention.AssertionFunctionSpec(String) - Constructor for class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
-
- CodingConvention.AssertionFunctionSpec(String, JSTypeNative) - Constructor for class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
-
- CodingConvention.Bind - Class in com.google.javascript.jscomp
-
- CodingConvention.Bind(Node, Node, Node) - Constructor for class com.google.javascript.jscomp.CodingConvention.Bind
-
- CodingConvention.DelegateRelationship - Class in com.google.javascript.jscomp
-
Delegates provides a mechanism and structure for identifying where classes
can call out to optional code to augment their functionality.
- CodingConvention.ObjectLiteralCast - Class in com.google.javascript.jscomp
-
An object literal cast provides a mechanism to cast object literals to
other types without a warning.
- CodingConvention.SubclassRelationship - Class in com.google.javascript.jscomp
-
- CodingConvention.SubclassRelationship(CodingConvention.SubclassType, Node, Node) - Constructor for class com.google.javascript.jscomp.CodingConvention.SubclassRelationship
-
- CodingConvention.SubclassType - Enum in com.google.javascript.jscomp
-
- CodingConventions - Class in com.google.javascript.jscomp
-
Helper classes for dealing with coding conventions.
- CodingConventions.Proxy - Class in com.google.javascript.jscomp
-
A convention that wraps another.
- CodingConventions.Proxy(CodingConvention) - Constructor for class com.google.javascript.jscomp.CodingConventions.Proxy
-
- collapseAnonymousFunctions - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Collapses anonymous function declarations into named function
declarations
- collapseDots(String) - Static method in class com.google.javascript.jscomp.deps.PathUtil
-
Removes all ../ and ./ entries from within the given path.
- collapseProperties - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Flattens multi-level property names (e.g.
- collapseUnion() - Method in class com.google.javascript.rhino.jstype.JSType
-
Gets the least supertype of this that's not a union.
- collapseUnion() - Method in class com.google.javascript.rhino.jstype.UnionType
-
- collapseVariableDeclarations - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Collapses multiple variable declarations into one
- COLON - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- color() - Method in class com.google.javascript.jscomp.graph.GraphColoring
-
- 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
-
- com.google.javascript.rhino.jstype - package com.google.javascript.rhino.jstype
-
Provides abstractions to represent types in JavaScript.
- com.google.javascript.rhino.testing - package com.google.javascript.rhino.testing
-
- comma(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- COMMA - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- CommandLineRunner - Class in com.google.javascript.jscomp
-
CommandLineRunner translates flags into Java API calls on the Compiler.
- CommandLineRunner(String[]) - Constructor for class com.google.javascript.jscomp.CommandLineRunner
-
Create a new command-line runner.
- CommandLineRunner(String[], PrintStream, PrintStream) - Constructor for class com.google.javascript.jscomp.CommandLineRunner
-
- compare(JsonML, JsonML) - Static method in class com.google.javascript.jscomp.jsonml.JsonMLUtil
-
Compares two specified JsonML trees.
- compareTo(DiagnosticType) - Method in class com.google.javascript.jscomp.DiagnosticType
-
- CompilationLevel - Enum in com.google.javascript.jscomp
-
A CompilationLevel represents the level of optimization that should be
applied when compiling JavaScript code.
- compile(SourceFile, SourceFile, CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
- compile(SourceFile, JSSourceFile[], CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Deprecated.
Convert your arrays to lists and use the list-based API.
- 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(List<T1>, List<T2>, CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Compiles a list of inputs.
- compile(JSSourceFile[], JSModule[], CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Deprecated.
Convert your arrays to lists and use the list-based
compileModules method.
- compile(JsonML) - Method in class com.google.javascript.jscomp.jsonml.SecureCompiler
-
- COMPILED_SOURCE_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- COMPILED_SOURCE_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- compileModules(List<T>, List<JSModule>, CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Compiles a list of modules.
- Compiler - Class in com.google.javascript.jscomp
-
Compiler (and the other classes in this package) does the following:
parses JS code
checks for undefined variables
performs optimizations such as constant folding and constants inlining
renames variables (to short names)
outputs compact JavaScript code
External variables are declared in 'externs' files.
- Compiler() - Constructor for class com.google.javascript.jscomp.Compiler
-
Creates a Compiler that reports errors and warnings to its logger.
- Compiler(PrintStream) - Constructor for class com.google.javascript.jscomp.Compiler
-
Creates a Compiler that reports errors and warnings to an output stream.
- Compiler(ErrorManager) - Constructor for class com.google.javascript.jscomp.Compiler
-
Creates a Compiler that uses a custom error manager.
- Compiler.CodeBuilder - Class in com.google.javascript.jscomp
-
Stores a buffer of text to which more can be appended.
- Compiler.CodeBuilder() - Constructor for class com.google.javascript.jscomp.Compiler.CodeBuilder
-
- Compiler.IntermediateState - Class in com.google.javascript.jscomp
-
Stores the internal compiler state just before optimization is performed.
- CompilerInput - Class in com.google.javascript.jscomp
-
A class for the internal representation of an input to the compiler.
- CompilerInput(SourceAst) - Constructor for class com.google.javascript.jscomp.CompilerInput
-
- CompilerInput(SourceAst, boolean) - Constructor for class com.google.javascript.jscomp.CompilerInput
-
- CompilerInput(SourceAst, String, boolean) - Constructor for class com.google.javascript.jscomp.CompilerInput
-
- CompilerInput(SourceAst, InputId, boolean) - Constructor for class com.google.javascript.jscomp.CompilerInput
-
- CompilerInput(SourceFile) - Constructor for class com.google.javascript.jscomp.CompilerInput
-
- CompilerInput(SourceFile, boolean) - Constructor for class com.google.javascript.jscomp.CompilerInput
-
- CompilerOptions - Class in com.google.javascript.jscomp
-
Compiler options
- CompilerOptions() - Constructor for class com.google.javascript.jscomp.CompilerOptions
-
Initializes compiler options.
- CompilerOptions.AliasTransformation - Interface in com.google.javascript.jscomp
-
A Role Specific Interface for the 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(List<WarningsGuard>) - Constructor for class com.google.javascript.jscomp.ComposeWarningsGuard
-
- ComposeWarningsGuard(WarningsGuard...) - Constructor for class com.google.javascript.jscomp.ComposeWarningsGuard
-
- compute(N) - Method in class com.google.javascript.jscomp.graph.GraphReachability
-
- computeDependencyCalls() - Method in class com.google.javascript.jscomp.deps.DepsGenerator
-
Performs the parsing inputs and writing of outputs.
- computeFixedPoint(DiGraph<N, E>) - Method in class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
-
Compute a fixed point for the given graph.
- computeFixedPoint(DiGraph<N, E>, N) - Method in class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
-
Compute a fixed point for the given graph, entering from the given node.
- computeFixedPoint(DiGraph<N, E>, Set<N>) - Method in class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
-
Compute a fixed point for the given graph, entering from the given nodes.
- computeFunctionSideEffects - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Use @nosideeffects annotations, function bodies and name graph
to determine if calls have side effects.
- Config - Class in com.google.javascript.jscomp.parsing
-
Configuration for the AST factory.
- Config.LanguageMode - Enum in com.google.javascript.jscomp.parsing
-
- connect(N, E, N) - Method in class com.google.javascript.jscomp.graph.Graph
-
Connects two nodes in the graph with an edge.
- connect(N, E, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- connect(N, E, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- connectIfNotFound(N, E, N) - Method in class com.google.javascript.jscomp.graph.Graph
-
Connects two nodes in the graph with an edge if such edge does not already
exists between the nodes.
- CONST - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- CONST - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- CONSTANT_PROPERTY - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- contains(boolean) - Method in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
-
Returns whether this
contains the given literal value.
- contains(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
-
A
UnionType
contains a given type (alternate) iff the member
vector contains it.
- containsAnchor() - Method in class com.google.javascript.jscomp.regex.RegExpTree
-
True if the regular expression contains an anchor : ^
or $
.
- containsDeclaration() - Method in class com.google.javascript.rhino.JSDocInfo
-
- containWarning(String) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard
-
Determines whether a given warning is included in the white-list.
- CONTINUE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- continueNode() - Static method in class com.google.javascript.rhino.IR
-
- continueNode(Node) - Static method in class com.google.javascript.rhino.IR
-
- 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.
- 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, JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a function type which can act as a constructor.
- createConstructorType(JSType, boolean, JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a function type which can act as a constructor.
- createConstructorType(String, Node, Node, JSType, 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, JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a function type.
- createFunctionType(JSType, List<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a function type.
- createFunctionType(ObjectType, JSType, List<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a function type in which this
refers to an object instance.
- createFunctionType(JSType, boolean, JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a function type.
- createFunctionType(JSType, Node) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- createFunctionTypeWithNewReturnType(FunctionType, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a new function type based on an existing function type but
with a new return type.
- createFunctionTypeWithNewThisType(FunctionType, ObjectType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a new function type based on an existing function type but
with a new this
type.
- createFunctionTypeWithVarArgs(JSType, List<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a function type.
- createFunctionTypeWithVarArgs(JSType, JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a function type.
- createFunctionTypeWithVarArgs(ObjectType, JSType, List<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a function type in which this
refers to an object instance.
- createInterfaceType(String, Node) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates an interface function type.
- 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(List<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a tree hierarchy representing a typed argument list.
- createParameters(JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a tree hierarchy representing a typed argument list.
- createParametersWithVarArgs(List<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a tree hierarchy representing a typed argument list.
- createParametersWithVarArgs(JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a tree hierarchy representing a typed argument list.
- createRecordType(Map<String, RecordTypeBuilder.RecordProperty>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a record type.
- createRecordTypeBuilder() - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- 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, 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.testing.BaseJSTypeTestCase
-
- createUndirectedGraphNode(N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- createUnionType(JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a union type whose variants are the arguments.
- createUnionType(JSTypeNative...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a union type whose variants are the built-in types specified
by the arguments.
- createUnionType(JSType...) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- createWithEdgeAnnotations() - Static method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- createWithEdgeAnnotations() - Static method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- createWithNodeAnnotations() - Static method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- createWithNodeAnnotations() - Static method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- createWithoutAnnotations() - Static method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- createWithoutAnnotations() - Static method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- crossModuleCodeMotion - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Move code to a deeper module
- crossModuleMethodMotion - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Move 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.ByPart() - Constructor for class com.google.javascript.jscomp.CssRenamingMap.ByPart
-
- CssRenamingMap.ByWhole - Class in com.google.javascript.jscomp
-
- CssRenamingMap.ByWhole() - Constructor for class com.google.javascript.jscomp.CssRenamingMap.ByWhole
-
- CssRenamingMap.Style - Enum in com.google.javascript.jscomp
-
- customPasses - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Custom passes
- CustomPassExecutionTime - Enum in com.google.javascript.jscomp
-
Custom pass type.
- gatherCssNames - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Gather CSS names (requires closurePass)
- GE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- generateExports - Variable in class com.google.javascript.jscomp.CompilerOptions
-
- generateId(String, List<CharSequence>) - Method in class com.google.javascript.jscomp.GoogleJsMessageIdGenerator
-
- generateId(String, List<CharSequence>) - Method in interface com.google.javascript.jscomp.JsMessage.IdGenerator
-
Generate the ID for the message.
- generatePseudoNames - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Generate pseudo names for variables and properties for debugging purposes.
- generateReport() - Method in class com.google.javascript.jscomp.BasicErrorManager
-
- generateReport() - Method in interface com.google.javascript.jscomp.ErrorManager
-
Writes a report to an implementation-specific medium.
- get(String) - Method in class com.google.javascript.jscomp.CssRenamingMap.ByPart
-
- get(String) - Method in class com.google.javascript.jscomp.CssRenamingMap.ByWhole
-
- get(String) - Method in interface com.google.javascript.jscomp.CssRenamingMap
-
- get(String) - Static method in enum com.google.javascript.jscomp.jsonml.TagAttr
-
- get(SourceExcerptProvider, String, int, SourceExcerptProvider.ExcerptFormatter) - Method in enum com.google.javascript.jscomp.SourceExcerptProvider.SourceExcerpt
-
Get a source excerpt string based on the type of the source excerpt.
- get(boolean) - Static method in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
-
Returns the singleton set {literalValue}.
- GET - Static variable in class com.google.javascript.rhino.Token
-
- getAbstractMethodName() - Method in class com.google.javascript.jscomp.ClosureCodingConvention
-
- getAbstractMethodName() - Method in interface com.google.javascript.jscomp.CodingConvention
-
Function name for abstract methods.
- getAbstractMethodName() - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- getAliasTransformationHandler() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getAllCallsites() - Method in class com.google.javascript.jscomp.CallGraph
-
Returns a collection of all callsites in the call graph.
- getAllDependencies() - Method in class com.google.javascript.jscomp.JSModule
-
Returns the transitive closure of dependencies starting from the
dependencies of this module.
- getAllExtendedInterfaces() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Returns all extended interfaces declared by an interfaces or its super-
interfaces.
- getAllFunctions() - Method in class com.google.javascript.jscomp.CallGraph
-
Returns a collection of all functions (including the main function)
in the call graph.
- getAllImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Returns all interfaces implemented by a class or its superclass and any
superclasses for any of those interfaces.
- getAllJSDocInfo() - Method in class com.google.javascript.jscomp.SymbolTable
-
- getAllMessages() - Method in class com.google.javascript.jscomp.EmptyMessageBundle
-
Returns an empty list of messages.
- getAllMessages() - Method in interface com.google.javascript.jscomp.MessageBundle
-
Returns an iterable over the keys that this object has replacements for.
- getAllMessages() - Method in class com.google.javascript.jscomp.XtbMessageBundle
-
- getAllScopes() - Method in class com.google.javascript.jscomp.SymbolTable
-
Gets all the scopes in this symbol table.
- getAllSymbols() - Method in class com.google.javascript.jscomp.Scope
-
- getAllSymbols() - Method in class com.google.javascript.jscomp.SymbolTable
-
- getAllSymbols() - Method in interface com.google.javascript.rhino.jstype.StaticSymbolTable
-
Returns all variables in this symbol table.
- getAllSymbolsForType(JSType) - Method in class com.google.javascript.jscomp.SymbolTable
-
Gets all symbols associated with the given type.
- getAllSymbolsForTypeOf(SymbolTable.Symbol) - Method in class com.google.javascript.jscomp.SymbolTable
-
Get all symbols associated with the type of the given symbol.
- getAllSymbolsSorted() - Method in class com.google.javascript.jscomp.SymbolTable
-
Get the symbols in their natural ordering.
- getAlternates() - Method in class com.google.javascript.rhino.jstype.UnionType
-
Gets the alternate types of this union type.
- getAncestor(int) - Method in class com.google.javascript.rhino.Node
-
Gets the ancestor node relative to this.
- getAncestors() - Method in class com.google.javascript.rhino.Node
-
Iterates all of the node's ancestors excluding itself.
- getAnnotation() - Method in interface com.google.javascript.jscomp.graph.Annotatable
-
Retrieves a piece of information that has been annotated.
- getAnnotation() - Method in class com.google.javascript.rhino.JSDocInfo.Marker
-
Gets the position information for the annotation name.
- getAppNameSetter() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- getAppNameSetter() - Method in class com.google.javascript.jscomp.Instrumentation
-
- getAppNameSetter() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
- getArgumentsVar() - Method in class com.google.javascript.jscomp.Scope
-
Get a unique VAR object to represents "arguments" within this scope
- getAssertedParam(Node) - Method in class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
-
Returns the parameter of the assertion function that is being checked.
- getAssertedType(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
-
- getColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- getColumnPosition() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
-
- getColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- getColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- getColumnPosition() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
- getCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- getCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- getCompiledSource() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
- getCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
- getCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- getCompiledSource() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder
-
- getCompiler() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Gets the compiler.
- getConstructor() - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
- getConstructor() - Method in class com.google.javascript.rhino.jstype.EnumType
-
- getConstructor() - Method in class com.google.javascript.rhino.jstype.NoObjectType
-
- getConstructor() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Gets this object's constructor.
- getConstructor() - Method in class com.google.javascript.rhino.jstype.UnknownType
-
- getContainingFunction() - Method in class com.google.javascript.jscomp.CallGraph.Callsite
-
- getContextNode() - Method in class com.google.javascript.jscomp.FindExportableNodes.GenerateNodeContext
-
- getControlFlowGraph() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Gets the control flow graph for the current JS scope.
- getCtorExtendedInterfaces() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Gets the interfaces extended by the interface associated with this type.
- getCtorImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Gets the interfaces implemented by the ctor associated with this type.
- getCurrentNode() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Returns the node currently being traversed.
- getDeclaration() - Method in class com.google.javascript.jscomp.Scope.Var
-
- getDeclaration() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
-
- getDeclaration() - Method in class com.google.javascript.rhino.jstype.Property
-
- getDeclaration() - Method in class com.google.javascript.rhino.jstype.SimpleSlot
-
- getDeclaration() - Method in interface com.google.javascript.rhino.jstype.StaticSlot
-
Gets the declaration of this symbol.
- getDeclarationNode() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
-
- getDeclarationToRemove(int) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- getDeclarationToRemove(int) - Method in class com.google.javascript.jscomp.Instrumentation
-
- getDeclarationToRemove(int) - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
- getDeclarationToRemoveCount() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- getDeclarationToRemoveCount() - Method in class com.google.javascript.jscomp.Instrumentation
-
- getDeclarationToRemoveCount() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
- getDeclarationToRemoveList() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- getDeclarationToRemoveList() - Method in class com.google.javascript.jscomp.Instrumentation
-
- getDeclarationToRemoveList() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
- getDeclarativelyUnboundVarsWithoutTypes() - Method in class com.google.javascript.jscomp.Scope
-
Gets all variables declared with "var" but without declared types attached.
- getDeepestCommonDependencyInclusive(JSModule, JSModule) - Method in class com.google.javascript.jscomp.JSModuleGraph
-
Finds the deepest common dependency of two modules, including the
modules themselves.
- getDeepestCommonDependencyInclusive(Collection<JSModule>) - Method in class com.google.javascript.jscomp.JSModuleGraph
-
Returns the deepest common dependency of the given modules.
- getDefault() - Static method in class com.google.javascript.jscomp.CodingConventions
-
Gets the default coding convention.
- getDefaultExterns() - Static method in class com.google.javascript.jscomp.CommandLineRunner
-
- getDefaultInstance() - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- getDefaultInstance() - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- getDefaultInstance() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- getDefaultInstance() - Static method in class com.google.javascript.jscomp.FunctionInformationMap
-
- getDefaultInstance() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- getDefaultInstance() - Static method in class com.google.javascript.jscomp.Instrumentation
-
- getDefaultInstanceForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- getDefaultInstanceForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- getDefaultInstanceForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- getDefaultInstanceForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- getDefaultInstanceForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- getDefaultInstanceForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- getDefaultInstanceForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- getDefaultInstanceForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- getDefaultInstanceForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
- getDefaultInstanceForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- getDefaultInstanceForType() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- getDefaultInstanceForType() - Method in class com.google.javascript.jscomp.Instrumentation
-
- getDefaultLevel() - Method in class com.google.javascript.jscomp.JSError
-
The default level, before any of the WarningsGuards are applied.
- getDefineReplacements() - Method in class com.google.javascript.jscomp.CompilerOptions
-
Returns the map of define replacements.
- getDelegateRelationship(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
-
- getDelegateRelationship(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- getDelegateSuperclassName() - Method in interface com.google.javascript.jscomp.CodingConvention
-
- getDelegateSuperclassName() - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- getDependencies() - Method in class com.google.javascript.jscomp.JSModule
-
Gets the list of modules that this module depends on.
- getDependenciesOf(List<INPUT>, boolean) - Method in class com.google.javascript.jscomp.deps.SortedDependencies
-
Gets all the dependencies of the given roots.
- getDependentModule() - Method in exception com.google.javascript.jscomp.JSModuleGraph.ModuleDependenceException
-
- getDeprecationReason() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns the deprecation reason or null if none specified.
- getDepth() - Method in class com.google.javascript.jscomp.JSModule
-
- getDesc() - Method in class com.google.javascript.jscomp.JsMessage
-
Gets the description associated with this message, intended to help
translators, or null if this message has no description.
- getDescription() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the description specified by the @desc
annotation.
- getDescription() - Method in class com.google.javascript.rhino.JSDocInfo.Marker
-
Gets the position information for the description found
in a block tag.
- getDescriptionForParameter(String) - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns the description for the parameter with the given name, if its
exists.
- getDescriptor() - Static method in class com.google.debugging.sourcemap.proto.Mapping
-
- getDescriptor() - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- getDescriptor() - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- getDescriptor() - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- getDescriptor() - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- getDescriptor() - Static method in class com.google.javascript.jscomp.FunctionInfo
-
- getDescriptor() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- getDescriptor() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- getDescriptor() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- getDescriptor() - Static method in class com.google.javascript.jscomp.FunctionInformationMap
-
- getDescriptor() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
- getDescriptor() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- getDescriptor() - Static method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- getDescriptor() - Static method in class com.google.javascript.jscomp.Instrumentation
-
- getDescriptor() - Static method in class com.google.javascript.jscomp.InstrumentationTemplate
-
- getDescriptorForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- getDescriptorForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- getDescriptorForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- getDescriptorForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- getDescriptorForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
- getDescriptorForType() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- getDestination() - Method in interface com.google.javascript.jscomp.graph.DiGraph.DiGraphEdge
-
- getDiagnosticGroups() - Method in class com.google.javascript.jscomp.Compiler
-
The warning classes that are available from the command-line, and
are 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(N) - Method in class com.google.javascript.jscomp.graph.DiGraph
-
- getDirectedPredNodes(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- getDirectedPredNodes(DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- getDirectedSuccNodes(DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.DiGraph
-
- getDirectedSuccNodes(N) - Method in class com.google.javascript.jscomp.graph.DiGraph
-
- getDirectedSuccNodes(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- getDirectedSuccNodes(DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- getDirectImplementors(ObjectType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Returns a collection of types that directly implement interfaceInstance
.
- getDirectives() - Method in class com.google.javascript.rhino.Node
-
Returns the set of ES5 directives for this node.
- getDisplayName() - Method in class com.google.javascript.rhino.jstype.AllType
-
- getDisplayName() - Method in class com.google.javascript.rhino.jstype.BooleanType
-
- getDisplayName() - Method in class com.google.javascript.rhino.jstype.EnumType
-
- getDisplayName() - Method in class com.google.javascript.rhino.jstype.JSType
-
Returns a user meaningful label for the JSType instance.
- getDisplayName() - Method in class com.google.javascript.rhino.jstype.NullType
-
- getDisplayName() - Method in class com.google.javascript.rhino.jstype.NumberType
-
- getDisplayName() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- getDisplayName() - Method in class com.google.javascript.rhino.jstype.StringType
-
- getDisplayName() - Method in class com.google.javascript.rhino.jstype.UnknownType
-
- getDisplayName() - Method in class com.google.javascript.rhino.jstype.VoidType
-
- getDouble() - Method in class com.google.javascript.rhino.Node
-
Can only be called when getType() == TokenStream.NUMBER
- getEachReferenceTypeWithProperty(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Returns each reference type that has a property propertyName
defined on it.
- getEdges() - Method in class com.google.javascript.jscomp.graph.Graph
-
Gets an immutable list of all edges.
- getEdges(N, N) - Method in class com.google.javascript.jscomp.graph.Graph
-
Retrieves an edge from the graph.
- getEdges(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- getEdges() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- getEdges(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- getEdges() - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- getelem(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- GETELEM - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- getElementPreOrder(int) - Method in class com.google.javascript.jscomp.jsonml.JsonMLAst
-
Returns a JsonML element with the specified number from the tree in
pre-order walk.
- getElements() - Method in class com.google.javascript.rhino.jstype.EnumType
-
Gets the elements defined on this enum.
- getElementsType() - Method in class com.google.javascript.rhino.jstype.EnumType
-
Gets the elements' type.
- getEnclosingFunction() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Examines the functions stack for the last instance of a function node.
- getEnclosingScope(Node) - Method in class com.google.javascript.jscomp.SymbolTable
-
Gets the scope that contains the given node.
- getEndingLineNumber() - Method in interface com.google.javascript.jscomp.Region
-
Get the ending line number.
- getEndingLineNumber() - Method in class com.google.javascript.jscomp.SimpleRegion
-
- getEndLine() - Method in class com.google.javascript.rhino.SourcePosition
-
Returns the ending line number of this position.
- getEntry(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- getEntry(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- getEntry(int) - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
- getEntryBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- getEntryBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- getEntryCount() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- getEntryCount() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- getEntryCount() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
- getEntryList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- getEntryList() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- getEntryList() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
- getEntryOrBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- getEntryOrBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- getEntryOrBuilder(int) - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
- getEntryOrBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- getEntryOrBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- getEntryOrBuilderList() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
- getEnumParameterType() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the enum parameter type specified by the @enum
annotation.
- 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
-
- 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
and that
.
- getGreatestSubtypeWithProperty(JSType, String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Gets the greatest subtype of the type
that has a property
propertyName
defined on it.
- getGroup() - Method in class com.google.javascript.jscomp.ant.Warning
-
- getGzSize() - Method in class com.google.javascript.jscomp.PerformanceTracker
-
- getId() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- getId() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- getId() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
- getId() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph.GraphvizNode
-
Retrieves the unique ID.
- getId() - Method in class com.google.javascript.jscomp.JsMessage
-
Gets the message's id, or name (e.g.
- getIdentifier() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- getIdentifier() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- getIdentifier() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
- getIdName() - Method in class com.google.javascript.rhino.InputId
-
- getImplementedInterfaceCount() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the number of interfaces specified by the @implements
annotation.
- getImplementedInterfaces() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns the types specified by the @implements
annotation.
- getImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Returns interfaces implemented directly by a class or its superclass.
- getImplicitPrototype() - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
- getImplicitPrototype() - Method in class com.google.javascript.rhino.jstype.EnumType
-
- getImplicitPrototype() - Method in class com.google.javascript.rhino.jstype.NoObjectType
-
- getImplicitPrototype() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Gets the implicit prototype (a.k.a.
- getImplicitPrototype() - Method in class com.google.javascript.rhino.jstype.UnknownType
-
- getIndexOfChild(Node) - Method in class com.google.javascript.rhino.Node
-
- getIndexOfSymbol(SymbolTable.Symbol) - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
-
Gets a unique index for the symbol in this scope.
- 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
-
- getInit(int) - Method in class com.google.javascript.jscomp.Instrumentation
-
- getInit(int) - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
- getInitCount() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- getInitCount() - Method in class com.google.javascript.jscomp.Instrumentation
-
- getInitCount() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
- getInitialValue() - Method in class com.google.javascript.jscomp.Scope.Var
-
- getInitList() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- getInitList() - Method in class com.google.javascript.jscomp.Instrumentation
-
- getInitList() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
- getInput(InputId) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Looks up an input (possibly an externs input) by input id.
- getInput(InputId) - Method in class com.google.javascript.jscomp.Compiler
-
- getInput() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Gets the current input source.
- getInputId() - Method in class com.google.javascript.jscomp.CompilerInput
-
Returns a name for this input.
- getInputId() - Method in class com.google.javascript.jscomp.JsAst
-
- getInputId() - Method in class com.google.javascript.jscomp.jsonml.JsonMLAst
-
- getInputId(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- getInputId() - Method in interface com.google.javascript.jscomp.SourceAst
-
- getInputId() - Method in class com.google.javascript.jscomp.SyntheticAst
-
- getInputId() - Method in class com.google.javascript.rhino.Node
-
- getInputName() - Method in class com.google.javascript.jscomp.Scope.Var
-
- getInputProviding(String) - Method in class com.google.javascript.jscomp.deps.SortedDependencies
-
Return the input that gives us the given symbol.
- getInputs() - Method in class com.google.javascript.jscomp.JSModule
-
Gets this module's list of source code inputs.
- getInputsById() - Method in class com.google.javascript.jscomp.Compiler
-
Returns an unmodifiable view of the compiler inputs indexed by id.
- getInputsWithoutProvides() - Method in class com.google.javascript.jscomp.deps.SortedDependencies
-
- getInstance() - Static method in class com.google.debugging.sourcemap.SourceMapGeneratorFactory
-
- getInstance(SourceMapFormat) - Static method in class com.google.debugging.sourcemap.SourceMapGeneratorFactory
-
- getInstanceType() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Gets the type of instance of this function.
- 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.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
-
- getJsonML() - Method in class com.google.javascript.jscomp.jsonml.SecureCompiler
-
Returns compiled source in JsonML format.
- getJSType() - Method in class com.google.javascript.rhino.Node
-
- getKey() - Method in class com.google.javascript.jscomp.JsMessage.Builder
-
Gets the message's key (e.g.
- getKey() - Method in class com.google.javascript.jscomp.JsMessage
-
Gets the message's key, or name (e.g.
- getLabel() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph.GraphvizEdge
-
Retrieves the label of the edge.
- getLabel() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph.GraphvizNode
-
Retrieves the label of the node.
- getLanguageIn() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getLanguageOut() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getLastChild() - Method in class com.google.javascript.rhino.Node
-
- getLastSibling() - Method in class com.google.javascript.rhino.Node
-
- getLeastSupertype(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Gets the least supertype of this
and that
.
- getLeastSupertype(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
-
- getLendsName() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the name we're lending to in a @lends
annotation.
- getLength() - Method in class com.google.javascript.jscomp.Compiler.CodeBuilder
-
Returns the length of the text buffer.
- getLength() - Method in class com.google.javascript.rhino.Node
-
- getLevel() - Method in class com.google.javascript.jscomp.ant.Warning
-
- getLicense() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the description specified by the @license
annotation.
- getLine() - Method in class com.google.debugging.sourcemap.FilePosition
-
Returns the line number of this position.
- getLine() - Method in class com.google.debugging.sourcemap.SourceMapSection
-
- getLine(int) - Method in class com.google.javascript.jscomp.CompilerInput
-
Gets the source line for the indicated line number.
- getLine(int) - Method in class com.google.javascript.jscomp.SourceFile
-
Gets the source line for the indicated line number.
- getLineno() - Method in class com.google.javascript.rhino.Node
-
- getLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- getLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- getLineNumber() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
-
- getLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- getLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- getLineNumber() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
- getLineNumber() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- getLineNumber() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- getLineNumber() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
- getLineNumber() - Method in class com.google.javascript.jscomp.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(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- getModule(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- getModule(int) - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
- getModule() - Method in exception com.google.javascript.jscomp.JSModuleGraph.ModuleDependenceException
-
- getModule() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Gets the current input module.
- getModuleBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- getModuleBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- getModuleCount() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- getModuleCount() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- getModuleCount() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
- getModuleList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- getModuleList() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- getModuleList() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
- getModuleName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- getModuleName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- getModuleName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
- getModuleOrBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- getModuleOrBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- getModuleOrBuilder(int) - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
- getModuleOrBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- getModuleOrBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- getModuleOrBuilderList() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
- getName() - Method in class com.google.javascript.jscomp.CallGraph.Function
-
Gets the name of this function.
- getName() - Method in class com.google.javascript.jscomp.CompilerInput
-
Returns a name for this input.
- getName() - Method in interface com.google.javascript.jscomp.deps.DependencyInfo
-
Gets the unique name / path of this file.
- getName() - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo
-
- getName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- getName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- getName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
- getName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
- getName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- getName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder
-
- getName() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph
-
Name of the graph.
- getName() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- getName() - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- getName() - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
-
- getName() - Method in class com.google.javascript.jscomp.JSModule
-
Gets the module name.
- getName() - Method in class com.google.javascript.jscomp.Scope.Var
-
Gets the name of the variable.
- getName() - Method in class com.google.javascript.jscomp.SourceFile
-
Returns a unique name for the source file.
- getName() - Method in class com.google.javascript.rhino.JSDocInfo.Marker
-
Deprecated.
Use #getNameNode
- getName() - Method in class com.google.javascript.rhino.jstype.Property
-
- getName() - Method in class com.google.javascript.rhino.jstype.SimpleSlot
-
- getName() - Method in class com.google.javascript.rhino.jstype.SimpleSourceFile
-
- getName() - Method in interface com.google.javascript.rhino.jstype.StaticSlot
-
Gets the name of the slot.
- getName() - Method in interface com.google.javascript.rhino.jstype.StaticSourceFile
-
The name of the file.
- getNameNode() - Method in class com.google.javascript.jscomp.Scope.Var
-
Returns the name node that produced this variable.
- getNameNode() - Method in class com.google.javascript.rhino.JSDocInfo.Marker
-
Gets the position information for the name found
in an @param tag.
- getNativeFunctionType(JSTypeNative) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- getNativeObjectType(JSTypeNative) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- getNativeType(JSTypeNative) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- getNaturalSymbolOrdering() - Method in class com.google.javascript.jscomp.SymbolTable
-
Gets the 'natural' ordering of symbols.
- getNearestFunctionName(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Gets the function's name.
- getNeighborEdges() - Method in interface com.google.javascript.jscomp.graph.UndiGraph.UndiGraphNode
-
- getNeighborEdgesIterator() - Method in interface com.google.javascript.jscomp.graph.UndiGraph.UndiGraphNode
-
- getNeighborNodes(N) - Method in class com.google.javascript.jscomp.graph.Graph
-
Gets the neighboring nodes.
- getNeighborNodes(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- getNeighborNodes(DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- getNeighborNodes(N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- getNeighborNodesIterator(N) - Method in class com.google.javascript.jscomp.graph.Graph
-
- getNeighborNodesIterator(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- getNeighborNodesIterator(N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- getNewNameToOriginalNameMap() - Method in class com.google.javascript.jscomp.VariableMap
-
Returns an unmodifiable mapping from new names to original names.
- getNext() - Method in class com.google.javascript.rhino.Node
-
- getNode() - Method in class com.google.javascript.jscomp.FindExportableNodes.GenerateNodeContext
-
- getNode(N) - Method in interface com.google.javascript.jscomp.graph.AdjacencyGraph
-
Gets a node from the graph given a value.
- getNode(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- getNode(N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- getNode() - Method in class com.google.javascript.jscomp.Scope.Var
-
Gets the node for the name of the variable.
- getNode() - Method in class com.google.javascript.rhino.jstype.Property
-
- getNode() - Method in class com.google.javascript.rhino.jstype.SimpleReference
-
- getNode() - Method in interface com.google.javascript.rhino.jstype.StaticReference
-
The node where the reference lives.
- getNode1Id() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph.GraphvizEdge
-
Get the first node in the edge.
- getNode2Id() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph.GraphvizEdge
-
Get the second node in the edge.
- getNodeA() - Method in interface com.google.javascript.jscomp.graph.Graph.GraphEdge
-
- getNodeB() - Method in interface com.google.javascript.jscomp.graph.Graph.GraphEdge
-
- getNodeDegree(N) - Method in class com.google.javascript.jscomp.graph.Graph
-
Gets the degree of a node.
- getNodeDegree(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- getNodeDegree(N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- getNodeLength() - Method in class com.google.javascript.jscomp.JSError
-
- getNodes() - Method in interface com.google.javascript.jscomp.graph.AdjacencyGraph
-
Gets an immutable list of all nodes.
- getNodes() - Method in class com.google.javascript.jscomp.graph.Graph
-
Gets an immutable list of all nodes.
- getNodes() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- getNodes() - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- getNodeSourceOffset() - Method in class com.google.javascript.jscomp.JSError
-
- getNormalizedReferenceName() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Due to the complexity of some of our internal type systems, sometimes
we have different types constructed by the same constructor.
- getNumLines() - Method in class com.google.javascript.jscomp.CompilerInput
-
- 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
-
Gets an old format parse tree for a given source file.
- getOptimizations() - Method in class com.google.javascript.jscomp.DefaultPassConfig
-
- getOptimizations() - Method in class com.google.javascript.jscomp.PassConfig
-
Gets the optimization passes to run.
- getOriginalCommentString() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns the original JSDoc comment string.
- getOriginalFile() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- getOriginalFile() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- getOriginalFile() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
- getOriginalMapping() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- getOriginalMapping() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- getOriginalMapping() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
-
- getOriginalMappingBuilder() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- getOriginalMappingOrBuilder() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- getOriginalMappingOrBuilder() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- getOriginalMappingOrBuilder() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
-
- getOriginalNameToNewNameMap() - Method in class com.google.javascript.jscomp.VariableMap
-
Returns an unmodifiable mapping from original names to new names.
- getOriginalPath() - Method in class com.google.javascript.jscomp.SourceFile
-
- getOriginalSources() - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
-
- getOriginalSources() - Method in interface com.google.debugging.sourcemap.SourceMappingReversable
-
- getOutEdges() - Method in interface com.google.javascript.jscomp.graph.DiGraph.DiGraphNode
-
- getOutEdges(N) - Method in class com.google.javascript.jscomp.graph.DiGraph
-
Gets an immutable list of out edges of the given node.
- getOutEdges(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- getOwnerFunction() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Gets the owner of this if it's a function prototype.
- getOwnImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Returns interfaces directly implemented by the class.
- getOwnPropertyJSDocInfo(String) - Method in class com.google.javascript.rhino.jstype.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
-
- 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.TemplateType
-
- getReferenceName() - Method in class com.google.javascript.rhino.jstype.UnknownType
-
- getReferences(Scope.Var) - Method in class com.google.javascript.jscomp.Scope
-
- getReferences(SymbolTable.Symbol) - Method in class com.google.javascript.jscomp.SymbolTable
-
- getReferences() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns the list of references or null if none.
- getReferences(S) - Method in interface com.google.javascript.rhino.jstype.StaticSymbolTable
-
Returns the references that point to the given symbol.
- getRegion(int) - Method in class com.google.javascript.jscomp.CompilerInput
-
Get a region around the indicated line number.
- getRegion(int) - Method in class com.google.javascript.jscomp.SourceFile
-
Get a region around the indicated line number.
- getRegisteredGroups() - Method in class com.google.javascript.jscomp.DiagnosticGroups
-
Get the registered diagnostic groups, indexed by name.
- getRelativeMappingId(int, int, int) - Static method in class com.google.debugging.sourcemap.SourceMapGeneratorV2.LineMapEncoder
-
- getRelativeMappingIdLength(int, int) - Static method in class com.google.debugging.sourcemap.SourceMapGeneratorV2.LineMapEncoder
-
- 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
-
- getReportCall() - Method in class com.google.javascript.jscomp.Instrumentation
-
- getReportCall() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
- getReportDefined() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- getReportDefined() - Method in class com.google.javascript.jscomp.Instrumentation
-
- getReportDefined() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
- getReportExit() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- getReportExit() - Method in class com.google.javascript.jscomp.Instrumentation
-
- getReportExit() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
- getRequires() - Method in class com.google.javascript.jscomp.CompilerInput
-
Gets a list of types depended on by this input.
- getRequires() - Method in interface com.google.javascript.jscomp.deps.DependencyInfo
-
Gets the symbols required by this file.
- getRequires() - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo
-
- getRequires() - Method in class com.google.javascript.jscomp.JSModule
-
- getReservedCharacters() - Method in enum com.google.javascript.jscomp.AnonymousFunctionNamingPolicy
-
Gets characters that are reserved for use in anonymous function names and
can't be used in variable or property names.
- 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 of type
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
-
- getSize() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- getSize() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
- 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(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- getSourceFile() - Method in class com.google.javascript.jscomp.Scope.Var
-
- getSourceFile() - Method in interface com.google.javascript.jscomp.SourceAst
-
Returns the source file the generated AST represents.
- getSourceFile() - Method in class com.google.javascript.jscomp.SyntheticAst
-
- getSourceFile() - Method in class com.google.javascript.rhino.jstype.Property
-
- getSourceFile() - Method in class com.google.javascript.rhino.jstype.SimpleReference
-
- getSourceFile() - Method in interface com.google.javascript.rhino.jstype.StaticReference
-
The source file where the reference lives.
- getSourceFileName() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
-
- getSourceFileName() - Method in class com.google.javascript.rhino.Node
-
- getSourceLine(String, int) - Method in class com.google.javascript.jscomp.Compiler
-
- getSourceLine(String, int) - Method in interface com.google.javascript.jscomp.SourceExcerptProvider
-
Get the line indicated by the line number.
- getSourceLine(String, int) - Method in class com.google.javascript.jscomp.testing.SimpleSourceExcerptProvider
-
- getSourceMap(String) - Method in interface com.google.debugging.sourcemap.SourceMapSupplier
-
- getSourceMap() - Method in class com.google.javascript.jscomp.Compiler
-
- getSourceName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- getSourceName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- getSourceName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
- getSourceName() - Method in class com.google.javascript.jscomp.JsMessage
-
Gets the message's sourceName.
- getSourceName() - Method in class com.google.javascript.jscomp.jsonml.JsonMLAst
-
- getSourceName() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Gets the current input source name.
- getSourceName(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- getSourceName() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the name of the source file that contains this JSDoc.
- getSourceOffset() - Method in class com.google.javascript.rhino.Node
-
- getSourcePosition() - Method in class com.google.javascript.rhino.Node
-
- getSourceRegion(String, int) - Method in class com.google.javascript.jscomp.Compiler
-
- getSourceRegion(String, int) - Method in interface com.google.javascript.jscomp.SourceExcerptProvider
-
Get a region around the indicated line number.
- getSourceRegion(String, int) - Method in class com.google.javascript.jscomp.testing.SimpleSourceExcerptProvider
-
- getStartLine() - Method in class com.google.javascript.rhino.SourcePosition
-
Returns the starting line number of this position.
- getState() - Method in class com.google.javascript.jscomp.Compiler
-
Returns the current internal state, excluding the input files and modules.
- getStaticSourceFile() - Method in class com.google.javascript.rhino.Node
-
Returns the source file associated with this input.
- getStats() - Method in class com.google.javascript.jscomp.PerformanceTracker
-
- getString() - Method in class com.google.javascript.jscomp.jsonml.SecureCompiler
-
Returns compiled source as a JavaScript.
- getString() - Method in class com.google.javascript.rhino.Node
-
Can only be called when node has String context.
- getStyle() - Method in class com.google.javascript.jscomp.CssRenamingMap.ByPart
-
- getStyle() - Method in class com.google.javascript.jscomp.CssRenamingMap.ByWhole
-
- getStyle() - Method in interface com.google.javascript.jscomp.CssRenamingMap
-
- getSubTypes() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Returns a list of types that are subtypes of this type.
- getSuperClassConstructor() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Given a constructor or an interface type, get its superclass constructor
or null
if none exists.
- getSuppressions() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns the set of suppressed warnings.
- getSymbol() - Method in class com.google.javascript.jscomp.Scope.Var
-
- getSymbol() - Method in class com.google.javascript.rhino.jstype.Property
-
- getSymbol() - Method in class com.google.javascript.rhino.jstype.SimpleReference
-
- getSymbol() - Method in interface com.google.javascript.rhino.jstype.StaticReference
-
The variable that this reference points to.
- getSymbolDeclaredBy(FunctionType) - Method in class com.google.javascript.jscomp.SymbolTable
-
Gets the symbol for the given constructor or interface.
- getSymbolDeclaredBy(EnumType) - Method in class com.google.javascript.jscomp.SymbolTable
-
Gets the symbol for the given enum.
- getSymbolForInstancesOf(SymbolTable.Symbol) - Method in class com.google.javascript.jscomp.SymbolTable
-
Gets the symbol for the prototype if this is the symbol for a constructor
or interface.
- getSymbolForInstancesOf(FunctionType) - Method in class com.google.javascript.jscomp.SymbolTable
-
Gets the symbol for the prototype of the given constructor or interface.
- getSymbolForScope(SymbolTable.SymbolScope) - Method in class com.google.javascript.jscomp.SymbolTable
-
All local scopes are associated with a function, and some functions
are associated with a symbol.
- 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.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.TemplatizedType
-
- GETTER_DEF - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- getThisAndAllDependencies() - Method in class com.google.javascript.jscomp.JSModule
-
Returns this module and all of its dependencies in one list.
- getThisType() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the type specified by the @this
annotation.
- getThrownTypes() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns the list of thrown types.
- getTopDefiningInterface(ObjectType, String) - Static method in class com.google.javascript.rhino.jstype.FunctionType
-
Given an interface and a property, finds the top-most super interface
that has the property defined (including this interface).
- getTopMostDefiningType(String) - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Given a constructor or an interface type and a property, finds the
top-most superclass that has the property defined (including this
constructor).
- getTopScope() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Gets the top scope.
- getTopScope() - Method in class com.google.javascript.jscomp.Compiler
-
- getTracerMode() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getTweakProcessing() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getTweakReplacements() - Method in class com.google.javascript.jscomp.CompilerOptions
-
Returns the map of tweak replacements.
- getType() - Method in class com.google.javascript.jscomp.JSError
-
- getType() - Method in class com.google.javascript.jscomp.jsonml.JsonML
-
Returns type of the JsonML element.
- getType() - Method in class com.google.javascript.jscomp.Scope.Var
-
Gets this variable's type.
- getType() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the type specified by the @type
annotation.
- getType() - Method in class com.google.javascript.rhino.JSDocInfo.Marker
-
Gets the position information for the type expression found
in some block tags, like "@param" and "@return".
- getType(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Looks up a type by name.
- getType(StaticScope<JSType>, String, String, int, int) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Looks up a type by name.
- getType() - Method in class com.google.javascript.rhino.jstype.Property
-
- getType() - Method in class com.google.javascript.rhino.jstype.SimpleSlot
-
- getType() - Method in interface com.google.javascript.rhino.jstype.StaticSlot
-
Returns the type information, if any, for this slot.
- getType() - Method in class com.google.javascript.rhino.Node
-
- getTypedefType() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the typedef type specified by the @type
annotation.
- getTypedPercent() - Method in class com.google.javascript.jscomp.BasicErrorManager
-
- getTypedPercent() - Method in interface com.google.javascript.jscomp.ErrorManager
-
Gets the percentage of typed expressions.
- getTypedScopeCreator() - Method in class com.google.javascript.jscomp.Compiler
-
- 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 interface com.google.javascript.rhino.jstype.StaticScope
-
Returns the expected type of this
in the current scope.
- getTypeOfThis() - Method in class com.google.javascript.rhino.testing.AbstractStaticScope
-
- getTypeRegistry() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Gets a central registry of type information from the compiled JS.
- getTypeRegistry() - Method in class com.google.javascript.jscomp.Compiler
-
- getTypes() - Method in class com.google.javascript.jscomp.DiagnosticGroup
-
Returns an iterable over all the types in this group.
- getTypesUnderEquality(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Computes the subset of this
and that
types if equality
is observed.
- getTypesUnderEquality(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
-
- getTypesUnderInequality(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Computes the subset of this
and that
types if inequality
is observed.
- getTypesUnderInequality(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
-
- getTypesUnderShallowEquality(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Computes the subset of this
and that
types under shallow
equality.
- getTypesUnderShallowInequality(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Computes the subset of this
and that
types under
shallow inequality.
- getTypesUnderShallowInequality(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
-
- getTypesWithProperty(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Returns each type that has a property propertyName
defined on it.
- getUndirectedGraphEdges(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- getUndirectedGraphNode(N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- getUndirectedGraphNode(N) - Method in class com.google.javascript.jscomp.graph.UndiGraph
-
- getUndirectedGraphNodes() - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- getUniqueFunctionWithName(String) - Method in class com.google.javascript.jscomp.CallGraph
-
Finds a function with the given name.
- getValue() - Method in interface com.google.javascript.jscomp.graph.Graph.GraphEdge
-
Retrieves the edge's value.
- getValue() - Method in interface com.google.javascript.jscomp.graph.GraphNode
-
Retrieves the node's value.
- getValue() - Method in enum com.google.javascript.jscomp.WarningsGuard.Priority
-
- 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 - 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
-
- GoogleJsMessageIdGenerator(String) - Constructor for class com.google.javascript.jscomp.GoogleJsMessageIdGenerator
-
Creates an instance.
- Graph<N,E> - Class in com.google.javascript.jscomp.graph
-
The base generic class for graph-like data structure and algorithms in
the compiler.
- Graph() - Constructor for class com.google.javascript.jscomp.graph.Graph
-
- graph - Variable in class com.google.javascript.jscomp.graph.GraphColoring
-
- Graph.GraphEdge<N,E> - Interface in com.google.javascript.jscomp.graph
-
A generic edge.
- GraphColoring<N,E> - Class in com.google.javascript.jscomp.graph
-
Annotates the graph with a color in a way that no connected node will have
the same color.
- GraphColoring(AdjacencyGraph<N, E>) - Constructor for class com.google.javascript.jscomp.graph.GraphColoring
-
- GraphColoring.Color - Class in com.google.javascript.jscomp.graph
-
- GraphColoring.GreedyGraphColoring<N,E> - Class in com.google.javascript.jscomp.graph
-
Greedily assign nodes with high degree unique colors.
- GraphColoring.GreedyGraphColoring(AdjacencyGraph<N, E>) - Constructor for class com.google.javascript.jscomp.graph.GraphColoring.GreedyGraphColoring
-
- GraphColoring.GreedyGraphColoring(AdjacencyGraph<N, E>, Comparator<N>) - Constructor for class com.google.javascript.jscomp.graph.GraphColoring.GreedyGraphColoring
-
- GraphNode<N,E> - Interface in com.google.javascript.jscomp.graph
-
A generic node.
- GraphPruner<N,E> - Class in com.google.javascript.jscomp.graph
-
Prunes a graph, creating a new graph with nodes removed.
- GraphPruner(DiGraph<N, E>) - Constructor for class com.google.javascript.jscomp.graph.GraphPruner
-
- GraphReachability<N,E> - Class in com.google.javascript.jscomp.graph
-
Computes all the reachable nodes.
- GraphReachability(DiGraph<N, E>) - Constructor for class com.google.javascript.jscomp.graph.GraphReachability
-
- GraphReachability(DiGraph<N, E>, Predicate<GraphReachability.EdgeTuple<N, E>>) - Constructor for class com.google.javascript.jscomp.graph.GraphReachability
-
- GraphReachability.EdgeTuple<N,E> - Class in com.google.javascript.jscomp.graph
-
Represents Source Node, Edge and Destination Node.
- GraphReachability.EdgeTuple(N, E, N) - Constructor for class com.google.javascript.jscomp.graph.GraphReachability.EdgeTuple
-
- GraphvizGraph - Interface in com.google.javascript.jscomp.graph
-
A graph that can be dumped to a Graphviz DOT file.
- GraphvizGraph.GraphvizEdge - Interface in com.google.javascript.jscomp.graph
-
A Graphviz edge.
- GraphvizGraph.GraphvizNode - Interface in com.google.javascript.jscomp.graph
-
A Graphviz node.
- GREATEST_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- GT - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- gzDiff - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
-
- gzSize - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
-
- ID_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- ideMode - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Configures the compiler for use as an IDE backend.
- IDENTIFIER_FIELD_NUMBER - Static variable in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- identifyNonNullableName(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Identifies the name of a typedef or enum before we actually declare it.
- identifyTypeDeclarationCall(Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
-
- identifyTypeDeclarationCall(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Checks if the given CALL node is forward-declaring any types,
and returns the name of the types if it is.
- identifyTypeDeclarationCall(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- idGenerator() - Method in class com.google.javascript.jscomp.EmptyMessageBundle
-
Gets a dummy message ID generator.
- idGenerator() - Method in interface com.google.javascript.jscomp.MessageBundle
-
Gets the message ID generator to use to compute message IDs for this
type of bundle.
- idGenerator() - Method in class com.google.javascript.jscomp.XtbMessageBundle
-
- idGeneratorMap - Variable in class com.google.javascript.jscomp.Result
-
- IF - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ifNode(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- ifNode(Node, Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- IN - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- INC - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- INCRDECR_PROP - Static variable in class com.google.javascript.rhino.Node
-
- incrementGeneration() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Increments the current generation.
- inExterns() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
-
- 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
-
- 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(JSSourceFile[], JSModule[], CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Deprecated.
Convert your arrays to lists and use the list-based API.
- INIT_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Instrumentation
-
- initModules(List<T>, List<JSModule>, CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Initializes the instance state needed for a compile job if the sources
are in modules.
- initOptions(CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Initialize the compiler options.
- initTypes() - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- inlineConstantVars - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Inlines constants (symbols that are all CAPS)
- inlineFunctions - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Inlines 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
-
- Instrumentation.Builder - Class in com.google.javascript.jscomp
-
- InstrumentationOrBuilder - Interface in com.google.javascript.jscomp
-
- instrumentationTemplate - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Instrumentation template to use with #recordFunctionInformation
- InstrumentationTemplate - Class in com.google.javascript.jscomp
-
- internalGetFieldAccessorTable() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- internalGetFieldAccessorTable() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- internalGetFieldAccessorTable() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- internalGetFieldAccessorTable() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- internalGetFieldAccessorTable() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- internalGetFieldAccessorTable() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- internalGetFieldAccessorTable() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- internalGetFieldAccessorTable() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- internalGetFieldAccessorTable() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
- internalGetFieldAccessorTable() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- internalGetFieldAccessorTable() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- internalGetFieldAccessorTable() - Method in class com.google.javascript.jscomp.Instrumentation
-
- INTERNET_EXPLORER_CHECKS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- intersection(BooleanLiteralSet) - Method in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
-
Computes the intersection of this set and that
.
- INVALID_CASTS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- IR - Class in com.google.javascript.rhino
-
An AST construction helper class
- IS_CONSTANT_NAME - Static variable in class com.google.javascript.rhino.Node
-
- IS_DISPATCHER - Static variable in class com.google.javascript.rhino.Node
-
- IS_NAMESPACE - Static variable in class com.google.javascript.rhino.Node
-
- isAdd() - Method in class com.google.javascript.rhino.Node
-
AST type check methods
- isAliased() - Method in class com.google.javascript.jscomp.CallGraph.Function
-
Returns true if the function is aliased.
- isAllType() - Method in class com.google.javascript.rhino.jstype.AllType
-
- isAllType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isAnd() - Method in class com.google.javascript.rhino.Node
-
- isAnonymous() - Method in class com.google.javascript.jscomp.JsMessage
-
- isArrayLit() - Method in class com.google.javascript.rhino.Node
-
- isArrayType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isAssign() - Method in class com.google.javascript.rhino.Node
-
- isAssignAdd() - Method in class com.google.javascript.rhino.Node
-
- isBleedingFunction() - Method in class com.google.javascript.jscomp.Scope.Var
-
Whether this is a bleeding function (an anonymous named function
that bleeds into the inner scope).
- isBlock() - Method in class com.google.javascript.rhino.Node
-
- isBooleanObjectType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isBooleanValueType() - Method in class com.google.javascript.rhino.jstype.BooleanType
-
- isBooleanValueType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isBreak() - Method in class com.google.javascript.rhino.Node
-
- isCall() - Method in class com.google.javascript.rhino.Node
-
- isCase() - Method in class com.google.javascript.rhino.Node
-
- isCaseSensitive() - Method in class com.google.javascript.jscomp.regex.RegExpTree
-
True if the presence or absence of an "i"
flag would change the
meaning of this regular expression.
- 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.UnknownType
-
- isComma() - Method in class com.google.javascript.rhino.Node
-
- isConnected(N, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
-
- isConnected(N, E, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
-
- isConnected(N, N) - Method in class com.google.javascript.jscomp.graph.Graph
-
Checks whether two nodes in the graph are connected.
- isConnected(N, E, N) - Method in class com.google.javascript.jscomp.graph.Graph
-
Checks whether two nodes in the graph are connected by the given
edge type.
- isConnected(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- isConnected(N, E, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- isConnectedInDirection(N, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
-
Checks whether two nodes in the graph are connected via a directed edge.
- isConnectedInDirection(N, E, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
-
Checks whether two nodes in the graph are connected via a directed edge
with the given value.
- isConnectedInDirection(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- isConnectedInDirection(N, E, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- isConsistentIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfo
-
- isConst() - Method in class com.google.javascript.jscomp.Scope.Var
-
Returns true
if the variable is declared as a constant,
based on the value reported by NodeUtil
.
- isConstant(String) - Method in interface com.google.javascript.jscomp.CodingConvention
-
This checks whether a given variable name, such as a name in all-caps
should be treated as if it had the @const annotation.
- isConstant(String) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- isConstant(String) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
-
This checks whether a given variable name, such as a name in all-caps
should be treated as if it had the @const annotation.
- isConstant() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@const
annotation is present on this
JSDocInfo
.
- isConstantKey(String) - Method in interface com.google.javascript.jscomp.CodingConvention
-
This checks whether a given key of an object literal, such as a
name in all-caps should be treated as if it had the @const
annotation.
- isConstantKey(String) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- isConstantKey(String) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
-
- isConstructor() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@constructor
annotation is present on this
JSDocInfo
.
- isConstructor() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- isConstructor() - Method in class com.google.javascript.rhino.jstype.JSType
-
Whether this type is a
FunctionType
that is a constructor or a
named type that points to such a type.
- isConstructorRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- isContinue() - Method in class com.google.javascript.rhino.Node
-
- isDateType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isDebugger() - Method in class com.google.javascript.rhino.Node
-
- isDec() - Method in class com.google.javascript.rhino.Node
-
- isDeclared(String, boolean) - Method in class com.google.javascript.jscomp.Scope
-
Returns true if a variable is declared.
- isDefaultCase() - Method in class com.google.javascript.rhino.Node
-
- isDefine() - Method in class com.google.javascript.jscomp.Scope.Var
-
Returns true
if the variable is declared as a define.
- isDefine() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@define
annotation is present on this
JSDocInfo
.
- isDelProp() - Method in class com.google.javascript.rhino.Node
-
- isDeprecated() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@deprecated
annotation is present on this
JSDocInfo
.
- isDescriptionRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether this builder recorded a description.
- isDict() - Method in class com.google.javascript.rhino.jstype.JSType
-
Returns true iff this
can be a dict
.
- 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 this
JSDocInfo
.
- isExported(String, boolean) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Checks whether a global variable or function name should be treated as
exported, or externally referenceable.
- isExported(String) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Should be isExported(name, true) || isExported(name, false);
- isExported(String, boolean) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- isExported(String) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- isExported(String, boolean) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
-
Checks whether a global variable or function name should be treated as
exported, or externally referenceable.
- isExpose() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@expose
annotation is present on this
JSDocInfo
.
- isExposedToCallOrApply() - Method in class com.google.javascript.jscomp.CallGraph.Function
-
Returns true if the function is ever exposed to ".call" or ".apply".
- isExpression(JsonML) - Static method in class com.google.javascript.jscomp.jsonml.JsonMLUtil
-
Checks if the specified JsonML element represents an expression.
- isExprResult() - Method in class com.google.javascript.rhino.Node
-
- isExtern() - Method in class com.google.javascript.jscomp.CompilerInput
-
- isExtern() - Method in class com.google.javascript.jscomp.SourceFile
-
Returns whether this is an extern.
- isExtern() - Method in class com.google.javascript.rhino.jstype.SimpleSourceFile
-
- isExtern() - Method in interface com.google.javascript.rhino.jstype.StaticSourceFile
-
Returns whether this is an externs file.
- isExternal() - Method in class com.google.javascript.jscomp.JsMessage
-
- isExternExportsEnabled() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- isExterns() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@externs
annotation is present on this
JSDocInfo
.
- isFalse() - Method in class com.google.javascript.rhino.Node
-
- isFor() - Method in class com.google.javascript.rhino.Node
-
- isForwardDeclaredType(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Whether this is a forward-declared type name.
- isFromExterns() - Method in class com.google.javascript.rhino.Node
-
- isFunction() - Method in class com.google.javascript.rhino.Node
-
- isFunctionPrototypeType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Whether this is the prototype of a function.
- isFunctionPrototypeType() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- isFunctionType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Returns true if toMaybeFunctionType returns a non-null FunctionType.
- isGetElem() - Method in class com.google.javascript.rhino.Node
-
- isGetProp() - Method in class com.google.javascript.rhino.Node
-
- isGetterDef() - Method in class com.google.javascript.rhino.Node
-
- isGlobal() - Method in class com.google.javascript.jscomp.Scope
-
Returns whether this is the global scope.
- isGlobal() - Method in class com.google.javascript.jscomp.Scope.Var
-
Returns whether this is a global variable.
- isGlobalScope() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
-
- isGlobalThisType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Returns true if this is a global this type.
- isHidden() - Method in class com.google.javascript.jscomp.JsMessage
-
Gets whether this message should be hidden from volunteer translators (to
reduce the chances of a new feature leak).
- isHidden() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@hidden
annotation is present on this
JSDocInfo
.
- isHook() - Method in class com.google.javascript.rhino.Node
-
- isIdeMode() - Method in class com.google.javascript.jscomp.Compiler
-
- isIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfo
-
- isIf() - Method in class com.google.javascript.rhino.Node
-
- isImplicitCast() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@implicitCast
annotation is present on this
JSDocInfo
.
- isIn() - Method in class com.google.javascript.rhino.Node
-
- isInc() - Method in class com.google.javascript.rhino.Node
-
- isIndependentOf(N) - Method in interface com.google.javascript.jscomp.graph.SubGraph
-
Returns true if the node is a neighbor of any node in this SubGraph.
- isInitialized() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- isInitialized() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- isInitialized() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- isInitialized() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- isInitialized() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- isInitialized() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- isInitialized() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- isInitialized() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- isInitialized() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
- isInitialized() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- isInitialized() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- isInitialized() - Method in class com.google.javascript.jscomp.Instrumentation
-
- 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.
- isInterface() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@interface
annotation is present on this
JSDocInfo
.
- isInterface() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- isInterface() - Method in class com.google.javascript.rhino.jstype.JSType
-
Whether this type is a
FunctionType
that is an interface or a named
type that points to such a type.
- isInterfaceRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- 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 this
JSDocInfo
.
- 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.
- 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 this
JSDocInfo
.
- isNoCompile() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@nocompile
annotation is present on this
JSDocInfo
.
- isNominalConstructor() - Method in class com.google.javascript.rhino.jstype.JSType
-
Whether this type is the original constructor of a nominal type.
- isNominalType() - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
- isNominalType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Whether this type is a nominal type (a named instance object or
a named enum).
- isNoObjectType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isNoObjectType() - Method in class com.google.javascript.rhino.jstype.NoObjectType
-
- isNoObjectType() - Method in class com.google.javascript.rhino.jstype.NoType
-
- isNoResolvedType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isNoShadow() - Method in class com.google.javascript.jscomp.Scope.Var
-
- isNoShadow() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@noshadow
annotation is present on this
JSDocInfo
.
- isNoSideEffects() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@nosideeffects
annotation is present on this
JSDocInfo
.
- isNoSideEffectsCall() - Method in class com.google.javascript.rhino.Node
-
Returns true if this node is a function or constructor call that
has no side effects.
- isNot() - Method in class com.google.javascript.rhino.Node
-
- isNoType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isNoType() - Method in class com.google.javascript.rhino.jstype.NoType
-
- isNoTypeCheck() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@nocheck
annotation is present on this
JSDocInfo
.
- isNull() - Method in class com.google.javascript.rhino.Node
-
- isNullable() - Method in class com.google.javascript.rhino.jstype.BooleanType
-
- isNullable() - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
This predicate determines whether objects of this type can have the null
value, and therefore can appear in contexts where null is expected.
- isNullable() - Method in class com.google.javascript.rhino.jstype.JSType
-
Tests whether this type is nullable.
- isNullable() - Method in class com.google.javascript.rhino.jstype.NoType
-
- isNullable() - Method in class com.google.javascript.rhino.jstype.NullType
-
- isNullable() - Method in class com.google.javascript.rhino.jstype.NumberType
-
- isNullable() - Method in class com.google.javascript.rhino.jstype.UnionType
-
This predicate determines whether objects of this type can have the
null
value, and therefore can appear in contexts where
null
is expected.
- isNullable() - Method in class com.google.javascript.rhino.jstype.UnknownType
-
- isNullType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isNullType() - Method in class com.google.javascript.rhino.jstype.NullType
-
- isNumber() - Method in class com.google.javascript.rhino.jstype.JSType
-
Tests whether the type is a number (value or Object).
- isNumber() - Method in class com.google.javascript.rhino.Node
-
- isNumberObjectType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isNumberValueType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isNumberValueType() - Method in class com.google.javascript.rhino.jstype.NumberType
-
- isObject() - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
- isObject() - Method in class com.google.javascript.rhino.jstype.JSType
-
Tests whether this type is an Object
, or any subtype thereof.
- isObject() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- isObject() - Method in class com.google.javascript.rhino.jstype.UnionType
-
- isObjectLit() - Method in class com.google.javascript.rhino.Node
-
- isOn() - Method in enum com.google.javascript.jscomp.CompilerOptions.TweakProcessing
-
- 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.
- isOverride() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@override
annotation is present on this
JSDocInfo
.
- isParamList() - Method in class com.google.javascript.rhino.Node
-
- isPopulated() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- isPopulatedWithFileOverview() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- 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
or a.b.c
or this.a
.
- isQuotedString() - Method in class com.google.javascript.rhino.Node
-
This should only be called for STRING nodes children of OBJECTLIT.
- isRecordType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isRegExp() - Method in class com.google.javascript.rhino.Node
-
- isRegexpType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- 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 a struct
.
- 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 of that
with regard to
the prototype chain.
- isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Checks whether this
is a subtype of that
.
- isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.NoObjectType
-
- isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.NoType
-
- isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.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.UnionType
-
- isUnknownType() - Method in class com.google.javascript.rhino.jstype.UnknownType
-
- isUnscopedQualifiedName() - Method in class com.google.javascript.rhino.Node
-
Returns whether a node corresponds to a simple or a qualified name without
a "this" reference, such as a.b.c
, but not this.a
.
- isValidEnumKey(String) - Method in interface com.google.javascript.jscomp.CodingConvention
-
This checks that a given key
may be used as a key for an enum.
- isValidEnumKey(String) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- isValidEnumKey(String) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
-
This checks that a given key
may be used as a key for an enum.
- isValidQualifiedName(String) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Determines whether the given name is a valid qualified name.
- 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
-
- 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 - 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
-
- 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
-
- 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 global this
object unintentionally.
- setCheckMissingGetCssNameBlacklist(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCheckMissingGetCssNameLevel(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Checks that certain string literals only appear in strings used as
goog.getCssName arguments.
- setCheckMissingReturn(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Checks for missing return statements
- setCheckProvides(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Checks for missing goog.provides() calls
- setCheckRequires(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCheckSuspiciousCode(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCheckSymbols(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCheckTypes(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCheckUnreachableCode(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Checks for unreachable code
- setChild(int, JsonML) - Method in class com.google.javascript.jscomp.jsonml.JsonML
-
Replaces the element at the given position in the list of children wit
the given JsonML element.
- setChildren(JsonML...) - Method in class com.google.javascript.jscomp.jsonml.JsonML
-
Replaces all elements in the list of children with the given
JsonML elements.
- setChildren(List<JsonML>) - Method in class com.google.javascript.jscomp.jsonml.JsonML
-
Replaces all elements in the list of children with the given
list of JsonML elements..
- setClosurePass(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCoalesceVariableNames(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCodingConvention(CodingConvention) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCollapseAnonymousFunctions(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCollapseObjectLiterals(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCollapseProperties(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCollapsePropertiesOnExternTypes(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
If true, flattens multi-level property names on extern types
(e.g.
- setCollapseVariableDeclarations(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setColorize(boolean) - Method in class com.google.javascript.jscomp.AbstractMessageFormatter
-
- setColorizeErrorOutput(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setColumnPosition(int) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- setColumnPosition(int) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- setCommonJSModulePathPrefix(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets a path prefix for 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
-
- setCompiledSource(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
- setCompiler(AbstractCompiler) - Method in class com.google.javascript.jscomp.CompilerInput
-
Sets an abstract compiler for doing parsing.
- setComputeFunctionSideEffects(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setConvertToDottedProperties(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCrossModuleCodeMotion(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCrossModuleMethodMotion(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCssRenamingMap(CssRenamingMap) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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
-
- 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
-
- setEntry(int, FunctionInformationMap.Entry.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- setEntryPoints(Collection<String>) - Method in class com.google.javascript.jscomp.DependencyOptions
-
Adds a collection of symbols to always keep.
- setErrorFormat(ErrorFormat) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setErrorHandler(ErrorHandler) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Set a custom handler for warnings and errors.
- setErrorManager(ErrorManager) - Method in class com.google.javascript.jscomp.Compiler
-
Sets the error manager.
- setErrors(String[]) - Method in class com.google.javascript.rhino.testing.TestErrorReporter
-
- setExportTestFunctions(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setExtendedInterfaces(List<ObjectType>) - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- setExternExports(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setExternExportsPath(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setExtraAnnotationNames(Iterable<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setExtractPrototypeMemberDeclarations(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setFlowSensitiveInlineVariables(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setFoldConstants(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setForceRecompile(boolean) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set force recompile option
- setGatherCssNames(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setGenerateExports(boolean) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set generateExports option
- setGenerateExports(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setGeneratePseudoNames(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setGeneratorTarget(String) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard.WhitelistBuilder
-
Fill in instructions on how to generate this whitelist.
- setGroup(String) - Method in class com.google.javascript.jscomp.ant.Warning
-
- setGroupVariableDeclarations(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setId(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- setIdeMode(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setIdentifier(String) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- setIdGenerators(Set<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the id generators to replace.
- 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
-
- setInlineConstantVars(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setInlineFunctions(CompilerOptions.Reach) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Set the function inlining policy for the compiler.
- setInlineFunctions(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setInlineGetters(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setInlineLocalFunctions(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setInlineLocalVariables(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setInlineProperties(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Set the function inlining policy for the compiler.
- setInlineVariables(CompilerOptions.Reach) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Set the variable inlining policy for the compiler.
- setInlineVariables(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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.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(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set the language to which input sources conform.
- setLanguageIn(CompilerOptions.LanguageMode) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets how goog.tweak calls are processed.
- setLanguageOut(CompilerOptions.LanguageMode) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setLastGeneration(boolean) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Sets whether this is the last generation.
- setLength(int) - Method in class com.google.javascript.rhino.Node
-
- setLevel(CheckLevel) - Method in class com.google.javascript.jscomp.ant.Warning
-
- setLicense(String) - Method in class com.google.javascript.rhino.JSDocInfo
-
License directives can appear in multiple comments, and always
apply to the entire file.
- setLineBreak(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setLineLengthThreshold(int) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setLineno(int) - Method in class com.google.javascript.rhino.Node
-
- setLineNumber(int) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- setLineNumber(int) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- setLineNumber(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- setLocale(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setLoggingLevel(Level) - Static method in class com.google.javascript.jscomp.Compiler
-
Sets the logging level for the com.google.javascript.jscomp package.
- setLooseTypes(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Whether to include "undefined" in the default types.
- setManageClosureDependencies(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sort inputs by their goog.provide/goog.require calls, and prune inputs
whose symbols are not required.
- setManageClosureDependencies(List<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sort inputs by their goog.provide/goog.require calls.
- setManageDependencies(boolean) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
- setMarkAsCompiled(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setMarkNoSideEffectCalls(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setMeaning(String) - Method in class com.google.javascript.jscomp.JsMessage.Builder
-
Sets the programmer-specified meaning of this message, which
forces this message to translate differently.
- setMessageBundle(MessageBundle) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setModule(JSModule) - Method in class com.google.javascript.jscomp.CompilerInput
-
Sets the module to which the input belongs.
- setModule(int, FunctionInformationMap.Module) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- setModule(int, FunctionInformationMap.Module.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- setModuleName(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- setMoocherDropping(boolean) - Method in class com.google.javascript.jscomp.DependencyOptions
-
Enables or disables moocher dropping mode.
- setMoveFunctionDeclarations(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setMutatesArguments() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
-
- setMutatesGlobalState() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
-
- setMutatesThis() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
-
- setName(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- setName(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
- setNameAnonymousFunctionsOnly(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
If true, name anonymous functions only.
- setNameReferenceGraphPath(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Where to save the name reference graph
- setNameReferenceReportPath(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Where to save a cross-reference report from the name reference graph
- setNode(Node) - Method in class com.google.javascript.rhino.jstype.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
-
Stores the "new" Rhino parse tree for a given source file.
- setOptimizeArgumentsArray(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setOptimizeCalls(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setOptimizeParameters(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setOptimizeReturns(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setOptionalArg(boolean) - Method in class com.google.javascript.rhino.Node
-
Sets whether this node is an optional argument node.
- setOptionsForCompilationLevel(CompilerOptions) - Method in enum com.google.javascript.jscomp.CompilationLevel
-
- setOptionsForWarningLevel(CompilerOptions) - Method in enum com.google.javascript.jscomp.WarningLevel
-
- setOriginalFile(String) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- setOriginalMapping(Mapping.OriginalMapping) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- setOriginalMapping(Mapping.OriginalMapping.Builder) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- setOriginalPath(String) - Method in class com.google.javascript.jscomp.SourceFile
-
- setOutput(File) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set output file.
- setOutputCharset(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the output charset by name.
- setOutputEncoding(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set output file encoding
- setOutputJsStringUsage(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setPassConfig(PassConfig) - Method in class com.google.javascript.jscomp.Compiler
-
- setPositionInformation(int, int, int, int) - Method in class com.google.javascript.rhino.SourcePosition
-
Sets the position information contained in this source position.
- setPreferLineBreakAtEndOfFile(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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.
- 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.
- 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
-
- setReportDefined(String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- setReportExit(String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- setReportMissingOverride(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Flags a warning if a property is missing the @override annotation, but it
overrides a base class property.
- setReportPath(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Where to save a report of global name usage
- setReportUnknownTypes(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Flags a warning for every node whose type could not be determined.
- setReserveRawExports(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setResolveMode(JSTypeRegistry.ResolveMode) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Set the current resolving mode of the type registry.
- setReturnsTainted() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
-
- setRewriteFunctionExpressions(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setRewriteNewDateGoogNow(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Deprecated.
- setRootElement(JsonML) - Method in class com.google.javascript.jscomp.jsonml.Reader
-
- setRuntimeTypeCheck(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setRuntimeTypeCheckLogFunction(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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
-
- 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(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
- setSourceMapFormat(SourceMap.Format) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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
-
- setSourceName(String) - Method in class com.google.javascript.jscomp.JsMessage.Builder
-
- setSpecializeInitialModule(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Specialize the initial module at the cost of later modules
- setStartingPosition(int, int) - Method in interface com.google.debugging.sourcemap.SourceMapGenerator
-
Sets the source code that exists in the buffer for which the
generated code is being generated.
- setStartingPosition(int, int) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV1
-
Sets the source code that exists in the buffer to which the
generated code is being generated.
- setStartingPosition(int, int) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV2
-
Sets the source code that exists in the buffer for which the
generated code is being generated.
- setStartingPosition(int, int) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Sets the source code that exists in the buffer for which the
generated code is being generated.
- setStartingPosition(int, int) - Method in class com.google.javascript.jscomp.SourceMap
-
- setState(Compiler.IntermediateState) - Method in class com.google.javascript.jscomp.Compiler
-
Sets the internal state to the capture given.
- setStaticSourceFile(StaticSourceFile) - Method in class com.google.javascript.rhino.Node
-
- setString(String) - Method in class com.google.javascript.rhino.Node
-
Can only be called 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.
- 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.
- 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 this
JSDocInfo
.
- shouldRunCompiler() - Method in class com.google.javascript.jscomp.CommandLineRunner
-
- shouldSkipDepsFile(SourceFile) - Method in class com.google.javascript.jscomp.deps.DepsGenerator
-
Returns whether we should ignore dependency info in the given deps file.
- shouldStrip() - Method in enum com.google.javascript.jscomp.CompilerOptions.TweakProcessing
-
- shouldTolerateUndefinedValues() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractNodeTypePruningCallback
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractPostOrderCallback
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractScopedCallback
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractShallowCallback
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractShallowStatementCallback
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in interface com.google.javascript.jscomp.NodeTraversal.Callback
-
Visits a node in pre order (before visiting its children) and decides
whether this node's children should be traversed.
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.TypeCheck
-
- ShowByPathWarningsGuard - Class in com.google.javascript.jscomp
-
Control whether warnings should be restricted or suppressed for specified
paths.
- ShowByPathWarningsGuard(String) - Constructor for class com.google.javascript.jscomp.ShowByPathWarningsGuard
-
- ShowByPathWarningsGuard(String[]) - Constructor for class com.google.javascript.jscomp.ShowByPathWarningsGuard
-
- ShowByPathWarningsGuard(String, ShowByPathWarningsGuard.ShowType) - Constructor for class com.google.javascript.jscomp.ShowByPathWarningsGuard
-
- ShowByPathWarningsGuard(String[], ShowByPathWarningsGuard.ShowType) - Constructor for class com.google.javascript.jscomp.ShowByPathWarningsGuard
-
- ShowByPathWarningsGuard.ShowType - Enum in com.google.javascript.jscomp
-
Controls whether warnings should be restricted to a specified path or
suppressed within the specified path.
- siblings() - Method in class com.google.javascript.rhino.Node
-
Return an iterable object that iterates over this 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
-
- 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
-
- SimpleErrorReporter() - Constructor for class com.google.javascript.rhino.SimpleErrorReporter
-
- SimpleReference<T extends StaticSlot<JSType>> - Class in com.google.javascript.rhino.jstype
-
A simple immutable reference.
- SimpleReference(T, Node) - Constructor for class com.google.javascript.rhino.jstype.SimpleReference
-
- SimpleRegion - Class in com.google.javascript.jscomp
-
Simple region.
- SimpleRegion(int, int, String) - Constructor for class com.google.javascript.jscomp.SimpleRegion
-
- SimpleSlot - Class in com.google.javascript.rhino.jstype
-
The minimum implementation of StaticSlot.
- SimpleSlot(String, JSType, boolean) - Constructor for class com.google.javascript.rhino.jstype.SimpleSlot
-
- SimpleSourceExcerptProvider - Class in com.google.javascript.jscomp.testing
-
A simple source excerpt provider for testing.
- SimpleSourceExcerptProvider(String) - Constructor for class com.google.javascript.jscomp.testing.SimpleSourceExcerptProvider
-
- SimpleSourceFile - Class in com.google.javascript.rhino.jstype
-
A simple implementation of StaticSourceFile
for testing.
- SimpleSourceFile(String, boolean) - Constructor for class com.google.javascript.rhino.jstype.SimpleSourceFile
-
- simplify(String) - Method in class com.google.javascript.jscomp.regex.RegExpTree
-
Returns a simpler regular expression that is semantically the same assuming
the given flags.
- size - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
-
- SIZE_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- skipAllCompilerPasses() - Method in class com.google.javascript.jscomp.CompilerOptions
-
Skip all possible passes, to make the compiler as fast as possible.
- SLASH_V - Static variable in class com.google.javascript.rhino.Node
-
- smartNameRemoval - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Removes code associated with unused global names
- SortedDependencies<INPUT extends DependencyInfo> - Class in com.google.javascript.jscomp.deps
-
A sorted list of inputs with dependency information.
- SortedDependencies(List<INPUT>) - Constructor for class com.google.javascript.jscomp.deps.SortedDependencies
-
- SortedDependencies.CircularDependencyException - Exception in com.google.javascript.jscomp.deps
-
- SortedDependencies.MissingProvideException - Exception in com.google.javascript.jscomp.deps
-
- sortInputsByDeps(Compiler) - Method in class com.google.javascript.jscomp.JSModule
-
Puts the JS files into a topologically sorted order by their dependencies.
- sortJsModules(Collection<JSModule>) - Static method in class com.google.javascript.jscomp.JSModule
-
Returns the given collection of modules in topological order.
- SOURCE_NAME_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- SourceAst - Interface in com.google.javascript.jscomp
-
An interface for accessing the AST root of an input.
- SourceExcerptProvider - Interface in com.google.javascript.jscomp
-
A source excerpt provider is responsible for building source code excerpt
of specific locations, such as a specific line or a region around a
given line number.
- SourceExcerptProvider.ExcerptFormatter - Interface in com.google.javascript.jscomp
-
A excerpt formatter is responsible of formatting source excerpts.
- SourceExcerptProvider.SourceExcerpt - Enum in com.google.javascript.jscomp
-
Source excerpt variety.
- SourceFile - Class in com.google.javascript.jscomp
-
An abstract representation of a source file that provides access to
language-neutral features.
- SourceFile(String) - Constructor for class com.google.javascript.jscomp.SourceFile
-
Construct a new abstract source file.
- SourceFile.Builder - Class in com.google.javascript.jscomp
-
A builder interface for source files.
- SourceFile.Builder() - Constructor for class com.google.javascript.jscomp.SourceFile.Builder
-
- SourceFile.Generator - Interface in com.google.javascript.jscomp
-
A JavaScript source code provider.
- sourceMap - Variable in class com.google.javascript.jscomp.Result
-
- SourceMap - Class in com.google.javascript.jscomp
-
Collects information mapping the generated (compiled) source back to
its original source for debugging purposes.
- SourceMap.DetailLevel - Enum in com.google.javascript.jscomp
-
Source maps can be very large different levels of detail can be specified.
- SourceMap.Format - Enum in com.google.javascript.jscomp
-
- SourceMap.LocationMapping - Class in com.google.javascript.jscomp
-
- SourceMap.LocationMapping(String, String) - Constructor for class com.google.javascript.jscomp.SourceMap.LocationMapping
-
- SourceMapConsumer - Interface in com.google.debugging.sourcemap
-
A SourceMapConsumer is a SourceMapping provide that can parse from a raw
string.
- SourceMapConsumerFactory - Class in com.google.debugging.sourcemap
-
Detect and parse the provided source map.
- SourceMapConsumerV1 - Class in com.google.debugging.sourcemap
-
Class for parsing and representing a SourceMap, as produced by the
Closure Compiler, Caja-Compiler, etc.
- SourceMapConsumerV1() - Constructor for class com.google.debugging.sourcemap.SourceMapConsumerV1
-
- SourceMapConsumerV2 - Class in com.google.debugging.sourcemap
-
Class for parsing version 2 of the SourceMap format, as produced by the
Closure Compiler, etc.
- SourceMapConsumerV2() - Constructor for class com.google.debugging.sourcemap.SourceMapConsumerV2
-
- SourceMapConsumerV3 - Class in com.google.debugging.sourcemap
-
Class for parsing version 3 of the SourceMap format, as produced by the
Closure Compiler, etc.
- SourceMapConsumerV3() - Constructor for class com.google.debugging.sourcemap.SourceMapConsumerV3
-
- SourceMapConsumerV3.EntryVisitor - Interface in com.google.debugging.sourcemap
-
- sourceMapDetailLevel - Variable in class com.google.javascript.jscomp.CompilerOptions
-
The detail level for the generated source map.
- SourceMapFormat - Enum in com.google.debugging.sourcemap
-
A list of currently support SourceMap format revisions.
- sourceMapFormat - Variable in class com.google.javascript.jscomp.CompilerOptions
-
The source map file format
- SourceMapGenerator - Interface in com.google.debugging.sourcemap
-
Collects information mapping the generated (compiled) source back to
its original source for debugging purposes
- SourceMapGeneratorFactory - Class in com.google.debugging.sourcemap
-
- SourceMapGeneratorFactory() - Constructor for class com.google.debugging.sourcemap.SourceMapGeneratorFactory
-
- SourceMapGeneratorV1 - Class in com.google.debugging.sourcemap
-
Collects information mapping the generated (compiled) source back to
its original source for debugging purposes.
- SourceMapGeneratorV1() - Constructor for class com.google.debugging.sourcemap.SourceMapGeneratorV1
-
- SourceMapGeneratorV2 - Class in com.google.debugging.sourcemap
-
Collects information mapping the generated (compiled) source back to
its original source for debugging purposes.
- SourceMapGeneratorV2() - Constructor for class com.google.debugging.sourcemap.SourceMapGeneratorV2
-
- SourceMapGeneratorV2.LineMapEncoder - Class in com.google.debugging.sourcemap
-
- SourceMapGeneratorV2.LineMapEncoder() - Constructor for class com.google.debugging.sourcemap.SourceMapGeneratorV2.LineMapEncoder
-
- SourceMapGeneratorV3 - Class in com.google.debugging.sourcemap
-
Collects information mapping the generated (compiled) source back to
its original source for debugging purposes.
- SourceMapGeneratorV3() - Constructor for class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
- sourceMapLocationMappings - Variable in class com.google.javascript.jscomp.CompilerOptions
-
- sourceMapOutputPath - Variable in class com.google.javascript.jscomp.CompilerOptions
-
The output path for the source map.
- SourceMapParseException - Exception in com.google.debugging.sourcemap
-
Throw if an invalid or unknown source map is encountered.
- SourceMapParseException(String) - Constructor for exception com.google.debugging.sourcemap.SourceMapParseException
-
- SourceMapping - Interface in com.google.debugging.sourcemap
-
Interface for provide a way of mapping (line, column) positions back to
positions in the original (uncompiled) source code.
- SourceMappingReversable - Interface in com.google.debugging.sourcemap
-
A SourceMappingReversable is a SourceMapping that can provide the reverse
(source --> target) source mapping.
- SourceMapSection - Class in com.google.debugging.sourcemap
-
A class representing a partial source map.
- SourceMapSection(String, int, int) - Constructor for class com.google.debugging.sourcemap.SourceMapSection
-
Deprecated.
- SourceMapSection.SectionType - Enum in com.google.debugging.sourcemap
-
- SourceMapSupplier - Interface in com.google.debugging.sourcemap
-
A class for mapping source map names to the actual contents.
- sourceName - Variable in class com.google.javascript.jscomp.JSError
-
Name of the source
- sourceName - Variable in class com.google.javascript.jscomp.jsonml.JsonMLError
-
Name of the source
- sourceNode - Variable in class com.google.javascript.jscomp.graph.GraphReachability.EdgeTuple
-
- SourcePosition<T> - Class in com.google.javascript.rhino
-
Represents a position in some piece of source code, with an associated
item of type T found at that position.
- SourcePosition() - Constructor for class com.google.javascript.rhino.SourcePosition
-
- srcref(Node) - Method in class com.google.javascript.rhino.Node
-
- srcrefTree(Node) - Method in class com.google.javascript.rhino.Node
-
- StandardUnionFind<E> - Class in com.google.javascript.jscomp.graph
-
A Union-Find implementation.
- StandardUnionFind() - Constructor for class com.google.javascript.jscomp.graph.StandardUnionFind
-
Creates an empty UnionFind structure.
- StandardUnionFind(UnionFind<E>) - Constructor for class com.google.javascript.jscomp.graph.StandardUnionFind
-
Creates an UnionFind structure being a copy of other structure.
- STAR - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- StatementFusion - Class in com.google.javascript.jscomp
-
Tries to fuse all the statements in a block into a one statement by using
COMMAs.
- StatementFusion() - Constructor for class com.google.javascript.jscomp.StatementFusion
-
- STATIC_SOURCE_FILE - Static variable in class com.google.javascript.rhino.Node
-
- StaticReference<T> - Interface in com.google.javascript.rhino.jstype
-
The StaticReference
tells us all the ways that a StaticSlot
is used in a program.
- StaticScope<T> - Interface in com.google.javascript.rhino.jstype
-
The StaticScope
interface must be implemented by any object that
defines variables for the purposes of static analysis.
- StaticSlot<T> - Interface in com.google.javascript.rhino.jstype
-
The StaticSlot
interface must be implemented by variables that can
appear as members of a StaticScope
.
- StaticSourceFile - Interface in com.google.javascript.rhino.jstype
-
The StaticSourceFile
contains information about a compiler input.
- StaticSymbolTable<S extends StaticSlot<JSType>,R extends StaticReference<JSType>> - Interface in com.google.javascript.rhino.jstype
-
Lookup references by the symbols that they refer to.
- STRICT_MODULE_DEP_CHECK - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- StrictWarningsGuard - Class in com.google.javascript.jscomp
-
All warnings should be reported as errors.
- StrictWarningsGuard() - Constructor for class com.google.javascript.jscomp.StrictWarningsGuard
-
- string(String) - Static method in class com.google.javascript.rhino.IR
-
- STRING - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- STRING_KEY - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- STRING_OBJECT_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- STRING_OBJECT_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- STRING_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- stringKey(String) - Static method in class com.google.javascript.rhino.IR
-
- stringMap - Variable in class com.google.javascript.jscomp.Result
-
- StringType - Class in com.google.javascript.rhino.jstype
-
String type.
- stripNamePrefixes - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Name prefixes that determine which variables and properties to strip
- stripNameSuffixes - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Name suffixes that determine which variables and properties to strip
- stripTypePrefixes - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Qualified type name prefixes that determine which types to strip
- stripTypes - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Names of types to strip
- sub(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- SUB - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- SubGraph<N,E> - Interface in com.google.javascript.jscomp.graph
-
An interface representing a subgraph that provides adjacency calculation to
a node.
- subSequence(int, int) - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
-
- success - Variable in class com.google.javascript.jscomp.Result
-
- 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
-
- symbol - Variable in class com.google.javascript.jscomp.deps.JsFunctionParser.SymbolInfo
-
- SymbolTable - Class in com.google.javascript.jscomp
-
A symbol table for people that want to use Closure Compiler as an indexer.
- SymbolTable.Reference - Class in com.google.javascript.jscomp
-
- SymbolTable.Symbol - Class in com.google.javascript.jscomp
-
- SymbolTable.SymbolScope - Class in com.google.javascript.jscomp
-
- SYNTAX_ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- SYNTAX_ERROR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- SYNTHETIC_BLOCK_PROP - Static variable in class com.google.javascript.rhino.Node
-
- SyntheticAst - Class in com.google.javascript.jscomp
-
An AST generated totally by the compiler.
- syntheticBlockEndMarker - Variable in class com.google.javascript.jscomp.CompilerOptions
-
- syntheticBlockStartMarker - Variable in class com.google.javascript.jscomp.CompilerOptions
-
- validate(boolean) - Method in interface com.google.debugging.sourcemap.SourceMapGenerator
-
Whether to perform additional validation on the source map.
- validate(boolean) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV1
-
- validate(boolean) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV2
-
- validate(boolean) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
- validate(JsonML) - Static method in class com.google.javascript.jscomp.jsonml.Validator
-
Validates the specified JsonML element.
- validate(boolean) - Method in class com.google.javascript.jscomp.SourceMap
-
- validateCodeRoot(Node) - Method in class com.google.javascript.jscomp.AstValidator
-
- validateExpression(Node) - Method in class com.google.javascript.jscomp.AstValidator
-
- validateRoot(Node) - Method in class com.google.javascript.jscomp.AstValidator
-
- validateScript(Node) - Method in class com.google.javascript.jscomp.AstValidator
-
- validateStatement(Node) - Method in class com.google.javascript.jscomp.AstValidator
-
- Validator - Class in com.google.javascript.jscomp.jsonml
-
Statically validates JsonML elements.
- valueOf(String) - Static method in enum com.google.debugging.sourcemap.SourceMapFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.debugging.sourcemap.SourceMapSection.SectionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.AnonymousFunctionNamingPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CheckLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CheckLevelLegacy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CodingConvention.SubclassType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CompilationLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CompilerOptions.Reach
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CompilerOptions.TracerMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CompilerOptions.TweakProcessing
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CssRenamingMap.Style
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CustomPassExecutionTime
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.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.
- valueOf() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
-
- values() - Static method in enum com.google.debugging.sourcemap.SourceMapFormat
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.debugging.sourcemap.SourceMapSection.SectionType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.AnonymousFunctionNamingPolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.CheckLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.CheckLevelLegacy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.CodingConvention.SubclassType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.CompilationLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.CompilerOptions.Reach
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.CompilerOptions.TracerMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.CompilerOptions.TweakProcessing
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.CssRenamingMap.Style
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.CustomPassExecutionTime
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.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, Node) - Static method in class com.google.javascript.rhino.IR
-
- var(Node) - Static method in class com.google.javascript.rhino.IR
-
- VAR - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- VAR_ARGS_NAME - Static variable in class com.google.javascript.rhino.Node
-
- variableMap - Variable in class com.google.javascript.jscomp.Result
-
- VariableMap - Class in com.google.javascript.jscomp
-
Stores the mapping from original variable name to new variable names.
- variableRenaming - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Controls which variables get renamed.
- VariableRenamingPolicy - Enum in com.google.javascript.jscomp
-
Policies to determine which variables should be renamed.
- VIOLATED_MODULE_DEP - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- VISIBILITY - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- visit(String, String, FilePosition, FilePosition, FilePosition) - Method in interface com.google.debugging.sourcemap.SourceMapConsumerV3.EntryVisitor
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.FindExportableNodes
-
- visit(NodeTraversal, Node, Node) - Method in interface com.google.javascript.jscomp.NodeTraversal.Callback
-
Visits a node in post order (after its children have been visited).
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.TypeCheck
-
This is the meat of the type checking.
- visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.AllType
-
- visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.BooleanType
-
- visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
- visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.EnumType
-
- visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.JSType
-
Visit this type with the given visitor.
- visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.NoObjectType
-
- visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.NoType
-
- visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.NullType
-
- visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.NumberType
-
- visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.StringType
-
- visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.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
-
- visitMappings(SourceMapConsumerV3.EntryVisitor) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
-
- Visitor<T> - Interface in com.google.javascript.rhino.jstype
-
A type visitor.
- VOID - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- VOID_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- voidNode(Node) - Static method in class com.google.javascript.rhino.IR
-
- VoidType - Class in com.google.javascript.rhino.jstype
-
Void type whose only element is the undefined
value.