MessageFormatter
needing a SourceExcerptProvider
.repeated string declaration_to_remove = 3;
repeated group Entry = 1 { ...
- addAllInit(Iterable<String>) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
repeated string init = 4;
- addAllModule(Iterable<? extends FunctionInformationMap.Module>) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- addAllOnlyApplyTo(Iterable<String>) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string only_apply_to = 4;
- addAllOnlyApplyToRegexp(Iterable<String>) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string only_apply_to_regexp = 5;
- addAllRequirement(Iterable<? extends Requirement>) - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
repeated .jscomp.Requirement requirement = 1;
- addAllValue(Iterable<String>) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string value = 7;
- addAllWhitelist(Iterable<String>) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string whitelist = 2;
- addAllWhitelistRegexp(Iterable<String>) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string whitelist_regexp = 3;
- 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.
- addCast(Node, AbstractCompiler, String) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Adds a cast of the given type to the provided node.
- 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
-
- addClassProperty(String, JSType, boolean) - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
Add a new non-optional declared property to instances of this class
- addCtorProperty(String, JSType, boolean) - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
Add a new non-optional declared property to this class's constructor
- addDeclarationToRemove(String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
repeated string declaration_to_remove = 3;
- addDeclarationToRemoveBytes(ByteString) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
repeated string declaration_to_remove = 3;
- addDependency(JSModule) - Method in class com.google.javascript.jscomp.JSModule
-
Adds a dependency on another module.
- ADDED_BLOCK - Static variable in class com.google.javascript.rhino.Node
-
- addEntry(FunctionInformationMap.Entry) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- addEntry(int, FunctionInformationMap.Entry) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- addEntry(FunctionInformationMap.Entry.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- addEntry(int, FunctionInformationMap.Entry.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- addEntryBuilder() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- addEntryBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- addEntryPoint(Parameter) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Adds a
entry
Each entrypoint entry must have one attribute, name.
- addEnum(QualifiedName, EnumType) - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- addExtension(String, Object) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Adds field extensions to the json source map.
- addExterns(FileList) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Sets the externs file.
- addExterns(Iterable<SourceFile>) - Method in class com.google.javascript.refactoring.RefactoringDriver.Builder
-
- addExternsFromCode(String) - Method in class com.google.javascript.refactoring.RefactoringDriver.Builder
-
- addExternsFromFile(String) - Method in class com.google.javascript.refactoring.RefactoringDriver.Builder
-
- addExternsFromFile(Iterable<String>) - Method in class com.google.javascript.refactoring.RefactoringDriver.Builder
-
- addGoogRequire(Match, String) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Adds a goog.require for the given namespace to the file if it does not
already exist.
- addInit(String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
repeated string init = 4;
- addInitBytes(ByteString) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
repeated string init = 4;
- addInputs(Iterable<SourceFile>) - Method in class com.google.javascript.refactoring.RefactoringDriver.Builder
-
- addInputsFromCode(String) - Method in class com.google.javascript.refactoring.RefactoringDriver.Builder
-
- addInputsFromFile(String) - Method in class com.google.javascript.refactoring.RefactoringDriver.Builder
-
- addInputsFromFile(Iterable<String>) - Method in class com.google.javascript.refactoring.RefactoringDriver.Builder
-
- addInterfaces(ImmutableSet<NominalType>) - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- addLoose() - Method in class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder
-
- 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.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
-
repeated group Module = 101 { ...
- addModule(int, FunctionInformationMap.Module) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- addModule(FunctionInformationMap.Module.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- addModule(int, FunctionInformationMap.Module.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- addModuleBuilder() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- addModuleBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- addNativeProperties(JSTypeRegistry) - Static method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
Adds a basic set of properties to the native types.
- addNewScript(JsAst) - Method in class com.google.javascript.jscomp.Compiler
-
Adds a new Script AST to the compile state.
- addNode(N) - Method in interface com.google.javascript.jscomp.graph.SubGraph
-
Adds the node into this subgraph.
- addNominalType(NominalType) - Method in class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder
-
- addNominalType(QualifiedName, NominalType.RawNominalType) - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- addOnlyApplyTo(String) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string only_apply_to = 4;
- addOnlyApplyToBytes(ByteString) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string only_apply_to = 4;
- addOnlyApplyToRegexp(String) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string only_apply_to_regexp = 5;
- addOnlyApplyToRegexpBytes(ByteString) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string only_apply_to_regexp = 5;
- addOptFormal(JSType) - Method in class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder
-
- 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.
- addOrReplaceJsDoc(Node, String) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Adds or replaces the JS Doc for the given node.
- addOuterVarPrecondition(String, JSType) - Method in class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder
-
- addPath(Path) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Adds a
entry.
- addProperty(String, JSType, boolean) - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
Add a new non-optional declared property to this namespace
- 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.
- addProtoProperty(String, JSType, boolean) - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
Add a new non-optional declared prototype property to this class
- addReceiverType(NominalType) - Method in class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder
-
- addReference(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Adds a reference ("@see") to the current information.
- addReqFormal(JSType) - Method in class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder
-
- addRequiredParams(JSType...) - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
-
Add parameters of the given type to the end of the param list.
- addRequirement(Requirement) - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
repeated .jscomp.Requirement requirement = 1;
- addRequirement(int, Requirement) - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
repeated .jscomp.Requirement requirement = 1;
- addRequirement(Requirement.Builder) - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
repeated .jscomp.Requirement requirement = 1;
- addRequirement(int, Requirement.Builder) - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
repeated .jscomp.Requirement requirement = 1;
- addRequirementBuilder() - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
repeated .jscomp.Requirement requirement = 1;
- addRequirementBuilder(int) - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
repeated .jscomp.Requirement requirement = 1;
- addRestFormals(JSType) - Method in class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder
-
- addRetType(JSType) - Method in class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder
-
- addSources(FileList) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Sets the source files.
- addSubnamespace(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- addSuperClass(NominalType) - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- 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.
- addTypedef(QualifiedName, Typedef) - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- addTypeParameters(ImmutableList<String>) - Method in class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder
-
- addUndeclaredClassProperty(String) - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
Add a new undeclared property to instances of this class
- addUndeclaredCtorProperty(String) - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
Add a new undeclared property to this class's constructor
- addUndeclaredProperty(String, JSType, boolean) - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
Add a new undeclared property to this namespace
- addUndeclaredProtoProperty(String) - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
Add a new undeclared prototype property to this class
- addValue(String) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string value = 7;
- addValueBytes(ByteString) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string value = 7;
- 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.
- addWhitelist(String) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string whitelist = 2;
- addWhitelistBytes(ByteString) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string whitelist = 2;
- addWhitelistRegexp(String) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string whitelist_regexp = 3;
- addWhitelistRegexpBytes(ByteString) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string whitelist_regexp = 3;
- addWhitelistWarningsGuard(CompilerOptions, File) - Method in class com.google.javascript.jscomp.CommandLineRunner
-
- 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
- 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.
- allOf(Matcher...) - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that returns true only if all of the provided
matchers match.
- allPathsSatisfyPredicate() - Method in class com.google.javascript.jscomp.CheckPathsBetweenNodes
-
- 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
-
- analyzeChangedScopesOnly - Variable in class com.google.javascript.jscomp.AbstractCompiler
-
- ANALYZED_DURING_GTI - Static variable in class com.google.javascript.rhino.Node
-
- and(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- and(TernaryValue) - Method in enum com.google.javascript.rhino.jstype.TernaryValue
-
Gets the
and
of this
and that
.
- AND - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- Annotatable - Interface in com.google.javascript.jscomp.graph
-
Object that has an annotation.
- Annotation - Interface in com.google.javascript.jscomp.graph
-
Information that can be annotated to a
GraphNode
or
Graph.GraphEdge
.
- ANNOTATION - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- anonymousFunctionNaming - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Give anonymous functions names for easier debugging
- AnonymousFunctionNamingPolicy - Enum in com.google.javascript.jscomp
-
Strategies for how to do naming of anonymous functions that occur as
r-values in assignments and variable declarations.
- AntErrorManager - Class in com.google.javascript.jscomp.ant
-
An error manager that pipes warnings and errors properly into the Ant
task infrastructure.
- AntErrorManager(MessageFormatter, Task) - Constructor for class com.google.javascript.jscomp.ant.AntErrorManager
-
- ANY_TYPE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- anyOf(Matcher...) - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that returns true if any of the provided matchers match.
- anything() - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that matches every node.
- anyType() - Static method in class com.google.javascript.jscomp.parsing.TypeDeclarationsIRFactory
-
Equivalent to the UNKNOWN type in Closure, expressed with
{?}
- 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
-
- 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.SourceMapGeneratorV3
-
Appends the index source map to the given buffer.
- appendInput(Appendable, DependencyInfo, String) - Static method in class com.google.javascript.jscomp.deps.ClosureBundler
-
Append the contents of the string to the supplied appendable.
- 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.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, DependencyInfo, String) - Method in class com.google.javascript.jscomp.deps.ClosureBundler
-
Append the contents of the string to the supplied appendable.
- appendTo(Appendable, DependencyInfo, File, Charset) - Method in class com.google.javascript.jscomp.deps.ClosureBundler
-
Append the contents of the file to the supplied appendable.
- appendTo(StringBuilder) - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- appendTo(StringBuilder) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- appendTo(StringBuilder) - Method in class com.google.javascript.jscomp.newtypes.ObjectType
-
- 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.
- applyCodeReplacements(Iterable<CodeReplacement>, String) - Static method in class com.google.javascript.refactoring.ApplySuggestedFixes
-
Applies the provided set of code replacements to the code and returns the transformed code.
- 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
-
- ApplySuggestedFixes - Class in com.google.javascript.refactoring
-
Class that applies suggested fixes to code or files.
- ApplySuggestedFixes() - Constructor for class com.google.javascript.refactoring.ApplySuggestedFixes
-
- applySuggestedFixesToCode(Iterable<SuggestedFix>, Map<String, String>) - Static method in class com.google.javascript.refactoring.ApplySuggestedFixes
-
Applies the provided set of suggested fixes to the provided code and returns the new code.
- applySuggestedFixesToFiles(Iterable<SuggestedFix>) - Static method in class com.google.javascript.refactoring.ApplySuggestedFixes
-
Applies the provided set of suggested fixes to the files listed in the suggested fixes.
- areAllFlagsSet() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
-
- areCompatibleScalarTypes(JSType, JSType) - Static method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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.
- areEquivalent(JSDocInfo, JSDocInfo) - Static method in class com.google.javascript.rhino.JSDocInfo
-
- ArgumentListTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ArgumentListTree(SourceRange, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ArgumentListTree
-
- arguments - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ArgumentListTree
-
- arguments - Variable in class com.google.javascript.jscomp.parsing.parser.trees.CallExpressionTree
-
- arguments - Variable in class com.google.javascript.jscomp.parsing.parser.trees.NewExpressionTree
-
- arity(int) - Static method in class com.google.javascript.rhino.Token
-
If the arity isn't always the same, this function returns -1
- ARRAY_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- ARRAY_PATTERN - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- 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.
- ArrayLiteralExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ArrayLiteralExpressionTree(SourceRange, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ArrayLiteralExpressionTree
-
- ArrayPatternTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ArrayPatternTree(SourceRange, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ArrayPatternTree
-
- ARROW_FN - Static variable in class com.google.javascript.rhino.Node
-
- AS - Static variable in class com.google.javascript.jscomp.parsing.parser.PredefinedName
-
- asArgumentList() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asArrayLiteralExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asArrayPattern() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asAssignmentRestElement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asBinaryOperator() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asBlock() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asBreakStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asCallExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asCaseClause() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asCatch() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asClassDeclaration() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asCommaExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asComprehension() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asComprehensionFor() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asComprehensionIf() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asComputedPropertyDefinition() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asComputedPropertyGetter() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asComputedPropertyMethod() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asComputedPropertySetter() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asConditionalExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asContinueStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asDebuggerStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asDefaultClause() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asDefaultParameter() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asDoWhileStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asEmptyStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asExportDeclaration() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asExportSpecifier() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asExpressionStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asFinally() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asForInStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asFormalParameterList() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asForOfStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asForStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asFunctionDeclaration() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asGetAccessor() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asGetParameter() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
-
- asIdentifier() - Method in class com.google.javascript.jscomp.parsing.parser.Token
-
- asIdentifierExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asIfStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asImportDeclaration() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asImportSpecifier() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asLabelledStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asLiteral() - Method in class com.google.javascript.jscomp.parsing.parser.Token
-
- asLiteralExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asMemberExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asMemberLookupExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asMissingPrimaryExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asModuleImport() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asNewExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asNull() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asObjectLiteralExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asObjectPattern() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asParenExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asPostfixExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asProgram() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asPropertyNameAssignment() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asRestParameter() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asReturnStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- assertedNewType - Variable in class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
-
- 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)
- AssertFunctionByTypeName(String, String) - Constructor for class com.google.javascript.jscomp.ClosureCodingConvention.AssertFunctionByTypeName
-
- AssertInstanceofSpec(String) - Constructor for class com.google.javascript.jscomp.ClosureCodingConvention.AssertInstanceofSpec
-
- AssertionFunctionSpec(String) - Constructor for class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
-
Deprecated.
- AssertionFunctionSpec(String, JSType) - Constructor for class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
-
- AssertionFunctionSpec(String, JSType, JSTypeNative) - Constructor for class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
-
- assertReplacement(SuggestedFix, CodeReplacement) - Static method in class com.google.javascript.refactoring.testing.SuggestedFixes
-
- 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
-
- asSetAccessor() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- 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.
- AssignmentRestElementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- AssignmentRestElementTree(SourceRange, IdentifierToken) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.AssignmentRestElementTree
-
- assignmentWithRhs(Matcher) - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that matches an ASSIGN node where the RHS of the assignment matches the given
rhsMatcher.
- asSpreadExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- assumeClosuresOnlyCaptureReferences() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- assumeStrictThis() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- asSuperExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asSwitchStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- ast - Variable in class com.google.javascript.jscomp.parsing.ParserRunner.ParseResult
-
- asTemplateLiteralExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asTemplateLiteralPortion() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asTemplateSubstitution() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asThisExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asThrowStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asTryStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- AstValidator - Class in com.google.javascript.jscomp
-
This class walks the AST and validates that the structure is correct.
- AstValidator(AbstractCompiler, AstValidator.ViolationHandler) - Constructor for class com.google.javascript.jscomp.AstValidator
-
- AstValidator(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.AstValidator
-
- AstValidator.ViolationHandler - Interface in com.google.javascript.jscomp
-
Violation handler
- asTypedParameter() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asUnaryExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asVariableDeclaration() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asVariableDeclarationList() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asVariableStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asWhileStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asWithStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asYieldStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- atLeast5 - Variable in class com.google.javascript.jscomp.parsing.parser.Parser.Config
-
- atLeast6 - Variable in class com.google.javascript.jscomp.parsing.parser.Parser.Config
-
- autobox(JSTypes) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- autobox() - Method in class com.google.javascript.rhino.jstype.JSType
-
Dereference a type for property access.
- autobox() - Method in class com.google.javascript.rhino.jstype.UnionType
-
- autoboxesTo() - Method in class com.google.javascript.rhino.jstype.BooleanType
-
- autoboxesTo() - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
- autoboxesTo() - Method in class com.google.javascript.rhino.jstype.JSType
-
Turn a scalar type to the corresponding object type.
- autoboxesTo() - Method in class com.google.javascript.rhino.jstype.NumberType
-
- autoboxesTo() - Method in class com.google.javascript.rhino.jstype.StringType
-
B
- BAD_JSDOC_ANNOTATION - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- BanExpose(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.BanExpose
-
- BANG - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- BanGlobalVars(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.BanGlobalVars
-
- BANNED_CODE_PATTERN_VALUE - Static variable in enum com.google.javascript.jscomp.Requirement.Type
-
BANNED_CODE_PATTERN = 9;
- BANNED_DEPENDENCY_VALUE - Static variable in enum com.google.javascript.jscomp.Requirement.Type
-
BANNED_DEPENDENCY = 2;
- BANNED_NAME_VALUE - Static variable in enum com.google.javascript.jscomp.Requirement.Type
-
BANNED_NAME = 3;
- BANNED_PROPERTY_CALL_VALUE - Static variable in enum com.google.javascript.jscomp.Requirement.Type
-
BANNED_PROPERTY_CALL = 10;
- BANNED_PROPERTY_READ_VALUE - Static variable in enum com.google.javascript.jscomp.Requirement.Type
-
BANNED_PROPERTY_READ = 5;
- BANNED_PROPERTY_VALUE - Static variable in enum com.google.javascript.jscomp.Requirement.Type
-
BANNED_PROPERTY = 4;
- BANNED_PROPERTY_WRITE_VALUE - Static variable in enum com.google.javascript.jscomp.Requirement.Type
-
BANNED_PROPERTY_WRITE = 6;
- BanThrowOfNonErrorTypes(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.BanThrowOfNonErrorTypes
-
- BanUnknownThis(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.BanUnknownThis
-
- Base64 - Class in com.google.debugging.sourcemap
-
A utility class for working with Base64 values.
- base64EncodeInt(int) - Static method in class com.google.debugging.sourcemap.Base64
-
- BaseJSTypeTestCase - Class in com.google.javascript.rhino.testing
-
- BaseJSTypeTestCase() - Constructor for class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- BasicErrorManager - Class in com.google.javascript.jscomp
-
A basic error manager that sorts all errors and warnings reported to it to
generate a sorted report when the
BasicErrorManager.generateReport()
method
is called.
- BasicErrorManager() - Constructor for class com.google.javascript.jscomp.BasicErrorManager
-
- BinaryOperatorTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- BinaryOperatorTree(SourceRange, ParseTree, Token, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.BinaryOperatorTree
-
- Bind(Node, Node, Node) - Constructor for class com.google.javascript.jscomp.CodingConvention.Bind
-
- BITAND - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- BITNOT - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- BITOR - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- BITXOR - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- block - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FinallyTree
-
- block() - Static method in class com.google.javascript.rhino.IR
-
- block(Node) - Static method in class com.google.javascript.rhino.IR
-
- block(Node...) - Static method in class com.google.javascript.rhino.IR
-
- block(List<Node>) - Static method in class com.google.javascript.rhino.IR
-
- BLOCK - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- BlockTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- BlockTree(SourceRange, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.BlockTree
-
- body - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyGetterTree
-
- body - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertySetterTree
-
- body - Variable in class com.google.javascript.jscomp.parsing.parser.trees.DoWhileStatementTree
-
- body - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ForInStatementTree
-
- body - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ForOfStatementTree
-
- body - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ForStatementTree
-
- body - Variable in class com.google.javascript.jscomp.parsing.parser.trees.GetAccessorTree
-
- body - Variable in class com.google.javascript.jscomp.parsing.parser.trees.SetAccessorTree
-
- body - Variable in class com.google.javascript.jscomp.parsing.parser.trees.TryStatementTree
-
- body - Variable in class com.google.javascript.jscomp.parsing.parser.trees.WhileStatementTree
-
- body - Variable in class com.google.javascript.jscomp.parsing.parser.trees.WithStatementTree
-
- BOOLEAN - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- BOOLEAN_MASK - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- BOOLEAN_OBJECT_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- BOOLEAN_OBJECT_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- BOOLEAN_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- BOOLEAN_TYPE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- BooleanLiteralSet - Enum in com.google.javascript.rhino.jstype
-
A set in the domain {true,false}.
- booleanType() - Static method in class com.google.javascript.jscomp.parsing.TypeDeclarationsIRFactory
-
- BooleanType - Class in com.google.javascript.rhino.jstype
-
Boolean type.
- BOTTOM - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- BOTTOM_MASK - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- BREAK - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- breakNode() - Static method in class com.google.javascript.rhino.IR
-
- breakNode(Node) - Static method in class com.google.javascript.rhino.IR
-
- BreakStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- BreakStatementTree(SourceRange, IdentifierToken) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.BreakStatementTree
-
- brokenClosureRequiresLevel - Variable in class com.google.javascript.jscomp.CompilerOptions
-
- build() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- build() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- build() - Method in class com.google.javascript.jscomp.CodePrinter.Builder
-
Generates the source code and returns it.
- build() - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
- build() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- build() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- build() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
- build() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- build() - Method in class com.google.javascript.jscomp.JsMessage.Builder
-
- build(JsMessage.IdGenerator) - Method in class com.google.javascript.jscomp.JsMessage.Builder
-
- build() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
- build() - Method in class com.google.javascript.refactoring.RefactoringDriver.Builder
-
- build() - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
- build(Node) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Builds a
JSDocInfo
object based on the populated information and
returns it.
- build() - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
-
Construct a new function type.
- build() - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
-
- build() - Method in class com.google.javascript.rhino.jstype.RecordTypeBuilder
-
Creates a record.
- buildDeclaration() - Method in class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder
-
- Builder(Node) - Constructor for class com.google.javascript.jscomp.CodePrinter.Builder
-
Sets the root node from which to generate the source code.
- Builder() - Constructor for class com.google.javascript.jscomp.JsMessage.Builder
-
- Builder(String) - Constructor for class com.google.javascript.jscomp.JsMessage.Builder
-
Creates an instance.
- builder() - Static method in class com.google.javascript.jscomp.SourceFile
-
Create a new builder for source files.
- Builder() - Constructor for class com.google.javascript.jscomp.SourceFile.Builder
-
- Builder(Scanner) - Constructor for class com.google.javascript.refactoring.RefactoringDriver.Builder
-
- Builder() - Constructor for class com.google.javascript.refactoring.SuggestedFix.Builder
-
- buildFromCode(String, String) - Method in class com.google.javascript.jscomp.SourceFile.Builder
-
- buildFromFile(String) - Method in class com.google.javascript.jscomp.SourceFile.Builder
-
- buildFromFile(File) - Method in class com.google.javascript.jscomp.SourceFile.Builder
-
- buildFromGenerator(String, SourceFile.Generator) - Method in class com.google.javascript.jscomp.SourceFile.Builder
-
- buildFromInputStream(String, InputStream) - Method in class com.google.javascript.jscomp.SourceFile.Builder
-
- buildFromReader(String, Reader) - Method in class com.google.javascript.jscomp.SourceFile.Builder
-
- buildFunction() - Method in class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder
-
- buildKnownSymbolTable() - Method in class com.google.javascript.jscomp.Compiler
-
- buildPartial() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- buildPartial() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- buildPartial() - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
- buildPartial() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- buildPartial() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- buildPartial() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
- buildPartial() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- buildPartial() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
- ByPart() - Constructor for class com.google.javascript.jscomp.CssRenamingMap.ByPart
-
- ByPathWarningsGuard - Class in com.google.javascript.jscomp
-
An implementation of a
WarningsGuard
that can modify the
CheckLevel
based on the file that caused the warning, and whether
this file matches a set of paths (specified either as include or exclude
of path name parts).
- ByWhole() - Constructor for class com.google.javascript.jscomp.CssRenamingMap.ByWhole
-
C
- call(Node, Node...) - Static method in class com.google.javascript.rhino.IR
-
- CALL - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- CallExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- CallExpressionTree(SourceRange, ParseTree, ArgumentListTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.CallExpressionTree
-
- 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.PrototypeObjectType
-
- canBeCalled() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- 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.
- canReturnNull(ControlFlowGraph<Node>) - Static method in class com.google.javascript.jscomp.lint.CheckNullableReturn
-
- 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.
- caseClauses - Variable in class com.google.javascript.jscomp.parsing.parser.trees.SwitchStatementTree
-
- CaseClauseTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- CaseClauseTree(SourceRange, ParseTree, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.CaseClauseTree
-
- 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.
- caseNamedType(NamedType) - Method in class com.google.javascript.rhino.jstype.ModificationVisitor
-
- caseNamedType(NamedType) - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Named 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(NoType) - Method in class com.google.javascript.rhino.jstype.ModificationVisitor
-
- caseNoType(NoType) - 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.
- caseProxyObjectType(ProxyObjectType) - Method in class com.google.javascript.rhino.jstype.ModificationVisitor
-
- caseProxyObjectType(ProxyObjectType) - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Proxy 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 class com.google.javascript.rhino.jstype.TemplateTypeMapReplacer
-
- 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.
- catchBlock - Variable in class com.google.javascript.jscomp.parsing.parser.trees.TryStatementTree
-
- catchBody - Variable in class com.google.javascript.jscomp.parsing.parser.trees.CatchTree
-
- catchNode(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- CatchTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- CatchTree(SourceRange, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.CatchTree
-
- ChainableReverseAbstractInterpreter - Class in com.google.javascript.jscomp.type
-
Chainable reverse abstract interpreter providing basic functionality.
- ChainableReverseAbstractInterpreter(JSTypeRegistry) - Constructor for class com.google.javascript.jscomp.type.ChainableReverseAbstractInterpreter
-
Constructs an interpreter, which is the only link in a chain.
- CHANGE_TIME - Static variable in class com.google.javascript.rhino.Node
-
- changeJsDocType(Node, AbstractCompiler, String) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Changes the JS Doc Type of the given node.
- changes - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
-
- charAt(int) - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
-
- check(NodeTraversal, Node) - Method in interface com.google.javascript.jscomp.CheckConformance.Rule
-
Perform conformance check
- check() - Method in class com.google.javascript.jscomp.Compiler
-
- check(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ConformanceRules.AbstractRule
-
- check(Node, boolean) - Method in class com.google.javascript.jscomp.TypeCheck
-
- CHECK_EVENTFUL_OBJECT_DISPOSAL - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- CHECK_REGEXP - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- CHECK_STRUCT_DICT_INHERITANCE - 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
-
- CheckConformance - Class in com.google.javascript.jscomp
-
Provides a framework for checking code against a set of user configured
conformance rules.
- checkConformance(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ConformanceRules.AbstractRule
-
- checkConformance(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ConformanceRules.BanExpose
-
- checkConformance(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ConformanceRules.BanGlobalVars
-
- checkConformance(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ConformanceRules.BanThrowOfNonErrorTypes
-
- checkConformance(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ConformanceRules.BanUnknownThis
-
- checkConformance(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ConformanceRules.NoImplicitlyPublicDecls
-
- checkConformance(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ConformanceRules.RequireFileoverviewVisibility
-
- CheckConformance.InvalidRequirementSpec - Exception in com.google.javascript.jscomp
-
- CheckConformance.Rule - Interface in com.google.javascript.jscomp
-
- CHECKED_UNKNOWN_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- CheckEnums - Class in com.google.javascript.jscomp.lint
-
Check for duplicate values in enums.
- CheckEnums(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckEnums
-
- checkEquivalenceHelper(TemplateTypeMap, EquivalenceMethod) - Method in class com.google.javascript.rhino.jstype.TemplateTypeMap
-
Determines if this map and the specified map have equivalent template
types.
- CheckEventfulObjectDisposal - Class in com.google.javascript.jscomp
-
Check to ensure there exists a path to dispose of each eventful object
created.
- CheckEventfulObjectDisposal(AbstractCompiler, CheckEventfulObjectDisposal.DisposalCheckingPolicy) - Constructor for class com.google.javascript.jscomp.CheckEventfulObjectDisposal
-
- CheckEventfulObjectDisposal.DisposalCheckingPolicy - Enum in com.google.javascript.jscomp
-
Policies to determine the disposal checking level.
- 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
-
- CheckInterfaces - Class in com.google.javascript.jscomp.lint
-
Checks for errors related to interfaces.
- CheckInterfaces(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckInterfaces
-
- 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
-
- CheckNullableReturn - Class in com.google.javascript.jscomp.lint
-
Checks when a function is annotated as returning {SomeType} (nullable)
but actually always returns {!SomeType}, i.e.
- CheckNullableReturn(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckNullableReturn
-
- CheckPathsBetweenNodes<N,E> - Class in com.google.javascript.jscomp
-
See constructor,
#CheckPathsBetweenNodes(DiGraph,
DiGraphNode, DiGraphNode, Predicate, Predicate)
, for a
description of this algorithm.
- CheckPathsBetweenNodes(DiGraph<N, E>, DiGraph.DiGraphNode<N, E>, DiGraph.DiGraphNode<N, E>, Predicate<N>, Predicate<DiGraph.DiGraphEdge<N, E>>) - Constructor for class com.google.javascript.jscomp.CheckPathsBetweenNodes
-
Inclusive check.
- CheckPrototypeProperties - Class in com.google.javascript.jscomp.lint
-
Checks when a mutable property is assigned to a prototype.
- CheckPrototypeProperties(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckPrototypeProperties
-
- checkProvides - Variable in class com.google.javascript.jscomp.CompilerOptions
-
- checkRequires - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Deprecated.
- 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.
- checkTreeEqualsIncludingJsDoc(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
- children - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComprehensionTree
-
- 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.
- CLASS - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- CLASS_MEMBERS - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ClassDeclarationTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ClassDeclarationTree(SourceRange, IdentifierToken, boolean, ParseTree, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ClassDeclarationTree
-
- 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.ConformanceConfig.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
-
- clear() - Method in class com.google.javascript.jscomp.Requirement.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
-
optional string app_name_setter = 5;
- clearAst() - Method in class com.google.javascript.jscomp.CompilerInput
-
- clearAst() - Method in class com.google.javascript.jscomp.JsAst
-
- 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.SourceFile
-
- clearCachedValues() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- clearCachedValues() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Clear cached values.
- clearChangeLog() - Method in class com.google.javascript.jscomp.newtypes.TypeEnv
-
- clearColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
optional int32 column_position = 2;
- clearColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
optional int32 column_position = 3;
- clearCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string compiled_source = 8;
- clearCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string compiled_source = 103;
- clearDeclarationToRemove() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
repeated string declaration_to_remove = 3;
- clearEdgeAnnotations() - Method in class com.google.javascript.jscomp.graph.Graph
-
Makes each edge's annotation null.
- clearEntries() - Static method in class com.google.javascript.jscomp.parsing.parser.util.Timer
-
- clearEntry() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- clearErrorMessage() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string error_message = 1;
- clearExtends() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string extends = 10;
- clearId() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required int32 id = 2;
- clearIdentifier() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
optional string identifier = 4;
- clearInit() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
repeated string init = 4;
- clearJavaClass() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string java_class = 8;
- clearLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
optional int32 line_number = 1;
- clearLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
optional int32 line_number = 2;
- clearLineNumber() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required int32 line_number = 4;
- clearModule() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- clearModuleName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string module_name = 5;
- clearName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string name = 7;
- clearName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string name = 102;
- clearNamedTypes() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Flushes out the current resolved and unresolved Named Types from
the type registry.
- clearNodeAnnotations() - Method in interface com.google.javascript.jscomp.graph.AdjacencyGraph
-
Makes each node's annotation null.
- clearNodeAnnotations() - Method in class com.google.javascript.jscomp.graph.Graph
-
- clearOnlyApplyTo() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string only_apply_to = 4;
- clearOnlyApplyToRegexp() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string only_apply_to_regexp = 5;
- clearOriginalFile() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
optional string original_file = 1;
- clearOriginalMapping() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
optional .sourcemap.OriginalMapping original_mapping = 3;
- clearReportCall() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string report_call = 2;
- clearReportDefined() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string report_defined = 1;
- clearReportExit() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string report_exit = 6;
- clearRequirement() - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
repeated .jscomp.Requirement requirement = 1;
- clearResolved() - Method in class com.google.javascript.rhino.jstype.JSType
-
Clears the resolved field.
- clearRuleId() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string rule_id = 9;
- clearSideEffectFlags() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
-
Preserve the return result flag, but clear the others:
no global state change, no throws, no this change, no arguments change
- clearSize() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required int32 size = 6;
- clearSourceName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string source_name = 3;
- clearTemplateTypeNames() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Clears the template type name.
- clearType() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional .jscomp.Requirement.Type type = 6;
- clearValue() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string value = 7;
- clearWhitelist() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string whitelist = 2;
- clearWhitelistRegexp() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string whitelist_regexp = 3;
- ClojurePersistentHashMap<K,V> - Class in com.google.javascript.jscomp.newtypes
-
A persistent map that simply wraps Clojure's implementation
- ClojurePersistentHashSet<K> - Class in com.google.javascript.jscomp.newtypes
-
A persistent set that simply wraps Clojure's implementation
- 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.ConformanceConfig.Builder
-
- 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
-
- clone() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
- clone() - Method in class com.google.javascript.rhino.JSDocInfo
-
- cloneNode() - Method in class com.google.javascript.rhino.Node
-
- clonePropsFrom(Node) - Method in class com.google.javascript.rhino.Node
-
Clone the properties from the provided node without copying
the property object.
- cloneTree() - Method in class com.google.javascript.rhino.Node
-
- cloneWithoutArrowType() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Create a new constructor with the parameters and return type stripped.
- CLOSURE_DEP_METHOD_USAGE_CHECKS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- ClosureBundler - Class in com.google.javascript.jscomp.deps
-
A utility class to assist in creating JS bundle files.
- ClosureBundler() - Constructor for class com.google.javascript.jscomp.deps.ClosureBundler
-
- 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.AssertFunctionByTypeName - Class in com.google.javascript.jscomp
-
A function that will throw an exception when the value is not an
instanceof the given type name, for instance "Element".
- ClosureCodingConvention.AssertInstanceofSpec - Class in com.google.javascript.jscomp
-
A function that will throw an exception when if the value is not
an instanceof a specific type.
- closurePass - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Processes goog.provide() and goog.require() calls
- ClosureReverseAbstractInterpreter - Class in com.google.javascript.jscomp.type
-
A reverse abstract interpreter (RAI) for specific closure patterns such as
goog.isDef
.
- ClosureReverseAbstractInterpreter(JSTypeRegistry) - Constructor for class com.google.javascript.jscomp.type.ClosureReverseAbstractInterpreter
-
- ClosureRewriteModule - Class in com.google.javascript.jscomp
-
Process aliases in goog.scope blocks.
- 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.
- CodeBuilder() - Constructor for class com.google.javascript.jscomp.Compiler.CodeBuilder
-
- CodePrinter - Class in com.google.javascript.jscomp
-
CodePrinter prints out JS code in either pretty format or compact format.
- CodePrinter() - Constructor for class com.google.javascript.jscomp.CodePrinter
-
- CodePrinter.Builder - Class in com.google.javascript.jscomp
-
- CodeReplacement - Class in com.google.javascript.refactoring
-
Class that represents a set of changes to make to the code.
- CodingConvention - Interface in com.google.javascript.jscomp
-
CodingConvention defines a set of hooks to customize the behavior of the
Compiler for a specific team/company.
- CodingConvention.AssertionFunctionSpec - Class in com.google.javascript.jscomp
-
A function that will throw an exception when either:
-One or more of its parameters evaluate to false.
- CodingConvention.Bind - Class in com.google.javascript.jscomp
-
Bind class
- 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
-
Record subclass relations
- CodingConvention.SubclassType - Enum in com.google.javascript.jscomp
-
Specify the kind of inheritance
- CodingConventions - Class in com.google.javascript.jscomp
-
Helper classes for dealing with coding conventions.
- CodingConventions.Proxy - Class in com.google.javascript.jscomp
-
A convention that wraps another.
- collapseAnonymousFunctions - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Collapses anonymous function declarations into named function
declarations
- collapseDots(String) - Static method in class com.google.javascript.jscomp.deps.PathUtil
-
Removes all ../ and ./ entries from within the given path.
- collapseProperties - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Flattens multi-level property names (e.g.
- collapseUnion() - Method in class com.google.javascript.rhino.jstype.JSType
-
Gets the least supertype of this that's not a union.
- collapseUnion() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- 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
- collection - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComprehensionForTree
-
- collection - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ForInStatementTree
-
- collection - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ForOfStatementTree
-
- COLON - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- color() - Method in class com.google.javascript.jscomp.graph.GraphColoring
-
Annotates the graph with
GraphColoring.Color
objects using
Annotatable.setAnnotation(Annotation)
.
- color() - Method in class com.google.javascript.jscomp.graph.GraphColoring.GreedyGraphColoring
-
- colorToNodeMap - Variable in class com.google.javascript.jscomp.graph.GraphColoring
-
- column - Variable in class com.google.javascript.jscomp.parsing.parser.util.SourcePosition
-
- 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.lint - package com.google.javascript.jscomp.lint
-
- com.google.javascript.jscomp.newtypes - package com.google.javascript.jscomp.newtypes
-
- 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.parsing.parser - package com.google.javascript.jscomp.parsing.parser
-
- com.google.javascript.jscomp.parsing.parser.trees - package com.google.javascript.jscomp.parsing.parser.trees
-
- com.google.javascript.jscomp.parsing.parser.util - package com.google.javascript.jscomp.parsing.parser.util
-
- com.google.javascript.jscomp.parsing.parser.util.format - package com.google.javascript.jscomp.parsing.parser.util.format
-
- 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.refactoring - package com.google.javascript.refactoring
-
- com.google.javascript.refactoring.testing - package com.google.javascript.refactoring.testing
-
- com.google.javascript.rhino - package com.google.javascript.rhino
-
The core AST from Rhino.
- com.google.javascript.rhino.jstype - package com.google.javascript.rhino.jstype
-
Provides abstractions to represent types in JavaScript.
- com.google.javascript.rhino.testing - package com.google.javascript.rhino.testing
-
- comma(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- COMMA - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- CommaExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- CommaExpressionTree(SourceRange, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.CommaExpressionTree
-
- 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
-
- Comment - Class in com.google.javascript.jscomp.parsing.parser.trees
-
placeholder class
- Comment(String, SourceRange, Comment.Type) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.Comment
-
- Comment.Type - Enum in com.google.javascript.jscomp.parsing.parser.trees
-
- comments - Variable in class com.google.javascript.jscomp.parsing.ParserRunner.ParseResult
-
- 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(List<T1>, List<T2>, CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Compiles a list of inputs.
- 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.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.ExtractPrototypeMemberDeclarationsMode - Enum in com.google.javascript.jscomp
-
- CompilerOptions.LanguageMode - Enum in com.google.javascript.jscomp
-
When to do the extra sanity checks
- CompilerOptions.Reach - Enum in com.google.javascript.jscomp
-
A common enum for compiler passes that can run either globally or locally.
- CompilerOptions.TracerMode - Enum in com.google.javascript.jscomp
-
How much tracing we want to do
- CompilerOptions.TweakProcessing - Enum in com.google.javascript.jscomp
-
Option for the ProcessTweaks pass
- 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
-
- ComprehensionForTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ComprehensionForTree(SourceRange, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ComprehensionForTree
-
- ComprehensionIfTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ComprehensionIfTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ComprehensionIfTree
-
- ComprehensionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ComprehensionTree(SourceRange, ComprehensionTree.ComprehensionType, ImmutableList<ParseTree>, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ComprehensionTree
-
- ComprehensionTree.ComprehensionType - Enum in com.google.javascript.jscomp.parsing.parser.trees
-
- compute(N) - Method in class com.google.javascript.jscomp.graph.GraphReachability
-
- COMPUTED_PROP - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- COMPUTED_PROP_GETTER - Static variable in class com.google.javascript.rhino.Node
-
- COMPUTED_PROP_METHOD - Static variable in class com.google.javascript.rhino.Node
-
- COMPUTED_PROP_SETTER - Static variable in class com.google.javascript.rhino.Node
-
- computeDependencyCalls() - Method in class com.google.javascript.jscomp.deps.DepsGenerator
-
Performs the parsing inputs and writing of outputs.
- ComputedPropertyDefinitionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Represents a computed property in an object literal.
- ComputedPropertyDefinitionTree(SourceRange, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyDefinitionTree
-
- ComputedPropertyGetterTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ComputedPropertyGetterTree(SourceRange, ParseTree, boolean, BlockTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyGetterTree
-
- ComputedPropertyMethodTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ComputedPropertyMethodTree(SourceRange, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyMethodTree
-
- ComputedPropertySetterTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ComputedPropertySetterTree(SourceRange, ParseTree, boolean, IdentifierToken, BlockTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertySetterTree
-
- 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.
- condition - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ConditionalExpressionTree
-
- condition - Variable in class com.google.javascript.jscomp.parsing.parser.trees.DoWhileStatementTree
-
- condition - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ForStatementTree
-
- condition - Variable in class com.google.javascript.jscomp.parsing.parser.trees.IfStatementTree
-
- condition - Variable in class com.google.javascript.jscomp.parsing.parser.trees.WhileStatementTree
-
- ConditionalExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ConditionalExpressionTree(SourceRange, ParseTree, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ConditionalExpressionTree
-
- Config - Class in com.google.javascript.jscomp.parsing
-
Configuration for the AST factory.
- Config(Parser.Config.Mode) - Constructor for class com.google.javascript.jscomp.parsing.parser.Parser.Config
-
- Config.LanguageMode - Enum in com.google.javascript.jscomp.parsing
-
JavaScript mode
- CONFLICTING_EXTENDED_TYPE - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- CONFLICTING_IMPLEMENTED_TYPE - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- CONFLICTING_SHAPE_TYPE - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- Conformance - Class in com.google.javascript.jscomp
-
- CONFORMANCE_VIOLATIONS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- ConformanceConfig - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.ConformanceConfig
- ConformanceConfig.Builder - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.ConformanceConfig
- ConformanceConfigOrBuilder - Interface in com.google.javascript.jscomp
-
- ConformanceRules - Class in com.google.javascript.jscomp
-
Standard conformance rules.
- ConformanceRules.AbstractRule - Class in com.google.javascript.jscomp
-
A conformance rule implementation to support things common to all rules such as whitelisting
and reporting.
- ConformanceRules.BanExpose - Class in com.google.javascript.jscomp
-
Banned @expose
- ConformanceRules.BanGlobalVars - Class in com.google.javascript.jscomp
-
Banned global var declarations.
- ConformanceRules.BanThrowOfNonErrorTypes - Class in com.google.javascript.jscomp
-
Banned throw of non-error object types.
- ConformanceRules.BanUnknownThis - Class in com.google.javascript.jscomp
-
Banned unknown "this" types.
- ConformanceRules.ConformanceResult - Enum in com.google.javascript.jscomp
-
Possible check check results
- ConformanceRules.NoImplicitlyPublicDecls - Class in com.google.javascript.jscomp
-
Requires top-level Closure-style "declarations"
(example:
foo.bar.Baz = ...;
) to have explicit visibility
annotations, either at the declaration site or in the @fileoverview
block.
- ConformanceRules.RequireFileoverviewVisibility - Class in com.google.javascript.jscomp
-
Requires source files to contain a top-level
@fileoverview
block
with an explicit visibility annotation.
- 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(DiGraph.DiGraphNode<N, E>, E, DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
DiGraphNode look ups can be expensive for a large graph operation, prefer this
method if you have the DiGraphNode available.
- connect(N, E, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- connectIfNotConnectedInDirection(N, E, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
DiGraphNode look ups can be expensive for a large graph operation, prefer this
method if you have the DiGraphNode available.
- 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
-
- CONSTANT_PROPERTY_DEF - Static variable in class com.google.javascript.rhino.Node
-
- constructor() - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a matcher that matches any constructor definitions.
- constructor(String) - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a matcher that matches constructor definitions of the specified
name.
- constructorPropertyDeclaration() - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that matches against properties that are declared in the constructor.
- contains(Object) - Method in class com.google.javascript.jscomp.newtypes.ClojurePersistentHashSet
-
- 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
-
- containsFunctionDeclaration() - Method in class com.google.javascript.rhino.JSDocInfo
-
- containsKey(Object) - Method in class com.google.javascript.jscomp.newtypes.ClojurePersistentHashMap
-
- containWarning(String) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard
-
Determines whether a given warning is included in the white-list.
- contents - Variable in class com.google.javascript.jscomp.parsing.parser.SourceFile
-
- 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
-
- ContinueStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ContinueStatementTree(SourceRange, IdentifierToken) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ContinueStatementTree
-
- ControlFlowGraph<N> - Class in com.google.javascript.jscomp
-
Control flow graph.
- ControlFlowGraph.AbstractCfgNodeTraversalCallback - Class in com.google.javascript.jscomp
-
Abstract callback to visit a control flow graph node without going into
subtrees of the node that are also represented by other
control flow graph nodes.
- ControlFlowGraph.Branch - Enum in com.google.javascript.jscomp
-
The edge object for the control flow graph.
- convert(JSTypeExpression) - Static method in class com.google.javascript.jscomp.parsing.TypeDeclarationsIRFactory
-
- convertToDottedProperties - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Converts quoted property accesses to dot syntax (a['b'] -> a.b)
- convertTypeNodeAST(Node) - Static method in class com.google.javascript.jscomp.parsing.TypeDeclarationsIRFactory
-
The root of a JSTypeExpression is very different from an AST node, even
though we use the same Java class to represent them.
- COOKED_STRING - Static variable in class com.google.javascript.rhino.Node
-
- COPY_PROP - Static variable in class com.google.javascript.jscomp.Es6ToEs3Converter
-
- copyFrom(JSDocInfo) - Static method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- 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.
- count - Variable in class com.google.javascript.jscomp.parsing.parser.util.Timer.Entry
-
- create() - Static method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- create() - Static method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- create(Class<? extends Map>) - Static method in class com.google.javascript.jscomp.newtypes.ClojurePersistentHashMap
-
- create(Class<? extends Set>) - Static method in class com.google.javascript.jscomp.newtypes.ClojurePersistentHashSet
-
- create() - Static method in class com.google.javascript.jscomp.newtypes.NaivePersistentMap
-
- create() - Static method in class com.google.javascript.jscomp.newtypes.NaivePersistentSet
-
- create() - Static method in class com.google.javascript.jscomp.newtypes.PersistentMap
-
- create() - Static method in class com.google.javascript.jscomp.newtypes.PersistentSet
-
- 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(Config.LanguageMode) - Method in class com.google.javascript.jscomp.Compiler
-
- createConfig(boolean, Config.LanguageMode, boolean, Set<String>) - Static method in class com.google.javascript.jscomp.parsing.ParserRunner
-
- createConstructorObject(NominalType) - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- 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<TemplateType>) - 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
-
- createEntryPoint() - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Creates a new
<entrypoint/>
nested element.
- 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, ImmutableList<TemplateType>) - 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.
- createTemplateTypeWithTransformation(String, Node) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- createTemplatizedType(ObjectType, ImmutableList<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a templatized instance of the specified type.
- createTemplatizedType(ObjectType, Map<TemplateType, 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
-
- 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
-
ByPart renaming map
- CssRenamingMap.ByWhole - Class in com.google.javascript.jscomp
-
ByWhole renaming map
- CssRenamingMap.Style - Enum in com.google.javascript.jscomp
-
Kind of renaming map
- CUSTOM_VALUE - Static variable in enum com.google.javascript.jscomp.Requirement.Type
-
CUSTOM = 1;
- customPasses - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Custom passes
- CustomPassExecutionTime - Enum in com.google.javascript.jscomp
-
Custom pass type.
D
- DATE_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- DATE_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- deadAssignmentElimination - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Remove assignments to values that can not be referenced
- DEBUGGER - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- DEBUGGER_STATEMENT_PRESENT - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- DebuggerStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- DebuggerStatementTree(SourceRange) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.DebuggerStatementTree
-
- debugLog - Variable in class com.google.javascript.jscomp.Result
-
- dec(Node, boolean) - Static method in class com.google.javascript.rhino.IR
-
- DEC - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- declaration - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ExportDeclarationTree
-
- declaration(Node, int) - Static method in class com.google.javascript.rhino.IR
-
- declaration(Node, Node, int) - Static method in class com.google.javascript.rhino.IR
-
- DECLARATION_TO_REMOVE_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Instrumentation
-
- declarations - Variable in class com.google.javascript.jscomp.parsing.parser.trees.VariableDeclarationListTree
-
- declarations - Variable in class com.google.javascript.jscomp.parsing.parser.trees.VariableStatementTree
-
- declarationType - Variable in class com.google.javascript.jscomp.parsing.parser.trees.VariableDeclarationListTree
-
- DeclaredFunctionType - Class in com.google.javascript.jscomp.newtypes
-
This class represents the function types for functions that are defined
statically in the code.
- declaredType - Variable in class com.google.javascript.jscomp.parsing.parser.trees.VariableDeclarationTree
-
- DeclaredTypeRegistry - Interface in com.google.javascript.jscomp.newtypes
-
A registry capable of translating names into JSTypes.
- declareInferredSymbol(SymbolTable.SymbolScope, String, Node) - Method in class com.google.javascript.jscomp.SymbolTable
-
Declare a symbol after the main symbol table was constructed.
- declareNameInScope(FlowScope, Node, JSType) - Method in class com.google.javascript.jscomp.type.ChainableReverseAbstractInterpreter
-
Declares a refined type in
scope
for the name represented by
node
.
- declareType(String, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Records declared global type names.
- DECR_FLAG - Static variable in class com.google.javascript.rhino.Node
-
- DEFAULT_CASE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- DEFAULT_FILENAME_PREFIX - Static variable in class com.google.javascript.jscomp.ProcessCommonJSModules
-
- DEFAULT_VALUE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- defaultBindingIdentifier - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ImportDeclarationTree
-
- defaultCase(Node) - Static method in class com.google.javascript.rhino.IR
-
- DefaultClauseTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- DefaultClauseTree(SourceRange, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.DefaultClauseTree
-
- DefaultDependencyResolver - Class in com.google.javascript.jscomp.deps
-
Class for resolving Closure dependencies.
- DefaultDependencyResolver(List<DependencyFile>, boolean) - Constructor for class com.google.javascript.jscomp.deps.DefaultDependencyResolver
-
Creates a new dependency resolver.
- defaultLevel - Variable in class com.google.javascript.jscomp.DiagnosticType
-
Default level
- DefaultParameterTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- DefaultParameterTree(SourceRange, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.DefaultParameterTree
-
- DefaultPassConfig - Class in com.google.javascript.jscomp
-
Pass factories and meta-data for native JSCompiler passes.
- DefaultPassConfig(CompilerOptions) - Constructor for class com.google.javascript.jscomp.DefaultPassConfig
-
- defaultValue - Variable in class com.google.javascript.jscomp.parsing.parser.trees.DefaultParameterTree
-
- defineDeclaredProperty(String, JSType, Node) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Defines a property whose type is explicitly declared by the programmer.
- defineDelegateProxyPrototypeProperties(JSTypeRegistry, StaticScope<JSType>, List<ObjectType>, Map<String, String>) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Defines the delegate proxy prototype properties.
- defineDelegateProxyPrototypeProperties(JSTypeRegistry, StaticScope<JSType>, List<ObjectType>, Map<String, String>) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- defineElement(String, Node) - Method in class com.google.javascript.rhino.jstype.EnumType
-
Defines a new element on this enum.
- defineInferredProperty(String, JSType, Node) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Defines a property whose type is inferred.
- defineReferenceAt(Node) - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
-
- defineSynthesizedProperty(String, JSType, Node) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Defines a property whose type is on a synthesized object.
- delete(Node) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Deletes a node and its contents from the source file.
- DELPROP - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- DependencyFile - Class in com.google.javascript.jscomp.deps
-
SourceFile containing dependency information.
- DependencyFile(SourceFile) - Constructor for class com.google.javascript.jscomp.deps.DependencyFile
-
Creates a new dependency file.
- DependencyInfo - Interface in com.google.javascript.jscomp.deps
-
A data structure for JS dependency information for a single .js file.
- DependencyOptions - Class in com.google.javascript.jscomp
-
Options for how to manage dependencies between input files.
- DependencyOptions() - Constructor for class com.google.javascript.jscomp.DependencyOptions
-
- DependencyResolver - Interface in com.google.javascript.jscomp.deps
-
Interface for DependencyResolver to keep in line with
DefaultDependencyResolver
, which doesn't
provide an interface.
- dependsOn(JSModule, JSModule) - Method in class com.google.javascript.jscomp.JSModuleGraph
-
Determines whether this module depends on a given module.
- DEPRECATED - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- DepsFileParser - Class in com.google.javascript.jscomp.deps
-
A parser that can extract dependency information from existing deps.js files.
- DepsFileParser(ErrorManager) - Constructor for class com.google.javascript.jscomp.deps.DepsFileParser
-
Constructor
- DepsFileParser(Function<String, String>, ErrorManager) - Constructor for class com.google.javascript.jscomp.deps.DepsFileParser
-
- DepsGenerator - Class in com.google.javascript.jscomp.deps
-
Generates deps.js files by scanning JavaScript files for
calls to goog.provide(), goog.require() and goog.addDependency().
- DepsGenerator(Collection<SourceFile>, Collection<SourceFile>, DepsGenerator.InclusionStrategy, String, ErrorManager) - Constructor for class com.google.javascript.jscomp.deps.DepsGenerator
-
Creates a new DepsGenerator.
- DepsGenerator.InclusionStrategy - Enum in com.google.javascript.jscomp.deps
-
- dereference() - Method in class com.google.javascript.rhino.jstype.JSType
-
Dereference a type for property access.
- describeFunctionBind(Node, boolean, boolean) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
-
- describeFunctionBind(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
-
A Bind instance or null.
- describeFunctionBind(Node, boolean, boolean) - Method in interface com.google.javascript.jscomp.CodingConvention
-
A Bind instance or null.
- describeFunctionBind(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- describeFunctionBind(Node, boolean, boolean) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- description - Variable in class com.google.javascript.jscomp.JSError
-
Description of the error
- destinationName - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ExportSpecifierTree
-
- destinationName - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ImportSpecifierTree
-
- detachChildren() - Method in class com.google.javascript.rhino.Node
-
Removes all children from this node and isolates the children from each
other.
- detachFromParent() - Method in class com.google.javascript.rhino.Node
-
Removes this node from its parent.
- devirtualizePrototypeMethods - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Devirtualize prototype method by rewriting them to be static calls that
take the this pointer as their first argument
- DiagnosticGroup - Class in com.google.javascript.jscomp
-
Group a set of related diagnostic types together, so that they can
be toggled on and off as one unit.
- DiagnosticGroup(DiagnosticType...) - Constructor for class com.google.javascript.jscomp.DiagnosticGroup
-
Create a group that matches all errors of the given types.
- DiagnosticGroup(DiagnosticGroup...) - Constructor for class com.google.javascript.jscomp.DiagnosticGroup
-
Create a composite group.
- DiagnosticGroup(String, DiagnosticGroup...) - Constructor for class com.google.javascript.jscomp.DiagnosticGroup
-
Create a composite group.
- DiagnosticGroups - Class in com.google.javascript.jscomp
-
Named groups of DiagnosticTypes exposed by Compiler.
- DiagnosticGroups() - Constructor for class com.google.javascript.jscomp.DiagnosticGroups
-
- DiagnosticGroupWarningsGuard - Class in com.google.javascript.jscomp
-
Sets the level for a particular DiagnosticGroup.
- DiagnosticGroupWarningsGuard(DiagnosticGroup, CheckLevel) - Constructor for class com.google.javascript.jscomp.DiagnosticGroupWarningsGuard
-
- DiagnosticType - Class in com.google.javascript.jscomp
-
The type of a compile or analysis error.
- DICT_IMPLEMENTS_INTERF - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- didParseSucceed() - Method in class com.google.javascript.jscomp.deps.JsFileLineParser
-
- diff - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
-
- differsFrom(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Whether this type is meaningfully different from
that
type for
the purposes of data flow analysis.
- DiGraph<N,E> - Class in com.google.javascript.jscomp.graph
-
A generic directed graph.
- DiGraph() - Constructor for class com.google.javascript.jscomp.graph.DiGraph
-
- DiGraph.DiGraphEdge<N,E> - Interface in com.google.javascript.jscomp.graph
-
A generic directed graph edge.
- DiGraph.DiGraphNode<N,E> - Interface in com.google.javascript.jscomp.graph
-
A generic directed graph node.
- DIRECT_EVAL - Static variable in class com.google.javascript.rhino.Node
-
- DIRECTIVES - Static variable in class com.google.javascript.rhino.Node
-
- disabled(String, String) - Static method in class com.google.javascript.jscomp.DiagnosticType
-
Create a DiagnosticType at level CheckLevel.OFF
- disableRuntimeTypeCheck() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- disables(DiagnosticGroup) - Method in class com.google.javascript.jscomp.ComposeWarningsGuard
-
- disables(DiagnosticGroup) - Method in class com.google.javascript.jscomp.DiagnosticGroupWarningsGuard
-
- disables(DiagnosticGroup) - Method in class com.google.javascript.jscomp.WarningsGuard
-
Returns whether all warnings in the given diagnostic group will be
filtered out.
- disableThreads() - Method in class com.google.javascript.jscomp.Compiler
-
Disable threads.
- disambiguateProperties - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Rename properties to disambiguate between unrelated fields based on
type information.
- disconnect(N, N) - Method in class com.google.javascript.jscomp.graph.Graph
-
Disconnects two nodes in the graph by removing all edges between them.
- disconnect(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- disconnect(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- disconnectInDirection(N, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
-
Disconnects all edges from n1 to n2.
- disconnectInDirection(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- DISPOSE_ALL - Static variable in class com.google.javascript.jscomp.CheckEventfulObjectDisposal
-
Constant used to signify all arguments of method/function
should be marked as disposed.
- DISPOSE_SELF - Static variable in class com.google.javascript.jscomp.CheckEventfulObjectDisposal
-
Constant used to signify that object on which this method is called,
will itself get disposed of.
- disposesOf(String) - Method in class com.google.javascript.rhino.JSDocInfo
-
Return whether the function disposes of specified parameter.
- DIV - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- DO - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- doNode(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- DotFormatter - Class in com.google.javascript.jscomp
-
DotFormatter prints out a dot file of the Abstract Syntax Tree.
- DoWhileStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- DoWhileStatementTree(SourceRange, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.DoWhileStatementTree
-
- drive() - Method in class com.google.javascript.refactoring.RefactoringDriver
-
Run the refactoring and return any suggested fixes as a result.
- dumpEntries(PrintStream) - Static method in class com.google.javascript.jscomp.parsing.parser.util.Timer
-
- DUPLICATE_ENUM_VALUE - Static variable in class com.google.javascript.jscomp.lint.CheckEnums
-
- DUPLICATE_MESSAGE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- DUPLICATE_VARS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
E
- edge - Variable in class com.google.javascript.jscomp.graph.GraphReachability.EdgeTuple
-
- EdgeTuple(N, E, N) - Constructor for class com.google.javascript.jscomp.graph.GraphReachability.EdgeTuple
-
- elapsedTime - Variable in class com.google.javascript.jscomp.parsing.parser.util.Timer.Entry
-
- elements() - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
-
- elements() - Method in interface com.google.javascript.jscomp.graph.UnionFind
-
Returns an unmodifiable set of all elements added to the UnionFind.
- elements - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ArrayLiteralExpressionTree
-
- elements - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ArrayPatternTree
-
- elements - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ClassDeclarationTree
-
- elements - Variable in class com.google.javascript.jscomp.parsing.parser.trees.TemplateLiteralExpressionTree
-
- ELLIPSIS - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- elseClause - Variable in class com.google.javascript.jscomp.parsing.parser.trees.IfStatementTree
-
- empty() - Static method in class com.google.javascript.rhino.IR
-
- EMPTY - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- EMPTY_TYPE_COMPONENT - Static variable in class com.google.javascript.rhino.jstype.JSType
-
- EmptyMessageBundle - Class in com.google.javascript.jscomp
-
An implementation of MessageBundle that has no translations.
- EmptyMessageBundle() - Constructor for class com.google.javascript.jscomp.EmptyMessageBundle
-
- emptyScope() - Static method in class com.google.javascript.rhino.testing.MapBasedScope
-
- EmptyStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- EmptyStatementTree(SourceRange) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.EmptyStatementTree
-
- enableExternExports(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Deprecated.
replaced by
CompilerOptions.setExternExports(boolean)
- enableRuntimeTypeCheck(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Enable run-time type checking, which adds JS type assertions for debugging.
- enables(DiagnosticGroup) - Method in class com.google.javascript.jscomp.ComposeWarningsGuard
-
Determines whether this guard will "elevate" the status of any disabled
diagnostic type in the group to a warning or an error.
- enables(DiagnosticGroup) - Method in class com.google.javascript.jscomp.DiagnosticGroupWarningsGuard
-
- enables(DiagnosticGroup) - Method in class com.google.javascript.jscomp.WarningsGuard
-
Returns whether any of the warnings in the given diagnostic group will be
upgraded to a warning or error.
- end - Variable in class com.google.javascript.jscomp.parsing.parser.util.SourceRange
-
- end() - Method in class com.google.javascript.jscomp.parsing.parser.util.Timer
-
- END_MASK - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- ensureUpToDate() - Method in class com.google.javascript.jscomp.deps.DependencyFile
-
Ensures that the dependency graph is up to date and reloads the graph if
necessary.
- enterScope(NodeTraversal) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractScopedCallback
-
- enterScope(NodeTraversal) - Method in interface com.google.javascript.jscomp.NodeTraversal.ScopedCallback
-
Called immediately after entering a new scope.
- Entry(String) - Constructor for class com.google.javascript.jscomp.parsing.parser.util.Timer.Entry
-
- ENTRY_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap
-
- entrySet() - Method in class com.google.javascript.jscomp.newtypes.ClojurePersistentHashMap
-
- entrySet() - Method in class com.google.javascript.jscomp.newtypes.NaivePersistentMap
-
- ENUM_MASK - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- ENUMDECL - Static variable in class com.google.javascript.rhino.jstype.JSType
-
- enumDefinition() - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that matches definitions of any enum.
- enumDefinitionOfType(String) - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that matches definitions of an enum of the given type.
- EnumElementType - Class in com.google.javascript.rhino.jstype
-
The type of individual elements of an enum type
(see
EnumType
).
- enumLiteralHasKey(String) - Method in class com.google.javascript.jscomp.newtypes.EnumType
-
- enums - Variable in class com.google.javascript.jscomp.newtypes.Namespace
-
- EnumType - Class in com.google.javascript.jscomp.newtypes
-
- EnumType - Class in com.google.javascript.rhino.jstype
-
An enum type representing a branded collection of elements.
- EOC - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- eq(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
"=="
- EQ - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- equals(Object) - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo
-
- equals(Object) - Method in class com.google.javascript.jscomp.deps.VirtualFile
-
- equals(Object) - Method in class com.google.javascript.jscomp.DiagnosticType
-
- equals(Object) - Method in class com.google.javascript.jscomp.graph.GraphColoring.Color
-
- equals(Object) - Method in class com.google.javascript.jscomp.JSError
-
- equals(Object) - Method in class com.google.javascript.jscomp.JsMessage
-
- equals(Object) - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
-
- equals(Object) - Method in class com.google.javascript.jscomp.newtypes.ClojurePersistentHashMap
-
- equals(Object) - Method in class com.google.javascript.jscomp.newtypes.ClojurePersistentHashSet
-
- equals(Object) - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- equals(Object) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- equals(Object) - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- equals(Object) - Method in class com.google.javascript.jscomp.newtypes.ObjectType
-
- equals(Object) - Method in class com.google.javascript.jscomp.regex.RegExpTree
-
- equals(Object) - Method in class com.google.javascript.jscomp.Scope.Arguments
-
- equals(Object) - Method in class com.google.javascript.jscomp.Scope.Var
-
- equals(Object) - Method in class com.google.javascript.refactoring.CodeReplacement
-
- equals(Object) - Method in class com.google.javascript.rhino.InputId
-
- equals(Object) - Method in class com.google.javascript.rhino.jstype.JSType
-
- equals(Object) - Method in class com.google.javascript.rhino.JSTypeExpression
-
- EQUALS - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- error(String, String) - Static method in class com.google.javascript.jscomp.DiagnosticType
-
Create a DiagnosticType at level CheckLevel.ERROR
- error(String, String, int, int) - Method in class com.google.javascript.jscomp.parsing.NullErrorReporter
-
- error(String, String, int, int) - Method in interface com.google.javascript.rhino.ErrorReporter
-
Report an error.
- error(String, String, int, int) - Method in class com.google.javascript.rhino.SimpleErrorReporter
-
- error(String, String, int, int) - Method in class com.google.javascript.rhino.testing.TestErrorReporter
-
- ERROR - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- ERROR_MESSAGE_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Requirement
-
- ERROR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- ErrorCode - Enum in com.google.javascript.jscomp.webservice.common
-
Enum of all the possible error described in the Web Service protocol.
- errorFormat - Variable in class com.google.javascript.jscomp.CompilerOptions
-
- ErrorFormat - Enum in com.google.javascript.jscomp
-
Error formats available.
- ErrorHandler - Interface in com.google.javascript.jscomp
-
The error handler is any generic sink for warnings and errors,
after they've passed through any filtering
WarningsGuard
s.
- ErrorManager - Interface in com.google.javascript.jscomp
-
The error manager is in charge of storing, organizing and displaying
errors and warnings generated by the compiler.
- ErrorReporter - Class in com.google.javascript.jscomp.parsing.parser.util
-
A conduit for reporting errors and warnings to the user.
- ErrorReporter() - Constructor for class com.google.javascript.jscomp.parsing.parser.util.ErrorReporter
-
- ErrorReporter - Interface in com.google.javascript.rhino
-
This is interface defines a protocol for the reporting of
errors during JavaScript translation or execution.
- errorReporter - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- errors - Variable in class com.google.javascript.jscomp.Result
-
- errors() - Method in class com.google.javascript.rhino.SimpleErrorReporter
-
Returns the list of errors, or
null
if there were none.
- ErrorToFixMapper - Class in com.google.javascript.refactoring
-
Maps a JSError to a SuggestedFix.
- ES3 - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- ES5_STRICT - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- Es6ConvertSuper - Class in com.google.javascript.jscomp
-
Converts
super
nodes.
- Es6ConvertSuper(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6ConvertSuper
-
- Es6RenameVariablesInParamLists - Class in com.google.javascript.jscomp
-
Renames declarations and references in function bodies to avoid shadowing
names referenced in the parameter list, in default values or computed properties.
- Es6RenameVariablesInParamLists(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6RenameVariablesInParamLists
-
- Es6RewriteGenerators - Class in com.google.javascript.jscomp
-
Converts ES6 generator functions to valid ES3 code.
- Es6RewriteGenerators(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6RewriteGenerators
-
- Es6RewriteLetConst - Class in com.google.javascript.jscomp
-
Rewrites "let"s and "const"s as "var"s, renaming declarations when necessary.
- Es6RewriteLetConst(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6RewriteLetConst
-
- Es6SplitVariableDeclarations - Class in com.google.javascript.jscomp
-
Splits variable declarations that declare multiple variables into
separate declarations, if at least one of the declarations is a
destructuring declaration.
- Es6SplitVariableDeclarations(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6SplitVariableDeclarations
-
- Es6ToEs3ClassSideInheritance - Class in com.google.javascript.jscomp
-
Rewrites static inheritance to explicitly copy inherited properties from super class to
sub class eliminating dynamic copying from the original transpilation pass in the process.
- Es6ToEs3ClassSideInheritance(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6ToEs3ClassSideInheritance
-
- Es6ToEs3Converter - Class in com.google.javascript.jscomp
-
Converts ES6 code to valid ES3 code.
- Es6ToEs3Converter(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6ToEs3Converter
-
- EVAL_ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- EVAL_ERROR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- evaluate(StaticScope<JSType>, JSTypeRegistry) - Method in class com.google.javascript.rhino.JSTypeExpression
-
Evaluates the type expression into a
JSType
object.
- evaluateInEmptyScope(TypeIRegistry) - Method in class com.google.javascript.rhino.JSTypeExpression
-
- exception - Variable in class com.google.javascript.jscomp.parsing.parser.trees.CatchTree
-
- exceptPath(List<String>, CheckLevel) - Static method in class com.google.javascript.jscomp.ByPathWarningsGuard
-
- execute() - Method in class com.google.javascript.jscomp.ant.CompileTask
-
- exitScope(NodeTraversal) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractScopedCallback
-
- exitScope(NodeTraversal) - Method in interface com.google.javascript.jscomp.NodeTraversal.ScopedCallback
-
Called immediately before exiting a scope.
- expandToAllMatched(CharRanges) - Static method in class com.google.javascript.jscomp.regex.CaseCanonicalize
-
Given a character range that may include case sensitive code-units,
such as
[0-9B-M]
, returns the character range that includes all
the code-units in the input and those that are case-insensitively
equivalent to a code-unit in the input.
- expectErrors(String...) - Method in class com.google.javascript.jscomp.testing.TestErrorManager
-
- expectWarnings(String...) - Method in class com.google.javascript.jscomp.testing.TestErrorManager
-
- EXPORT - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- EXPORT_ALL_FROM - Static variable in class com.google.javascript.rhino.Node
-
- EXPORT_DEFAULT - Static variable in class com.google.javascript.rhino.Node
-
- EXPORT_SPEC - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- EXPORT_SPECS - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ExportDeclarationTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ExportDeclarationTree(SourceRange, boolean, boolean, ParseTree, ImmutableList<ParseTree>, LiteralToken) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ExportDeclarationTree
-
- exportSpecifierList - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ExportDeclarationTree
-
- ExportSpecifierTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ExportSpecifierTree(SourceRange, IdentifierToken, IdentifierToken) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ExportSpecifierTree
-
- exportTestFunctions - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Whether to export test functions.
- EXPR_RESULT - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- expression - Variable in class com.google.javascript.jscomp.parsing.parser.trees.CaseClauseTree
-
- expression - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComprehensionIfTree
-
- expression - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ExpressionStatementTree
-
- expression - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ParenExpressionTree
-
- expression - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ReturnStatementTree
-
- expression - Variable in class com.google.javascript.jscomp.parsing.parser.trees.SpreadExpressionTree
-
- expression - Variable in class com.google.javascript.jscomp.parsing.parser.trees.SwitchStatementTree
-
- expression - Variable in class com.google.javascript.jscomp.parsing.parser.trees.TemplateSubstitutionTree
-
- expression - Variable in class com.google.javascript.jscomp.parsing.parser.trees.WithStatementTree
-
- expression - Variable in class com.google.javascript.jscomp.parsing.parser.trees.YieldExpressionTree
-
- expressions - Variable in class com.google.javascript.jscomp.parsing.parser.trees.CommaExpressionTree
-
- ExpressionStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ExpressionStatementTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ExpressionStatementTree
-
- exprResult(Node) - Static method in class com.google.javascript.rhino.IR
-
- EXTENDS_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Requirement
-
- EXTENDS_NON_OBJECT - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- EXTENDS_NOT_ON_CTOR_OR_INTERF - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- extendTemplateTypeMap(TemplateTypeMap) - Method in class com.google.javascript.rhino.jstype.JSType
-
Extends the template type map associated with this type, merging in the
keys and values of the specified map.
- extendTemplateTypeMapBasedOn(ObjectType) - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Extends the TemplateTypeMap of the function's this type, based on the
specified type.
- EXTERN_OBJECT_PROPERTY_STRING - Static variable in class com.google.javascript.jscomp.ObjectPropertyStringPreprocess
-
- externExport - Variable in class com.google.javascript.jscomp.Result
-
- EXTERNS_VALIDATION - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- extractCharno(int) - Static method in class com.google.javascript.rhino.Node
-
Extracts the character number and character number from a merged line
char number (see
Node.mergeLineCharNo(int, int)
).
- extractClassNameIfProvide(Node, Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
-
Extracts X from goog.provide('X'), if the applied Node is goog.
- extractClassNameIfProvide(Node, Node) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Convenience method for determining provided dependencies amongst different
JS scripts.
- extractClassNameIfProvide(Node, Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- extractClassNameIfRequire(Node, Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
-
Extracts X from goog.require('X'), if the applied Node is goog.
- extractClassNameIfRequire(Node, Node) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Convenience method for determining required dependencies amongst different
JS scripts.
- extractClassNameIfRequire(Node, Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- extractIsModuleFile(Node, Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
-
- extractIsModuleFile(Node, Node) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Convenience method for determining if the node indicates the file
is a "module" file (a file whose top level symbols are not in global
scope).
- extractIsModuleFile(Node, Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- extractLineno(int) - Static method in class com.google.javascript.rhino.Node
-
Extracts the line number and character number from a merged line char
number (see
Node.mergeLineCharNo(int, int)
).
- extractMessages(SourceFile...) - Method in class com.google.javascript.jscomp.JsMessageExtractor
-
Extracts JS messages from JavaScript code.
- extractMessages(Iterable<T>) - Method in class com.google.javascript.jscomp.JsMessageExtractor
-
Extracts JS messages from JavaScript code.
F
- FALLBACK_MAX_INPUT_SIZE - Static variable in class com.google.javascript.jscomp.webservice.common.Protocol
-
Fallback value in case no setting is provided.
- FALSE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- FALSE_MASK - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- FALSE_TYPE - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- falseNode() - Static method in class com.google.javascript.rhino.IR
-
- FALSY - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- FALSY_MASK - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- FieldCleanupPass - Class in com.google.javascript.jscomp
-
A CleanupPass implementation that will remove all field declarations on
JSTypes contributed by the original file.
- FieldCleanupPass(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.FieldCleanupPass
-
- fields - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ObjectPatternTree
-
- FileLevelJsDocBuilder() - Constructor for class com.google.javascript.rhino.Node.FileLevelJsDocBuilder
-
- FILEOVERVIEW_JSDOC - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- FilePosition - Class in com.google.debugging.sourcemap
-
Represents a position in a source file.
- FilePosition(int, int) - Constructor for class com.google.debugging.sourcemap.FilePosition
-
- finalizeNominalType() - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- finallyBlock - Variable in class com.google.javascript.jscomp.parsing.parser.trees.TryStatementTree
-
- FinallyTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- FinallyTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.FinallyTree
-
- find(E) - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
-
- find(E) - Method in interface com.google.javascript.jscomp.graph.UnionFind
-
Returns the representative of the equivalence class of
e
.
- findAll(E) - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
-
- findAll(E) - Method in interface com.google.javascript.jscomp.graph.UnionFind
-
Returns the elements in the same equivalence class as
value
.
- findJsFiles(Collection<String>) - Static method in class com.google.javascript.jscomp.CommandLineRunner
-
Returns all the JavaScript files from the set of patterns.
- findPropertyType(String) - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
- findPropertyType(String) - Method in class com.google.javascript.rhino.jstype.JSType
-
Coerces this type to an Object type, then gets the type of the property
whose name is given.
- findPropertyType(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- findPropertyType(String) - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- findPropertyType(String) - Method in class com.google.javascript.rhino.jstype.UnionType
-
- findUniqueRefinedSlot(FlowScope) - Method in interface com.google.javascript.jscomp.type.FlowScope
-
Tries to find a unique refined variable in the refined scope, up to the
the blind scope.
- firstPreciserScopeKnowingConditionOutcome(Node, FlowScope, boolean) - Method in class com.google.javascript.jscomp.type.ChainableReverseAbstractInterpreter
-
Calculates the preciser scope starting with the first link.
- FixedPointGraphTraversal<N,E> - Class in com.google.javascript.jscomp.graph
-
A utility class for doing fixed-point computations.
- FixedPointGraphTraversal(FixedPointGraphTraversal.EdgeCallback<N, E>) - Constructor for class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
-
Create a new traversal.
- FixedPointGraphTraversal.EdgeCallback<Node,Edge> - Interface in com.google.javascript.jscomp.graph
-
Edge callback
- FLAG_ARGUMENTS_UNMODIFIED - Static variable in class com.google.javascript.rhino.Node
-
- FLAG_GLOBAL_STATE_UNMODIFIED - Static variable in class com.google.javascript.rhino.Node
-
- FLAG_LOCAL_RESULTS - Static variable in class com.google.javascript.rhino.Node
-
- FLAG_NO_THROWS - Static variable in class com.google.javascript.rhino.Node
-
- FLAG_THIS_UNMODIFIED - Static variable in class com.google.javascript.rhino.Node
-
- FlowScope - Interface in com.google.javascript.jscomp.type
-
A symbol table for inferring types during data flow analysis.
- flowSensitiveInlineVariables - Variable in class com.google.javascript.jscomp.CompilerOptions
-
- foldConstants - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Folds constants (e.g.
- FOR - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- FOR_OF - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- forBoolean(boolean) - Static method in enum com.google.javascript.rhino.jstype.TernaryValue
-
Gets the TernaryValue for the given boolean.
- forceStrict(boolean) - Method in class com.google.javascript.jscomp.deps.ClosureBundler
-
- forConstructor() - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
-
Make this a constructor.
- forIn(Node, Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- ForInStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ForInStatementTree(SourceRange, ParseTree, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ForInStatementTree
-
- formalParameterList - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
-
- FormalParameterListTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- FormalParameterListTree(SourceRange, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.FormalParameterListTree
-
- forMap(String, int, int) - Static method in class com.google.debugging.sourcemap.SourceMapSection
-
- format - Variable in class com.google.javascript.jscomp.DiagnosticType
-
The default way to format errors
- format(CheckLevel, MessageFormatter) - Method in class com.google.javascript.jscomp.JSError
-
Format a message at the given level.
- format(String, Object...) - Static method in class com.google.javascript.jscomp.parsing.parser.util.format.SimpleFormat
-
Writes a formatted string to the output destination of the
Formatter
.
- formatError(JSError) - Method in class com.google.javascript.jscomp.LightweightMessageFormatter
-
- formatError(JSError) - Method in interface com.google.javascript.jscomp.MessageFormatter
-
Format an error.
- formatLine(String, int) - Method in interface com.google.javascript.jscomp.SourceExcerptProvider.ExcerptFormatter
-
Format a line excerpt.
- formatPathToDepsFile(String) - Method in class com.google.javascript.jscomp.deps.DepsGenerator
-
Format the deps file path so that it can be included in the output file.
- formatRegion(Region) - Method in interface com.google.javascript.jscomp.SourceExcerptProvider.ExcerptFormatter
-
Format a region excerpt.
- formatWarning(JSError) - Method in class com.google.javascript.jscomp.LightweightMessageFormatter
-
- formatWarning(JSError) - Method in interface com.google.javascript.jscomp.MessageFormatter
-
Format a warning.
- formatWarning(JSError) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard
-
If subclasses want to modify the formatting, they should override
#formatWarning(JSError, boolean), not this method.
- formatWarning(JSError, boolean) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard
-
- forName(String) - Method in class com.google.javascript.jscomp.DiagnosticGroups
-
Find the diagnostic group registered under the given name.
- forNode(Node, Node, Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- forNoExpectedReports() - Static method in class com.google.javascript.rhino.testing.TestErrorReporter
-
- ForOfStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ForOfStatementTree(SourceRange, ParseTree, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ForOfStatementTree
-
- forOldRhino() - Static method in class com.google.javascript.jscomp.parsing.NullErrorReporter
-
- forPath(List<String>, CheckLevel) - Static method in class com.google.javascript.jscomp.ByPathWarningsGuard
-
- ForStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ForStatementTree(SourceRange, ParseTree, ParseTree, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ForStatementTree
-
- forType(DiagnosticType) - Static method in class com.google.javascript.jscomp.DiagnosticGroup
-
Create a diagnostic group that matches only the given type.
- forURL(String, int, int) - Static method in class com.google.debugging.sourcemap.SourceMapSection
-
- forwardDeclareType(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Records a forward-declared type name.
- FREE_CALL - Static variable in class com.google.javascript.rhino.Node
-
- FROM - Static variable in class com.google.javascript.jscomp.parsing.parser.PredefinedName
-
- from - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ExportDeclarationTree
-
- from - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ModuleImportTree
-
- fromBase64(char) - Static method in class com.google.debugging.sourcemap.Base64
-
- fromBytes(byte[]) - Static method in class com.google.javascript.jscomp.VariableMap
-
Deserializes the variable map from a byte array returned by
VariableMap.toBytes()
.
- fromCode(String, String) - Static method in class com.google.javascript.jscomp.SourceFile
-
- fromFile(String, Charset) - Static method in class com.google.javascript.jscomp.SourceFile
-
- fromFile(String) - Static method in class com.google.javascript.jscomp.SourceFile
-
- fromFile(File, Charset) - Static method in class com.google.javascript.jscomp.SourceFile
-
- fromFile(File) - Static method in class com.google.javascript.jscomp.SourceFile
-
- fromFile(File) - Static method in class com.google.javascript.jscomp.WhitelistWarningsGuard
-
Creates a warnings guard from a file.
- fromFunctionType(FunctionType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- fromGenerator(String, SourceFile.Generator) - Static method in class com.google.javascript.jscomp.SourceFile
-
- fromInputStream(String, InputStream) - Static method in class com.google.javascript.jscomp.SourceFile
-
Deprecated.
- fromInputStream(String, InputStream, Charset) - Static method in class com.google.javascript.jscomp.SourceFile
-
- fromMap(Map<String, String>) - Static method in class com.google.javascript.jscomp.VariableMap
-
Initializes the variable map from an existing map.
- fromNode(Node) - Static method in class com.google.javascript.jscomp.newtypes.QualifiedName
-
- fromObjectType(ObjectType) - Static method in class com.google.javascript.jscomp.newtypes.JSType
-
- fromQname(String) - Static method in class com.google.javascript.jscomp.newtypes.QualifiedName
-
- fromReader(String, Reader) - Static method in class com.google.javascript.jscomp.SourceFile
-
- fromString(String) - Static method in enum com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
- fromTypeVar(String) - Static method in class com.google.javascript.jscomp.newtypes.JSType
-
- function(Node, Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- FUNCTION - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- FUNCTION_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- FUNCTION_INSTANCE_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- FUNCTION_PROTOTYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- FUNCTION_TYPE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- functionBody - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
-
- FunctionBuilder - Class in com.google.javascript.rhino.jstype
-
A builder class for function and arrow types.
- FunctionBuilder(JSTypeRegistry) - Constructor for class com.google.javascript.rhino.jstype.FunctionBuilder
-
- functionCall() - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that matches any function call.
- functionCall(String) - Static method in class com.google.javascript.refactoring.Matchers
-
- functionCallWithNumArgs(int) - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that matches any function call that has the given
number of arguments.
- functionCallWithNumArgs(String, int) - Static method in class com.google.javascript.refactoring.Matchers
-
- FunctionDeclarationTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- FunctionDeclarationTree(SourceRange, IdentifierToken, boolean, boolean, FunctionDeclarationTree.Kind, FormalParameterListTree, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
-
- FunctionDeclarationTree.Kind - Enum in com.google.javascript.jscomp.parsing.parser.trees
-
- FunctionInfo - Class in com.google.javascript.jscomp
-
- FunctionInformationMap - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.FunctionInformationMap
- functionInformationMap - Variable in class com.google.javascript.jscomp.Result
-
- FunctionInformationMap.Builder - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.FunctionInformationMap
- FunctionInformationMap.Entry - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.FunctionInformationMap.Entry
- FunctionInformationMap.Entry.Builder - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.FunctionInformationMap.Entry
- FunctionInformationMap.EntryOrBuilder - Interface in com.google.javascript.jscomp
-
- FunctionInformationMap.Module - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.FunctionInformationMap.Module
- FunctionInformationMap.Module.Builder - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.FunctionInformationMap.Module
- FunctionInformationMap.ModuleOrBuilder - Interface in com.google.javascript.jscomp
-
- FunctionInformationMapOrBuilder - Interface in com.google.javascript.jscomp
-
- functionName - Variable in class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
-
- functionName - Variable in class com.google.javascript.jscomp.deps.JsFunctionParser.SymbolInfo
-
- FunctionParamBuilder - Class in com.google.javascript.rhino.jstype
-
A builder for the Rhino Node representing Function parameters.
- FunctionParamBuilder(JSTypeRegistry) - Constructor for class com.google.javascript.rhino.jstype.FunctionParamBuilder
-
- FunctionType - Class in com.google.javascript.jscomp.newtypes
-
- functionType(Node, LinkedHashMap<String, Node.TypeDeclarationNode>) - Static method in class com.google.javascript.jscomp.parsing.TypeDeclarationsIRFactory
-
Represents a function type.
- FunctionType - Class in com.google.javascript.rhino.jstype
-
This derived type provides extended information about a function, including
its return type and argument types.
- FunctionTypeBuilder - Class in com.google.javascript.jscomp.newtypes
-
A builder for
FunctionType
and DeclaredFunctionType
.
- FunctionTypeBuilder() - Constructor for class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder
-
- FunctionTypeI - Interface in com.google.javascript.rhino
-
G
- gatherCssNames - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Gather CSS names (requires closurePass)
- GE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- generateCode(AbstractCompiler, Node) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
- 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.
- GENERATOR_FN - Static variable in class com.google.javascript.rhino.Node
-
- GENERATOR_MARKER - Static variable in class com.google.javascript.rhino.Node
-
- GENERATOR_SAFE - Static variable in class com.google.javascript.rhino.Node
-
- 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(Object) - Method in class com.google.javascript.jscomp.newtypes.ClojurePersistentHashMap
-
- get(String) - Static method in enum com.google.javascript.jscomp.parsing.parser.Keywords
-
- get(TokenType) - Static method in enum com.google.javascript.jscomp.parsing.parser.Keywords
-
- GET - Static variable in class com.google.javascript.jscomp.parsing.parser.PredefinedName
-
- get(String) - Method in interface com.google.javascript.jscomp.RenamingMap
-
- 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}.
- getAbsolutePosition() - Method in class com.google.javascript.jscomp.parsing.parser.trees.Comment
-
- 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
-
- GetAccessorTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- GetAccessorTree(SourceRange, Token, boolean, BlockTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.GetAccessorTree
-
- getAliasTransformationHandler() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getAllButLeftmost() - Method in class com.google.javascript.jscomp.newtypes.QualifiedName
-
- getAllButRightmost() - Method in class com.google.javascript.jscomp.newtypes.QualifiedName
-
- 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
-
- getAllOwnProps() - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- getAllPropsOfClass() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- getAllPropsOfInterface() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- 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.jscomp.graph.LinkedDirectedGraph.LinkedDirectedGraphNode
-
- 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
-
optional string app_name_setter = 5;
- getAppNameSetter() - Method in class com.google.javascript.jscomp.Instrumentation
-
optional string app_name_setter = 5;
- getAppNameSetter() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
optional string app_name_setter = 5;
- getAppNameSetterBytes() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string app_name_setter = 5;
- getAppNameSetterBytes() - Method in class com.google.javascript.jscomp.Instrumentation
-
optional string app_name_setter = 5;
- getAppNameSetterBytes() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
optional string app_name_setter = 5;
- getArgumentsVar() - Method in class com.google.javascript.jscomp.Scope
-
Get a unique VAR object to represents "arguments" within this scope
- getArrayInstance() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- getArrayInstance(JSType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- getAsNominalType() - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- getAssertedNewType(Node, DeclaredTypeRegistry) - Method in class com.google.javascript.jscomp.ClosureCodingConvention.AssertFunctionByTypeName
-
- getAssertedNewType(Node, DeclaredTypeRegistry) - Method in class com.google.javascript.jscomp.ClosureCodingConvention.AssertInstanceofSpec
-
- getAssertedNewType(Node, DeclaredTypeRegistry) - Method in class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
-
Returns the new type system type for a type assertion.
- getAssertedOldType(Node, JSTypeRegistry) - Method in class com.google.javascript.jscomp.ClosureCodingConvention.AssertFunctionByTypeName
-
- getAssertedOldType(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.
- getAssertedOldType(Node, JSTypeRegistry) - Method in class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
-
Returns the old type system type for a type assertion, or null if
the function asserts that the node must not be null or undefined.
- getAssertedParam(Node) - Method in class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
-
Returns the parameter of the assertion function that is being checked.
- 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
-
- 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 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
-
- 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
-
- getBestJSDocInfo(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Find the best JSDoc for the given node.
- 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.
- getChangeTime() - Method in class com.google.javascript.rhino.Node
-
Returns the time of the last change for this node
- getCharno() - Method in class com.google.javascript.jscomp.JSError
-
Get the character number.
- getCharno() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Gets the current char number, or zero if it cannot be determined.
- getCharno() - Method in class com.google.javascript.rhino.Node
-
- getCheckDeterminism() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getCheckEventfulObjectDisposalPolicy() - 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.
- 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
-
- 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
-
- getClosestHoistScope() - Method in class com.google.javascript.jscomp.Scope
-
- getCode() - Method in class com.google.javascript.jscomp.CompilerInput
-
- 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.
- getColor() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDirectedGraphNode
-
- 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
-
optional int32 column_position = 2;
- getColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
optional int32 column_position = 2;
- getColumnPosition() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
-
optional int32 column_position = 2;
- getColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
optional int32 column_position = 3;
- getColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
optional int32 column_position = 3;
- getColumnPosition() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
optional int32 column_position = 3;
- getComments(String) - Method in class com.google.javascript.jscomp.Compiler
-
- getComments() - Method in class com.google.javascript.jscomp.parsing.parser.Parser
-
- getCommonTypes() - Method in interface com.google.javascript.jscomp.newtypes.DeclaredTypeRegistry
-
- getCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string compiled_source = 8;
- getCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string compiled_source = 8;
- getCompiledSource() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string compiled_source = 8;
- getCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string compiled_source = 103;
- getCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
required string compiled_source = 103;
- getCompiledSource() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder
-
required string compiled_source = 103;
- getCompiledSourceBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string compiled_source = 8;
- getCompiledSourceBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string compiled_source = 8;
- getCompiledSourceBytes() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string compiled_source = 8;
- getCompiledSourceBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string compiled_source = 103;
- getCompiledSourceBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
required string compiled_source = 103;
- getCompiledSourceBytes() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder
-
required string compiled_source = 103;
- getCompiler() - Method in class com.google.javascript.jscomp.NodeTraversal
-
- getCompiler() - Method in class com.google.javascript.refactoring.NodeMetadata
-
- getCompiler() - Method in class com.google.javascript.refactoring.RefactoringDriver
-
- getConformanceConfigs() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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.PrototypeObjectType
-
- getConstructor() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- getConstructor() - Method in class com.google.javascript.rhino.jstype.UnknownType
-
- getContainingFunction() - Method in class com.google.javascript.jscomp.CallGraph.Callsite
-
- getContent() - Method in class com.google.javascript.jscomp.deps.DependencyFile
-
- getContent() - Method in interface com.google.javascript.jscomp.deps.SourceFile
-
- getContent() - Method in class com.google.javascript.jscomp.deps.VirtualFile
-
- getControlFlowGraph() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Gets the control flow graph for the current JS scope.
- getCtorExtendedInterfaces() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Gets the interfaces extended by the interface associated with this type.
- getCtorExtendedInterfaces() - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
- getCtorImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Gets the interfaces implemented by the ctor associated with this type.
- getCtorImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
- getCtorImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- getCtorPropDeclaredType(String) - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- 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
-
repeated string declaration_to_remove = 3;
- getDeclarationToRemove(int) - Method in class com.google.javascript.jscomp.Instrumentation
-
repeated string declaration_to_remove = 3;
- getDeclarationToRemove(int) - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
repeated string declaration_to_remove = 3;
- getDeclarationToRemoveBytes(int) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
repeated string declaration_to_remove = 3;
- getDeclarationToRemoveBytes(int) - Method in class com.google.javascript.jscomp.Instrumentation
-
repeated string declaration_to_remove = 3;
- getDeclarationToRemoveBytes(int) - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
repeated string declaration_to_remove = 3;
- getDeclarationToRemoveCount() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
repeated string declaration_to_remove = 3;
- getDeclarationToRemoveCount() - Method in class com.google.javascript.jscomp.Instrumentation
-
repeated string declaration_to_remove = 3;
- getDeclarationToRemoveCount() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
repeated string declaration_to_remove = 3;
- getDeclarationToRemoveList() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
repeated string declaration_to_remove = 3;
- getDeclarationToRemoveList() - Method in class com.google.javascript.jscomp.Instrumentation
-
repeated string declaration_to_remove = 3;
- getDeclarationToRemoveList() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
repeated string declaration_to_remove = 3;
- getDeclarativelyUnboundVarsWithoutTypes() - Method in class com.google.javascript.jscomp.Scope
-
Gets all variables declared with "var" but without declared types attached.
- getDeclaredProp(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.EnumType
-
- getDeclaredProp(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getDeclaredProp(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.ObjectType
-
- getDeclaredTypeOf(String) - Method in interface com.google.javascript.jscomp.newtypes.DeclaredTypeRegistry
-
Returns the declared JSType of the given identifier,
or null if the identifier is not defined.
- 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.ConformanceConfig
-
- 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
-
- getDefaultInstance() - Static method in class com.google.javascript.jscomp.Requirement
-
- 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.ConformanceConfig.Builder
-
- getDefaultInstanceForType() - Method in class com.google.javascript.jscomp.ConformanceConfig
-
- 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
-
- getDefaultInstanceForType() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
- getDefaultInstanceForType() - Method in class com.google.javascript.jscomp.Requirement
-
- 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(String) - Method in class com.google.javascript.jscomp.deps.DefaultDependencyResolver
-
Gets a list of dependencies for the provided code.
- getDependencies(Collection<String>) - Method in class com.google.javascript.jscomp.deps.DefaultDependencyResolver
-
Gets a list of dependencies for the provided list of symbols.
- getDependencies(String, Set<String>, boolean) - Method in class com.google.javascript.jscomp.deps.DefaultDependencyResolver
-
- getDependencies(Collection<String>, Set<String>) - Method in class com.google.javascript.jscomp.deps.DefaultDependencyResolver
-
- getDependencies(String) - Method in interface com.google.javascript.jscomp.deps.DependencyResolver
-
Gets a list of dependencies for the provided code.
- getDependencies(Collection<String>) - Method in interface com.google.javascript.jscomp.deps.DependencyResolver
-
Gets a list of dependencies for *the provided list of symbols.
- getDependencies(String, Set<String>, boolean) - Method in interface com.google.javascript.jscomp.deps.DependencyResolver
-
- getDependencies(Collection<String>, Set<String>) - Method in interface com.google.javascript.jscomp.deps.DependencyResolver
-
- 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.
- getDependencyInfo(String) - Method in class com.google.javascript.jscomp.deps.DependencyFile
-
Gets the dependency info for the provided symbol, if contained in this
dependency file.
- 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.Conformance
-
- getDescriptor() - Static method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
- getDescriptor() - Static method in class com.google.javascript.jscomp.ConformanceConfig
-
- 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
-
- getDescriptor() - Static method in class com.google.javascript.jscomp.Requirement.Builder
-
- getDescriptor() - Static method in class com.google.javascript.jscomp.Requirement
-
- getDescriptor() - Static method in enum com.google.javascript.jscomp.Requirement.Type
-
- 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.ConformanceConfig.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
-
- getDescriptorForType() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
- getDescriptorForType() - Method in enum com.google.javascript.jscomp.Requirement.Type
-
- 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.
- 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.
- getEntries() - Static method in class com.google.javascript.jscomp.parsing.parser.util.Timer
-
- getEntry() - Method in class com.google.javascript.jscomp.ControlFlowGraph
-
Gets the entry point of the control flow graph.
- getEntry(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- getEntry(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Entry = 1 { ...
- getEntry(int) - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Entry = 1 { ...
- getEntryBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- getEntryBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- getEntryCount() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- getEntryCount() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Entry = 1 { ...
- getEntryCount() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Entry = 1 { ...
- getEntryList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- getEntryList() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Entry = 1 { ...
- getEntryList() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Entry = 1 { ...
- getEntryOrBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- getEntryOrBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Entry = 1 { ...
- getEntryOrBuilder(int) - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Entry = 1 { ...
- getEntryOrBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- getEntryOrBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Entry = 1 { ...
- getEntryOrBuilderList() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Entry = 1 { ...
- getEnum(String) - Method in interface com.google.javascript.jscomp.newtypes.DeclaredTypeRegistry
-
Returns the instance of the enum named
name
- getEnumeratedType() - Method in class com.google.javascript.jscomp.newtypes.EnumType
-
- getEnumeratedType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getEnumParameterType() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the enum parameter type specified by the
@enum
annotation.
- getEnums() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getEnumType(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- 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.
- getErrorFormat() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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
-
- getErrorMessage() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string error_message = 1;
- getErrorMessage() - Method in class com.google.javascript.jscomp.Requirement
-
optional string error_message = 1;
- getErrorMessage() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
optional string error_message = 1;
- getErrorMessageBytes() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string error_message = 1;
- getErrorMessageBytes() - Method in class com.google.javascript.jscomp.Requirement
-
optional string error_message = 1;
- getErrorMessageBytes() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
optional string error_message = 1;
- 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.
- 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
-
- 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
- getExtends() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string extends = 10;
- getExtends() - Method in class com.google.javascript.jscomp.Requirement
-
optional string extends = 10;
- getExtends() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
optional string extends = 10;
- getExtendsBytes() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string extends = 10;
- getExtendsBytes() - Method in class com.google.javascript.jscomp.Requirement
-
optional string extends = 10;
- getExtendsBytes() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
optional string extends = 10;
- getExtension(String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Returns the value mapped by the specified extension
or
null
if this extension does not exist.
- getExtensions() - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
-
Returns all extensions and their values (which can be any json value)
in a Map object.
- getFile() - Method in class com.google.javascript.jscomp.parsing.parser.Scanner
-
- 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
-
- getFixForJsError(JSError, AbstractCompiler) - Static method in class com.google.javascript.refactoring.ErrorToFixMapper
-
- getFormalType(int) - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- getFormalType(int) - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- 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(JSDocInfo, String, Node, NominalType.RawNominalType, NominalType.RawNominalType, DeclaredTypeRegistry) - Method in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
Consumes either a "classic" function jsdoc with @param, @return, etc,
or a jsdoc with @type{function ...} and finds the types of the formal
parameters and the return value.
- getFunctionType() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- getFunctionType() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
-
- getFunType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getFunTypeIfSingletonObj() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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
-
required int32 id = 2;
- getId() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required int32 id = 2;
- getId() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required int32 id = 2;
- getId() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph.GraphvizNode
-
Retrieves the unique ID.
- getId() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDirectedGraphNode
-
- getId() - Method in class com.google.javascript.jscomp.JsMessage
-
Gets the message's id, or name (e.g.
- getId() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- getIdentifier() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
optional string identifier = 4;
- getIdentifier() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
optional string identifier = 4;
- getIdentifier() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
optional string identifier = 4;
- getIdentifierBytes() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
optional string identifier = 4;
- getIdentifierBytes() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
optional string identifier = 4;
- getIdentifierBytes() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
optional string identifier = 4;
- 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.PrototypeObjectType
-
- getImplicitPrototype() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- getImplicitPrototype() - Method in class com.google.javascript.rhino.jstype.RecordType
-
- getImplicitPrototype() - Method in class com.google.javascript.rhino.jstype.UnknownType
-
- getImplicitReturn() - Method in class com.google.javascript.jscomp.ControlFlowGraph
-
Gets the implicit return node.
- 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
-
- getInEdges() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDirectedGraphNode
-
- getInferTypes() - Method in class com.google.javascript.jscomp.CompilerOptions
-
Gets the inferTypes flag.
- getInit(int) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
repeated string init = 4;
- getInit(int) - Method in class com.google.javascript.jscomp.Instrumentation
-
repeated string init = 4;
- getInit(int) - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
repeated string init = 4;
- getInitBytes(int) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
repeated string init = 4;
- getInitBytes(int) - Method in class com.google.javascript.jscomp.Instrumentation
-
repeated string init = 4;
- getInitBytes(int) - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
repeated string init = 4;
- getInitCount() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
repeated string init = 4;
- getInitCount() - Method in class com.google.javascript.jscomp.Instrumentation
-
repeated string init = 4;
- getInitCount() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
repeated string init = 4;
- getInitialValue() - Method in class com.google.javascript.jscomp.Scope.Var
-
- getInitList() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
repeated string init = 4;
- getInitList() - Method in class com.google.javascript.jscomp.Instrumentation
-
repeated string init = 4;
- getInitList() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
repeated string init = 4;
- 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(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
-
- getInstanceAsJSType() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- getInstanceAsJSType() - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- getInstanceAsNullableJSType() - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- getInstancePropDeclaredType(String) - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- getInstanceType() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Gets the type of instance of this function.
- getInstanceTypeOfCtor() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- getInstantiatedInterfaces() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- getInstantiatedSuperclass() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- getInterfaces() - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- 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.
- getJavaClass() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string java_class = 8;
- getJavaClass() - Method in class com.google.javascript.jscomp.Requirement
-
optional string java_class = 8;
- getJavaClass() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
optional string java_class = 8;
- getJavaClassBytes() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string java_class = 8;
- getJavaClassBytes() - Method in class com.google.javascript.jscomp.Requirement
-
optional string java_class = 8;
- getJavaClassBytes() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
optional string java_class = 8;
- 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.ProxyObjectType
-
- getJSDocInfo() - Method in class com.google.javascript.rhino.jstype.SimpleSlot
-
- getJSDocInfo() - Method in interface com.google.javascript.rhino.jstype.StaticSlot
-
Gets the JSDoc for this slot.
- getJSDocInfo() - Method in class com.google.javascript.rhino.Node
-
Get the
JSDocInfo
attached to this node.
- getJSType() - Method in class com.google.javascript.rhino.Node
-
Returns the compiled inferred type on this node.
- getJSTypeExpression() - Method in class com.google.javascript.rhino.Node
-
Returns the syntactical type specified on this 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.
- getLabel() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDirectedGraphNode
-
- getLabel() - Method in class com.google.javascript.jscomp.parsing.parser.trees.BreakStatementTree
-
- getLabel() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ContinueStatementTree
-
- 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
-
- getLeftmostName() - Method in class com.google.javascript.jscomp.newtypes.QualifiedName
-
- 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.jscomp.parsing.parser.trees.Comment
-
- getLength() - Method in class com.google.javascript.refactoring.CodeReplacement
-
Returns how many bytes the new content should replace in the
original content.
- 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.parsing.parser.LineNumberTable
-
- 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
-
optional int32 line_number = 1;
- getLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
optional int32 line_number = 1;
- getLineNumber() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
-
optional int32 line_number = 1;
- getLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
optional int32 line_number = 2;
- getLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
optional int32 line_number = 2;
- getLineNumber() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
optional int32 line_number = 2;
- getLineNumber() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required int32 line_number = 4;
- getLineNumber() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required int32 line_number = 4;
- getLineNumber() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required int32 line_number = 4;
- getLineNumber() - Method in class com.google.javascript.jscomp.JSError
-
Get the line number.
- getLineNumber() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Gets the current line number, or zero if it cannot be determined.
- getLineOffset(int) - Method in class com.google.javascript.jscomp.CompilerInput
-
- getLineOffset(int) - Method in class com.google.javascript.jscomp.SourceFile
-
- getLineOffset(int) - Method in class com.google.javascript.rhino.jstype.SimpleSourceFile
-
- getLineOffset(int) - Method in interface com.google.javascript.rhino.jstype.StaticSourceFile
-
Returns the offset of the given line number relative to the file start.
- getLineOfOffset(int) - Method in class com.google.javascript.jscomp.SourceFile
-
- getLineOfOffset(int) - Method in class com.google.javascript.rhino.jstype.SimpleSourceFile
-
- getLineOfOffset(int) - Method in interface com.google.javascript.rhino.jstype.StaticSourceFile
-
Gets the 1-based line number of the given source offset.
- getMainFunction() - Method in class com.google.javascript.jscomp.CallGraph
-
Returns a Function object representing the "main" global function.
- getMappingForLine(int, int) - Method in class com.google.debugging.sourcemap.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.
- getMask() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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.
- getMaxArity() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- 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
-
- getMessage0(String) - Static method in class com.google.javascript.rhino.SimpleErrorReporter
-
- getMessage1(String, Object) - Static method in class com.google.javascript.rhino.SimpleErrorReporter
-
- getMetadata() - Method in class com.google.javascript.refactoring.Match
-
Returns the metadata for this match.
- getMinArguments() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Gets the minimum number of arguments that this function requires.
- getMinArity() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- 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
-
repeated group Module = 101 { ...
- getModule(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Module = 101 { ...
- getModule(int) - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Module = 101 { ...
- 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
-
repeated group Module = 101 { ...
- getModuleBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- getModuleCount() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- getModuleCount() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Module = 101 { ...
- getModuleCount() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Module = 101 { ...
- getModuleList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- getModuleList() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Module = 101 { ...
- getModuleList() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Module = 101 { ...
- getModuleName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string module_name = 5;
- getModuleName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string module_name = 5;
- getModuleName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string module_name = 5;
- getModuleNameBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string module_name = 5;
- getModuleNameBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string module_name = 5;
- getModuleNameBytes() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string module_name = 5;
- getModuleOrBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- getModuleOrBuilder(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Module = 101 { ...
- getModuleOrBuilder(int) - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Module = 101 { ...
- getModuleOrBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- getModuleOrBuilderList() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
repeated group Module = 101 { ...
- getModuleOrBuilderList() - Method in interface com.google.javascript.jscomp.FunctionInformationMapOrBuilder
-
repeated group Module = 101 { ...
- getName() - Method in class com.google.javascript.jscomp.CallGraph.Function
-
Gets the name of this function.
- getName() - Method in class com.google.javascript.jscomp.CompilerInput
-
Returns a name for this input.
- getName() - Method in class com.google.javascript.jscomp.deps.DependencyFile
-
- 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 interface com.google.javascript.jscomp.deps.SourceFile
-
- getName() - Method in class com.google.javascript.jscomp.deps.VirtualFile
-
- getName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string name = 7;
- getName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string name = 7;
- getName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string name = 7;
- getName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string name = 102;
- getName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
required string name = 102;
- getName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder
-
required string name = 102;
- getName() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph
-
Name of the graph.
- getName() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- getName() - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- getName() - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
-
- getName() - Method in class com.google.javascript.jscomp.JSModule
-
Gets the module name.
- getName() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- getName() - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- getName() - Method in class com.google.javascript.jscomp.Scope.Var
-
Gets the name of the variable.
- getName() - Method in class com.google.javascript.jscomp.SourceFile
-
Returns a unique name for the source file.
- getName() - Method in class com.google.javascript.rhino.JSDocInfo.Marker
-
Deprecated.
Use #getNameNode
- getName() - Method in class com.google.javascript.rhino.jstype.Property
-
- getName() - Method in class com.google.javascript.rhino.jstype.SimpleSlot
-
- getName() - Method in class com.google.javascript.rhino.jstype.SimpleSourceFile
-
- getName() - Method in interface com.google.javascript.rhino.jstype.StaticSlot
-
Gets the name of the slot.
- getName() - Method in interface com.google.javascript.rhino.jstype.StaticSourceFile
-
The name of the file.
- getNameBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string name = 7;
- getNameBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string name = 7;
- getNameBytes() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string name = 7;
- getNameBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string name = 102;
- getNameBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
required string name = 102;
- getNameBytes() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder
-
required string name = 102;
- getNameNode() - Method in class com.google.javascript.jscomp.Scope.Var
-
Returns the name node that produced this variable.
- getNameNode() - Method in class com.google.javascript.rhino.JSDocInfo.Marker
-
Gets the position information for the name found
in an @param tag.
- getNativeFunctionType(JSTypeNative) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- getNativeObjectType(JSTypeNative) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- getNativeType(JSTypeNative) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- getNativeType(JSTypeNative) - Method in interface com.google.javascript.rhino.TypeIRegistry
-
- 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(N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- getNewContent() - Method in class com.google.javascript.refactoring.CodeReplacement
-
Returns the new content that should be inserted into the file.
- getNewNameToOriginalNameMap() - Method in class com.google.javascript.jscomp.VariableMap
-
Returns an unmodifiable mapping from new names to original names.
- getNewTypeInference() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getNext() - Method in class com.google.javascript.rhino.Node
-
- 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.refactoring.Match
-
Returns the node that matched the given conditions.
- 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
-
- getNodeTypeDeclaration(JSDocInfo, NominalType.RawNominalType, DeclaredTypeRegistry) - Method in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- getNominalType() - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- getNominalType(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- 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.
- getNumber() - Method in enum com.google.javascript.jscomp.Requirement.Type
-
- 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
-
- getObjectType() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- getOffset() - Method in class com.google.javascript.jscomp.parsing.parser.Scanner
-
- getOnlyApplyTo(int) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string only_apply_to = 4;
- getOnlyApplyTo(int) - Method in class com.google.javascript.jscomp.Requirement
-
repeated string only_apply_to = 4;
- getOnlyApplyTo(int) - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string only_apply_to = 4;
- getOnlyApplyToBytes(int) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string only_apply_to = 4;
- getOnlyApplyToBytes(int) - Method in class com.google.javascript.jscomp.Requirement
-
repeated string only_apply_to = 4;
- getOnlyApplyToBytes(int) - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string only_apply_to = 4;
- getOnlyApplyToCount() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string only_apply_to = 4;
- getOnlyApplyToCount() - Method in class com.google.javascript.jscomp.Requirement
-
repeated string only_apply_to = 4;
- getOnlyApplyToCount() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string only_apply_to = 4;
- getOnlyApplyToList() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string only_apply_to = 4;
- getOnlyApplyToList() - Method in class com.google.javascript.jscomp.Requirement
-
repeated string only_apply_to = 4;
- getOnlyApplyToList() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string only_apply_to = 4;
- getOnlyApplyToRegexp(int) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string only_apply_to_regexp = 5;
- getOnlyApplyToRegexp(int) - Method in class com.google.javascript.jscomp.Requirement
-
repeated string only_apply_to_regexp = 5;
- getOnlyApplyToRegexp(int) - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string only_apply_to_regexp = 5;
- getOnlyApplyToRegexpBytes(int) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string only_apply_to_regexp = 5;
- getOnlyApplyToRegexpBytes(int) - Method in class com.google.javascript.jscomp.Requirement
-
repeated string only_apply_to_regexp = 5;
- getOnlyApplyToRegexpBytes(int) - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string only_apply_to_regexp = 5;
- getOnlyApplyToRegexpCount() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string only_apply_to_regexp = 5;
- getOnlyApplyToRegexpCount() - Method in class com.google.javascript.jscomp.Requirement
-
repeated string only_apply_to_regexp = 5;
- getOnlyApplyToRegexpCount() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string only_apply_to_regexp = 5;
- getOnlyApplyToRegexpList() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string only_apply_to_regexp = 5;
- getOnlyApplyToRegexpList() - Method in class com.google.javascript.jscomp.Requirement
-
repeated string only_apply_to_regexp = 5;
- getOnlyApplyToRegexpList() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string only_apply_to_regexp = 5;
- getOptimizations() - Method in class com.google.javascript.jscomp.DefaultPassConfig
-
- getOptimizations() - Method in class com.google.javascript.jscomp.PassConfig
-
Gets the optimization passes to run.
- getOptionalArity() - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- getOptionalNodeComparator(boolean) - Method in class com.google.javascript.jscomp.ControlFlowGraph
-
Gets a comparator for the nodes.
- getOriginalCommentPosition() - Method in class com.google.javascript.rhino.JSDocInfo
-
- 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
-
optional string original_file = 1;
- getOriginalFile() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
optional string original_file = 1;
- getOriginalFile() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
optional string original_file = 1;
- getOriginalFileBytes() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
optional string original_file = 1;
- getOriginalFileBytes() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
optional string original_file = 1;
- getOriginalFileBytes() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
optional string original_file = 1;
- getOriginalMapping() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
optional .sourcemap.OriginalMapping original_mapping = 3;
- getOriginalMapping() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
optional .sourcemap.OriginalMapping original_mapping = 3;
- getOriginalMapping() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
-
optional .sourcemap.OriginalMapping original_mapping = 3;
- getOriginalMappingBuilder() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
optional .sourcemap.OriginalMapping original_mapping = 3;
- getOriginalMappingOrBuilder() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
optional .sourcemap.OriginalMapping original_mapping = 3;
- getOriginalMappingOrBuilder() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
optional .sourcemap.OriginalMapping original_mapping = 3;
- getOriginalMappingOrBuilder() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
-
optional .sourcemap.OriginalMapping original_mapping = 3;
- getOriginalMatchedNode() - Method in class com.google.javascript.refactoring.SuggestedFix
-
Returns the JS Compiler Node for the original node that caused this SuggestedFix to
be constructed.
- 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
-
- getOriginalPath() - Method in class com.google.javascript.jscomp.SourceMapInput
-
Gets the original location of this sourcemap file on disk.
- 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
-
- getOutEdges() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDirectedGraphNode
-
- getOuterVarPrecondition(String) - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- getOwnerFunction() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Gets the owner of this if it's a function prototype.
- getOwnerFunction() - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
- getOwnerFunction() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- 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
-
- getPackageName(StaticSourceFile) - Method in interface com.google.javascript.jscomp.CodingConvention
-
- getPackageName(StaticSourceFile) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- getPackageName(StaticSourceFile) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
- getParameterCount() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the number of parameters defined.
- getParameterInFunction(SymbolTable.Symbol, String) - Method in class com.google.javascript.jscomp.SymbolTable
-
If
sym
is a function, try to find a Symbol for
a parameter with the given name.
- getParameterNames() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns the set of names of the defined parameters.
- getParameters() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- getParametersNode() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Gets an LP node that contains all params.
- getParameterType(String) - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the parameter type.
- getParent() - Method in class com.google.javascript.jscomp.Scope
-
- getParent() - Method in class com.google.javascript.rhino.Node
-
- getParentNode() - Method in class com.google.javascript.jscomp.Scope.Var
-
Gets the parent of the name node.
- getParentScope() - Method in class com.google.javascript.jscomp.Scope
-
- getParentScope() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
-
- getParentScope() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- getParentScope() - Method in interface com.google.javascript.rhino.jstype.StaticScope
-
Returns the scope enclosing this one or null if none.
- getParentScope() - Method in class com.google.javascript.rhino.testing.AbstractStaticScope
-
- getParserForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- getParserForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- getParserForType() - Method in class com.google.javascript.jscomp.ConformanceConfig
-
- getParserForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- getParserForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- getParserForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- getParserForType() - Method in class com.google.javascript.jscomp.Instrumentation
-
- getParserForType() - Method in class com.google.javascript.jscomp.Requirement
-
- 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
- getPosition() - Method in class com.google.javascript.jscomp.parsing.parser.Scanner
-
- 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(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.EnumType
-
- getProp(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getProp(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.ObjectType
-
- 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.
- getPropDeclaredType(String) - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- getPropDeclaredType(String) - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- 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.
- getPropertyType(String) - Method in class com.google.javascript.rhino.jstype.TemplatizedType
-
- getPropType() - Method in class com.google.javascript.jscomp.newtypes.EnumType
-
- getPrototype() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- 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.
- getRawNominalType() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- getReceiverType() - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- getReferencedType() - Method in class com.google.javascript.rhino.jstype.NamedType
-
Returns the type to which this refers (which is unknown if unresolved).
- 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.NamedType
-
- 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.PrototypeObjectType
-
- getReferenceName() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- 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.
- getRegexpType() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- 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.
- 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.
- getReplacements() - Method in class com.google.javascript.refactoring.SuggestedFix
-
Returns a multimap from filename to all the replacements that should be
applied for this given fix.
- getReportCall() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string report_call = 2;
- getReportCall() - Method in class com.google.javascript.jscomp.Instrumentation
-
optional string report_call = 2;
- getReportCall() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
optional string report_call = 2;
- getReportCallBytes() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string report_call = 2;
- getReportCallBytes() - Method in class com.google.javascript.jscomp.Instrumentation
-
optional string report_call = 2;
- getReportCallBytes() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
optional string report_call = 2;
- getReportDefined() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string report_defined = 1;
- getReportDefined() - Method in class com.google.javascript.jscomp.Instrumentation
-
optional string report_defined = 1;
- getReportDefined() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
optional string report_defined = 1;
- getReportDefinedBytes() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string report_defined = 1;
- getReportDefinedBytes() - Method in class com.google.javascript.jscomp.Instrumentation
-
optional string report_defined = 1;
- getReportDefinedBytes() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
optional string report_defined = 1;
- getReportExit() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string report_exit = 6;
- getReportExit() - Method in class com.google.javascript.jscomp.Instrumentation
-
optional string report_exit = 6;
- getReportExit() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
optional string report_exit = 6;
- getReportExitBytes() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string report_exit = 6;
- getReportExitBytes() - Method in class com.google.javascript.jscomp.Instrumentation
-
optional string report_exit = 6;
- getReportExitBytes() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
optional string report_exit = 6;
- getRequiredArity() - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- getRequirement(int) - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
repeated .jscomp.Requirement requirement = 1;
- getRequirement(int) - Method in class com.google.javascript.jscomp.ConformanceConfig
-
repeated .jscomp.Requirement requirement = 1;
- getRequirement(int) - Method in interface com.google.javascript.jscomp.ConformanceConfigOrBuilder
-
repeated .jscomp.Requirement requirement = 1;
- getRequirementBuilder(int) - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
repeated .jscomp.Requirement requirement = 1;
- getRequirementBuilderList() - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
repeated .jscomp.Requirement requirement = 1;
- getRequirementCount() - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
repeated .jscomp.Requirement requirement = 1;
- getRequirementCount() - Method in class com.google.javascript.jscomp.ConformanceConfig
-
repeated .jscomp.Requirement requirement = 1;
- getRequirementCount() - Method in interface com.google.javascript.jscomp.ConformanceConfigOrBuilder
-
repeated .jscomp.Requirement requirement = 1;
- getRequirementList() - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
repeated .jscomp.Requirement requirement = 1;
- getRequirementList() - Method in class com.google.javascript.jscomp.ConformanceConfig
-
repeated .jscomp.Requirement requirement = 1;
- getRequirementList() - Method in interface com.google.javascript.jscomp.ConformanceConfigOrBuilder
-
repeated .jscomp.Requirement requirement = 1;
- getRequirementOrBuilder(int) - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
repeated .jscomp.Requirement requirement = 1;
- getRequirementOrBuilder(int) - Method in class com.google.javascript.jscomp.ConformanceConfig
-
repeated .jscomp.Requirement requirement = 1;
- getRequirementOrBuilder(int) - Method in interface com.google.javascript.jscomp.ConformanceConfigOrBuilder
-
repeated .jscomp.Requirement requirement = 1;
- getRequirementOrBuilderList() - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
repeated .jscomp.Requirement requirement = 1;
- getRequirementOrBuilderList() - Method in class com.google.javascript.jscomp.ConformanceConfig
-
repeated .jscomp.Requirement requirement = 1;
- getRequirementOrBuilderList() - Method in interface com.google.javascript.jscomp.ConformanceConfigOrBuilder
-
repeated .jscomp.Requirement requirement = 1;
- 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.jscomp.newtypes.DeclaredFunctionType
-
- getReturnType() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- 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).
- getRightmostName() - Method in class com.google.javascript.jscomp.newtypes.QualifiedName
-
- 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
-
- getRuleId() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string rule_id = 9;
- getRuleId() - Method in class com.google.javascript.jscomp.Requirement
-
optional string rule_id = 9;
- getRuleId() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
optional string rule_id = 9;
- getRuleIdBytes() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string rule_id = 9;
- getRuleIdBytes() - Method in class com.google.javascript.jscomp.Requirement
-
optional string rule_id = 9;
- getRuleIdBytes() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
optional string rule_id = 9;
- 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.
- getSectionType() - Method in class com.google.debugging.sourcemap.SourceMapSection
-
- 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.ConformanceConfig
-
- 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
-
- getSerializedSize() - Method in class com.google.javascript.jscomp.Requirement
-
- getSideEffectFlags() - Method in class com.google.javascript.rhino.Node
-
Returns the side effects flags for this node.
- getSingletonGetterClassName(Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
-
- getSingletonGetterClassName(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Checks if the given method defines a singleton getter, and if it does,
returns the name of the class with the singleton getter.
- getSingletonGetterClassName(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- getSize() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required int32 size = 6;
- getSize() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required int32 size = 6;
- getSize() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required int32 size = 6;
- getSize() - Method in class com.google.javascript.jscomp.PerformanceTracker
-
- getSlot(String) - Method in class com.google.javascript.jscomp.Scope
-
- getSlot(String) - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
-
- getSlot(String) - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- getSlot(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Default getSlot implementation.
- getSlot(String) - Method in interface com.google.javascript.rhino.jstype.StaticScope
-
Returns any defined slot within this scope for this name.
- getSlot(String) - Method in class com.google.javascript.rhino.testing.AbstractStaticScope
-
- getSlot(String) - Method in class com.google.javascript.rhino.testing.MapBasedScope
-
- getSortedDependenciesOf(List<INPUT>) - Method in class com.google.javascript.jscomp.deps.SortedDependencies
-
Gets all the dependencies of the given roots.
- getSortedList() - Method in class com.google.javascript.jscomp.deps.SortedDependencies
-
- getSource() - Method in class com.google.javascript.jscomp.AbstractMessageFormatter
-
Get the source excerpt provider.
- getSource() - Method in interface com.google.javascript.jscomp.graph.DiGraph.DiGraphEdge
-
- getSource() - Method in interface com.google.javascript.rhino.FunctionTypeI
-
- 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.
- 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(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
-
- getSourceMap() - Method in class com.google.javascript.jscomp.SourceMapInput
-
Gets the source map, reading from disk and parsing if necessary.
- getSourceMapping(String, int, int) - Method in class com.google.javascript.jscomp.Compiler
-
- getSourceMapping(String, int, int) - Method in interface com.google.javascript.jscomp.SourceExcerptProvider
-
If the source file is associated with an inputSourceMap, does a lookup
for the original file position based on this source map.
- getSourceMapping(String, int, int) - Method in class com.google.javascript.jscomp.testing.SimpleSourceExcerptProvider
-
- getSourceName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string source_name = 3;
- getSourceName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string source_name = 3;
- getSourceName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string source_name = 3;
- getSourceName() - Method in class com.google.javascript.jscomp.JsMessage
-
Gets the message's sourceName.
- getSourceName() - Method in class com.google.javascript.jscomp.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.
- getSourceNameBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string source_name = 3;
- getSourceNameBytes() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string source_name = 3;
- getSourceNameBytes() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string source_name = 3;
- getSourceOffset() - Method in class com.google.javascript.rhino.Node
-
- getSourcePosition(int) - Method in class com.google.javascript.jscomp.parsing.parser.LineNumberTable
-
- getSourcePosition() - Method in class com.google.javascript.rhino.Node
-
- getSourceRange(int, int) - Method in class com.google.javascript.jscomp.parsing.parser.LineNumberTable
-
- 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
-
- getSourceRoot() - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
-
- getStart() - Method in class com.google.javascript.jscomp.parsing.parser.Token
-
- getStartLine() - Method in class com.google.javascript.rhino.SourcePosition
-
Returns the starting line number of this position.
- getStartPosition() - Method in class com.google.javascript.refactoring.CodeReplacement
-
Returns the start position within the file that the modification
should be applied starting at.
- 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.JSDocInfo
-
Gets the name of the source file that contains this JSDoc.
- 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.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
-
- getSubnamespace(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- getSubTypes() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Returns a list of types that are subtypes of this type.
- getSuperClass() - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- 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.
- getSuperPrototype() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- 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.
- getTemplateNodeToMatchMap() - Method in class com.google.javascript.jscomp.TemplateAstMatcher
-
Returns a map from named template Nodes (such as parameters
or local variables) to Nodes that were matches from the last matched
template.
- getTemplateNodeToMatchMap() - Method in class com.google.javascript.refactoring.JsSourceMatcher
-
Returns a map from named template node strings to Nodes that were the
equivalent matches from the last matched template.
- 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.ProxyObjectType
-
- 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.ProxyObjectType
-
- 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.jscomp.newtypes.DeclaredFunctionType
-
- getThisType() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- 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.
- getTokenType(String) - Static method in enum com.google.javascript.jscomp.parsing.parser.Keywords
-
- 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.newtypes.Typedef
-
- getType(String) - Method in class com.google.javascript.jscomp.newtypes.TypeEnv
-
- getType() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional .jscomp.Requirement.Type type = 6;
- getType() - Method in class com.google.javascript.jscomp.Requirement
-
optional .jscomp.Requirement.Type type = 6;
- getType() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
optional .jscomp.Requirement.Type type = 6;
- 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
-
- getType(String) - Method in interface com.google.javascript.rhino.TypeIRegistry
-
- getTypedef(String) - Method in interface com.google.javascript.jscomp.newtypes.DeclaredTypeRegistry
-
Returns the instance of the typedef named
name
- getTypedef(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- 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
-
- getTypeExpr() - Method in class com.google.javascript.jscomp.newtypes.EnumType
-
- getTypeExpr() - Method in class com.google.javascript.jscomp.newtypes.Typedef
-
- getTypeExprForErrorReporting() - Method in class com.google.javascript.jscomp.newtypes.EnumType
-
- getTypeExprForErrorReporting() - Method in class com.google.javascript.jscomp.newtypes.Typedef
-
- getTypeI() - Method in class com.google.javascript.rhino.Node
-
- 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.
- getTypeIRegistry() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
- getTypeIRegistry() - Method in class com.google.javascript.jscomp.Compiler
-
- getTypeNodes() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns a collection of all type nodes that are a part of this JSDocInfo.
- getTypeOfThis() - Method in class com.google.javascript.jscomp.Scope
-
Gets the type of
this
in the current scope.
- getTypeOfThis() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
-
- getTypeOfThis() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Gets the type of
this
in this function.
- getTypeOfThis() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- getTypeOfThis() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- 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
-
- getTypeParameters() - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- getTypeParameters() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- 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.
- getTypeTransformation() - Method in class com.google.javascript.rhino.jstype.TemplateType
-
- getTypeTransformationAst() - Method in class com.google.javascript.jscomp.parsing.TypeTransformationParser
-
- getTypeTransformations() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the type transformations.
- getTypeVar() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getUndirectedGraphEdges(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- getUndirectedGraphNode(N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- getUndirectedGraphNode(N) - Method in class com.google.javascript.jscomp.graph.UndiGraph
-
- getUndirectedGraphNodes() - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- getUniqueFunctionWithName(String) - Method in class com.google.javascript.jscomp.CallGraph
-
Finds a function with the given name.
- getUnknownFields() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- getUnknownFields() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- getUnknownFields() - Method in class com.google.javascript.jscomp.ConformanceConfig
-
- getUnknownFields() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- getUnknownFields() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- getUnknownFields() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- getUnknownFields() - Method in class com.google.javascript.jscomp.Instrumentation
-
- getUnknownFields() - Method in class com.google.javascript.jscomp.Requirement
-
- getUnknownTypesMap() - Method in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- 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 class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDirectedGraphNode
-
- getValue(int) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string value = 7;
- getValue(int) - Method in class com.google.javascript.jscomp.Requirement
-
repeated string value = 7;
- getValue(int) - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string value = 7;
- 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
-
- getValueBytes(int) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string value = 7;
- getValueBytes(int) - Method in class com.google.javascript.jscomp.Requirement
-
repeated string value = 7;
- getValueBytes(int) - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string value = 7;
- getValueCount() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string value = 7;
- getValueCount() - Method in class com.google.javascript.jscomp.Requirement
-
repeated string value = 7;
- getValueCount() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string value = 7;
- getValueDescriptor() - Method in enum com.google.javascript.jscomp.Requirement.Type
-
- getValueList() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string value = 7;
- getValueList() - Method in class com.google.javascript.jscomp.Requirement
-
repeated string value = 7;
- getValueList() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string value = 7;
- 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.jscomp.SymbolTable.Symbol
-
- 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.newtypes.JSTypeCreatorFromJSDoc
-
- 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
-
- getWhitelist(int) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string whitelist = 2;
- getWhitelist(int) - Method in class com.google.javascript.jscomp.Requirement
-
repeated string whitelist = 2;
- getWhitelist(int) - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string whitelist = 2;
- getWhitelistBytes(int) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string whitelist = 2;
- getWhitelistBytes(int) - Method in class com.google.javascript.jscomp.Requirement
-
repeated string whitelist = 2;
- getWhitelistBytes(int) - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string whitelist = 2;
- getWhitelistCount() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string whitelist = 2;
- getWhitelistCount() - Method in class com.google.javascript.jscomp.Requirement
-
repeated string whitelist = 2;
- getWhitelistCount() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string whitelist = 2;
- getWhitelistList() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string whitelist = 2;
- getWhitelistList() - Method in class com.google.javascript.jscomp.Requirement
-
repeated string whitelist = 2;
- getWhitelistList() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string whitelist = 2;
- getWhitelistRegexp(int) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string whitelist_regexp = 3;
- getWhitelistRegexp(int) - Method in class com.google.javascript.jscomp.Requirement
-
repeated string whitelist_regexp = 3;
- getWhitelistRegexp(int) - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string whitelist_regexp = 3;
- getWhitelistRegexpBytes(int) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string whitelist_regexp = 3;
- getWhitelistRegexpBytes(int) - Method in class com.google.javascript.jscomp.Requirement
-
repeated string whitelist_regexp = 3;
- getWhitelistRegexpBytes(int) - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string whitelist_regexp = 3;
- getWhitelistRegexpCount() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string whitelist_regexp = 3;
- getWhitelistRegexpCount() - Method in class com.google.javascript.jscomp.Requirement
-
repeated string whitelist_regexp = 3;
- getWhitelistRegexpCount() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string whitelist_regexp = 3;
- getWhitelistRegexpList() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string whitelist_regexp = 3;
- getWhitelistRegexpList() - Method in class com.google.javascript.jscomp.Requirement
-
repeated string whitelist_regexp = 3;
- getWhitelistRegexpList() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
repeated string whitelist_regexp = 3;
- GLOBAL_THIS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- GLOBAL_THIS - Static variable in class com.google.javascript.jscomp.SymbolTable
-
The name we use for the JavaScript built-in Global object.
- GoogleCodingConvention - Class in com.google.javascript.jscomp
-
This describes the Google-specific JavaScript coding conventions.
- GoogleCodingConvention() - Constructor for class com.google.javascript.jscomp.GoogleCodingConvention
-
By default, decorate the ClosureCodingConvention.
- GoogleCodingConvention(CodingConvention) - Constructor for class com.google.javascript.jscomp.GoogleCodingConvention
-
Decorates a wrapped CodingConvention.
- GoogleJsMessageIdGenerator - Class in com.google.javascript.jscomp
-
An
JsMessage.IdGenerator
designed to play nicely with Google's Translation
systems.
- GoogleJsMessageIdGenerator(String) - Constructor for class com.google.javascript.jscomp.GoogleJsMessageIdGenerator
-
Creates an instance.
- Graph<N,E> - Class in com.google.javascript.jscomp.graph
-
The base generic class for graph-like data structure and algorithms in
the compiler.
- Graph() - Constructor for class com.google.javascript.jscomp.graph.Graph
-
- graph - Variable in class com.google.javascript.jscomp.graph.GraphColoring
-
- Graph.GraphEdge<N,E> - Interface in com.google.javascript.jscomp.graph
-
A generic edge.
- GraphColoring<N,E> - Class in com.google.javascript.jscomp.graph
-
Annotates the graph with a color in a way that no connected node will have
the same color.
- GraphColoring(AdjacencyGraph<N, E>) - Constructor for class com.google.javascript.jscomp.graph.GraphColoring
-
- GraphColoring.Color - Class in com.google.javascript.jscomp.graph
-
The color of a node
- GraphColoring.GreedyGraphColoring<N,E> - Class in com.google.javascript.jscomp.graph
-
Greedily assign nodes with high degree unique colors.
- GraphNode<N,E> - Interface in com.google.javascript.jscomp.graph
-
A generic node.
- 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 a Source Node and an Edge.
- 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
-
- GreedyGraphColoring(AdjacencyGraph<N, E>) - Constructor for class com.google.javascript.jscomp.graph.GraphColoring.GreedyGraphColoring
-
- GreedyGraphColoring(AdjacencyGraph<N, E>, Comparator<N>) - Constructor for class com.google.javascript.jscomp.graph.GraphColoring.GreedyGraphColoring
-
- GT - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- gzDiff - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
-
- gzSize - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
-
H
- hadError() - Method in class com.google.javascript.jscomp.parsing.parser.util.ErrorReporter
-
- handleViolation(String, Node) - Method in interface com.google.javascript.jscomp.AstValidator.ViolationHandler
-
- hasAnyTemplateTypes() - Method in class com.google.javascript.rhino.jstype.JSType
-
- hasAnyTemplateTypesInternal() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- hasAnyTemplateTypesInternal() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- hasAnyTemplateTypesInternal() - Method in class com.google.javascript.rhino.jstype.TemplateType
-
- hasAnyTemplateTypesInternal() - Method in class com.google.javascript.rhino.jstype.TemplatizedType
-
- hasAnyTemplateTypesInternal() - Method in class com.google.javascript.rhino.jstype.UnionType
-
- hasAppNameSetter() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string app_name_setter = 5;
- hasAppNameSetter() - Method in class com.google.javascript.jscomp.Instrumentation
-
optional string app_name_setter = 5;
- hasAppNameSetter() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
optional string app_name_setter = 5;
- hasBaseType() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether this
JSDocInfo
contains a type for @extends
annotation.
- hasBrackets() - Method in class com.google.javascript.rhino.JSDocInfo.TypePosition
-
Returns whether the type has curly braces around it.
- hasCachedValues() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- hasCachedValues() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Returns true if any cached values have been set for this type.
- hasCachedValues() - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
- hasCapturingGroup() - Method in class com.google.javascript.jscomp.regex.RegExpTree
-
True if the regular expression contains capturing groups.
- hasChild(Node) - Method in class com.google.javascript.rhino.Node
-
- hasChildren() - Method in class com.google.javascript.rhino.Node
-
- hasColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
optional int32 column_position = 2;
- hasColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
optional int32 column_position = 2;
- hasColumnPosition() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
-
optional int32 column_position = 2;
- hasColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
optional int32 column_position = 3;
- hasColumnPosition() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
optional int32 column_position = 3;
- hasColumnPosition() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
optional int32 column_position = 3;
- hasCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string compiled_source = 8;
- hasCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string compiled_source = 8;
- hasCompiledSource() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string compiled_source = 8;
- hasCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string compiled_source = 103;
- hasCompiledSource() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
required string compiled_source = 103;
- hasCompiledSource() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder
-
required string compiled_source = 103;
- hasConstantProp(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.EnumType
-
- hasConstantProp(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- hasConstantProp(String) - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- hasConstantProp(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.ObjectType
-
- hasCtorProp(String) - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- hasDescriptionForParameter(String) - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether a description exists for the parameter with the specified
name.
- hasDisplayName() - Method in class com.google.javascript.rhino.jstype.AllType
-
- hasDisplayName() - Method in class com.google.javascript.rhino.jstype.JSType
-
- hasDisplayName() - Method in class com.google.javascript.rhino.jstype.UnknownType
-
- hasEncounteredAllErrors() - Method in class com.google.javascript.jscomp.testing.TestErrorManager
-
- hasEncounteredAllErrors() - Method in class com.google.javascript.rhino.testing.TestErrorReporter
-
Returns whether all errors were reported to this reporter.
- hasEncounteredAllWarnings() - Method in class com.google.javascript.jscomp.testing.TestErrorManager
-
- hasEncounteredAllWarnings() - Method in class com.google.javascript.rhino.testing.TestErrorReporter
-
Returns whether all warnings were reported to this reporter.
- hasEnumParameterType() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether an enum parameter type, specified using the
@enum
annotation, is present on this JSDoc.
- hasEqualCallType(FunctionType) - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- hasErrorMessage() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string error_message = 1;
- hasErrorMessage() - Method in class com.google.javascript.jscomp.Requirement
-
optional string error_message = 1;
- hasErrorMessage() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
optional string error_message = 1;
- hasErrors() - Method in class com.google.javascript.jscomp.CommandLineRunner
-
- hasErrors() - Method in class com.google.javascript.jscomp.Compiler
-
Consults the
ErrorManager
to see if we've encountered errors
that should halt compilation.
- hasExtends() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string extends = 10;
- hasExtends() - Method in class com.google.javascript.jscomp.Requirement
-
optional string extends = 10;
- hasExtends() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
optional string extends = 10;
- hasExtension(String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Check whether or not the sourcemap has an extension.
- hasExternTarget() - Method in class com.google.javascript.jscomp.CallGraph.Callsite
-
If true, then this callsite could target a function defined in the
externs.
- hasFileOverview() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether this has a fileoverview flag.
- hashCode() - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo
-
- hashCode() - Method in class com.google.javascript.jscomp.deps.VirtualFile
-
- hashCode() - Method in class com.google.javascript.jscomp.DiagnosticType
-
- hashCode() - Method in class com.google.javascript.jscomp.graph.GraphColoring.Color
-
- hashCode() - Method in class com.google.javascript.jscomp.JSError
-
- hashCode() - Method in class com.google.javascript.jscomp.JsMessage
-
- hashCode() - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
-
- hashCode() - Method in class com.google.javascript.jscomp.newtypes.ClojurePersistentHashMap
-
- hashCode() - Method in class com.google.javascript.jscomp.newtypes.ClojurePersistentHashSet
-
- hashCode() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- hashCode() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- hashCode() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- hashCode() - Method in class com.google.javascript.jscomp.newtypes.ObjectType
-
- hashCode() - Method in class com.google.javascript.jscomp.regex.RegExpTree
-
- hashCode() - Method in class com.google.javascript.jscomp.Scope.Arguments
-
- hashCode() - Method in class com.google.javascript.jscomp.Scope.Var
-
- hashCode() - Method in class com.google.javascript.refactoring.CodeReplacement
-
- hashCode() - Method in class com.google.javascript.rhino.InputId
-
- hashCode() - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
If this is equal to a NamedType object, its hashCode must be equal
to the hashCode of the NamedType object.
- hashCode() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- hashCode() - Method in class com.google.javascript.rhino.jstype.JSType
-
- hashCode() - Method in class com.google.javascript.rhino.jstype.NamedType
-
- hashCode() - Method in class com.google.javascript.rhino.jstype.NoObjectType
-
- hashCode() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- hashCode() - Method in class com.google.javascript.rhino.jstype.UnionType
-
- hashCode() - Method in class com.google.javascript.rhino.JSTypeExpression
-
- hasId() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required int32 id = 2;
- hasId() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required int32 id = 2;
- hasId() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required int32 id = 2;
- hasIdentifier() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
optional string identifier = 4;
- hasIdentifier() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
optional string identifier = 4;
- hasIdentifier() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
optional string identifier = 4;
- hasImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- hasInstanceType() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Returns whether this function type has an instance type.
- hasJavaClass() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string java_class = 8;
- hasJavaClass() - Method in class com.google.javascript.jscomp.Requirement
-
optional string java_class = 8;
- hasJavaClass() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
optional string java_class = 8;
- hasLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
optional int32 line_number = 1;
- hasLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
optional int32 line_number = 1;
- hasLineNumber() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
-
optional int32 line_number = 1;
- hasLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
optional int32 line_number = 2;
- hasLineNumber() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
optional int32 line_number = 2;
- hasLineNumber() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
optional int32 line_number = 2;
- hasLineNumber() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required int32 line_number = 4;
- hasLineNumber() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required int32 line_number = 4;
- hasLineNumber() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required int32 line_number = 4;
- hasModifies() - Method in class com.google.javascript.rhino.JSDocInfo
-
- hasModuleName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string module_name = 5;
- hasModuleName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string module_name = 5;
- hasModuleName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string module_name = 5;
- hasMoreThanOneChild() - Method in class com.google.javascript.rhino.Node
-
Check for more than one child more efficiently than by iterating over all
the children as is done with Node.getChildCount().
- hasName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string name = 7;
- hasName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string name = 7;
- hasName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string name = 7;
- hasName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string name = 102;
- hasName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
required string name = 102;
- hasName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder
-
required string name = 102;
- hasNamespace(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Determines whether the given JS package exists.
- hasNode(N) - Method in class com.google.javascript.jscomp.graph.Graph
-
Checks whether the node exists in the graph (
Graph.createNode(Object)
has been called with that value).
- hasNonScalar() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- hasOneChild() - Method in class com.google.javascript.rhino.Node
-
Check for one child more efficiently than by iterating over all the
children as is done with Node.getChildCount().
- hasOriginalFile() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
optional string original_file = 1;
- hasOriginalFile() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
optional string original_file = 1;
- hasOriginalFile() - Method in interface com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder
-
optional string original_file = 1;
- hasOriginalMapping() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
optional .sourcemap.OriginalMapping original_mapping = 3;
- hasOriginalMapping() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
optional .sourcemap.OriginalMapping original_mapping = 3;
- hasOriginalMapping() - Method in interface com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder
-
optional .sourcemap.OriginalMapping original_mapping = 3;
- hasOwnProperty(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Checks whether the property whose name is given is present directly on
the object.
- hasParameter(String) - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the parameter is defined.
- hasParameter(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- hasParameterType(String) - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the parameter has an attached type.
- hasParts() - Method in class com.google.javascript.jscomp.JsMessage.Builder
-
Gets whether at least one part has been appended.
- hasProp(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.EnumType
-
- hasProp(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- hasProp(String) - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- hasProp(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.ObjectType
-
- hasProperty(String) - Method in class com.google.javascript.rhino.jstype.JSType
-
Checks whether the property is present on the object.
- hasProperty(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- hasProperty(String) - Method in class com.google.javascript.rhino.jstype.UnionType
-
- hasReferenceName() - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
- hasReferenceName() - Method in class com.google.javascript.rhino.jstype.NamedType
-
- hasReferenceName() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Returns true if the object is named.
- hasReferenceName() - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
- hasReferenceName() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- hasReportCall() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string report_call = 2;
- hasReportCall() - Method in class com.google.javascript.jscomp.Instrumentation
-
optional string report_call = 2;
- hasReportCall() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
optional string report_call = 2;
- hasReportDefined() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string report_defined = 1;
- hasReportDefined() - Method in class com.google.javascript.jscomp.Instrumentation
-
optional string report_defined = 1;
- hasReportDefined() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
optional string report_defined = 1;
- hasReportExit() - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string report_exit = 6;
- hasReportExit() - Method in class com.google.javascript.jscomp.Instrumentation
-
optional string report_exit = 6;
- hasReportExit() - Method in interface com.google.javascript.jscomp.InstrumentationOrBuilder
-
optional string report_exit = 6;
- hasRestFormals() - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- hasRestFormals() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- hasRestParameter() - Method in class com.google.javascript.jscomp.parsing.parser.trees.FormalParameterListTree
-
- hasReturnDeclaredNullable(Node) - Static method in class com.google.javascript.jscomp.lint.CheckNullableReturn
-
- hasReturnType() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether this
JSDocInfo
contains a type for @return
annotation.
- hasRuleId() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string rule_id = 9;
- hasRuleId() - Method in class com.google.javascript.jscomp.Requirement
-
optional string rule_id = 9;
- hasRuleId() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
optional string rule_id = 9;
- hasScope() - Method in class com.google.javascript.jscomp.NodeTraversal
-
- hasSize() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required int32 size = 6;
- hasSize() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required int32 size = 6;
- hasSize() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required int32 size = 6;
- hasSourceName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string source_name = 3;
- hasSourceName() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
required string source_name = 3;
- hasSourceName() - Method in interface com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder
-
required string source_name = 3;
- hasSubnamespace(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- hasTemplateKey(TemplateType) - Method in class com.google.javascript.rhino.jstype.TemplateTypeMap
-
Returns true if this map contains the specified template key, false
otherwise.
- hasTemplateType(TemplateType) - Method in class com.google.javascript.rhino.jstype.TemplateTypeMap
-
Returns true if there is a JSType value associated with the specified
template key; false otherwise.
- hasThisType() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether this
JSDocInfo
contains a type for @this
annotation.
- hasType() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional .jscomp.Requirement.Type type = 6;
- hasType() - Method in class com.google.javascript.jscomp.Requirement
-
optional .jscomp.Requirement.Type type = 6;
- hasType() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
optional .jscomp.Requirement.Type type = 6;
- hasType(int) - Method in class com.google.javascript.jscomp.testing.NodeSubject
-
- hasType() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether a type, specified using the
@type
annotation, is
present on this JSDoc.
- hasTypedefType() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether a typedef parameter type, specified using the
@typedef
annotation, is present on this JSDoc.
- hasTypeInformation() - Method in class com.google.javascript.rhino.JSDocInfo
-
- hasUnknownTarget() - Method in class com.google.javascript.jscomp.CallGraph.Callsite
-
If true, then DefinitionProvider used in callgraph construction
was unable find all target functions of this callsite.
- hasVarArgs() - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
-
- hook(Node, Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- HOOK - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- HotSwapCompilerPass - Interface in com.google.javascript.jscomp
-
Interface for compiler passes that can be used in a hot-swap fashion.
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.ClosureRewriteModule
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6ConvertSuper
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6RenameVariablesInParamLists
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteGenerators
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteLetConst
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6SplitVariableDeclarations
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6ToEs3Converter
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.FieldCleanupPass
-
- hotSwapScript(Node, Node) - Method in interface com.google.javascript.jscomp.HotSwapCompilerPass
-
Process the JS with root node root.
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckInterfaces
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckNullableReturn
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckPrototypeProperties
-
I
- ID_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- ideMode - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Configures the compiler for use as an IDE backend.
- identifier - Variable in class com.google.javascript.jscomp.parsing.parser.trees.AssignmentRestElementTree
-
- identifier - Variable in class com.google.javascript.jscomp.parsing.parser.trees.RestParameterTree
-
- IDENTIFIER_FIELD_NUMBER - Static variable in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- IdentifierExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- IdentifierExpressionTree(SourceRange, IdentifierToken) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.IdentifierExpressionTree
-
- IdentifierToken - Class in com.google.javascript.jscomp.parsing.parser
-
A token representing an identifier.
- IdentifierToken(SourceRange, String) - Constructor for class com.google.javascript.jscomp.parsing.parser.IdentifierToken
-
- identifierToken - Variable in class com.google.javascript.jscomp.parsing.parser.trees.IdentifierExpressionTree
-
- 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.
- ifClause - Variable in class com.google.javascript.jscomp.parsing.parser.trees.IfStatementTree
-
- 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
-
- IfStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- IfStatementTree(SourceRange, ParseTree, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.IfStatementTree
-
- ILLEGAL_PROTOTYPE_MEMBER - Static variable in class com.google.javascript.jscomp.lint.CheckPrototypeProperties
-
- IllegalFormatCodePointException - Exception in com.google.javascript.jscomp.parsing.parser.util.format
-
- IllegalFormatCodePointException(int) - Constructor for exception com.google.javascript.jscomp.parsing.parser.util.format.IllegalFormatCodePointException
-
- IllegalFormatConversionException - Exception in com.google.javascript.jscomp.parsing.parser.util.format
-
- IllegalFormatConversionException(char, Class<? extends Object>) - Constructor for exception com.google.javascript.jscomp.parsing.parser.util.format.IllegalFormatConversionException
-
- IllegalFormatFlagsException - Exception in com.google.javascript.jscomp.parsing.parser.util.format
-
- IllegalFormatFlagsException(String) - Constructor for exception com.google.javascript.jscomp.parsing.parser.util.format.IllegalFormatFlagsException
-
- IllegalFormatPrecisionException - Exception in com.google.javascript.jscomp.parsing.parser.util.format
-
- IllegalFormatPrecisionException(int) - Constructor for exception com.google.javascript.jscomp.parsing.parser.util.format.IllegalFormatPrecisionException
-
- IllegalFormatWidthException - Exception in com.google.javascript.jscomp.parsing.parser.util.format
-
- IllegalFormatWidthException(int) - Constructor for exception com.google.javascript.jscomp.parsing.parser.util.format.IllegalFormatWidthException
-
- IMPLEMENTS_WITHOUT_CONSTRUCTOR - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- ImplicitNullabilityCheck - Class in com.google.javascript.jscomp
-
Warn about types in JSDoc that are implicitly nullable.
- ImplicitNullabilityCheck(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.ImplicitNullabilityCheck
-
- IMPORT - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- IMPORT_SPEC - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- IMPORT_SPECS - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- IMPORT_STAR - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ImportDeclarationTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ImportDeclarationTree(SourceRange, IdentifierToken, ImmutableList<ParseTree>, IdentifierToken, LiteralToken) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ImportDeclarationTree
-
- importedName - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ExportSpecifierTree
-
- importedName - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ImportSpecifierTree
-
- importSpecifierList - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ImportDeclarationTree
-
- ImportSpecifierTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ImportSpecifierTree(SourceRange, IdentifierToken, IdentifierToken) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ImportSpecifierTree
-
- in(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- IN - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- inc(Node, boolean) - Static method in class com.google.javascript.rhino.IR
-
- INC - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- INCRDECR_PROP - Static variable in class com.google.javascript.rhino.Node
-
- increment - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ForStatementTree
-
- 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_CONST_CHECKS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- 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
-
- INHERITANCE_CYCLE - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- init(List<T1>, List<T2>, CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Initializes the instance state needed for a compile job.
- INIT_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Instrumentation
-
- initializer - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComprehensionForTree
-
- initializer - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ForInStatementTree
-
- initializer - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ForOfStatementTree
-
- initializer - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ForStatementTree
-
- initializer - Variable in class com.google.javascript.jscomp.parsing.parser.trees.VariableDeclarationTree
-
- 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
-
- insertArguments(Node, int, String...) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Inserts arguments into an existing function call.
- insertBefore(Node, Node, AbstractCompiler) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Inserts a new node before the provided node.
- insertBefore(Node, String) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Inserts a string before the provided node.
- INSTANCEOF - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- instantiateGenerics(Map<String, JSType>) - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- instantiateGenericsFromArgumentTypes(List<JSType>) - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- Instrumentation - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.Instrumentation
- Instrumentation.Builder - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.Instrumentation
- InstrumentationOrBuilder - Interface in com.google.javascript.jscomp
-
- instrumentationTemplate - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Instrumentation template to use with #recordFunctionInformation
- InstrumentationTemplate - Class in com.google.javascript.jscomp
-
- instrumentForCoverage - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Instrument code for the purpose of collecting coverage data.
- INTERFACE_FUNCTION_NOT_EMPTY - Static variable in class com.google.javascript.jscomp.lint.CheckInterfaces
-
- INTERFACE_SHOULD_NOT_TAKE_ARGS - Static variable in class com.google.javascript.jscomp.lint.CheckInterfaces
-
- 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.ConformanceConfig.Builder
-
- internalGetFieldAccessorTable() - Method in class com.google.javascript.jscomp.ConformanceConfig
-
- 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
-
- internalGetFieldAccessorTable() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
- internalGetFieldAccessorTable() - Method in class com.google.javascript.jscomp.Requirement
-
- internalGetValueMap() - Static method in enum com.google.javascript.jscomp.Requirement.Type
-
- 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
-
- INVALID_GENERICS_INSTANTIATION - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- 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_CONSTANT_VAR - 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
- isAddedBlock() - Method in class com.google.javascript.rhino.Node
-
Returns whether this is an added block that should not be considered
a real source block.
- isAliased() - Method in class com.google.javascript.jscomp.CallGraph.Function
-
Returns true if the function is aliased.
- isAllType() - Method in class com.google.javascript.rhino.jstype.AllType
-
- isAllType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isAllType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- isAnd() - Method in class com.google.javascript.rhino.Node
-
- isAnonymous() - Method in class com.google.javascript.jscomp.JsMessage
-
- isAnonymous() - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
- isArrayLit() - Method in class com.google.javascript.rhino.Node
-
- isArrayPattern() - Method in class com.google.javascript.rhino.Node
-
- isArrayType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isArrowFunction() - Method in class com.google.javascript.rhino.Node
-
Returns whether this node is a arrow function node.
- isAssign() - Method in class com.google.javascript.rhino.Node
-
- isAssignAdd() - Method in class com.google.javascript.rhino.Node
-
- isAssignmentExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- isAssignmentRestElement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- 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
-
- isBlockScope() - Method in class com.google.javascript.jscomp.Scope
-
- isBoolean() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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
-
- isBottom() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isBottom() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isBottom() - Method in interface com.google.javascript.rhino.TypeI
-
- 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.ProxyObjectType
-
- isCheckedUnknownType() - Method in class com.google.javascript.rhino.jstype.UnknownType
-
- isClass() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- isClass() - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- isClass() - Method in class com.google.javascript.rhino.Node
-
- isClassMembers() - Method in class com.google.javascript.rhino.Node
-
- isComma() - Method in class com.google.javascript.rhino.Node
-
- isComputedProp() - Method in class com.google.javascript.rhino.Node
-
- isConditional() - Method in enum com.google.javascript.jscomp.ControlFlowGraph.Branch
-
- 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
-
DiGraphNode look ups can be expensive for a large graph operation, prefer the
version below that takes DiGraphNodes, if you have them available.
- isConnectedInDirection(N, E, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
DiGraphNode look ups can be expensive for a large graph operation, prefer the
version below that takes DiGraphNodes, if you have them available.
- isConnectedInDirection(DiGraph.DiGraphNode<N, E>, Predicate<E>, DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
DiGraphNode look ups can be expensive for a large graph operation, prefer this
method if you have the DiGraphNodes available.
- isConsistentIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfo
-
- isConst() - Method in class com.google.javascript.rhino.Node
-
- 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.jscomp.newtypes.FunctionType
-
- 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.
- isConstructor() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- isConstructor() - Method in interface com.google.javascript.rhino.TypeI
-
- 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.
- isDefault - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ExportDeclarationTree
-
- isDefaultCase() - Method in class com.google.javascript.rhino.Node
-
- isDefaultValue() - 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
.
- isDefined(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- 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.
- isDestructuringPattern() - Method in class com.google.javascript.rhino.Node
-
- isDict() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isDict() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- isDict() - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- 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.ProxyObjectType
-
- isDict() - Method in class com.google.javascript.rhino.jstype.UnionType
-
- isDictRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- 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
-
- isDisambiguatePrivateProperties() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- isDisposes() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether JSDoc is annotated with
@disposes
annotation.
- isDisposesRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether current JSDoc is annotated with
@disposes
.
- 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.jscomp.newtypes.ClojurePersistentHashMap
-
- isEmpty() - Method in class com.google.javascript.jscomp.newtypes.ClojurePersistentHashSet
-
- isEmpty() - Method in class com.google.javascript.rhino.jstype.TemplateTypeMap
-
Returns true if the map is empty; false otherwise.
- isEmpty() - Method in class com.google.javascript.rhino.Node
-
- isEmptyType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isEnteringNewCfgNode(Node) - Static method in class com.google.javascript.jscomp.ControlFlowGraph
-
- isEnumElement() - Method in class com.google.javascript.jscomp.newtypes.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
- isEquivalentToShallow(Node) - Method in class com.google.javascript.rhino.Node
-
Checks equivalence without going into child nodes
- 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.
- isEs5OrHigher() - Method in enum com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
Whether this is ECMAScript 5 or higher.
- isEs6OrHigher() - Method in enum com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
Whether this is ECMAScript 6 or higher.
- isExport() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@export
annotation is present on this
JSDocInfo
.
- isExport() - Method in class com.google.javascript.rhino.Node
-
- isExportAll - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ExportDeclarationTree
-
- 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".
- 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
-
- isFalsy() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isFinalized() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
True iff it has all properties and the RawNominalType is immutable
- isFor() - Method in class com.google.javascript.rhino.Node
-
- isForOf() - 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
-
- isFunctionBlockScope() - Method in class com.google.javascript.jscomp.Scope
-
- isFunctionCallThatAlwaysThrows(Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
-
- isFunctionCallThatAlwaysThrows(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Used by CheckMissingReturn.
- isFunctionCallThatAlwaysThrows(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- 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.
- isFunctionType() - Method in interface com.google.javascript.rhino.TypeI
-
- isGenerator - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
-
- isGeneratorFunction() - Method in class com.google.javascript.rhino.Node
-
Returns whether this node is a generator function node.
- isGeneratorMarker() - Method in class com.google.javascript.rhino.Node
-
Returns whether this node is a marker used in the translation of generators.
- isGeneratorSafe() - Method in class com.google.javascript.rhino.Node
-
Used when translating ES6 generators.
- isGeneric() - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- isGeneric() - Method in class com.google.javascript.jscomp.newtypes.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
.
- isHoistScope() - Method in class com.google.javascript.jscomp.Scope
-
A hoist scope is the hoist target for enclosing var declarations.
- isHook() - Method in class com.google.javascript.rhino.Node
-
- isIdeMode() - Method in class com.google.javascript.jscomp.Compiler
-
- isIdentifier() - Method in class com.google.javascript.jscomp.newtypes.QualifiedName
-
- 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
.
- isImplicitReturn(DiGraph.DiGraphNode<N, ControlFlowGraph.Branch>) - Method in class com.google.javascript.jscomp.ControlFlowGraph
-
Checks whether node is the implicit return.
- isImport() - Method in class com.google.javascript.rhino.Node
-
- 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.
- isInferredConst() - 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
.
- 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.ConformanceConfig.Builder
-
- isInitialized() - Method in class com.google.javascript.jscomp.ConformanceConfig
-
- 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
-
- isInitialized() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
- isInitialized() - Method in class com.google.javascript.jscomp.Requirement
-
- isInlinableFunction(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
-
- isInlinableFunction(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- isInlineType() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the type annotation was inlined.
- isInstanceOf() - Method in class com.google.javascript.rhino.Node
-
- isInstanceType() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- isInstanceType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Whether this type is an Instance object of some constructor.
- isInstanceType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- isInterface() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- isInterface() - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- 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.
- isInterface() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- isInterface() - Method in interface com.google.javascript.rhino.TypeI
-
- isInterfaceDefinition() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- isInterfaceDefinition() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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.
- isJaggerInject() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether JSDoc is annotated with
@jaggerInject
annotation.
- isJaggerInjectRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether current JSDoc is annotated with
@jaggerInject
.
- isJaggerModule() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether JSDoc is annotated with
@jaggerModule
annotation.
- isJaggerModuleRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether current JSDoc is annotated with
@jaggerModule
.
- isJaggerProvide() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether JSDoc is annotated with
@jaggerProvidePromise
annotation.
- isJaggerProvidePromise() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether JSDoc is annotated with
@jaggerProvidePromise
annotation.
- isJaggerProvidePromiseRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether current JSDoc is annotated with
@jaggerProvide
.
- isJaggerProvideRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether current JSDoc is annotated with
@jaggerProvide
.
- isJsDoc() - Method in class com.google.javascript.jscomp.parsing.parser.trees.Comment
-
- isJSIdentifier(String) - Static method in class com.google.javascript.rhino.TokenStream
-
- isKeyValid(String) - Static method in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
-
- isKeyword(String) - Static method in enum com.google.javascript.jscomp.parsing.parser.Keywords
-
- isKeyword(TokenType) - Static method in enum com.google.javascript.jscomp.parsing.parser.Keywords
-
- 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
-
- isLet() - 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).
- isLoose() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- isLoose() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isLooseMatch() - Method in class com.google.javascript.jscomp.TemplateAstMatcher
-
- isLooseStruct() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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?
- isMappedIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfo
-
- isMemberDef() - Method in class com.google.javascript.rhino.Node
-
- isModule() - Method in class com.google.javascript.jscomp.CompilerInput
-
- isModule() - Method in interface com.google.javascript.jscomp.deps.DependencyInfo
-
Whether the symbol is provided by a module
- isModule() - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo
-
- isModule() - Method in class com.google.javascript.jscomp.JSModule
-
- isName() - Method in class com.google.javascript.rhino.Node
-
- isNameDeclaration(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Is this node a name declaration?
- isNativeObjectType() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Whether this is a built-in object.
- isNativeObjectType() - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
Whether this is a built-in object.
- isNativeObjectType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- 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).
- isNominalType() - Method in class com.google.javascript.rhino.jstype.NamedType
-
- isNominalType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- isNonLooseSubtypeOf(JSType) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isNoObjectType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isNoObjectType() - Method in class com.google.javascript.rhino.jstype.NoObjectType
-
- isNoObjectType() - Method in class com.google.javascript.rhino.jstype.NoType
-
- isNoObjectType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- isNoResolvedType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isNoResolvedType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- 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
-
- isNoType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- isNull() - Method in class com.google.javascript.rhino.Node
-
- isNullable() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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.ProxyObjectType
-
- 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
-
- isNullOrUndef() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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
-
- isNumberScalarOrObj(JSType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- isNumberValueType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isNumberValueType() - Method in class com.google.javascript.rhino.jstype.NumberType
-
- isNumStrScalarOrObj(JSType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- 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
-
- isObjectPattern() - 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
-
- isOnlyModifiesArgumentsCall() - Method in class com.google.javascript.rhino.Node
-
- isOnlyModifiesThisCall() - Method in class com.google.javascript.rhino.Node
-
- isOptionalArg(int) - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- 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 interface com.google.javascript.jscomp.CodingConvention
-
This checks whether a given parameter name should be treated as an
optional parameter as far as type checking or function call arg count
checking is concerned.
- isOptionalParameter(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- isOptionalParameter(Node) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
-
This checks whether a given parameter name should be treated as an
optional parameter as far as type checking or function call arg count
checking is concerned.
- isOr() - Method in class com.google.javascript.rhino.Node
-
- isOrdinaryFunction() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- isOrdinaryFunction() - Method in class com.google.javascript.rhino.jstype.JSType
-
Whether this type is a
FunctionType
that is an ordinary function or
a named type that points to such a type.
- isOrdinaryFunction() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- 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
-
- isPattern() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- isPopulated() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether this builder is populated with information that can be
used to
JSDocInfoBuilder.build(com.google.javascript.rhino.Node)
a JSDocInfo
object.
- isPopulatedWithFileOverview() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether this builder is populated with information that can be
used to
JSDocInfoBuilder.build(com.google.javascript.rhino.Node)
a JSDocInfo
object that has a
fileoverview tag.
- isPrivate(String) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
-
- isPrivate(String) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Checks whether a name should be considered private.
- isPrivate(String) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- isPrivate(String) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
-
Checks whether a name should be considered private.
- isPrivate() - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that matches against nodes that are declared
@private
.
- isProperty() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
-
Gets the value of the property property.
- 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
-
- isPrototypePropertyDeclaration(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- isQmarkFunction() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- 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
-
- isRemoveUnusedConstructorProperties() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- isRequiredArg(int) - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- isResolved() - Method in class com.google.javascript.jscomp.newtypes.EnumType
-
- isResolved() - Method in class com.google.javascript.jscomp.newtypes.Typedef
-
- isResolved() - Method in class com.google.javascript.rhino.jstype.JSType
-
Whether the type has been resolved.
- isRest() - Method in class com.google.javascript.rhino.Node
-
- isRestArg(JSDocInfo, String) - Static method in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- isRestParameter() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- isReturn() - Method in class com.google.javascript.rhino.Node
-
- isReturnTypeInferred() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- isScalar() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isScript() - Method in class com.google.javascript.rhino.Node
-
- isSetterDef() - Method in class com.google.javascript.rhino.Node
-
- isSourceElement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- isSpread() - Method in class com.google.javascript.rhino.Node
-
- isStableIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfo
-
- isStatementStandard() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
This function reflects the ECMA standard, or what we would expect to become the ECMA standard.
- isStatic - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyGetterTree
-
- isStatic - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertySetterTree
-
- isStatic - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
-
- isStatic - Variable in class com.google.javascript.jscomp.parsing.parser.trees.GetAccessorTree
-
- isStatic - Variable in class com.google.javascript.jscomp.parsing.parser.trees.SetAccessorTree
-
- isStaticMember() - Method in class com.google.javascript.rhino.Node
-
Returns whether this node is a static member node.
- isStrict() - Method in enum com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
Whether this is a "strict mode" language.
- isStrictKeyword(TokenType) - Static method in enum com.google.javascript.jscomp.parsing.parser.Keywords
-
Returns true if
token
is a "future reserved word" which can
be used as a variable identifer, but only in non-strict mode.
- isStrictMode - Variable in class com.google.javascript.jscomp.parsing.parser.Parser.Config
-
- isString() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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
-
- isStringScalarOrObj(JSType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- 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.jscomp.newtypes.JSType
-
- isStruct() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- isStruct() - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- 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.ProxyObjectType
-
- isStruct() - Method in class com.google.javascript.rhino.jstype.UnionType
-
- isStructRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- 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.PrototypeObjectType
-
- isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.RecordType
-
- 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
-
- isSubtypeOf(FunctionType) - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- isSubtypeOf(JSType) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isSubtypeOf(TypeI) - Method in class com.google.javascript.rhino.jstype.JSType
-
- isSubtypeOf(TypeI) - Method in interface com.google.javascript.rhino.TypeI
-
- isSuper() - Method in class com.google.javascript.rhino.Node
-
- 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
-
- isTemplatizable(JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Checks whether the input type can be templatized.
- 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
-
- isTop() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isTopFunction() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- isTrue() - Method in class com.google.javascript.rhino.Node
-
- isTruthy() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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
-
- isTypeTransformation() - Method in class com.google.javascript.rhino.jstype.TemplateType
-
- isTypeVariableInScope(String) - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- isUninstantiatedGenericType() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- isUnion() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isUnionType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isUnknown() - Method in class com.google.javascript.jscomp.newtypes.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.ProxyObjectType
-
- isUnknownType() - Method in class com.google.javascript.rhino.jstype.UnionType
-
- isUnknownType() - Method in class com.google.javascript.rhino.jstype.UnknownType
-
- isUnknownType() - Method in interface com.google.javascript.rhino.TypeI
-
- isUnrestrictedRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- 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
.
- isValidAssignmentTarget() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- isValidAssignmentTarget() - Method in class com.google.javascript.rhino.Node
-
- 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
-
Deprecated.
- isValidQualifiedName(CompilerOptions.LanguageMode, 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 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
-
- isWizaction() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether JSDoc is annotated with
@wizaction
annotation.
- isWizactionRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether current JSDoc is annotated with
@wizaction
.
- isYield() - Method in class com.google.javascript.rhino.Node
-
- isYieldFor - Variable in class com.google.javascript.jscomp.parsing.parser.trees.YieldExpressionTree
-
- isYieldFor() - Method in class com.google.javascript.rhino.Node
-
Returns whether this node is a generator node.
- iterator() - Method in class com.google.javascript.jscomp.newtypes.ClojurePersistentHashSet
-
- iterator() - Method in class com.google.javascript.jscomp.newtypes.NaivePersistentSet
-
- iterator() - Method in class com.google.javascript.rhino.Node.AncestorIterable
-
J
- JAVA_CLASS_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Requirement
-
- javascriptEscaper() - Static method in class com.google.javascript.jscomp.deps.SourceCodeEscapers
-
Returns an
Escaper
instance that replaces non-ASCII characters
in a string with their equivalent Javascript UTF-16 escape sequences
"\unnnn", "\xnn" or special replacement sequences "\b", "\t",
"\n", "\f", "\r" or "\\".
- join(JSType, JSType) - Static method in class com.google.javascript.jscomp.newtypes.JSType
-
- join(QualifiedName, QualifiedName) - Static method in class com.google.javascript.jscomp.newtypes.QualifiedName
-
- join(TypeEnv, TypeEnv) - Static method in class com.google.javascript.jscomp.newtypes.TypeEnv
-
- join(Collection<TypeEnv>) - Static method in class com.google.javascript.jscomp.newtypes.TypeEnv
-
- JqueryCodingConvention - Class in com.google.javascript.jscomp
-
This describes the jQuery specific JavaScript coding conventions.
- JqueryCodingConvention() - Constructor for class com.google.javascript.jscomp.JqueryCodingConvention
-
- JqueryCodingConvention(CodingConvention) - Constructor for class com.google.javascript.jscomp.JqueryCodingConvention
-
- jqueryPass - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Processes jQuery aliases
- JS_TYPE_EXPRESSION - Static variable in class com.google.javascript.rhino.Node
-
- JsAst - Class in com.google.javascript.jscomp
-
Generates an AST for a JavaScript source file.
- JsAst(SourceFile) - Constructor for class com.google.javascript.jscomp.JsAst
-
- JSDOC_INFO_PROP - Static variable in class com.google.javascript.rhino.Node
-
- JSDocInfo - Class in com.google.javascript.rhino
-
JSDoc information describing JavaScript code.
- JSDocInfo(boolean) - Constructor for class com.google.javascript.rhino.JSDocInfo
-
Creates a
JSDocInfo
object.
- JSDocInfo() - Constructor for class com.google.javascript.rhino.JSDocInfo
-
- JSDocInfo.Marker - Class in com.google.javascript.rhino
-
Defines a class for containing the parsing information
for this JSDocInfo.
- JSDocInfo.NamePosition - Class in com.google.javascript.rhino
-
A piece of information (found in a marker) which contains a position
with a name node.
- JSDocInfo.StringPosition - Class in com.google.javascript.rhino
-
A piece of information (found in a marker) which contains a position
with a string.
- JSDocInfo.TypePosition - Class in com.google.javascript.rhino
-
A piece of information (found in a marker) which contains a position
with a type expression syntax tree.
- JSDocInfo.Visibility - Enum in com.google.javascript.rhino
-
Visibility categories.
- JSDocInfoBuilder - Class in com.google.javascript.rhino
-
A builder for
JSDocInfo
objects.
- JSDocInfoBuilder(boolean) - Constructor for class com.google.javascript.rhino.JSDocInfoBuilder
-
- JsDocInfoParser - Class in com.google.javascript.jscomp.parsing
-
A parser for JSDoc comments.
- JSDocInfoPrinter - Class in com.google.javascript.jscomp
-
Prints a JSDocInfo, used for preserving type annotations in ES6 transpilation.
- JSDocInfoPrinter() - Constructor for class com.google.javascript.jscomp.JSDocInfoPrinter
-
- jsDocType(String) - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that matches nodes that contain JS Doc that specify the
@type
annotation equivalent to the provided type.
- JSError - Class in com.google.javascript.jscomp
-
Compile error description
- JsFileLineParser - Class in com.google.javascript.jscomp.deps
-
Base class for classes that parse JavaScript sources on a line-by-line basis.
- JsFileLineParser(ErrorManager) - Constructor for class com.google.javascript.jscomp.deps.JsFileLineParser
-
Constructor.
- JsFileParser - Class in com.google.javascript.jscomp.deps
-
A parser that can extract goog.require() and goog.provide() dependency
information from a .js file.
- JsFileParser(ErrorManager) - Constructor for class com.google.javascript.jscomp.deps.JsFileParser
-
Constructor
- JsFunctionParser - Class in com.google.javascript.jscomp.deps
-
A parser that can extract dependency information from a .js file.
- JsFunctionParser(Collection<String>, ErrorManager) - Constructor for class com.google.javascript.jscomp.deps.JsFunctionParser
-
Constructor
- JsFunctionParser.SymbolInfo - Class in com.google.javascript.jscomp.deps
-
- JsMessage - Class in com.google.javascript.jscomp
-
A representation of a translatable message in JavaScript source code.
- JsMessage.Builder - Class in com.google.javascript.jscomp
-
Contains functionality for creating JS messages.
- JsMessage.IdGenerator - Interface in com.google.javascript.jscomp
-
ID generator
- JsMessage.PlaceholderReference - Class in com.google.javascript.jscomp
-
A reference to a placeholder in a translatable message.
- JsMessage.Style - Enum in com.google.javascript.jscomp
-
Message style that could be used for JS code parsing.
- JsMessageExtractor - Class in com.google.javascript.jscomp
-
Extracts messages and message comments from JS code.
- JsMessageExtractor(JsMessage.IdGenerator, JsMessage.Style) - Constructor for class com.google.javascript.jscomp.JsMessageExtractor
-
- JsMessageExtractor(JsMessage.IdGenerator, JsMessage.Style, CompilerOptions) - Constructor for class com.google.javascript.jscomp.JsMessageExtractor
-
- JSModule - Class in com.google.javascript.jscomp
-
A JavaScript module has a unique name, consists of a list of compiler inputs,
and can depend on other modules.
- JSModule(String) - Constructor for class com.google.javascript.jscomp.JSModule
-
Creates an instance.
- JSModuleGraph - Class in com.google.javascript.jscomp
-
A
JSModule
dependency graph that assigns a depth to each module and
can answer depth-related queries about them.
- JSModuleGraph(JSModule[]) - Constructor for class com.google.javascript.jscomp.JSModuleGraph
-
Creates a module graph from a list of modules in dependency order.
- JSModuleGraph(List<JSModule>) - Constructor for class com.google.javascript.jscomp.JSModuleGraph
-
Creates a module graph from a list of modules in dependency order.
- JSModuleGraph.MissingModuleException - Exception in com.google.javascript.jscomp
-
Another exception class
- JSModuleGraph.ModuleDependenceException - Exception in com.google.javascript.jscomp
-
Exception class for declaring when the modules being fed into a
JSModuleGraph as input aren't in dependence order, and so can't be
processed for caching of various dependency-related queries.
- JsSourceMatcher - Class in com.google.javascript.refactoring
-
A
Matcher
that can take arbitrary JS source code and use it as a
template to find matches in other source code.
- JsSourceMatcher(AbstractCompiler, Node) - Constructor for class com.google.javascript.refactoring.JsSourceMatcher
-
Constructs this matcher with a Function node that serves as the template
to match all other nodes against.
- JSType - Class in com.google.javascript.jscomp.newtypes
-
- JSType() - Constructor for class com.google.javascript.jscomp.newtypes.JSType
-
- JSType - Class in com.google.javascript.rhino.jstype
-
Represents JavaScript value types.
- JSType.TypePair - Class in com.google.javascript.rhino.jstype
-
- JSTypeCreatorFromJSDoc - Class in com.google.javascript.jscomp.newtypes
-
- JSTypeCreatorFromJSDoc(CodingConvention) - Constructor for class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- JSTypeCreatorFromJSDoc.UnknownTypeException - Exception in com.google.javascript.jscomp.newtypes
-
Exception for when unrecognized type names are encountered
- JSTypeExpression - Class in com.google.javascript.rhino
-
Represents a type expression as a miniature Rhino AST, so that the
type expression can be evaluated later.
- JSTypeExpression(Node, String) - Constructor for class com.google.javascript.rhino.JSTypeExpression
-
- JSTypeNative - Enum in com.google.javascript.rhino.jstype
-
Constants corresponding to types that are built into a JavaScript engine
and other types that occur very often in the type system.
- JSTypeRegistry - Class in com.google.javascript.rhino.jstype
-
The type registry is used to resolve named types.
- JSTypeRegistry(ErrorReporter) - Constructor for class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Constructs a new type registry populated with the built-in types.
- JSTypes - Class in com.google.javascript.jscomp.newtypes
-
This class contains commonly used types, accessible from the jscomp package.
K
- key - Variable in class com.google.javascript.jscomp.DiagnosticType
-
The error type.
- keySet() - Method in class com.google.javascript.jscomp.newtypes.ClojurePersistentHashMap
-
- Keywords - Enum in com.google.javascript.jscomp.parsing.parser
-
The javascript keywords.
- kind - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
-
- kind - Variable in enum com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
-
L
- label(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- LABEL - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- LABEL_NAME - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- LabelledStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- LabelledStatementTree(SourceRange, IdentifierToken, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.LabelledStatementTree
-
- labelName(String) - Static method in class com.google.javascript.rhino.IR
-
- labelRenaming - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Controls label renaming.
- LatticeElement - Interface in com.google.javascript.jscomp.graph
-
A lattice element.
- LB - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- LC - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- LE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- LEAST_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- left - Variable in class com.google.javascript.jscomp.parsing.parser.trees.BinaryOperatorTree
-
- left - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ConditionalExpressionTree
-
- length() - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
-
- LENGTH - Static variable in class com.google.javascript.rhino.Node
-
- LET - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- level(JSError) - Method in class com.google.javascript.jscomp.ByPathWarningsGuard
-
- level(JSError) - Method in class com.google.javascript.jscomp.ComposeWarningsGuard
-
- level(JSError) - Method in class com.google.javascript.jscomp.DiagnosticGroupWarningsGuard
-
- level - Variable in class com.google.javascript.jscomp.DiagnosticType
-
Reporting level, initially the defaultLevel but may be changed.
- level - Variable in class com.google.javascript.jscomp.JSError
-
Deprecated.
Use #getDefaultLevel
- level(JSError) - Method in class com.google.javascript.jscomp.ShowByPathWarningsGuard
-
- level(JSError) - Method in class com.google.javascript.jscomp.StrictWarningsGuard
-
- level(JSError) - Method in class com.google.javascript.jscomp.WarningsGuard
-
Returns a new check level for a given error.
- level(JSError) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard
-
- lhs - Variable in class com.google.javascript.jscomp.parsing.parser.trees.DefaultParameterTree
-
- LightweightMessageFormatter - Class in com.google.javascript.jscomp
-
Lightweight message formatter.
- LightweightMessageFormatter(SourceExcerptProvider) - Constructor for class com.google.javascript.jscomp.LightweightMessageFormatter
-
- LightweightMessageFormatter(SourceExcerptProvider, SourceExcerptProvider.SourceExcerpt) - Constructor for class com.google.javascript.jscomp.LightweightMessageFormatter
-
- line - Variable in class com.google.javascript.jscomp.parsing.parser.util.SourcePosition
-
- LINE_NUMBER_FIELD_NUMBER - Static variable in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- LINE_NUMBER_FIELD_NUMBER - Static variable in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- LINE_NUMBER_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- lineBreak - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Line break the output a bit more aggressively
- lineNumber - Variable in class com.google.javascript.jscomp.JSError
-
Line number of the source
- LineNumberTable - Class in com.google.javascript.jscomp.parsing.parser
-
Maps offsets into a source string into line/column positions.
- LineNumberTable(SourceFile) - Constructor for class com.google.javascript.jscomp.parsing.parser.LineNumberTable
-
- lineNumberTable - Variable in class com.google.javascript.jscomp.parsing.parser.SourceFile
-
- LinkedDirectedGraph<N,E> - Class in com.google.javascript.jscomp.graph
-
A directed graph using linked list within nodes to store edge information.
- LinkedDirectedGraph(boolean, boolean) - Constructor for class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- LinkedDirectedGraph.LinkedDirectedGraphNode<N,E> - Class in com.google.javascript.jscomp.graph
-
A directed graph node that stores outgoing edges and incoming edges as an
list within the node itself.
- LinkedUndirectedGraph<N,E> - Class in com.google.javascript.jscomp.graph
-
An undirected graph using linked list within nodes to store edge
information.
- LinkedUndirectedGraph(boolean, boolean) - Constructor for class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- LINT_CHECKS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- LiteralExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- LiteralExpressionTree(SourceRange, Token) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.LiteralExpressionTree
-
- LiteralToken - Class in com.google.javascript.jscomp.parsing.parser
-
A token representing a javascript literal.
- LiteralToken(TokenType, String, SourceRange) - Constructor for class com.google.javascript.jscomp.parsing.parser.LiteralToken
-
- literalToken - Variable in class com.google.javascript.jscomp.parsing.parser.trees.LiteralExpressionTree
-
- load(String) - Static method in class com.google.javascript.jscomp.VariableMap
-
Reads the variable map from a file written via
VariableMap.save(String)
.
- loadRefasterJsTemplate(String) - Method in class com.google.javascript.refactoring.RefasterJsScanner
-
Loads the RefasterJs template.
- loadRefasterJsTemplateFromCode(String) - Method in class com.google.javascript.refactoring.RefasterJsScanner
-
Loads the RefasterJs template.
- loadWhitelistedJsWarnings(File) - Static method in class com.google.javascript.jscomp.WhitelistWarningsGuard
-
Loads legacy warnings list from the file.
- loadWhitelistedJsWarnings(CharSource) - Static method in class com.google.javascript.jscomp.WhitelistWarningsGuard
-
Loads legacy warnings list from the file.
- locale - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Compiling locale
- location - Variable in class com.google.javascript.jscomp.parsing.parser.Token
-
- location - Variable in class com.google.javascript.jscomp.parsing.parser.trees.Comment
-
- location - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- LocationMapping(String, String) - Constructor for class com.google.javascript.jscomp.SourceMap.LocationMapping
-
- logAliasTransformation(String, SourcePosition<CompilerOptions.AliasTransformation>) - Method in interface com.google.javascript.jscomp.CompilerOptions.AliasTransformationHandler
-
Builds an AliasTransformation implementation and returns it to the
caller.
- LoggerErrorManager - Class in com.google.javascript.jscomp
-
An error manager that logs errors and warnings using a logger in addition to
collecting them in memory.
- LoggerErrorManager(MessageFormatter, Logger) - Constructor for class com.google.javascript.jscomp.LoggerErrorManager
-
Creates an instance.
- LoggerErrorManager(Logger) - Constructor for class com.google.javascript.jscomp.LoggerErrorManager
-
Creates an instance with a source-less error formatter.
- logTime(String, long) - Static method in class com.google.javascript.jscomp.parsing.parser.util.Timer
-
- LookaheadErrorReporter - Class in com.google.javascript.jscomp.parsing.parser.util
-
An error reporter that throws exceptions for parse errors.
- LookaheadErrorReporter() - Constructor for class com.google.javascript.jscomp.parsing.parser.util.LookaheadErrorReporter
-
- LookaheadErrorReporter.ParseException - Exception in com.google.javascript.jscomp.parsing.parser.util
-
- lookupNewName(String) - Method in class com.google.javascript.jscomp.VariableMap
-
Given an original variable name, look up new name, may return null
if it's not found.
- lookupSourceName(String) - Method in class com.google.javascript.jscomp.VariableMap
-
Given a new variable name, lookup the source name, may return null
if it's not found.
- lookupTypeByName(String) - Method in interface com.google.javascript.jscomp.newtypes.DeclaredTypeRegistry
-
Returns the named type from a given potentially qualified type name,
or null if the name is not defined.
- looseTopFunction() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- LSH - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- lt(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
"<"
- LT - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- lvalue - Variable in class com.google.javascript.jscomp.parsing.parser.trees.VariableDeclarationTree
-
M
- main(String[]) - Static method in class com.google.javascript.jscomp.CommandLineRunner
-
Runs the Compiler.
- MAIN_FUNCTION_NAME - Static variable in class com.google.javascript.jscomp.CallGraph
-
The name we give the main function.
- make(String, CheckLevel, String) - Static method in class com.google.javascript.jscomp.DiagnosticType
-
Create a DiagnosticType at a given CheckLevel.
- make(DiagnosticType, String...) - Static method in class com.google.javascript.jscomp.JSError
-
Creates a JSError with no source information
- make(String, int, int, DiagnosticType, String...) - Static method in class com.google.javascript.jscomp.JSError
-
Creates a JSError at a given source location
- make(String, int, int, CheckLevel, DiagnosticType, String...) - Static method in class com.google.javascript.jscomp.JSError
-
Creates a JSError at a given source location
- make(Node, DiagnosticType, String...) - Static method in class com.google.javascript.jscomp.JSError
-
Creates a JSError from a file and Node position.
- make(Node, CheckLevel, DiagnosticType, String...) - Static method in class com.google.javascript.jscomp.JSError
-
- make(String, JSTypeExpression, Collection<String>) - Static method in class com.google.javascript.jscomp.newtypes.EnumType
-
- make() - Static method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- make(JSTypeExpression) - Static method in class com.google.javascript.jscomp.newtypes.Typedef
-
- makeAbsolute(String) - Static method in class com.google.javascript.jscomp.deps.PathUtil
-
Converts the given path into an absolute one.
- makeAbsolute(String, String) - Static method in class com.google.javascript.jscomp.deps.PathUtil
-
Converts the given path into an absolute one.
- makeDictClass(QualifiedName, ImmutableList<String>) - Static method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- makeError(Node, CheckLevel, DiagnosticType, String...) - Method in class com.google.javascript.jscomp.NodeTraversal
-
Creates a JSError during NodeTraversal.
- makeError(Node, DiagnosticType, String...) - Method in class com.google.javascript.jscomp.NodeTraversal
-
Creates a JSError during NodeTraversal.
- makeInterface(QualifiedName, ImmutableList<String>) - Static method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- makeOptionalArg(JSTypeExpression) - Static method in class com.google.javascript.rhino.JSTypeExpression
-
Make the given type expression into an optional type expression,
if possible.
- makeRelative(String, String) - Static method in class com.google.javascript.jscomp.deps.PathUtil
-
Returns targetPath relative to basePath.
- makesDicts() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@dict
annotation is present on this
JSDocInfo
.
- makesDicts() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
When a class B inherits from A and A is annotated as a dict, then B
automatically gets the annotation, even if B's constructor is not
explicitly annotated.
- makesStructs() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@struct
annotation is present on this
JSDocInfo
.
- makesStructs() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
When a class B inherits from A and A is annotated as a struct, then B
automatically gets the annotation, even if B's constructor is not
explicitly annotated.
- makeStructClass(QualifiedName, ImmutableList<String>) - Static method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- makesUnrestricted() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@unrestricted
annotation is present on this
JSDocInfo
.
- makeUnrestrictedClass(QualifiedName, ImmutableList<String>) - Static method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- manageDependencies(List<String>, List<CompilerInput>) - Method in class com.google.javascript.jscomp.JSModuleGraph
-
Applies a DependencyOptions in "dependency sorting" and "dependency pruning"
mode to the given list of inputs.
- manageDependencies(DependencyOptions, List<CompilerInput>) - Method in class com.google.javascript.jscomp.JSModuleGraph
-
Apply the dependency options to the list of sources, returning a new
source list re-ordering and dropping files as necessary.
- MapBasedScope - Class in com.google.javascript.rhino.testing
-
A scope based on a simple hashmap.
- MapBasedScope(Map<String, ? extends JSType>) - Constructor for class com.google.javascript.rhino.testing.MapBasedScope
-
- mapMainToClone(Node, Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Given an AST and its copy, map the root node of each scope of main to the
corresponding root node of clone
- Mapping - Class in com.google.debugging.sourcemap.proto
-
- Mapping.LineMapping - Class in com.google.debugging.sourcemap.proto
-
Protobuf type
sourcemap.LineMapping
- Mapping.LineMapping.Builder - Class in com.google.debugging.sourcemap.proto
-
Protobuf type
sourcemap.LineMapping
- Mapping.LineMappingOrBuilder - Interface in com.google.debugging.sourcemap.proto
-
- Mapping.OriginalMapping - Class in com.google.debugging.sourcemap.proto
-
Protobuf type
sourcemap.OriginalMapping
- Mapping.OriginalMapping.Builder - Class in com.google.debugging.sourcemap.proto
-
Protobuf type
sourcemap.OriginalMapping
- Mapping.OriginalMappingOrBuilder - Interface in com.google.debugging.sourcemap.proto
-
- markAnnotation(String, int, int) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Adds a marker to the current JSDocInfo and populates the marker with the
annotation information.
- markAsCompiled - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Sets the special "COMPILED" value to true
- Marker() - Constructor for class com.google.javascript.rhino.JSDocInfo.Marker
-
- markName(String, int, int) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Deprecated.
Use #markName(String, StaticSourceFile, int, int)
- markName(String, StaticSourceFile, int, int) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Adds a name declaration to the current marker.
- markNoSideEffectCalls - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Mark no side effect calls
- markText(String, int, int, int, int) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Adds a textual block to the current marker.
- markTypeNode(Node, int, int, int, int, boolean) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Adds a type declaration to the current marker.
- Match - Class in com.google.javascript.refactoring
-
Object that contains the information for a given match.
- Match(Node, NodeMetadata) - Constructor for class com.google.javascript.refactoring.Match
-
- matchConstraint(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Modify this type so that it matches the specified type.
- matchConstraint(JSType) - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
- matchConstraint(JSType) - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- matchConstraint(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
-
- Matcher - Interface in com.google.javascript.refactoring
-
Interface for a class that knows how to match a
Node
for a specific
pattern.
- Matchers - Class in com.google.javascript.refactoring
-
Class that contains common Matchers that are useful to everyone.
- matches(JSError) - Method in class com.google.javascript.jscomp.DiagnosticGroup
-
Returns whether the given error's type matches a type
in this group.
- matches(DiagnosticType) - Method in class com.google.javascript.jscomp.DiagnosticGroup
-
Returns whether the given type matches a type in this group.
- matches(Node) - Method in class com.google.javascript.jscomp.TemplateAstMatcher
-
- matches(Node, NodeMetadata) - Method in class com.google.javascript.refactoring.JsSourceMatcher
-
- matches(Node, NodeMetadata) - Method in interface com.google.javascript.refactoring.Matcher
-
Returns true if the specified
Node
and NodeMetadata
match
the given pattern.
- matches(Node, NodeMetadata) - Method in class com.google.javascript.refactoring.RefasterJsScanner
-
- matches(Node, NodeMetadata) - Method in class com.google.javascript.refactoring.Scanner
-
Returns true if the given node and node traversal should match for this
particular scanner.
- matchesInt32Context() - Method in class com.google.javascript.rhino.jstype.JSType
-
This predicate is used to test whether a given type can appear in a
'Int32' context.
- matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.BooleanType
-
- matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
- matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.EnumType
-
- matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.JSType
-
This predicate is used to test whether a given type can appear in a
numeric context, such as an operand of a multiply operator.
- matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.NoObjectType
-
- matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.NoType
-
- matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.NullType
-
- matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.NumberType
-
- matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
- matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.StringType
-
- matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.UnionType
-
This predicate is used to test whether a given type can appear in a
numeric context, such as an operand of a multiply operator.
- matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.UnknownType
-
- matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.VoidType
-
- matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.AllType
-
- matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.BooleanType
-
- matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
- matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.EnumType
-
- matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.JSType
-
This predicate is used to test whether a given type can appear in an
Object
context, such as the expression in a with statement.
- matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.NoObjectType
-
- matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.NoType
-
- matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.NullType
-
- matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.NumberType
-
- matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
- matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.StringType
-
- matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.UnionType
-
This predicate is used to test whether a given type can appear in an
Object
context, such as the expression in a with
statement.
- matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.UnknownType
-
- matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.VoidType
-
- matchesQualifiedName(String) - Method in class com.google.javascript.rhino.Node
-
Returns whether a node matches a simple or a qualified name, such as
x
or a.b.c
or this.a
.
- matchesQualifiedName(Node) - Method in class com.google.javascript.rhino.Node
-
Returns whether a node matches a simple or a qualified name, such as
x
or a.b.c
or this.a
.
- matchesStringContext() - Method in class com.google.javascript.rhino.jstype.AllType
-
- matchesStringContext() - Method in class com.google.javascript.rhino.jstype.BooleanType
-
- matchesStringContext() - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
- matchesStringContext() - Method in class com.google.javascript.rhino.jstype.EnumType
-
- matchesStringContext() - Method in class com.google.javascript.rhino.jstype.JSType
-
This predicate is used to test whether a given type can appear in a
String
context, such as an operand of a string concat (+) operator.
- matchesStringContext() - Method in class com.google.javascript.rhino.jstype.NoObjectType
-
- matchesStringContext() - Method in class com.google.javascript.rhino.jstype.NoType
-
- matchesStringContext() - Method in class com.google.javascript.rhino.jstype.NullType
-
- matchesStringContext() - Method in class com.google.javascript.rhino.jstype.NumberType
-
- matchesStringContext() - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
- matchesStringContext() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- matchesStringContext() - Method in class com.google.javascript.rhino.jstype.StringType
-
- matchesStringContext() - Method in class com.google.javascript.rhino.jstype.UnionType
-
This predicate is used to test whether a given type can appear in a
String
context, such as an operand of a string concat (+
)
operator.
- matchesStringContext() - Method in class com.google.javascript.rhino.jstype.UnknownType
-
- matchesStringContext() - Method in class com.google.javascript.rhino.jstype.VoidType
-
- matchesUint32Context() - Method in class com.google.javascript.rhino.jstype.JSType
-
This predicate is used to test whether a given type can appear in a
'Uint32' context.
- matchesWholeInput(RegExpTree, String) - Static method in class com.google.javascript.jscomp.regex.RegExpTree
-
True if, but not necessarily always when the, given regular expression
must match the whole input or none of it.
- matchRecordTypeConstraint(ObjectType) - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
- MATH_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- MAX_COLUMN_NUMBER - Static variable in class com.google.javascript.rhino.Node
-
MAX_COLUMN_NUMBER represents the maximum column number that can
be represented.
- MAX_INPUT_SIZE_KEY - Static variable in class com.google.javascript.jscomp.webservice.common.Protocol
-
Properties key for getting the maximum input file size that may be
compiled by the service.
- maximumInputSize() - Static method in class com.google.javascript.jscomp.webservice.common.Protocol
-
Find the maximum input size that this configuration of the web service
allows.
- maxParamCount - Variable in enum com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
-
- maybeCopyFrom(JSDocInfo) - Static method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- maybeEmbolden(String) - Method in class com.google.javascript.jscomp.AbstractMessageFormatter
-
- maybeGetInputProviding(String) - Method in class com.google.javascript.jscomp.deps.SortedDependencies
-
Return the input that gives us the given symbol, or null.
- mayHaveOwnProp(String) - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- mayHaveProp(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.EnumType
-
- mayHaveProp(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- mayHaveProp(String) - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- mayHaveProp(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.ObjectType
-
- mayHaveSideEffects(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Returns true if the node which may have side effects when executed.
- mayHaveSideEffects(Node, AbstractCompiler) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- mayMutateArguments() - Method in class com.google.javascript.rhino.Node
-
Returns true if this is a new/call that may mutate its arguments.
- mayMutateGlobalStateOrThrow() - Method in class com.google.javascript.rhino.Node
-
Returns true if this is a new/call that may mutate global state or throw.
- meet(Collection<DeclaredFunctionType>) - Static method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- meet(JSType, JSType) - Static method in class com.google.javascript.jscomp.newtypes.JSType
-
- MEMBER_DEF - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- memberDef(String, Node) - Static method in class com.google.javascript.rhino.IR
-
- memberExpression - Variable in class com.google.javascript.jscomp.parsing.parser.trees.MemberLookupExpressionTree
-
- MemberExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- MemberExpressionTree(SourceRange, ParseTree, IdentifierToken) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.MemberExpressionTree
-
- MemberLookupExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- MemberLookupExpressionTree(SourceRange, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.MemberLookupExpressionTree
-
- memberName - Variable in class com.google.javascript.jscomp.parsing.parser.trees.MemberExpressionTree
-
- merge(String, Object, Object) - Method in interface com.google.debugging.sourcemap.SourceMapGeneratorV3.ExtensionMergeAction
-
Returns the merged value between two extensions with the same name when
merging two source maps
- mergeFrom(Message) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- mergeFrom(Mapping.LineMapping) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
- mergeFrom(Message) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- mergeFrom(Mapping.OriginalMapping) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
- mergeFrom(Message) - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
- mergeFrom(ConformanceConfig) - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
- mergeFrom(Message) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- mergeFrom(FunctionInformationMap) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
- mergeFrom(Message) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- mergeFrom(FunctionInformationMap.Entry) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
- mergeFrom(Message) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
- mergeFrom(FunctionInformationMap.Module) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
- mergeFrom(Message) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- mergeFrom(Instrumentation) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
- mergeFrom(Message) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
- mergeFrom(Requirement) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
- mergeLineCharNo(int, int) - Static method in class com.google.javascript.rhino.Node
-
Merges the line number and character number in one integer.
- mergeMapSection(int, int, String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Merges current mapping with
mapSectionContents
considering the
offset (line, column)
.
- mergeMapSection(int, int, String, SourceMapGeneratorV3.ExtensionMergeAction) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Works like
SourceMapGeneratorV3.mergeMapSection(int, int, String)
, except that
extensions from the @{code mapSectionContents} are merged to the top level
source map.
- mergeOriginalMapping(Mapping.OriginalMapping) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
optional .sourcemap.OriginalMapping original_mapping = 3;
- messageBundle - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Returns localized replacement for MSG_* variables
- MessageBundle - Interface in com.google.javascript.jscomp
-
An interface for providing alternative values for user-visible messages in
JavaScript code.
- MessageFormatter - Interface in com.google.javascript.jscomp
-
Format warnings and errors.
- method - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyMethodTree
-
- minParamCount - Variable in enum com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
-
- MISPLACED_TYPE_ANNOTATION - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- MISSING_GETCSSNAME - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- MISSING_PROPERTIES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- MISSING_PROVIDE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- MISSING_REQUIRE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- MISSING_RETURN - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- MissingFormatArgumentException - Exception in com.google.javascript.jscomp.parsing.parser.util.format
-
- MissingFormatArgumentException(String) - Constructor for exception com.google.javascript.jscomp.parsing.parser.util.format.MissingFormatArgumentException
-
- MissingFormatWidthException - Exception in com.google.javascript.jscomp.parsing.parser.util.format
-
- MissingFormatWidthException(String) - Constructor for exception com.google.javascript.jscomp.parsing.parser.util.format.MissingFormatWidthException
-
- MissingPrimaryExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- MissingPrimaryExpressionTree(SourceRange) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.MissingPrimaryExpressionTree
-
- mockToString - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- MOD - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ModificationVisitor - Class in com.google.javascript.rhino.jstype
-
A visitor implementation that enables type substitutions.
- ModificationVisitor(JSTypeRegistry, boolean) - Constructor for class com.google.javascript.rhino.jstype.ModificationVisitor
-
- MODULE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- MODULE_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap
-
- MODULE_NAME_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- ModuleDependenceException(String, JSModule, JSModule) - Constructor for exception com.google.javascript.jscomp.JSModuleGraph.ModuleDependenceException
-
- ModuleImportTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ModuleImportTree(SourceRange, IdentifierToken, LiteralToken) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ModuleImportTree
-
- moduleSpecifier - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ImportDeclarationTree
-
- MOTION_ITERATIONS_ERROR - Static variable in class com.google.javascript.jscomp.Compiler
-
- moveFunctionDeclarations - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Move top-level function declarations to the top
- MUL - Static variable in class com.google.javascript.rhino.Token
-
Token types.
N
- NaivePersistentMap<K,V> - Class in com.google.javascript.jscomp.newtypes
-
A naive persistent map that does too many copies
- NaivePersistentSet<K> - Class in com.google.javascript.jscomp.newtypes
-
A naive persistent set that does too many copies
- name - Variable in class com.google.javascript.jscomp.parsing.parser.SourceFile
-
- name - Variable in class com.google.javascript.jscomp.parsing.parser.trees.BreakStatementTree
-
- name - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ClassDeclarationTree
-
- name - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ContinueStatementTree
-
- name - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
-
- name - Variable in class com.google.javascript.jscomp.parsing.parser.trees.LabelledStatementTree
-
- name - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ModuleImportTree
-
- name - Variable in class com.google.javascript.jscomp.parsing.parser.trees.PropertyNameAssignmentTree
-
- name - Variable in class com.google.javascript.jscomp.parsing.parser.util.Timer.Entry
-
- name - Variable in enum com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
-
- name(String) - Static method in class com.google.javascript.rhino.IR
-
- NAME - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- name(int) - Static method in class com.google.javascript.rhino.Token
-
- NAME_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- NAME_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- NAMED_TYPE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- namedAnonFunctionMap - Variable in class com.google.javascript.jscomp.Result
-
- namedType(String) - Static method in class com.google.javascript.jscomp.parsing.TypeDeclarationsIRFactory
-
Produces a tree structure similar to the Rhino AST of a qualified name expression, under
a top-level NAMED_TYPE node.
- NamedType - Class in com.google.javascript.rhino.jstype
-
A
NamedType
is a named reference to some other type.
- NamePosition() - Constructor for class com.google.javascript.rhino.JSDocInfo.NamePosition
-
- Namespace - Class in com.google.javascript.jscomp.newtypes
-
An object whose properties can be types (nominal types, enums, typedefs).
- Namespace() - Constructor for class com.google.javascript.jscomp.newtypes.Namespace
-
- nameSpaceImportIdentifier - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ImportDeclarationTree
-
- NamespaceLit - Class in com.google.javascript.jscomp.newtypes
-
- NamespaceLit() - Constructor for class com.google.javascript.jscomp.newtypes.NamespaceLit
-
- namespaces - Variable in class com.google.javascript.jscomp.newtypes.Namespace
-
- NATIVE_PROPERTIES_COUNT - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- NE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- neg(Node) - Static method in class com.google.javascript.rhino.IR
-
- NEG - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- negate() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- NEW - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- NEW_CHECK_TYPES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- newBuilder() - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- newBuilder(Mapping.LineMapping) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- newBuilder() - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- newBuilder(Mapping.OriginalMapping) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- newBuilder() - Static method in class com.google.javascript.jscomp.ConformanceConfig
-
- newBuilder(ConformanceConfig) - Static method in class com.google.javascript.jscomp.ConformanceConfig
-
- newBuilder() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- newBuilder(FunctionInformationMap.Entry) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- newBuilder() - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- newBuilder(FunctionInformationMap.Module) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- newBuilder() - Static method in class com.google.javascript.jscomp.FunctionInformationMap
-
- newBuilder(FunctionInformationMap) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
-
- newBuilder() - Static method in class com.google.javascript.jscomp.Instrumentation
-
- newBuilder(Instrumentation) - Static method in class com.google.javascript.jscomp.Instrumentation
-
- newBuilder() - Static method in class com.google.javascript.jscomp.Requirement
-
- newBuilder(Requirement) - Static method in class com.google.javascript.jscomp.Requirement
-
- newBuilderForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- newBuilderForType(GeneratedMessage.BuilderParent) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- newBuilderForType() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- newBuilderForType(GeneratedMessage.BuilderParent) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- newBuilderForType() - Method in class com.google.javascript.jscomp.ConformanceConfig
-
- newBuilderForType(GeneratedMessage.BuilderParent) - Method in class com.google.javascript.jscomp.ConformanceConfig
-
- newBuilderForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- newBuilderForType(GeneratedMessage.BuilderParent) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- newBuilderForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- newBuilderForType(GeneratedMessage.BuilderParent) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- newBuilderForType() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- newBuilderForType(GeneratedMessage.BuilderParent) - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- newBuilderForType() - Method in class com.google.javascript.jscomp.Instrumentation
-
- newBuilderForType(GeneratedMessage.BuilderParent) - Method in class com.google.javascript.jscomp.Instrumentation
-
- newBuilderForType() - Method in class com.google.javascript.jscomp.Requirement
-
- newBuilderForType(GeneratedMessage.BuilderParent) - Method in class com.google.javascript.jscomp.Requirement
-
- newClass() - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that matches constructing new objects.
- newClass(String) - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that matches constructing objects of the provided class
name.
- newCompilerOptions() - Method in class com.google.javascript.jscomp.Compiler
-
Allow subclasses to override the default CompileOptions object.
- NewExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- NewExpressionTree(SourceRange, ParseTree, ArgumentListTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.NewExpressionTree
-
- newExternInput(String) - Method in class com.google.javascript.jscomp.Compiler
-
- newNode(Node, Node...) - Static method in class com.google.javascript.rhino.IR
-
- newNumber(double) - Static method in class com.google.javascript.rhino.Node
-
- newNumber(double, int, int) - Static method in class com.google.javascript.rhino.Node
-
- newOptionalParameterFromNode(Node) - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
-
Copies the parameter specification from the given node,
but makes sure it's optional.
- newParameterFromNode(Node) - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
-
Copies the parameter specification from the given node.
- newQName(AbstractCompiler, String) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Creates a node representing a qualified name.
- newQNameDeclaration(AbstractCompiler, String, Node, JSDocInfo) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Creates a node representing a qualified name.
- newString(String) - Static method in class com.google.javascript.rhino.Node
-
- newString(int, String) - Static method in class com.google.javascript.rhino.Node
-
- newString(String, int, int) - Static method in class com.google.javascript.rhino.Node
-
- newString(int, String, int, int) - Static method in class com.google.javascript.rhino.Node
-
- newSubGraph() - Method in interface com.google.javascript.jscomp.graph.AdjacencyGraph
-
Returns an empty SubGraph for this Graph.
- newSubGraph() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- newSubGraph() - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- newTraversal(FixedPointGraphTraversal.EdgeCallback<NODE, EDGE>) - Static method in class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
-
Helper method for creating new traversals.
- NewTypeInference - Class in com.google.javascript.jscomp
-
New type inference algorithm.
- NewTypeInference.WarningReporter - Class in com.google.javascript.jscomp
-
- nextConvention - Variable in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- nextPreciserScopeKnowingConditionOutcome(Node, FlowScope, boolean) - Method in class com.google.javascript.jscomp.type.ChainableReverseAbstractInterpreter
-
Delegates the calculation of the preciser scope to the next link.
- nextRegularExpressionLiteralToken() - Method in class com.google.javascript.jscomp.parsing.parser.Scanner
-
- nextTemplateLiteralToken() - Method in class com.google.javascript.jscomp.parsing.parser.Scanner
-
- nextToken() - Method in class com.google.javascript.jscomp.parsing.parser.Scanner
-
- NO_OBJECT_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- NO_RESOLVED_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- NO_SIDE_EFFECTS - Static variable in class com.google.javascript.rhino.Node
-
- NO_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- node - Variable in class com.google.javascript.jscomp.JSError
-
Node where the warning occurred.
- NODE - Static variable in class com.google.javascript.jscomp.testing.NodeSubject
-
- Node - Class in com.google.javascript.rhino
-
This class implements the root of the intermediate representation.
- Node(int) - Constructor for class com.google.javascript.rhino.Node
-
- Node(int, Node) - Constructor for class com.google.javascript.rhino.Node
-
- Node(int, Node, Node) - Constructor for class com.google.javascript.rhino.Node
-
- Node(int, Node, Node, Node) - Constructor for class com.google.javascript.rhino.Node
-
- Node(int, Node, Node, Node, Node) - Constructor for class com.google.javascript.rhino.Node
-
- Node(int, int, int) - Constructor for class com.google.javascript.rhino.Node
-
- Node(int, Node, int, int) - Constructor for class com.google.javascript.rhino.Node
-
- Node(int, Node, Node, int, int) - Constructor for class com.google.javascript.rhino.Node
-
- Node(int, Node, Node, Node, int, int) - Constructor for class com.google.javascript.rhino.Node
-
- Node(int, Node, Node, Node, Node, int, int) - Constructor for class com.google.javascript.rhino.Node
-
- Node(int, Node[], int, int) - Constructor for class com.google.javascript.rhino.Node
-
- Node(int, Node[]) - Constructor for class com.google.javascript.rhino.Node
-
- Node.AncestorIterable - Class in com.google.javascript.rhino
-
Iterator to go up the ancestor tree.
- Node.FileLevelJsDocBuilder - Class in com.google.javascript.rhino
-
An inner class that provides back-door access to the license
property of the JSDocInfo property for this node.
- Node.SideEffectFlags - Class in com.google.javascript.rhino
-
A helper class for getting and setting the side-effect flags.
- Node.TypeDeclarationNode - Class in com.google.javascript.rhino
-
- NODE_TRAVERSAL_ERROR - Static variable in class com.google.javascript.jscomp.NodeTraversal
-
- NodeMetadata - Class in com.google.javascript.refactoring
-
Class that holds metadata (or meta objects) for use by JsFlume that aren't
contained within the Node itself.
- NodeMetadata(AbstractCompiler) - Constructor for class com.google.javascript.refactoring.NodeMetadata
-
- nodes - Variable in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- nodes - Variable in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- NodeSubject - Class in com.google.javascript.jscomp.testing
-
A Truth Subject for the Node class.
- NodeSubject(FailureStrategy, Node) - Constructor for class com.google.javascript.jscomp.testing.NodeSubject
-
- NodeTraversal - Class in com.google.javascript.jscomp
-
NodeTraversal allows an iteration through the nodes in the parse tree,
and facilitates the optimizations on the parse tree.
- NodeTraversal(AbstractCompiler, NodeTraversal.Callback) - Constructor for class com.google.javascript.jscomp.NodeTraversal
-
Creates a node traversal using the specified callback interface.
- NodeTraversal(AbstractCompiler, NodeTraversal.Callback, ScopeCreator) - Constructor for class com.google.javascript.jscomp.NodeTraversal
-
Creates a node traversal using the specified callback interface
and the scope creator.
- NodeTraversal.AbstractNodeTypePruningCallback - Class in com.google.javascript.jscomp
-
Abstract callback to visit a pruned set of nodes.
- NodeTraversal.AbstractPostOrderCallback - Class in com.google.javascript.jscomp
-
Abstract callback to visit all nodes in postorder.
- NodeTraversal.AbstractPreOrderCallback - Class in com.google.javascript.jscomp
-
Abstract callback to visit all nodes in preorder.
- NodeTraversal.AbstractScopedCallback - Class in com.google.javascript.jscomp
-
Abstract scoped callback to visit all nodes in postorder.
- NodeTraversal.AbstractShallowCallback - Class in com.google.javascript.jscomp
-
Abstract callback to visit all nodes but not traverse into function
bodies.
- NodeTraversal.AbstractShallowStatementCallback - Class in com.google.javascript.jscomp
-
Abstract callback to visit all structure and statement nodes but doesn't
traverse into functions or expressions.
- NodeTraversal.Callback - Interface in com.google.javascript.jscomp
-
Callback for tree-based traversals
- NodeTraversal.FunctionCallback - Interface in com.google.javascript.jscomp
-
Callback for passes that iterate over a list of functions
- NodeTraversal.ScopedCallback - Interface in com.google.javascript.jscomp
-
Callback that also knows about scope changes
- NodeUtil - Class in com.google.javascript.jscomp
-
NodeUtil contains generally useful AST utilities.
- NodeUtil.Visitor - Interface in com.google.javascript.jscomp
-
Interface for use with the visit method.
- NoImplicitlyPublicDecls(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.NoImplicitlyPublicDecls
-
- nominals - Variable in class com.google.javascript.jscomp.newtypes.Namespace
-
- NominalType - Class in com.google.javascript.jscomp.newtypes
-
- NominalType.RawNominalType - Class in com.google.javascript.jscomp.newtypes
-
Represents a class or interface as defined in the code.
- NON_HALTING_ERROR_MSG - Static variable in class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
-
- NON_SCALAR_MASK - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- NON_STANDARD_JSDOC - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- NoObjectType - Class in com.google.javascript.rhino.jstype
-
The bottom Object type, representing the subclass of all objects.
- normalize() - Method in class com.google.javascript.jscomp.Compiler
-
- normalizeWhitelist(Set<String>) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard
-
Loads legacy warnings list from the set of strings.
- not(Matcher) - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that matches the opposite of the provided matcher.
- not(Node) - Static method in class com.google.javascript.rhino.IR
-
- not() - Method in enum com.google.javascript.rhino.jstype.TernaryValue
-
Gets the
not
of this
.
- NOT - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- NOT_A_CLASS - Static variable in class com.google.javascript.rhino.jstype.JSType
-
- NOT_A_CONSTRUCTOR - Static variable in class com.google.javascript.jscomp.TypeCheck
-
- NOT_A_TYPE - Static variable in class com.google.javascript.rhino.jstype.JSType
-
- NOT_ENUMDECL - Static variable in class com.google.javascript.rhino.jstype.JSType
-
- NoType - Class in com.google.javascript.rhino.jstype
-
Bottom type, representing the subclass of any value or object.
- NULL - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- NULL - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- NULL_MASK - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- NULL_OR_UNDEF - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- NULL_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- NULL_TYPE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- NULL_VOID - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- NULLABLE_RETURN - Static variable in class com.google.javascript.jscomp.lint.CheckNullableReturn
-
- NULLABLE_RETURN_WITH_NAME - Static variable in class com.google.javascript.jscomp.lint.CheckNullableReturn
-
- NullErrorReporter - Class in com.google.javascript.jscomp.parsing
-
An error reporter which consumes all calls and performs no actions.
- nullNode() - Static method in class com.google.javascript.rhino.IR
-
- NullTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Represents a null parse tree element.
- NullTree(SourceRange) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.NullTree
-
- nullType() - Static method in class com.google.javascript.jscomp.parsing.TypeDeclarationsIRFactory
-
- NullType - Class in com.google.javascript.rhino.jstype
-
Null type.
- NUM_OR_STR - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- NUMBER - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- number(double) - Static method in class com.google.javascript.rhino.IR
-
- NUMBER - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- NUMBER_MASK - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- NUMBER_OBJECT_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- NUMBER_OBJECT_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- NUMBER_STRING_BOOLEAN - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- NUMBER_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- NUMBER_TYPE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- numberType() - Static method in class com.google.javascript.jscomp.parsing.TypeDeclarationsIRFactory
-
- NumberType - Class in com.google.javascript.rhino.jstype
-
Number type.
- numCapturingGroups() - Method in class com.google.javascript.jscomp.regex.RegExpTree
-
The number of capturing groups.
O
- OBJECT_ELEMENT_TEMPLATE - Static variable in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
The name associated with the template variable corresponding to the
property value type for Javascript Objects and Arrays.
- OBJECT_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- OBJECT_INDEX_TEMPLATE - Static variable in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
The name associated with the template variable corresponding to the
property key type of the built-in Javascript object.
- OBJECT_NUMBER_STRING - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- OBJECT_NUMBER_STRING_BOOLEAN - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- OBJECT_PATTERN - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- OBJECT_PROTOTYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- OBJECT_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- objectlit(Node...) - Static method in class com.google.javascript.rhino.IR
-
- OBJECTLIT - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ObjectLiteralExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ObjectLiteralExpressionTree(SourceRange, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ObjectLiteralExpressionTree
-
- ObjectPatternTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ObjectPatternTree(SourceRange, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ObjectPatternTree
-
- ObjectPropertyStringPreprocess - Class in com.google.javascript.jscomp
-
Rewrites
new goog.testing.ObjectPropertyString(foo, 'bar')
to
new JSCompiler_ObjectPropertyString(window, foo.bar)
.
- ObjectType - Class in com.google.javascript.jscomp.newtypes
-
- ObjectType - Class in com.google.javascript.rhino.jstype
-
Object type.
- of(K, V) - Static method in class com.google.javascript.jscomp.newtypes.PersistentMap
-
- OF - Static variable in class com.google.javascript.jscomp.parsing.parser.PredefinedName
-
- offset - Variable in class com.google.javascript.jscomp.parsing.parser.util.SourcePosition
-
- offsetOfLine(int) - Method in class com.google.javascript.jscomp.parsing.parser.LineNumberTable
-
- ONLY_APPLY_TO_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Requirement
-
- ONLY_APPLY_TO_REGEXP_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Requirement
-
- operand - Variable in class com.google.javascript.jscomp.parsing.parser.trees.CallExpressionTree
-
- operand - Variable in class com.google.javascript.jscomp.parsing.parser.trees.MemberExpressionTree
-
- operand - Variable in class com.google.javascript.jscomp.parsing.parser.trees.MemberLookupExpressionTree
-
- operand - Variable in class com.google.javascript.jscomp.parsing.parser.trees.NewExpressionTree
-
- operand - Variable in class com.google.javascript.jscomp.parsing.parser.trees.PostfixExpressionTree
-
- operand - Variable in class com.google.javascript.jscomp.parsing.parser.trees.TemplateLiteralExpressionTree
-
- operand - Variable in class com.google.javascript.jscomp.parsing.parser.trees.UnaryExpressionTree
-
- operator - Variable in class com.google.javascript.jscomp.parsing.parser.trees.BinaryOperatorTree
-
- operator - Variable in class com.google.javascript.jscomp.parsing.parser.trees.PostfixExpressionTree
-
- operator - Variable in class com.google.javascript.jscomp.parsing.parser.trees.UnaryExpressionTree
-
- OPT_ARG_NAME - Static variable in class com.google.javascript.rhino.Node
-
- optimize() - Method in class com.google.javascript.jscomp.Compiler
-
- optimize() - Method in interface com.google.javascript.jscomp.type.FlowScope
-
Optimize this scope and return a new FlowScope with faster lookup.
- OPTIMIZE_LOOP_ERROR - Static variable in class com.google.javascript.jscomp.Compiler
-
Error strings used for reporting JSErrors
- optimizeArgumentsArray - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Provide formal names for elements of arguments array.
- optimizeCalls - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Remove unused parameters from call sites.
- optimizeParameters - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Remove unused and constant parameters.
- optimizeReturns - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Remove unused return values.
- OPTIONAL_PARAMETER - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- optionalParameter(Node.TypeDeclarationNode) - Static method in class com.google.javascript.jscomp.parsing.TypeDeclarationsIRFactory
-
Represents a function parameter that is optional.
- or(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- or(TernaryValue) - Method in enum com.google.javascript.rhino.jstype.TernaryValue
-
Gets the
or
of this
and that
.
- OR - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ORIGINAL_FILE_FIELD_NUMBER - Static variable in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- ORIGINAL_MAPPING_FIELD_NUMBER - Static variable in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- ORIGINALNAME_PROP - Static variable in class com.google.javascript.rhino.Node
-
- otherProps - Variable in class com.google.javascript.jscomp.newtypes.Namespace
-
- OUTPUT_MARKER - Static variable in class com.google.javascript.jscomp.CommandLineRunner
-
- outputTracerReport(PrintStream) - Method in class com.google.javascript.jscomp.PerformanceTracker
-
Prints a summary, which contains aggregate stats for all runs of each pass
and a log, which contains stats for each individual run.
- OVERRIDING_PROTOTYPE_WITH_NON_OBJECT - Static variable in class com.google.javascript.jscomp.TypeCheck
-
- overwriteDeclaredType(String, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Overrides a declared global type name.
P
- param - Variable in class com.google.javascript.jscomp.parsing.parser.trees.TypedParameterTree
-
- PARAM_LIST - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- parameter - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertySetterTree
-
- parameter - Variable in class com.google.javascript.jscomp.parsing.parser.trees.SetAccessorTree
-
- PARAMETERIZED_TYPE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- parameterizedType(Node.TypeDeclarationNode, Iterable<Node.TypeDeclarationNode>) - Static method in class com.google.javascript.jscomp.parsing.TypeDeclarationsIRFactory
-
Represents a parameterized, or generic, type.
- parameters - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FormalParameterListTree
-
- paramList() - Static method in class com.google.javascript.rhino.IR
-
- paramList(Node) - Static method in class com.google.javascript.rhino.IR
-
- paramList(Node...) - Static method in class com.google.javascript.rhino.IR
-
- paramList(List<Node>) - Static method in class com.google.javascript.rhino.IR
-
- ParenExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ParenExpressionTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ParenExpressionTree
-
- parse(String) - Method in interface com.google.debugging.sourcemap.SourceMapConsumer
-
Parses the given contents containing a source map to provide initialize
a class providing SourceMapping.
- parse(String) - Static method in class com.google.debugging.sourcemap.SourceMapConsumerFactory
-
- parse(String, SourceMapSupplier) - Static method in class com.google.debugging.sourcemap.SourceMapConsumerFactory
-
- parse(String) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
-
Parses the given contents containing a source map.
- parse(String, SourceMapSupplier) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
-
Parses the given contents containing a source map.
- parse(JsonObject) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
-
Parses the given contents containing a source map.
- parse(JsonObject, SourceMapSupplier) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
-
Parses the given contents containing a source map.
- parse() - Method in class com.google.javascript.jscomp.Compiler
-
- parse(SourceFile) - Method in class com.google.javascript.jscomp.Compiler
-
- parse(StaticSourceFile, String, Config, ErrorReporter) - Static method in class com.google.javascript.jscomp.parsing.ParserRunner
-
- parseDelimitedFrom(InputStream) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- parseDelimitedFrom(InputStream) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- parseDelimitedFrom(InputStream) - Static method in class com.google.javascript.jscomp.ConformanceConfig
-
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.ConformanceConfig
-
- parseDelimitedFrom(InputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- parseDelimitedFrom(InputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- parseDelimitedFrom(InputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
-
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
-
- parseDelimitedFrom(InputStream) - Static method in class com.google.javascript.jscomp.Instrumentation
-
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Instrumentation
-
- parseDelimitedFrom(InputStream) - Static method in class com.google.javascript.jscomp.Requirement
-
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Requirement
-
- ParseException() - Constructor for exception com.google.javascript.jscomp.parsing.parser.util.LookaheadErrorReporter.ParseException
-
- parseFile(String) - Method in class com.google.javascript.jscomp.deps.DepsFileParser
-
Parses the given file and returns a list of dependency information that it
contained.
- parseFile(String, String) - Method in class com.google.javascript.jscomp.deps.DepsFileParser
-
Parses the given file and returns a list of dependency information that it
contained.
- parseFile(String, String, String) - Method in class com.google.javascript.jscomp.deps.JsFileParser
-
Parses the given file and returns the dependency information that it
contained.
- parseFile(String, String) - Method in class com.google.javascript.jscomp.deps.JsFunctionParser
-
Parses the given file and returns the dependency information that it
contained.
- parseFileReader(String, Reader) - Method in class com.google.javascript.jscomp.deps.DepsFileParser
-
Parses the file from the given reader and returns a list of
dependency information that it contained.
- parseFrom(ByteString) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- parseFrom(byte[]) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- parseFrom(InputStream) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- parseFrom(CodedInputStream) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- parseFrom(ByteString) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- parseFrom(byte[]) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- parseFrom(InputStream) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- parseFrom(CodedInputStream) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- parseFrom(ByteString) - Static method in class com.google.javascript.jscomp.ConformanceConfig
-
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.ConformanceConfig
-
- parseFrom(byte[]) - Static method in class com.google.javascript.jscomp.ConformanceConfig
-
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.ConformanceConfig
-
- parseFrom(InputStream) - Static method in class com.google.javascript.jscomp.ConformanceConfig
-
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.ConformanceConfig
-
- parseFrom(CodedInputStream) - Static method in class com.google.javascript.jscomp.ConformanceConfig
-
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.ConformanceConfig
-
- parseFrom(ByteString) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- parseFrom(byte[]) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- parseFrom(InputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- parseFrom(CodedInputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- parseFrom(ByteString) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- parseFrom(byte[]) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- parseFrom(InputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- parseFrom(CodedInputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- parseFrom(ByteString) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
-
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
-
- parseFrom(byte[]) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
-
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
-
- parseFrom(InputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
-
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
-
- parseFrom(CodedInputStream) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
-
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.FunctionInformationMap
-
- parseFrom(ByteString) - Static method in class com.google.javascript.jscomp.Instrumentation
-
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Instrumentation
-
- parseFrom(byte[]) - Static method in class com.google.javascript.jscomp.Instrumentation
-
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Instrumentation
-
- parseFrom(InputStream) - Static method in class com.google.javascript.jscomp.Instrumentation
-
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Instrumentation
-
- parseFrom(CodedInputStream) - Static method in class com.google.javascript.jscomp.Instrumentation
-
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Instrumentation
-
- parseFrom(ByteString) - Static method in class com.google.javascript.jscomp.Requirement
-
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Requirement
-
- parseFrom(byte[]) - Static method in class com.google.javascript.jscomp.Requirement
-
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Requirement
-
- parseFrom(InputStream) - Static method in class com.google.javascript.jscomp.Requirement
-
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Requirement
-
- parseFrom(CodedInputStream) - Static method in class com.google.javascript.jscomp.Requirement
-
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.javascript.jscomp.Requirement
-
- parseInlineTypeDoc() - Method in class com.google.javascript.jscomp.parsing.JsDocInfoParser
-
Parse a description as a
@type
.
- parseLine(String) - Method in class com.google.javascript.jscomp.deps.DepsFileParser
-
Extracts dependency information from lines that look like
goog.addDependency('pathRelativeToClosure', ['provides'], ['requires']);
Adds the dependencies to depInfos.
- parseLine(String) - Method in class com.google.javascript.jscomp.deps.JsFileParser
-
Parses a line of JavaScript, extracting goog.provide and goog.require
information.
- parseLine(String) - Method in class com.google.javascript.jscomp.deps.JsFunctionParser
-
Parses a line of JavaScript, extracting dependency information.
- parseProgram() - Method in class com.google.javascript.jscomp.parsing.parser.Parser
-
- PARSER - Static variable in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- PARSER - Static variable in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- PARSER - Static variable in class com.google.javascript.jscomp.ConformanceConfig
-
- PARSER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- PARSER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- PARSER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap
-
- PARSER - Static variable in class com.google.javascript.jscomp.Instrumentation
-
- Parser - Class in com.google.javascript.jscomp.parsing.parser
-
Parses a javascript file.
- Parser(Parser.Config, ErrorReporter, SourceFile, int, boolean) - Constructor for class com.google.javascript.jscomp.parsing.parser.Parser
-
- Parser(Parser.Config, ErrorReporter, SourceFile, int) - Constructor for class com.google.javascript.jscomp.parsing.parser.Parser
-
- Parser(Parser.Config, ErrorReporter, SourceFile) - Constructor for class com.google.javascript.jscomp.parsing.parser.Parser
-
- PARSER - Static variable in class com.google.javascript.jscomp.Requirement
-
- Parser.Config - Class in com.google.javascript.jscomp.parsing.parser
-
- Parser.Config.Mode - Enum in com.google.javascript.jscomp.parsing.parser
-
- parseRegExp(String, String) - Static method in class com.google.javascript.jscomp.regex.RegExpTree
-
Parses a regular expression to an AST.
- ParseResult(Node, List<Comment>) - Constructor for class com.google.javascript.jscomp.parsing.ParserRunner.ParseResult
-
- ParserRunner - Class in com.google.javascript.jscomp.parsing
-
parser runner
- ParserRunner.ParseResult - Class in com.google.javascript.jscomp.parsing
-
Holds results of parsing.
- ParseTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
An abstract syntax tree for JavaScript parse trees.
- ParseTree(ParseTreeType, SourceRange) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- ParseTreeType - Enum in com.google.javascript.jscomp.parsing.parser.trees
-
The types of concrete parse trees.
- parseTypeString(String) - Static method in class com.google.javascript.jscomp.parsing.JsDocInfoParser
-
Parses a string containing a JsDoc type declaration, returning the
type if the parsing succeeded or
null
if it failed.
- parseTypeTransformation() - Method in class com.google.javascript.jscomp.parsing.TypeTransformationParser
-
Takes a type transformation expression, transforms it to an AST using
the ParserRunner of the JSCompiler and then verifies that it is a valid
AST.
- parts() - Method in class com.google.javascript.jscomp.JsMessage
-
Gets a read-only list of the parts of this message.
- pass - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
-
- PassConfig - Class in com.google.javascript.jscomp
-
Pass factories and meta-data for native Compiler passes.
- PassConfig(CompilerOptions) - Constructor for class com.google.javascript.jscomp.PassConfig
-
- PassConfig.State - Class in com.google.javascript.jscomp
-
Intermediate state for a running pass configuration.
- PassFactory - Class in com.google.javascript.jscomp
-
A factory for creating JSCompiler passes based on the Options
injected.
- PassFactory(String, boolean) - Constructor for class com.google.javascript.jscomp.PassFactory
-
- PathUtil - Class in com.google.javascript.jscomp.deps
-
Utility methods for manipulation of UNIX-like paths.
- peekToken() - Method in class com.google.javascript.jscomp.parsing.parser.Scanner
-
- peekToken(int) - Method in class com.google.javascript.jscomp.parsing.parser.Scanner
-
- PeepholeCollectPropertyAssignments - Class in com.google.javascript.jscomp
-
A pass that looks for assignments to properties of an object or array
immediately following its creation using the abbreviated syntax.
- PeepholeCollectPropertyAssignments() - Constructor for class com.google.javascript.jscomp.PeepholeCollectPropertyAssignments
-
- PerformanceTracker - Class in com.google.javascript.jscomp
-
A PerformanceTracker collects statistics about the runtime of each pass, and
how much a pass impacts the size of the compiled output, before and after
gzip.
- PerformanceTracker.Stats - Class in com.google.javascript.jscomp
-
A Stats object contains statistics about a pass run, such as running time,
size changes, etc
- PersistentMap<K,V> - Class in com.google.javascript.jscomp.newtypes
-
A persistent map with non-destructive additions and removals
- PersistentMap() - Constructor for class com.google.javascript.jscomp.newtypes.PersistentMap
-
- PersistentSet<K> - Class in com.google.javascript.jscomp.newtypes
-
A persistent set with non-destructive additions and removals
- PersistentSet() - Constructor for class com.google.javascript.jscomp.newtypes.PersistentSet
-
- PIPE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- PLACEHOLDER1 - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- PLACEHOLDER2 - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- placeholders() - Method in class com.google.javascript.jscomp.JsMessage
-
Gets a read-only set of the registered placeholders in this message.
- plus(JSType, JSType) - Static method in class com.google.javascript.jscomp.newtypes.JSType
-
- popEdgeAnnotations() - Method in class com.google.javascript.jscomp.graph.Graph
-
Restores edges' annotation values to state before last
Graph.pushEdgeAnnotations()
.
- popNodeAnnotations() - Method in class com.google.javascript.jscomp.graph.Graph
-
Restores nodes' annotation values to state before last
Graph.pushNodeAnnotations()
.
- pos(Node) - Static method in class com.google.javascript.rhino.IR
-
- POS - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- POST_FLAG - Static variable in class com.google.javascript.rhino.Node
-
- PostfixExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- PostfixExpressionTree(SourceRange, ParseTree, Token) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.PostfixExpressionTree
-
- PredefinedName - Class in com.google.javascript.jscomp.parsing.parser
-
The set of all non-keyword, non-reserved words used in javascript.
- preferLineBreakAtEndOfFile - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Prefer line breaks at end of file
- preserveGoogRequires - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Do not strip goog.require() calls from the code.
- preserveTypeAnnotations - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Do not strip closure-style type annotations from code.
- prettyPrint - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Output in pretty indented format
- print(JSDocInfo) - Static method in class com.google.javascript.jscomp.JSDocInfoPrinter
-
- printInputDelimiter - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Prints a separator comment before each JS script
- println(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.ant.AntErrorManager
-
- println(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.BasicErrorManager
-
Print a message with a trailing new line.
- println(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.LoggerErrorManager
-
- println(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.PrintStreamErrorManager
-
- println(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.testing.TestErrorManager
-
- PrintStreamErrorManager - Class in com.google.javascript.jscomp
-
An error manager that prints errors and warnings to the print stream
provided in addition to the functionality of the
BasicErrorManager
.
- PrintStreamErrorManager(MessageFormatter, PrintStream) - Constructor for class com.google.javascript.jscomp.PrintStreamErrorManager
-
Creates an error manager.
- PrintStreamErrorManager(PrintStream) - Constructor for class com.google.javascript.jscomp.PrintStreamErrorManager
-
Creates an instance with a source-less error formatter.
- printSummary() - Method in class com.google.javascript.jscomp.ant.AntErrorManager
-
- printSummary() - Method in class com.google.javascript.jscomp.BasicErrorManager
-
Print the summary of the compilation - number of errors and warnings.
- printSummary() - Method in class com.google.javascript.jscomp.LoggerErrorManager
-
- printSummary() - Method in class com.google.javascript.jscomp.PrintStreamErrorManager
-
- printSummary() - Method in class com.google.javascript.jscomp.testing.TestErrorManager
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.AstValidator
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.CallGraph
-
Builds a call graph for the given externsRoot and jsRoot.
- process(Node, Node) - Method in class com.google.javascript.jscomp.CheckConformance
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.CheckEventfulObjectDisposal
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.ClosureRewriteModule
-
- process(Node, Node) - Method in interface com.google.javascript.jscomp.CompilerPass
-
Process the JS with root node root.
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6ConvertSuper
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6RenameVariablesInParamLists
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteGenerators
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteLetConst
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6SplitVariableDeclarations
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6ToEs3ClassSideInheritance
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6ToEs3Converter
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.FieldCleanupPass
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.ImplicitNullabilityCheck
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.InlineProperties
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckEnums
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckInterfaces
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckNullableReturn
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckPrototypeProperties
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.NewTypeInference
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.ObjectPropertyStringPreprocess
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.ProcessCommonJSModules
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.TypeCheck
-
Main entry point for this phase of processing.
- processAllMatches(Collection<Match>) - Method in class com.google.javascript.refactoring.Scanner
-
Processes every given match at one time.
- ProcessCommonJSModules - Class in com.google.javascript.jscomp
-
Rewrites a CommonJS module http://wiki.commonjs.org/wiki/Modules/1.1.1
into a form that can be safely concatenated.
- processDefines() - Method in class com.google.javascript.jscomp.Compiler
-
Reprocesses the current defines over the AST.
- ProcessEs6Modules - Class in com.google.javascript.jscomp
-
Rewrites a ES6 module into a form that can be safely concatenated.
- processFile(Node) - Method in class com.google.javascript.jscomp.ProcessEs6Modules
-
- processForTesting(Node, Node) - Method in class com.google.javascript.jscomp.NewTypeInference
-
- processForTesting(Node, Node) - Method in class com.google.javascript.jscomp.TypeCheck
-
Main entry point of this phase for testing code.
- processMatch(Match) - Method in class com.google.javascript.refactoring.RefasterJsScanner
-
- processMatch(Match) - Method in class com.google.javascript.refactoring.Scanner
-
Processes one
Match
at a time.
- ProgramTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ProgramTree(SourceRange, ImmutableList<ParseTree>, ImmutableList<Comment>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ProgramTree
-
- propdef(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- property - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyDefinitionTree
-
- property - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyGetterTree
-
- property - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyMethodTree
-
- property - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertySetterTree
-
- Property - Class in com.google.javascript.rhino.jstype
-
A property slot of an object.
- propertyAccess() - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that matches any property access.
- propertyAccess(String) - Static method in class com.google.javascript.refactoring.Matchers
-
- propertyMap - Variable in class com.google.javascript.jscomp.Result
-
- propertyName - Variable in class com.google.javascript.jscomp.parsing.parser.trees.GetAccessorTree
-
- propertyName - Variable in class com.google.javascript.jscomp.parsing.parser.trees.SetAccessorTree
-
- propertyNameAndValues - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ObjectLiteralExpressionTree
-
- PropertyNameAssignmentTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- PropertyNameAssignmentTree(SourceRange, Token, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.PropertyNameAssignmentTree
-
- propertyRenaming - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Controls which properties get renamed.
- PropertyRenamingPolicy - Enum in com.google.javascript.jscomp
-
Policies to determine how properties should be renamed.
- Protocol - Class in com.google.javascript.jscomp.webservice.common
-
All the strings used by the webservice protocol.
- Protocol.ApiKeyResponse - Enum in com.google.javascript.jscomp.webservice.common
-
Fields in the JSON response from the ApiKeyGenerationServlet.
- Protocol.CompilationLevelKey - Enum in com.google.javascript.jscomp.webservice.common
-
- Protocol.FormattingKey - Enum in com.google.javascript.jscomp.webservice.common
-
All the possible values for the FORMATTING key.
- Protocol.OutputFormatKey - Enum in com.google.javascript.jscomp.webservice.common
-
- Protocol.OutputInfoKey - Enum in com.google.javascript.jscomp.webservice.common
-
All the possible values for the OUTPUT_INFO key.
- Protocol.ProtocolEnum - Interface in com.google.javascript.jscomp.webservice.common
-
All enums that need to be shared between the Java and JS code should
implement this interface.
- Protocol.RequestKey - Enum in com.google.javascript.jscomp.webservice.common
-
All the keys that can be part of the http request.
- Protocol.ResponseTag - Enum in com.google.javascript.jscomp.webservice.common
-
All the xml/json tags that can be returned by the backend if xml or json is
selected as the output mode.
- Protocol.WarningLevelKey - Enum in com.google.javascript.jscomp.webservice.common
-
- prototypeMethodDeclaration() - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that matches a declaration of a method on the
prototype of a class.
- PrototypeObjectType - Class in com.google.javascript.rhino.jstype
-
The object type represents instances of JavaScript objects such as
Object
, Date
, Function
.
- prototypeVariableDeclaration() - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that matches a declaration of a variable on the
prototype of a class.
- Proxy(CodingConvention) - Constructor for class com.google.javascript.jscomp.CodingConventions.Proxy
-
- ProxyObjectType - Class in com.google.javascript.rhino.jstype
-
An object type which uses composition to delegate all calls.
- pushEdgeAnnotations() - Method in class com.google.javascript.jscomp.graph.Graph
-
Pushes edges' annotation values.
- pushNodeAnnotations() - Method in class com.google.javascript.jscomp.graph.Graph
-
Pushes nodes' annotation values.
- putBooleanProp(int, boolean) - Method in class com.google.javascript.rhino.Node
-
- putIntProp(int, int) - Method in class com.google.javascript.rhino.Node
-
- putProp(int, Object) - Method in class com.google.javascript.rhino.Node
-
- putType(String, JSType) - Method in class com.google.javascript.jscomp.newtypes.TypeEnv
-
Q
- QMARK - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- QualifiedName - Class in com.google.javascript.jscomp.newtypes
-
Represents a qualified name.
- QualifiedName(String) - Constructor for class com.google.javascript.jscomp.newtypes.QualifiedName
-
- QUOTED_PROP - Static variable in class com.google.javascript.rhino.Node
-
R
- RANGE_ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- RANGE_ERROR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- RAW_STRING_VALUE - Static variable in class com.google.javascript.rhino.Node
-
- REACHABLE - Static variable in class com.google.javascript.jscomp.graph.GraphReachability
-
- rebuildInputsFromModules() - Method in class com.google.javascript.jscomp.Compiler
-
Rebuilds the internal list of inputs by iterating over all modules.
- recentChange - Variable in class com.google.javascript.jscomp.Compiler
-
- recompute(N) - Method in class com.google.javascript.jscomp.graph.GraphReachability
-
- reconcileOptionsWithGuards() - Method in class com.google.javascript.jscomp.Compiler
-
When the CompilerOptions and its WarningsGuard overlap, reconcile
any discrepencies.
- RECORD_TYPE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- recordBaseType(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a base type.
- recordBlockDescription(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a block-level description.
- recordComment(Comment.Type, SourceRange, String) - Method in interface com.google.javascript.jscomp.parsing.parser.Scanner.CommentRecorder
-
- recordConsistentIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that the
JSDocInfo
being built should have its
JSDocInfo.isConsistentIdGenerator()
flag set to
true
.
- recordConstancy() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- recordConstructor() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- recordDefineType(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records the type of a define.
- recordDeprecated() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- recordDeprecationReason(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records the deprecation reason.
- recordDescription(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a description giving context for translation (i18n).
- recordDict() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- recordDisposesParameter(List<String>) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a parameter that gets disposed.
- recordEnumParameterType(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a parameter type to an enum.
- recordExport() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- recordExpose() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- recordExtendedInterface(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records an extended interface type.
- recordExterns() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- recordFileOverview(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a fileoverview description.
- recordFunctionInformation - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Record function information
- recordHiddenness() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- recordIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- recordImplementedInterface(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records an implemented interface.
- recordImplicitCast() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- recordInlineType() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- recordInterface() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- recordJaggerInject(boolean) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records annotation with
@jaggerInject
.
- recordJaggerModule(boolean) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records annotation with
@jaggerModule
.
- recordJaggerProvide(boolean) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records annotation with
@jaggerProvide
.
- recordJaggerProvidePromise(boolean) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records annotation with
@jaggerProvide
.
- recordLends(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that we're lending to another name.
- recordMappedIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that the
JSDocInfo
being built should have its JSDocInfo.isStableIdGenerator()
flag set to true
.
- recordMeaning(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a meaning giving context for translation (i18n).
- recordModifies(Set<String>) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records the list of modifies warnings.
- recordNgInject(boolean) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that we'd like to add
$inject
property inferred from
parameters.
- recordNoAlias() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- recordNoCompile() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- recordNoSideEffects() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that the
JSDocInfo
being built should have its
JSDocInfo.isNoSideEffects()
flag set to true
.
- recordOriginalCommentPosition(int) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Sets the position of original JSDoc comment.
- recordOriginalCommentString(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Sets the original JSDoc comment string.
- recordOverride() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- recordParameter(String, JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a typed parameter.
- recordParameterDescription(String, String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a parameter's description.
- recordPreserveTry() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that the
JSDocInfo
being built should have its
JSDocInfo.shouldPreserveTry()
flag set to true
.
- recordReturnDescription(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a return description
- recordReturnType(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a return type.
- recordStableIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that the
JSDocInfo
being built should have its JSDocInfo.isStableIdGenerator()
flag set to true
.
- recordStruct() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- recordSuppressions(Set<String>) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records the list of suppressed warnings.
- recordTemplateTypeName(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a template type name.
- recordThisType(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a type for
@this
annotation.
- recordThrowDescription(JSTypeExpression, String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a throw type's description.
- recordThrowType(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a thrown type.
- recordType(LinkedHashMap<String, Node.TypeDeclarationNode>) - Static method in class com.google.javascript.jscomp.parsing.TypeDeclarationsIRFactory
-
Represents a structural type.
- recordType(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a type.
- RecordType - Class in com.google.javascript.rhino.jstype
-
A record (structural) type.
- RecordTypeBuilder - Class in com.google.javascript.rhino.jstype
-
A builder for record types.
- RecordTypeBuilder(JSTypeRegistry) - Constructor for class com.google.javascript.rhino.jstype.RecordTypeBuilder
-
- recordTypedef(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that the
JSDocInfo
being built should be populated
with a typedef
'd type.
- recordTypeTransformation(String, Node) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a type transformation expression together with its template
type name.
- recordUnrestricted() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that the
JSDocInfo
being built should have its
JSDocInfo.makesUnrestricted()
flag set to true
.
- recordVersion(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records the version.
- recordVisibility(JSDocInfo.Visibility) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a visibility.
- recordWizaction() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that this method is to be exposed as a wizaction.
- reduceToMinimum(CharRanges) - Static method in class com.google.javascript.jscomp.regex.CaseCanonicalize
-
Given a character range that may include case sensitive code-units,
such as
[0-9B-M]
, returns the character range that includes
the minimal set of code units such that for every code unit in the
input there is a case-sensitively equivalent canonical code unit in the
output.
- RefactoringDriver - Class in com.google.javascript.refactoring
-
Primary driver of a refactoring.
- RefactoringDriver.Builder - Class in com.google.javascript.refactoring
-
- RefasterJsScanner - Class in com.google.javascript.refactoring
-
Class that drives the RefasterJs refactoring by matching against a provided
template JS file and then applying a transformation based off the template
JS.
- RefasterJsScanner() - Constructor for class com.google.javascript.refactoring.RefasterJsScanner
-
- REFERENCE_ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- REFERENCE_ERROR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- REFLECTED_OBJECT - Static variable in class com.google.javascript.rhino.Node
-
- regexp(Node) - Static method in class com.google.javascript.rhino.IR
-
- regexp(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- REGEXP - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- REGEXP_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- REGEXP_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- RegExpTree - Class in com.google.javascript.jscomp.regex
-
An AST for JavaScript regular expressions.
- RegExpTree() - Constructor for class com.google.javascript.jscomp.regex.RegExpTree
-
- Region - Interface in com.google.javascript.jscomp
-
Source code region.
- registerAllExtensions(ExtensionRegistry) - Static method in class com.google.debugging.sourcemap.proto.Mapping
-
- registerAllExtensions(ExtensionRegistry) - Static method in class com.google.javascript.jscomp.Conformance
-
- registerAllExtensions(ExtensionRegistry) - Static method in class com.google.javascript.jscomp.FunctionInfo
-
- registerAllExtensions(ExtensionRegistry) - Static method in class com.google.javascript.jscomp.InstrumentationTemplate
-
- registerPropertyOnType(String, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Tells the type system that
owner
may have a property named
propertyName
.
- registry - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- remove(CompilerInput) - Method in class com.google.javascript.jscomp.JSModule
-
Removes an input from this module.
- removeAll() - Method in class com.google.javascript.jscomp.JSModule
-
Removes all of the inputs from this module.
- removeByName(String) - Method in class com.google.javascript.jscomp.JSModule
-
Removes any input with the given name.
- removeCast(Node, AbstractCompiler) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Removes a cast from the given node.
- removeChild(Node) - Method in class com.google.javascript.rhino.Node
-
Detach a child from its parent and siblings.
- removeChildAfter(Node) - Method in class com.google.javascript.rhino.Node
-
- removeChildren() - Method in class com.google.javascript.rhino.Node
-
- removeDeadCode - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Removes code that will never execute
- removeEntry(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- removeExtension(String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Removes an extension by name if present.
- removeExternInput(InputId) - Method in class com.google.javascript.jscomp.Compiler
-
Removes an input file from AST.
- removeFirstChild() - Method in class com.google.javascript.rhino.Node
-
Removes the first child of Node.
- removeGoogRequire(Match, String) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Removes a goog.require for the given namespace to the file if it
already exists.
- removeModule(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- removeProp(int) - Method in class com.google.javascript.rhino.Node
-
- removeProperty(String) - Method in class com.google.javascript.rhino.jstype.NoObjectType
-
- removeProperty(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Removes the declared or inferred property from this ObjectType.
- removeProperty(String) - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
- removeProperty(String) - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- removeRequirement(int) - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
repeated .jscomp.Requirement requirement = 1;
- removeType(JSType) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- removeUnusedClassProperties - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Removes unused member properties
- removeUnusedLocalVars - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Removes unused variables in local scope.
- removeUnusedPrototypeProperties - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Removes unused member prototypes
- removeUnusedPrototypePropertiesInExterns - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Tells AnalyzePrototypeProperties it can remove externed props.
- removeUnusedVars - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Removes unused variables
- rename(Node, String) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Renames a given node to the provided name.
- rename(Node, String, boolean) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Renames a given node to the provided name.
- renamePrefix - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Specifies a prefix for all globals
- renamePrefixNamespace - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Specifies the name of an object that will be used to store all non-extern
globals.
- RenamingMap - Interface in com.google.javascript.jscomp
-
Interface used by to substitute names.
- replace(Node, Node, AbstractCompiler) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Replaces the provided node with new node in the source file.
- replaceChild(Node, Node) - Method in class com.google.javascript.rhino.Node
-
Detaches child from Node and replaces it with newChild.
- replaceChildAfter(Node, Node) - Method in class com.google.javascript.rhino.Node
-
- replaceScript(JsAst) - Method in class com.google.javascript.jscomp.Compiler
-
Replaces one file in a hot-swap mode.
- report(JSError) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Report an error or warning.
- report(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.BasicErrorManager
-
- report(JSError) - Method in class com.google.javascript.jscomp.Compiler
-
- report(NodeTraversal, Node, ConformanceRules.ConformanceResult) - Method in class com.google.javascript.jscomp.ConformanceRules.AbstractRule
-
Report a conformance warning for the given node.
- report(CheckLevel, JSError) - Method in interface com.google.javascript.jscomp.ErrorHandler
-
- report(CheckLevel, JSError) - Method in interface com.google.javascript.jscomp.ErrorManager
-
Reports an error.
- report(Node, DiagnosticType, String...) - Method in class com.google.javascript.jscomp.NodeTraversal
-
Reports a diagnostic (error or warning)
- report(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.testing.TestErrorManager
-
- report(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard.WhitelistBuilder
-
- REPORT_CALL_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Instrumentation
-
- REPORT_DEFINED_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Instrumentation
-
- REPORT_EXIT_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Instrumentation
-
- REPORT_UNKNOWN_TYPES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- reportCodeChange() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Report code changes.
- reportCodeChange() - Method in class com.google.javascript.jscomp.Compiler
-
- reportError(SourcePosition, String, Object...) - Method in class com.google.javascript.jscomp.parsing.parser.util.ErrorReporter
-
- reportMessage(SourcePosition, String, String, Object...) - Method in class com.google.javascript.jscomp.parsing.parser.util.ErrorReporter
-
- reportMessage(SourcePosition, String) - Method in class com.google.javascript.jscomp.parsing.parser.util.ErrorReporter
-
- reportMessage(SourcePosition, String, String, Object...) - Method in class com.google.javascript.jscomp.parsing.parser.util.LookaheadErrorReporter
-
- reportMessage(SourcePosition, String) - Method in class com.google.javascript.jscomp.parsing.parser.util.LookaheadErrorReporter
-
- reportMissingOverride - Variable in class com.google.javascript.jscomp.CompilerOptions
-
- reportWarning(SourcePosition, String, Object...) - Method in class com.google.javascript.jscomp.parsing.parser.util.ErrorReporter
-
- RequireFileoverviewVisibility(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.RequireFileoverviewVisibility
-
- Requirement - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.Requirement
- Requirement.Builder - Class in com.google.javascript.jscomp
-
Protobuf type
jscomp.Requirement
- Requirement.Type - Enum in com.google.javascript.jscomp
-
Protobuf enum
jscomp.Requirement.Type
- REQUIREMENT_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.ConformanceConfig
-
- RequirementOrBuilder - Interface in com.google.javascript.jscomp
-
- reserveRawExports - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Reserve property names on the global this object.
- reset() - Method in interface com.google.debugging.sourcemap.SourceMapGenerator
-
Resets the source map for reuse.
- reset() - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Resets the source map for reuse.
- reset() - Method in class com.google.javascript.jscomp.SourceMap
-
- resetForTypeCheck() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Reset to run the TypeCheck pass.
- resetImplicitPrototype(JSType, ObjectType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Set the implicit prototype if it's possible to do so.
- resetMaximumInputSize() - Static method in class com.google.javascript.jscomp.webservice.common.Protocol
-
Reset the maximum input size so that the property key is rechecked.
- resetWarningsGuard() - Method in class com.google.javascript.jscomp.CompilerOptions
-
Reset the warnings guard.
- resolve(ErrorReporter, StaticScope<JSType>) - Method in class com.google.javascript.rhino.jstype.JSType
-
Resolve this type in the given scope.
- resolve(JSTypeExpression, String...) - Method in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
Resolves a type expression, expecting the given warnings.
- resolveEnum(EnumType, DeclaredTypeRegistry) - Method in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- resolveTypedef(Typedef, DeclaredTypeRegistry) - Method in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- resolveTypesInScope(StaticScope<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Resolve all the unresolved types in the given scope.
- rest(String) - Static method in class com.google.javascript.rhino.IR
-
- REST - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- REST_PARAMETER_TYPE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- RestParameterTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- RestParameterTree(SourceRange, IdentifierToken) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.RestParameterTree
-
- restParams(Node.TypeDeclarationNode) - Static method in class com.google.javascript.jscomp.parsing.TypeDeclarationsIRFactory
-
Represents a function parameter type which may be repeated.
- restrictByNotNullOrUndefined() - Method in class com.google.javascript.rhino.jstype.JSType
-
If this is a union type, returns a union type that does not include
the null or undefined type.
- restrictByNotNullOrUndefined() - Method in class com.google.javascript.rhino.jstype.NullType
-
- restrictByNotNullOrUndefined() - Method in class com.google.javascript.rhino.jstype.UnionType
-
- restrictByNotNullOrUndefined() - Method in class com.google.javascript.rhino.jstype.VoidType
-
- restrictByNotNullOrUndefined() - Method in interface com.google.javascript.rhino.TypeI
-
- RESTRICTED_METHOD_CALL_VALUE - Static variable in enum com.google.javascript.jscomp.Requirement.Type
-
RESTRICTED_METHOD_CALL = 8;
- RESTRICTED_NAME_CALL_VALUE - Static variable in enum com.google.javascript.jscomp.Requirement.Type
-
RESTRICTED_NAME_CALL = 7;
- Result - Class in com.google.javascript.jscomp
-
Compilation results
- Result(JSError[], JSError[], String, VariableMap, VariableMap, VariableMap, FunctionInformationMap, SourceMap, String) - Constructor for class com.google.javascript.jscomp.Result
-
- RETURN - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- returnNode() - Static method in class com.google.javascript.rhino.IR
-
- returnNode(Node) - Static method in class com.google.javascript.rhino.IR
-
- ReturnStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ReturnStatementTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ReturnStatementTree
-
- returnType - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
-
- ReverseAbstractInterpreter - Interface in com.google.javascript.jscomp.type
-
This interface defines what reversed abstract interpreters provide.
- rewriteFunctionExpressions - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Reduces the size of common function expressions.
- right - Variable in class com.google.javascript.jscomp.parsing.parser.trees.BinaryOperatorTree
-
- right - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ConditionalExpressionTree
-
- RSH - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- RULE_ID_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Requirement
-
- runs - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
-
- runtime - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
-
S
- save(String) - Method in class com.google.javascript.jscomp.VariableMap
-
Saves the variable map to a file.
- Scanner - Class in com.google.javascript.jscomp.parsing.parser
-
Scans javascript source code into tokens.
- Scanner(ErrorReporter, Scanner.CommentRecorder, SourceFile) - Constructor for class com.google.javascript.jscomp.parsing.parser.Scanner
-
- Scanner(ErrorReporter, Scanner.CommentRecorder, SourceFile, int) - Constructor for class com.google.javascript.jscomp.parsing.parser.Scanner
-
- Scanner - Class in com.google.javascript.refactoring
-
Class that developers should implement to perform a JsFlume refactoring.
- Scanner() - Constructor for class com.google.javascript.refactoring.Scanner
-
- Scanner.CommentRecorder - Interface in com.google.javascript.jscomp.parsing.parser
-
- 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.
- 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(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
-
- ServiceException - Exception in com.google.javascript.jscomp.deps
-
An exception thrown by the compilation service.
- ServiceException(String) - Constructor for exception com.google.javascript.jscomp.deps.ServiceException
-
- SET - Static variable in class com.google.javascript.jscomp.parsing.parser.PredefinedName
-
- setAcceptConstKeyword(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
If true, accept `const' keyword.
- SetAccessorTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- SetAccessorTree(SourceRange, Token, boolean, IdentifierToken, BlockTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.SetAccessorTree
-
- setAggressiveRenaming(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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
-
- 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.
- setAnnotation(Annotation) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDirectedGraphNode
-
- setAnonymousFunctionNaming(AnonymousFunctionNamingPolicy) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setAppNameSetter(String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string app_name_setter = 5;
- setAppNameSetterBytes(ByteString) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string app_name_setter = 5;
- setAppNameStr(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
App identifier string for use by the instrumentation template's
app_name_setter.
- setArrayType(NominalType.RawNominalType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- 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.
- setBooleanInstance(JSType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- 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.
- setChangeTime(int) - Method in class com.google.javascript.rhino.Node
-
This node was last changed at
time
- setCharno(int) - Method in class com.google.javascript.rhino.Node
-
- setCheckDeterminism(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCheckEventfulObjectDisposalPolicy(CheckEventfulObjectDisposal.DisposalCheckingPolicy) - 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
-
Deprecated.
- 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
-
- 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
-
- 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
-
optional int32 column_position = 2;
- setColumnPosition(int) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
optional int32 column_position = 3;
- setCommonJSModulePathPrefix(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets a path prefix for CommonJS modules.
- setCompilationLevel(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set the compilation level.
- setCompiledSource(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string compiled_source = 8;
- setCompiledSource(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string compiled_source = 103;
- setCompiledSourceBytes(ByteString) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string compiled_source = 8;
- setCompiledSourceBytes(ByteString) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string compiled_source = 103;
- setCompiler(AbstractCompiler) - Method in class com.google.javascript.jscomp.CompilerInput
-
Sets an abstract compiler for doing parsing.
- setCompilerOptions(CompilerOptions) - Method in class com.google.javascript.jscomp.CodePrinter.Builder
-
Sets the output options from compiler options.
- setComputeFunctionSideEffects(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setConformanceConfig(ConformanceConfig) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Both enable and configure conformance checks, if non-null.
- setConformanceConfigs(List<ConformanceConfig>) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Both enable and configure conformance checks, if non-null.
- 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
-
- setCtorFunction(FunctionType, NominalType) - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- 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
-
repeated string declaration_to_remove = 3;
- 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.
- setDisambiguatePrivateProperties(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setDisambiguateProperties(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setDouble(double) - Method in class com.google.javascript.rhino.Node
-
Can only be called when getType() == Token.NUMBER
- setEncoding(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set input file encoding
- setEntry(int, FunctionInformationMap.Entry) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- setEntry(int, FunctionInformationMap.Entry.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- setEntryPoints(Collection<String>) - Method in class com.google.javascript.jscomp.DependencyOptions
-
Adds a collection of symbols to always keep.
- setErrorFormat(ErrorFormat) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setErrorHandler(ErrorHandler) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Set a custom handler for warnings and errors.
- setErrorManager(ErrorManager) - Method in class com.google.javascript.jscomp.Compiler
-
Sets the error manager.
- setErrorMessage(String) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string error_message = 1;
- setErrorMessageBytes(ByteString) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string error_message = 1;
- setErrors(String[]) - Method in class com.google.javascript.rhino.testing.TestErrorReporter
-
- setExportLocalPropertyDefinitions(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setExportTestFunctions(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setExtendedInterfaces(List<ObjectType>) - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- setExtends(String) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string extends = 10;
- setExtendsBytes(ByteString) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string extends = 10;
- 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
-
- setExtractPrototypeMemberDeclarations(CompilerOptions.ExtractPrototypeMemberDeclarationsMode) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setExtraSmartNameRemoval(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
- setFunctionType(NominalType.RawNominalType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- 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
-
- setGeneratorMarker(boolean) - Method in class com.google.javascript.rhino.Node
-
Sets whether this node is a marker used in the translation of generators.
- setGeneratorSafe(boolean) - Method in class com.google.javascript.rhino.Node
-
- setGeneratorTarget(String) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard.WhitelistBuilder
-
Fill in instructions on how to generate this whitelist.
- setGroup(String) - Method in class com.google.javascript.jscomp.ant.Warning
-
- setGroupVariableDeclarations(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setId(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required int32 id = 2;
- setIdeMode(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setIdentifier(String) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
optional string identifier = 4;
- setIdentifierBytes(ByteString) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
optional string identifier = 4;
- setIdGenerators(Set<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the id generators to replace.
- setIdGenerators(Map<String, RenamingMap>) - 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).
- 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.
- setInferConst(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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
-
repeated string init = 4;
- 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
-
- setInputVariableMap(VariableMap) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setInstrumentationTemplate(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setInstrumentForCoverage(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Set whether or not code should be modified to provide coverage
information.
- 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.
- setIsAddedBlock(boolean) - Method in class com.google.javascript.rhino.Node
-
Sets whether this is an added block that should not be considered
a real source block.
- setIsArrowFunction(boolean) - Method in class com.google.javascript.rhino.Node
-
Sets whether this node is a arrow function node.
- setIsConstructor(boolean) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
-
Set whether this is a constructor.
- setIsGeneratorFunction(boolean) - Method in class com.google.javascript.rhino.Node
-
Sets whether this node is a generator node.
- 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.
- setJavaClass(String) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string java_class = 8;
- setJavaClassBytes(ByteString) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string java_class = 8;
- setJSDocInfo(JSDocInfo) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Sets the docInfo for this type from the given
JSDocInfo
.
- setJSDocInfo(JSDocInfo) - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- setJSDocInfo(JSDocInfo) - Method in class com.google.javascript.rhino.Node
-
Sets the
JSDocInfo
attached to this node.
- setJSType(JSType) - Method in class com.google.javascript.rhino.Node
-
- setJsTypeExpression(JSTypeExpression) - 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
-
- setLanguage(CompilerOptions.LanguageMode) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets ECMAScript version to use.
- 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 ECMAScript version to use for the input.
- setLanguageOut(CompilerOptions.LanguageMode) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets ECMAScript version to use for the output.
- 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.CodePrinter.Builder
-
Sets whether line breaking should be done automatically.
- 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
-
optional int32 line_number = 1;
- setLineNumber(int) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
optional int32 line_number = 2;
- setLineNumber(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required int32 line_number = 4;
- setLocale(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setLoggingLevel(Level) - Static method in class com.google.javascript.jscomp.Compiler
-
Sets the logging level for the com.google.javascript.jscomp package.
- 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
-
- setMaxFunctionSizeAfterInlining(int) - 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
-
repeated group Module = 101 { ...
- setModule(int, FunctionInformationMap.Module.Builder) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Module = 101 { ...
- setModuleName(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string module_name = 5;
- setModuleNameBytes(ByteString) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string module_name = 5;
- setMoocherDropping(boolean) - Method in class com.google.javascript.jscomp.DependencyOptions
-
Enables or disables moocher dropping mode.
- setMoveFunctionDeclarations(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setMutatesArguments() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
-
- setMutatesGlobalState() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
-
- setMutatesThis() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
-
- setName(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string name = 7;
- setName(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string name = 102;
- setNameBytes(ByteString) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string name = 7;
- setNameBytes(ByteString) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module.Builder
-
required string name = 102;
- setNameReferenceGraphPath(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Where to save the name reference graph
- setNameReferenceReportPath(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Where to save a cross-reference report from the name reference graph
- setNewTypeInference(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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.
- setNumberInstance(JSType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- setObjectType(NominalType.RawNominalType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- setOnlyApplyTo(int, String) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string only_apply_to = 4;
- setOnlyApplyToRegexp(int, String) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string only_apply_to_regexp = 5;
- 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
-
optional string original_file = 1;
- setOriginalFileBytes(ByteString) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder
-
optional string original_file = 1;
- setOriginalMapping(Mapping.OriginalMapping) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
optional .sourcemap.OriginalMapping original_mapping = 3;
- setOriginalMapping(Mapping.OriginalMapping.Builder) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder
-
optional .sourcemap.OriginalMapping original_mapping = 3;
- setOriginalMatchedNode(Node) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Sets the node on this SuggestedFix that caused this SuggestedFix to be built
in the first place.
- 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
-
- setOutputTypes(boolean) - Method in class com.google.javascript.jscomp.CodePrinter.Builder
-
Sets whether to output closure-style type annotations.
- setOutputWrapper(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set output wrapper.
- setOutputWrapperFile(File) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set output wrapper file.
- setParentModuleCanSeeSymbolsDeclaredInChildren(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.
- setPreferStableNames(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setPrefixMappings(List<SourceMap.LocationMapping>) - Method in class com.google.javascript.jscomp.SourceMap
-
- setPreserveGoogRequires(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setPreserveTypeAnnotations(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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.CodePrinter.Builder
-
Sets whether pretty printing should be used.
- 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!
- setPropertyInvalidationErrors(Map<String, CheckLevel>) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the list of properties that we report property invalidation errors
for.
- setPropertyJSDocInfo(String, JSDocInfo) - Method in class com.google.javascript.rhino.jstype.NoObjectType
-
- setPropertyJSDocInfo(String, JSDocInfo) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Sets the docInfo for the specified property from the
JSDocInfo
on its definition.
- setPropertyJSDocInfo(String, JSDocInfo) - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
- setPropertyJSDocInfo(String, JSDocInfo) - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- 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
-
- setRegexpInstance(JSType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- 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
-
- setRemoveUnusedClassProperties(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setRemoveUnusedConstructorProperties(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
-
- 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
-
optional string report_call = 2;
- setReportCallBytes(ByteString) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string report_call = 2;
- setReportDefined(String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string report_defined = 1;
- setReportDefinedBytes(ByteString) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string report_defined = 1;
- setReportExit(String) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string report_exit = 6;
- setReportExitBytes(ByteString) - Method in class com.google.javascript.jscomp.Instrumentation.Builder
-
optional string report_exit = 6;
- 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
- setRequirement(int, Requirement) - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
repeated .jscomp.Requirement requirement = 1;
- setRequirement(int, Requirement.Builder) - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
repeated .jscomp.Requirement requirement = 1;
- setReserveRawExports(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setReturnsTainted() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
-
- setRewriteEs6Modules(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Rewrites ES6 modules so that modules can be concatenated together,
by renaming all globals to avoid conflicting with other modules.
- setRewriteFunctionExpressions(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setRuleId(String) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string rule_id = 9;
- setRuleIdBytes(ByteString) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional string rule_id = 9;
- setRuntimeTypeCheck(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setRuntimeTypeCheckLogFunction(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setSaveDataStructures(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Whether to keep internal data structures around after we're
finished compiling.
- setShadowVariables(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Should shadow outer scope variable name during renaming.
- setShortcutMode(boolean) - Method in class com.google.javascript.jscomp.deps.JsFileLineParser
-
In shortcut mode, the file line parser can stop reading early if
it thinks it found enough information.
- setSideEffectFlags(int) - Method in class com.google.javascript.rhino.Node
-
Marks this function or constructor call's side effect flags.
- setSideEffectFlags(Node.SideEffectFlags) - Method in class com.google.javascript.rhino.Node
-
- setSize(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required int32 size = 6;
- setSkipAllPasses(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setSmartNameRemoval(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setSource(DiGraph.DiGraphNode<N, E>) - Method in interface com.google.javascript.jscomp.graph.DiGraph.DiGraphEdge
-
- setSource(Node) - Method in interface com.google.javascript.rhino.FunctionTypeI
-
- 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 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.
- setSourceMap(SourceMap) - Method in class com.google.javascript.jscomp.CodePrinter.Builder
-
Sets the source map to which to write the metadata about
the generated source code.
- 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
-
- setSourceMapLocationMapping(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
- setSourceMapLocationMappings(List<SourceMap.LocationMapping>) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setSourceMapOutputFile(File) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
- setSourceMapOutputPath(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setSourceName(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string source_name = 3;
- setSourceName(String) - Method in class com.google.javascript.jscomp.JsMessage.Builder
-
- setSourceNameBytes(ByteString) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required string source_name = 3;
- setSourceRoot(String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
A prefix to be added to the beginning of each sourceName passed to
SourceMapGeneratorV3.addMapping(java.lang.String, java.lang.String, com.google.debugging.sourcemap.FilePosition, com.google.debugging.sourcemap.FilePosition, com.google.debugging.sourcemap.FilePosition)
.
- 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.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.
- setStaticMember(boolean) - Method in class com.google.javascript.rhino.Node
-
Sets whether this node is a static member node.
- 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.
- setStringInstance(JSType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- 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
-
- setTagAsStrict(boolean) - Method in class com.google.javascript.jscomp.CodePrinter.Builder
-
Set whether the output should be tags as ECMASCRIPT 5 Strict.
- 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
-
- setTimeout(int) - Method in class com.google.javascript.jscomp.Compiler
-
Sets the timeout when Compiler is run in a thread
- 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.
- setTranspileOnly(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Only do transpilation, don't inject es6_runtime.js or
do any optimizations (this is useful for per-file transpilation).
- 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(Requirement.Type) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional .jscomp.Requirement.Type type = 6;
- 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.
- setTypeI(TypeI) - Method in class com.google.javascript.rhino.Node
-
- setTypeRegistry(JSTypeRegistry) - Method in class com.google.javascript.jscomp.CodePrinter.Builder
-
- 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.NamedType
-
- setValidator(Predicate<JSType>) - Method in class com.google.javascript.rhino.jstype.UnionType
-
- setValue(int, String) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string value = 7;
- 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
-
- setWhitelist(int, String) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string whitelist = 2;
- setWhitelistRegexp(int, String) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
repeated string whitelist_regexp = 3;
- 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.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
-
- setYieldFor(boolean) - Method in class com.google.javascript.rhino.Node
-
Sets whether this node is a generator node.
- 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(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
"!=="
- 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
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.ClosureRewriteModule
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.ControlFlowGraph.AbstractCfgNodeTraversalCallback
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6ConvertSuper
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6ToEs3Converter
-
Some nodes (such as arrow functions) must be visited pre-order in order to rewrite the
references to
this
correctly.
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckNullableReturn
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckPrototypeProperties
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractNodeTypePruningCallback
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractPostOrderCallback
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractScopedCallback
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractShallowCallback
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractShallowStatementCallback
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in interface com.google.javascript.jscomp.NodeTraversal.Callback
-
Visits a node in pre order (before visiting its children) and decides
whether this node's children should be traversed.
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.TypeCheck
-
- ShowByPathWarningsGuard - Class in com.google.javascript.jscomp
-
Control whether warnings should be restricted or suppressed for specified
paths.
- ShowByPathWarningsGuard(String) - Constructor for class com.google.javascript.jscomp.ShowByPathWarningsGuard
-
- ShowByPathWarningsGuard(String[]) - Constructor for class com.google.javascript.jscomp.ShowByPathWarningsGuard
-
- ShowByPathWarningsGuard(String, ShowByPathWarningsGuard.ShowType) - Constructor for class com.google.javascript.jscomp.ShowByPathWarningsGuard
-
- ShowByPathWarningsGuard(String[], ShowByPathWarningsGuard.ShowType) - Constructor for class com.google.javascript.jscomp.ShowByPathWarningsGuard
-
- ShowByPathWarningsGuard.ShowType - Enum in com.google.javascript.jscomp
-
Controls whether warnings should be restricted to a specified path or
suppressed within the specified path.
- siblings() - Method in class com.google.javascript.rhino.Node
-
Return an iterable object that iterates over this node's siblings.
- SIDE_EFFECT_FLAGS - Static variable in class com.google.javascript.rhino.Node
-
- SIDE_EFFECTS_ALL - Static variable in class com.google.javascript.rhino.Node
-
- SIDE_EFFECTS_FLAGS_MASK - Static variable in class com.google.javascript.rhino.Node
-
- SideEffectFlags() - Constructor for class com.google.javascript.rhino.Node.SideEffectFlags
-
- SideEffectFlags(int) - Constructor for class com.google.javascript.rhino.Node.SideEffectFlags
-
- 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>, boolean) - Constructor for class com.google.javascript.jscomp.deps.SimpleDependencyInfo
-
Constructs a DependencyInfo object with the given list of provides &
requires.
- SimpleErrorReporter - Class in com.google.javascript.rhino
-
A simple
ErrorReporter
that collects warnings and errors and makes
them accessible via SimpleErrorReporter.errors()
and SimpleErrorReporter.warnings()
.
- SimpleErrorReporter() - Constructor for class com.google.javascript.rhino.SimpleErrorReporter
-
- SimpleFormat - Class in com.google.javascript.jscomp.parsing.parser.util.format
-
This is a hacked apart version of the Apache Harmony String.format class
with all parts outside of the GWT subset removed.
- SimpleFormat.BigDecimalLayoutForm - Enum in com.google.javascript.jscomp.parsing.parser.util.format
-
The enumeration giving the available styles for formatting very large
decimal numbers.
- 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() - Method in class com.google.javascript.jscomp.newtypes.ClojurePersistentHashMap
-
- size() - Method in class com.google.javascript.jscomp.newtypes.ClojurePersistentHashSet
-
- size() - Method in class com.google.javascript.jscomp.newtypes.NaivePersistentSet
-
- 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
- somePathsSatisfyPredicate() - Method in class com.google.javascript.jscomp.CheckPathsBetweenNodes
-
- 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 - Variable in class com.google.javascript.jscomp.parsing.parser.util.SourcePosition
-
- 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.
- SourceCodeEscapers - Class in com.google.javascript.jscomp.deps
-
A factory for Escaper instances used to escape strings for safe use in
various common programming languages.
- sourceComments - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ProgramTree
-
- sourceElements - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ProgramTree
-
- 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 - Interface in com.google.javascript.jscomp.deps
-
An interface for representing source files for the Compilation Service.
- SourceFile - Class in com.google.javascript.jscomp.parsing.parser
-
A source file.
- SourceFile(String, String) - Constructor for class com.google.javascript.jscomp.parsing.parser.SourceFile
-
- SourceFile - Class in com.google.javascript.jscomp
-
An abstract representation of a source file that provides access to
language-neutral features.
- SourceFile(String) - Constructor for class com.google.javascript.jscomp.SourceFile
-
Construct a new abstract source file.
- SourceFile.Builder - Class in com.google.javascript.jscomp
-
A builder interface for source files.
- SourceFile.Generator - Interface in com.google.javascript.jscomp
-
A JavaScript source code provider.
- sourceMap - Variable in class com.google.javascript.jscomp.Result
-
- SourceMap - Class in com.google.javascript.jscomp
-
Collects information mapping the generated (compiled) source back to
its original source for debugging purposes.
- SourceMap.DetailLevel - Enum in com.google.javascript.jscomp
-
Source maps can be very large different levels of detail can be specified.
- SourceMap.Format - Enum in com.google.javascript.jscomp
-
- SourceMap.LocationMapping - Class in com.google.javascript.jscomp
-
- SourceMapConsumer - Interface in com.google.debugging.sourcemap
-
A SourceMapConsumer is a SourceMapping provide that can parse from a raw
string.
- SourceMapConsumerFactory - Class in com.google.debugging.sourcemap
-
Detect and parse the provided source map.
- 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
-
- 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
-
- SourceMapGeneratorV3.ExtensionMergeAction - Interface in com.google.debugging.sourcemap
-
This interface provides the merging strategy when an extension conflict
appears because of merging two source maps on method
SourceMapGeneratorV3.mergeMapSection(int, int, java.lang.String)
.
- SourceMapInput - Class in com.google.javascript.jscomp
-
A lazy-loaded SourceMapConsumerV3 instance.
- SourceMapInput(SourceFile) - Constructor for class com.google.javascript.jscomp.SourceMapInput
-
- 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
- sourceNode - Variable in class com.google.javascript.jscomp.graph.GraphReachability.EdgeTuple
-
- SourcePosition - Class in com.google.javascript.jscomp.parsing.parser.util
-
A position in a source string - includes offset, line and column.
- SourcePosition(SourceFile, int, int, int) - Constructor for class com.google.javascript.jscomp.parsing.parser.util.SourcePosition
-
- 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
-
- SourceRange - Class in com.google.javascript.jscomp.parsing.parser.util
-
A range of positions in a source string.
- SourceRange(SourcePosition, SourcePosition) - Constructor for class com.google.javascript.jscomp.parsing.parser.util.SourceRange
-
- specialize(JSType) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- splitDeclaration(Node, Node) - Method in class com.google.javascript.jscomp.Es6SplitVariableDeclarations
-
- spread(Node) - Static method in class com.google.javascript.rhino.IR
-
- SPREAD - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- SpreadExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- SpreadExpressionTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.SpreadExpressionTree
-
- srcref(Node) - Method in class com.google.javascript.rhino.Node
-
- srcrefTree(Node) - Method in class com.google.javascript.rhino.Node
-
- StandardUnionFind<E> - Class in com.google.javascript.jscomp.graph
-
A Union-Find implementation.
- StandardUnionFind() - Constructor for class com.google.javascript.jscomp.graph.StandardUnionFind
-
Creates an empty UnionFind structure.
- StandardUnionFind(UnionFind<E>) - Constructor for class com.google.javascript.jscomp.graph.StandardUnionFind
-
Creates an UnionFind structure being a copy of other structure.
- STAR - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- start - Variable in class com.google.javascript.jscomp.parsing.parser.util.SourceRange
-
- State(Map<String, Integer>, Set<String>, CrossModuleMethodMotion.IdGenerator, VariableMap, VariableMap, VariableMap, VariableMap, FunctionNames, String) - Constructor for class com.google.javascript.jscomp.PassConfig.State
-
- statement - Variable in class com.google.javascript.jscomp.parsing.parser.trees.LabelledStatementTree
-
- statements - Variable in class com.google.javascript.jscomp.parsing.parser.trees.BlockTree
-
- statements - Variable in class com.google.javascript.jscomp.parsing.parser.trees.CaseClauseTree
-
- statements - Variable in class com.google.javascript.jscomp.parsing.parser.trees.DefaultClauseTree
-
- STATIC_MEMBER - Static variable in class com.google.javascript.rhino.Node
-
- 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 - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- 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_MASK - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- 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
-
- STRING_TYPE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- stringKey(String) - Static method in class com.google.javascript.rhino.IR
-
- stringKey(String, Node) - Static method in class com.google.javascript.rhino.IR
-
- stringMap - Variable in class com.google.javascript.jscomp.Result
-
- StringPosition() - Constructor for class com.google.javascript.rhino.JSDocInfo.StringPosition
-
- stringType() - Static method in class com.google.javascript.jscomp.parsing.TypeDeclarationsIRFactory
-
- 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.
- SubclassRelationship(CodingConvention.SubclassType, Node, Node) - Constructor for class com.google.javascript.jscomp.CodingConvention.SubclassRelationship
-
- SubGraph<N,E> - Interface in com.google.javascript.jscomp.graph
-
An interface representing a subgraph that provides adjacency calculation to
a node.
- subSequence(int, int) - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
-
- substituteGenerics(Map<String, JSType>) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- substituteGenericsWithUnknown() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- success - Variable in class com.google.javascript.jscomp.Result
-
- SuggestedFix - Class in com.google.javascript.refactoring
-
Object representing the fixes to apply to the source code to create the
refactoring CL.
- SuggestedFix.Builder - Class in com.google.javascript.refactoring
-
Builder class for
SuggestedFix
that contains helper functions to
manipulate JS nodes.
- SuggestedFixes - Class in com.google.javascript.refactoring.testing
-
Utilities for testing SuggestedFix-related code.
- SUPER - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- superClass - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ClassDeclarationTree
-
- SuperExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- SuperExpressionTree(SourceRange) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.SuperExpressionTree
-
- superNode() - Static method in class com.google.javascript.rhino.IR
-
- 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
-
- SwitchStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- SwitchStatementTree(SourceRange, ParseTree, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.SwitchStatementTree
-
- 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
-
Reference
- SymbolTable.Symbol - Class in com.google.javascript.jscomp
-
A symbol-table entry
- SymbolTable.SymbolScope - Class in com.google.javascript.jscomp
-
Scope of a symbol
- 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.
- SyntheticAst(Node) - Constructor for class com.google.javascript.jscomp.SyntheticAst
-
- syntheticBlockEndMarker - Variable in class com.google.javascript.jscomp.CompilerOptions
-
- syntheticBlockStartMarker - Variable in class com.google.javascript.jscomp.CompilerOptions
-
T
- tailExpression - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComprehensionTree
-
- TemplateAstMatcher - Class in com.google.javascript.jscomp
-
A matcher that can take an arbitrary AST and use it as a template to find
matches in another.
- TemplateAstMatcher(AbstractCompiler, Node) - Constructor for class com.google.javascript.jscomp.TemplateAstMatcher
-
Constructs this matcher with a Function node that serves as the template
to match all other nodes against.
- TEMPLATELIT - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- TEMPLATELIT_SUB - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- TemplateLiteralExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Template literal production in ES6.
- TemplateLiteralExpressionTree(SourceRange, ParseTree, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.TemplateLiteralExpressionTree
-
- TemplateLiteralPortionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
A production representing a literal portion of a template literal.
- TemplateLiteralPortionTree(SourceRange, Token) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.TemplateLiteralPortionTree
-
- TemplateSubstitutionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
A production representing the expression to be evaluated and substituted
into a template literal.
- TemplateSubstitutionTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.TemplateSubstitutionTree
-
- TemplateType - Class in com.google.javascript.rhino.jstype
-
- templateTypeMap - Variable in class com.google.javascript.rhino.jstype.JSType
-
- TemplateTypeMap - Class in com.google.javascript.rhino.jstype
-
Manages a mapping from TemplateType to its resolved JSType.
- TemplateTypeMapReplacer - Class in com.google.javascript.rhino.jstype
-
Uses a TemplateTypeMap to replace TemplateTypes with their associated JSType
values.
- TemplateTypeMapReplacer(JSTypeRegistry, TemplateTypeMap) - Constructor for class com.google.javascript.rhino.jstype.TemplateTypeMapReplacer
-
- TemplatizedType - Class in com.google.javascript.rhino.jstype
-
An object type with declared template types, such as
Array
.
- TernaryValue - Enum in com.google.javascript.rhino.jstype
-
An enum for ternary logic.
- TestErrorManager - Class in com.google.javascript.jscomp.testing
-
An ErrorManager that compares errors with a list of expected errors.
- TestErrorManager() - Constructor for class com.google.javascript.jscomp.testing.TestErrorManager
-
- TestErrorReporter - Class in com.google.javascript.rhino.testing
-
An error reporter for testing that verifies that messages reported to the
reporter are expected.
- TestErrorReporter(String[], String[]) - Constructor for class com.google.javascript.rhino.testing.TestErrorReporter
-
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.AllType
-
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.BooleanType
-
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.EnumType
-
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Compares
this
and that
.
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.NullType
-
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.NumberType
-
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.StringType
-
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
-
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.UnknownType
-
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.VoidType
-
- THIS - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- ThisExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ThisExpressionTree(SourceRange) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ThisExpressionTree
-
- thisNode() - Static method in class com.google.javascript.rhino.IR
-
- THROW - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- throwNode(Node) - Static method in class com.google.javascript.rhino.IR
-
- ThrowStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ThrowStatementTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ThrowStatementTree
-
- Timer - Class in com.google.javascript.jscomp.parsing.parser.util
-
- Timer(String) - Constructor for class com.google.javascript.jscomp.parsing.parser.util.Timer
-
- Timer.Entry - Class in com.google.javascript.jscomp.parsing.parser.util
-
- toAnnotationString() - Method in class com.google.javascript.rhino.jstype.JSType
-
A string representation of this type, suitable for printing
in type annotations at code generation time.
- toBase64(int) - Static method in class com.google.debugging.sourcemap.Base64
-
- toBoolean() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- toBoolean(boolean) - Method in enum com.google.javascript.rhino.jstype.TernaryValue
-
Converts
this
ternary value to boolean.
- toBuilder() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- toBuilder() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- toBuilder() - Method in class com.google.javascript.jscomp.ConformanceConfig
-
- toBuilder() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- toBuilder() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- toBuilder() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- toBuilder() - Method in class com.google.javascript.jscomp.Instrumentation
-
- toBuilder() - Method in class com.google.javascript.jscomp.Requirement
-
- toBytes() - Method in class com.google.javascript.jscomp.VariableMap
-
Serializes the variable map to a byte array.
- toDebugHashCodeString() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- toDebugHashCodeString() - Method in class com.google.javascript.rhino.jstype.JSType
-
A hash code function for diagnosing complicated issues
around type-identity.
- toDebugHashCodeString() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- toDebugHashCodeString() - Method in class com.google.javascript.rhino.jstype.UnionType
-
- toDebugString() - Method in class com.google.javascript.jscomp.SymbolTable
-
- toDeclaredFunctionType() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- toDot(Node) - Static method in class com.google.javascript.jscomp.DotFormatter
-
Converts an AST to dot representation.
- toDot(GraphvizGraph) - Static method in class com.google.javascript.jscomp.DotFormatter
-
Outputs a string in DOT format that presents the graph.
- toFormatter(SourceExcerptProvider, boolean) - Method in enum com.google.javascript.jscomp.ErrorFormat
-
Convert to a concrete formatter.
- toFunctionType() - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- toIntArray(ArrayList<Integer>) - Static method in class com.google.javascript.jscomp.parsing.parser.LineNumberTable
-
- toJSType() - Method in class com.google.javascript.jscomp.newtypes.EnumType
-
- toJSType() - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- toJSType() - Method in class com.google.javascript.jscomp.newtypes.NamespaceLit
-
- toJSType() - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- Token - Class in com.google.javascript.jscomp.parsing.parser
-
A Token in a javascript file.
- Token(TokenType, SourceRange) - Constructor for class com.google.javascript.jscomp.parsing.parser.Token
-
- Token - Class in com.google.javascript.rhino
-
This class implements the JavaScript scanner.
- Token() - Constructor for class com.google.javascript.rhino.Token
-
- TokenStream - Class in com.google.javascript.rhino
-
This class implements the JavaScript scanner.
- TokenStream() - Constructor for class com.google.javascript.rhino.TokenStream
-
- TokenType - Enum in com.google.javascript.jscomp.parsing.parser
-
- toMaybeEnumElementType() - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
- toMaybeEnumElementType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Downcasts this to an EnumElementType, or returns null if this is not an EnumElementType.
- toMaybeEnumElementType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- toMaybeEnumType() - Method in class com.google.javascript.rhino.jstype.EnumType
-
- toMaybeEnumType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Downcasts this to an EnumType, or returns null if this is not an EnumType.
- toMaybeEnumType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- toMaybeFunctionType() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- toMaybeFunctionType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Downcasts this to a FunctionType, or returns null if this is not
a function.
- toMaybeFunctionType(JSType) - Static method in class com.google.javascript.rhino.jstype.JSType
-
Null-safe version of toMaybeFunctionType().
- toMaybeFunctionType() - Method in class com.google.javascript.rhino.jstype.NoObjectType
-
- toMaybeFunctionType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- toMaybeFunctionType() - Method in interface com.google.javascript.rhino.TypeI
-
- toMaybeRecordType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Downcasts this to a RecordType, or returns null if this is not
a RecordType.
- toMaybeRecordType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- toMaybeRecordType() - Method in class com.google.javascript.rhino.jstype.RecordType
-
- toMaybeTemplateType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Downcasts this to a TemplateType, or returns null if this is not
a function.
- toMaybeTemplateType(JSType) - Static method in class com.google.javascript.rhino.jstype.JSType
-
Null-safe version of toMaybeTemplateType().
- toMaybeTemplateType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- toMaybeTemplateType() - Method in class com.google.javascript.rhino.jstype.TemplateType
-
- toMaybeTemplatizedType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Downcasts this to a TemplatizedType, or returns null if this is not
a function.
- toMaybeTemplatizedType(JSType) - Static method in class com.google.javascript.rhino.jstype.JSType
-
Null-safe version of toMaybeTemplatizedType().
- toMaybeTemplatizedType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- toMaybeTemplatizedType() - Method in class com.google.javascript.rhino.jstype.TemplatizedType
-
- toMaybeUnionType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Downcasts this to a UnionType, or returns null if this is not a UnionType.
- toMaybeUnionType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- toMaybeUnionType() - Method in class com.google.javascript.rhino.jstype.UnionType
-
- toModuleName(String) - Static method in class com.google.javascript.jscomp.ProcessCommonJSModules
-
Turns a filename into a JS identifier that is used for moduleNames in
rewritten code.
- toModuleName(String) - Static method in class com.google.javascript.jscomp.ProcessEs6Modules
-
Turns a filename into a JS identifier that is used for moduleNames in
rewritten code.
- toObjectType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Casts this to an ObjectType, or returns null if this is not an ObjectType.
- TOP - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- TOP_DICT - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- TOP_MASK - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- TOP_OBJECT - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- TOP_SCALAR - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- TOP_SCALAR_MASK - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- TOP_STRUCT - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- topFunction() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- toSource() - Method in class com.google.javascript.jscomp.Compiler
-
Converts the main parse tree back to JS code.
- toSource(JSModule) - Method in class com.google.javascript.jscomp.Compiler
-
Converts the parse tree for a module back to JS code.
- toSource(Compiler.CodeBuilder, int, Node) - Method in class com.google.javascript.jscomp.Compiler
-
Writes out JS code from a root node.
- toSourceArray() - Method in class com.google.javascript.jscomp.Compiler
-
Converts the parse tree for each input back to JS code.
- toSourceArray(JSModule) - Method in class com.google.javascript.jscomp.Compiler
-
Converts the parse tree for each input in a module back to JS code.
- toString() - Method in class com.google.javascript.jscomp.Compiler.CodeBuilder
-
Returns all text in the text buffer.
- toString() - Method in class com.google.javascript.jscomp.CompilerInput
-
- toString() - Method in class com.google.javascript.jscomp.ComposeWarningsGuard
-
- toString() - Method in class com.google.javascript.jscomp.ControlFlowGraph
-
- toString() - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo
-
- toString() - Method in class com.google.javascript.jscomp.DiagnosticGroup
-
- toString() - Method in class com.google.javascript.jscomp.DiagnosticGroupWarningsGuard
-
- toString() - Method in class com.google.javascript.jscomp.DiagnosticType
-
- toString() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDirectedGraphNode
-
- toString() - Method in class com.google.javascript.jscomp.JSError
-
- toString() - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
-
- toString() - Method in class com.google.javascript.jscomp.JsMessage
-
- toString() - Method in class com.google.javascript.jscomp.JSModule
-
Returns the module name (primarily for debugging).
- toString() - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- toString() - Method in class com.google.javascript.jscomp.newtypes.EnumType
-
- toString() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- toString() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- toString() - Method in class com.google.javascript.jscomp.newtypes.NominalType.RawNominalType
-
- toString() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- toString() - Method in class com.google.javascript.jscomp.newtypes.ObjectType
-
- toString() - Method in class com.google.javascript.jscomp.newtypes.QualifiedName
-
- toString() - Method in class com.google.javascript.jscomp.newtypes.TypeEnv
-
- toString() - Method in class com.google.javascript.jscomp.parsing.parser.IdentifierToken
-
- toString() - Method in enum com.google.javascript.jscomp.parsing.parser.Keywords
-
- toString() - Method in class com.google.javascript.jscomp.parsing.parser.LiteralToken
-
- toString() - Method in class com.google.javascript.jscomp.parsing.parser.Token
-
- toString() - Method in enum com.google.javascript.jscomp.parsing.parser.TokenType
-
- toString() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- toString() - Method in class com.google.javascript.jscomp.parsing.parser.util.SourcePosition
-
- toString() - Method in class com.google.javascript.jscomp.parsing.parser.util.SourceRange
-
- toString() - Method in class com.google.javascript.jscomp.regex.RegExpTree
-
- toString() - Method in class com.google.javascript.jscomp.Scope.Var
-
- toString() - Method in class com.google.javascript.jscomp.SourceFile
-
- toString() - Method in class com.google.javascript.jscomp.SourceMap.LocationMapping
-
- toString() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
-
- toString() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
-
- toString() - Method in exception com.google.javascript.jscomp.webservice.common.AbstractWebServiceException
-
- toString() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.ApiKeyResponse
-
- toString() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.OutputFormatKey
-
- toString() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.RequestKey
-
- toString() - Method in enum com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
-
- toString() - Method in class com.google.javascript.refactoring.CodeReplacement
-
- toString() - Method in class com.google.javascript.refactoring.SuggestedFix
-
- toString() - Method in class com.google.javascript.rhino.InputId
-
- toString() - Method in class com.google.javascript.rhino.JSDocInfo
-
- toString() - Method in class com.google.javascript.rhino.jstype.JSType
-
A string representation of this type, suitable for printing
in warnings.
- toString() - Method in class com.google.javascript.rhino.jstype.Property
-
- toString() - Method in class com.google.javascript.rhino.jstype.SimpleReference
-
- toString() - Method in class com.google.javascript.rhino.jstype.SimpleSourceFile
-
- toString() - Method in class com.google.javascript.rhino.jstype.TemplateTypeMap
-
- toString() - Method in class com.google.javascript.rhino.JSTypeExpression
-
- toString() - Method in class com.google.javascript.rhino.Node
-
- toString(boolean, boolean, boolean) - Method in class com.google.javascript.rhino.Node
-
- toStringTree() - Method in class com.google.javascript.rhino.Node
-
- toStringVerbose() - Method in class com.google.javascript.rhino.JSDocInfo
-
- tracker - Variable in class com.google.javascript.jscomp.Compiler
-
- tracksGzSize() - Method in class com.google.javascript.jscomp.PerformanceTracker
-
- tracksSize() - Method in class com.google.javascript.jscomp.PerformanceTracker
-
- TRANSITIONAL_SUSPICOUS_CODE_WARNINGS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- traverse(Node) - Method in class com.google.javascript.jscomp.NodeTraversal
-
Traverses a parse tree recursively.
- traverse(AbstractCompiler, Node, NodeTraversal.Callback) - Static method in class com.google.javascript.jscomp.NodeTraversal
-
Traverses a node recursively.
- traverseChangedFunctions(AbstractCompiler, NodeTraversal.FunctionCallback) - Static method in class com.google.javascript.jscomp.NodeTraversal
-
Traversal for passes that work only on changed functions.
- traverseEdge(Node, Edge, Node) - Method in interface com.google.javascript.jscomp.graph.FixedPointGraphTraversal.EdgeCallback
-
Update the state of the destination node when the given edge
is traversed.
- traverseEdge(N, E, N) - Method in class com.google.javascript.jscomp.graph.GraphReachability
-
- traverseInnerNode(Node, Node, Scope) - Method in class com.google.javascript.jscomp.NodeTraversal
-
Traverses an inner node recursively with a refined scope.
- traverseRoots(Node...) - Method in class com.google.javascript.jscomp.NodeTraversal
-
- traverseRoots(List<Node>) - Method in class com.google.javascript.jscomp.NodeTraversal
-
- traverseRoots(AbstractCompiler, List<Node>, NodeTraversal.Callback) - Static method in class com.google.javascript.jscomp.NodeTraversal
-
Traverses a list of node trees.
- traverseRoots(AbstractCompiler, NodeTraversal.Callback, Node...) - Static method in class com.google.javascript.jscomp.NodeTraversal
-
- TRUE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- TRUE_MASK - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- TRUE_TYPE - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- trueNode() - Static method in class com.google.javascript.rhino.IR
-
- TRUTHY - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- TRUTHY_MASK - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- TRY - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- tryCatch(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- tryCatchFinally(Node, Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- tryFinally(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- TryStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- TryStatementTree(SourceRange, ParseTree, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.TryStatementTree
-
- TWEAKS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- type - Variable in enum com.google.javascript.jscomp.parsing.parser.Keywords
-
- type - Variable in class com.google.javascript.jscomp.parsing.parser.Token
-
- type - Variable in class com.google.javascript.jscomp.parsing.parser.trees.Comment
-
- type - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComprehensionTree
-
- type - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- TYPE_ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- TYPE_ERROR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- TYPE_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Requirement
-
- TYPE_INVALIDATION - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- typeA - Variable in class com.google.javascript.rhino.jstype.JSType.TypePair
-
- typeAnnotation - Variable in class com.google.javascript.jscomp.parsing.parser.trees.TypedParameterTree
-
- typeB - Variable in class com.google.javascript.rhino.jstype.JSType.TypePair
-
- TypeCheck - Class in com.google.javascript.jscomp
-
Checks the types of JS expressions against any declared type
information.
- TypeCheck(AbstractCompiler, ReverseAbstractInterpreter, JSTypeRegistry, Scope, MemoizedScopeCreator, CheckLevel) - Constructor for class com.google.javascript.jscomp.TypeCheck
-
- TypeCheck(AbstractCompiler, ReverseAbstractInterpreter, JSTypeRegistry, CheckLevel) - Constructor for class com.google.javascript.jscomp.TypeCheck
-
- TypeDeclarationNode(int) - Constructor for class com.google.javascript.rhino.Node.TypeDeclarationNode
-
- TypeDeclarationNode(int, Node) - Constructor for class com.google.javascript.rhino.Node.TypeDeclarationNode
-
- TypeDeclarationNode(int, Node, Node) - Constructor for class com.google.javascript.rhino.Node.TypeDeclarationNode
-
- TypeDeclarationNode(int, Node, Node, Node) - Constructor for class com.google.javascript.rhino.Node.TypeDeclarationNode
-
- TypeDeclarationsIRFactory - Class in com.google.javascript.jscomp.parsing
-
Produces ASTs which represent JavaScript type declarations, both those created from
closure-style type declarations in a JSDoc node (via a conversion from the rhino AST
produced in
NewIRFactory
) as well as
those created from TypeScript-style inline type declarations.
- TypeDeclarationsIRFactory() - Constructor for class com.google.javascript.jscomp.parsing.TypeDeclarationsIRFactory
-
- Typedef - Class in com.google.javascript.jscomp.newtypes
-
- typedefs - Variable in class com.google.javascript.jscomp.newtypes.Namespace
-
- TypedParameterTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
A parameter with a type specified.
- TypedParameterTree(SourceRange, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.TypedParameterTree
-
- TypeEnv - Class in com.google.javascript.jscomp.newtypes
-
A persistent map from variables to abstract values (types)
- TypeEnv() - Constructor for class com.google.javascript.jscomp.newtypes.TypeEnv
-
- TypeI - Interface in com.google.javascript.rhino
-
- TypeIRegistry - Interface in com.google.javascript.rhino
-
- TYPEOF - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- TypePair(JSType, JSType) - Constructor for class com.google.javascript.rhino.jstype.JSType.TypePair
-
- TypePosition() - Constructor for class com.google.javascript.rhino.JSDocInfo.TypePosition
-
- TypeTransformationParser - Class in com.google.javascript.jscomp.parsing
-
A parser for the type transformation expressions (TTL-Exp) as in
- TypeTransformationParser(String, StaticSourceFile, ErrorReporter, int, int) - Constructor for class com.google.javascript.jscomp.parsing.TypeTransformationParser
-
- TypeTransformationParser.Keywords - Enum in com.google.javascript.jscomp.parsing
-
Keywords of the type transformation language
- TypeTransformationParser.OperationKind - Enum in com.google.javascript.jscomp.parsing
-
The classification of the keywords
- TYPEVAR_MASK - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
U
- U2U_CONSTRUCTOR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- U2U_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- UnaryExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- UnaryExpressionTree(SourceRange, Token, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.UnaryExpressionTree
-
- unboxesTo() - Method in class com.google.javascript.rhino.jstype.JSType
-
Turn an object type to its corresponding scalar type.
- unboxesTo() - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
- UNDEFINED - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- UNDEFINED_MASK - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- UNDEFINED_NAMES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- UNDEFINED_TYPE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- UNDEFINED_VARIABLES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- undefinedType() - Static method in class com.google.javascript.jscomp.parsing.TypeDeclarationsIRFactory
-
- UndiGraph<N,E> - Class in com.google.javascript.jscomp.graph
-
A generic undirected graph.
- UndiGraph() - Constructor for class com.google.javascript.jscomp.graph.UndiGraph
-
- UndiGraph.UndiGraphEdge<N,E> - Interface in com.google.javascript.jscomp.graph
-
A generic undirected graph edge.
- UndiGraph.UndiGraphNode<N,E> - Interface in com.google.javascript.jscomp.graph
-
A generic undirected graph node.
- unifyWith(JSType, List<String>, Multimap<String, JSType>) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
Unify
this
, which may contain free type variables,
with other
, a concrete type, modifying the supplied
typeMultimap
to add any new template variable type bindings.
- union(E, E) - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
-
- union(E, E) - Method in interface com.google.javascript.jscomp.graph.UnionFind
-
Unions the equivalence classes of
a
and b
and returns the
representative of the resulting equivalence class.
- union(BooleanLiteralSet) - Method in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
-
Computes the union of this set and
that
.
- UNION_TYPE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- UnionFind<E> - Interface in com.google.javascript.jscomp.graph
-
Union-Find is a classical algorithm used to find connected components in
graph theory.
- unionType(Iterable<Node.TypeDeclarationNode>) - Static method in class com.google.javascript.jscomp.parsing.TypeDeclarationsIRFactory
-
Represents a union type, which can be one of the given types.
- unionType(Node.TypeDeclarationNode...) - Static method in class com.google.javascript.jscomp.parsing.TypeDeclarationsIRFactory
-
- UnionType - Class in com.google.javascript.rhino.jstype
-
The
UnionType
implements a common JavaScript idiom in which the
code is specifically designed to work with multiple input types.
- UNIQUE_ID_GENERATOR - Static variable in class com.google.javascript.jscomp.CompilerOptions
-
A renaming map instance to use to signal the use of the "inconsistent"
id generator type.
- UNKNOWN - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- UNKNOWN_DEFINES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- UNKNOWN_MASK - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- UNKNOWN_NAME - Static variable in class com.google.javascript.rhino.jstype.JSType
-
- UNKNOWN_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- UnknownFormatConversionException - Exception in com.google.javascript.jscomp.parsing.parser.util.format
-
- UnknownFormatConversionException(String) - Constructor for exception com.google.javascript.jscomp.parsing.parser.util.format.UnknownFormatConversionException
-
- UnknownType - Class in com.google.javascript.rhino.jstype
-
The
Unknown
type.
- UNNECESSARY_CASTS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- unregisterPropertyOnType(String, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Removes the index's reference to a property on the given type (if it is
currently registered).
- URI_ERROR_FUNCTION_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- URI_ERROR_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- URSH - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- USE_OF_GOOG_BASE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- useEval(boolean) - Method in class com.google.javascript.jscomp.deps.ClosureBundler
-
- useSourceInfoFrom(Node) - Method in class com.google.javascript.rhino.Node
-
Overwrite all the source information in this node with
that of
other
.
- useSourceInfoFromForTree(Node) - Method in class com.google.javascript.rhino.Node
-
Overwrite all the source information in this node and its subtree with
that of
other
.
- useSourceInfoIfMissingFrom(Node) - Method in class com.google.javascript.rhino.Node
-
Overwrite all the source information in this node with
that of
other
iff the source info is missing.
- useSourceInfoIfMissingFromForTree(Node) - Method in class com.google.javascript.rhino.Node
-
Overwrite all the source information in this node and its subtree with
that of
other
iff the source info is missing.
- UTF8_BOM_CODE - Static variable in class com.google.javascript.jscomp.CommandLineRunner
-
V
- validate(boolean) - Method in interface com.google.debugging.sourcemap.SourceMapGenerator
-
Whether to perform additional validation on the source map.
- validate(boolean) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
- 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
-
- value - Variable in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDirectedGraphNode
-
- value - Variable in class com.google.javascript.jscomp.parsing.parser.IdentifierToken
-
- value - Variable in enum com.google.javascript.jscomp.parsing.parser.Keywords
-
- value - Variable in class com.google.javascript.jscomp.parsing.parser.LiteralToken
-
- value - Variable in enum com.google.javascript.jscomp.parsing.parser.TokenType
-
- value - Variable in class com.google.javascript.jscomp.parsing.parser.trees.Comment
-
- value - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyDefinitionTree
-
- value - Variable in class com.google.javascript.jscomp.parsing.parser.trees.PropertyNameAssignmentTree
-
- value - Variable in class com.google.javascript.jscomp.parsing.parser.trees.TemplateLiteralPortionTree
-
- value - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ThrowStatementTree
-
- VALUE_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Requirement
-
- 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.CheckEventfulObjectDisposal.DisposalCheckingPolicy
-
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.ExtractPrototypeMemberDeclarationsMode
-
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.ConformanceRules.ConformanceResult
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.ControlFlowGraph.Branch
-
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.parsing.Config.LanguageMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.parsing.parser.Keywords
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.parsing.parser.Parser.Config.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.parsing.parser.TokenType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.parsing.parser.trees.Comment.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.parsing.parser.trees.ComprehensionTree.ComprehensionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree.Kind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.parsing.parser.util.format.SimpleFormat.BigDecimalLayoutForm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.parsing.TypeTransformationParser.OperationKind
-
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.Requirement.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(int) - Static method in enum com.google.javascript.jscomp.Requirement.Type
-
- valueOf(Descriptors.EnumValueDescriptor) - Static method in enum com.google.javascript.jscomp.Requirement.Type
-
- 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.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.CheckEventfulObjectDisposal.DisposalCheckingPolicy
-
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.ExtractPrototypeMemberDeclarationsMode
-
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.ConformanceRules.ConformanceResult
-
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.ControlFlowGraph.Branch
-
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.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.parsing.parser.Keywords
-
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.parser.Parser.Config.Mode
-
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.parser.TokenType
-
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.parser.trees.Comment.Type
-
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.parser.trees.ComprehensionTree.ComprehensionType
-
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.parser.trees.FunctionDeclarationTree.Kind
-
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.parser.trees.ParseTreeType
-
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.parser.util.format.SimpleFormat.BigDecimalLayoutForm
-
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.TypeTransformationParser.Keywords
-
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.TypeTransformationParser.OperationKind
-
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.Requirement.Type
-
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.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
-
- VariableDeclarationListTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- VariableDeclarationListTree(SourceRange, TokenType, ImmutableList<VariableDeclarationTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.VariableDeclarationListTree
-
- VariableDeclarationTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- VariableDeclarationTree(SourceRange, ParseTree, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.VariableDeclarationTree
-
- 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.
- VariableStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- VariableStatementTree(SourceRange, VariableDeclarationListTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.VariableStatementTree
-
- verifyScopeChanges(Map<Node, Node>, Node, boolean, AbstractCompiler) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Checks that the scope roots marked as changed have indeed changed
- VIOLATED_MODULE_DEP - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- VirtualFile - Class in com.google.javascript.jscomp.deps
-
Class used to represent a "virtual" file.
- VirtualFile(String, String) - Constructor for class com.google.javascript.jscomp.deps.VirtualFile
-
- 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.CheckConformance
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.ClosureRewriteModule
-
Rewrite:
goog.module('foo')
var bar = goog.require('bar');
exports = something;
to:
goog.provide('foo');
goog.require('ns.bar');
goog.scope(function() {
var bar = ns.bar;
foo = something;
});
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6ConvertSuper
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6RenameVariablesInParamLists
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteGenerators
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteLetConst
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6SplitVariableDeclarations
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6ToEs3ClassSideInheritance
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6ToEs3Converter
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.ImplicitNullabilityCheck
-
Crawls the JSDoc of the given node to find any names in JSDoc
that are implicitly null.
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckEnums
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckInterfaces
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckNullableReturn
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckPrototypeProperties
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractPreOrderCallback
-
- visit(NodeTraversal, Node, Node) - Method in interface com.google.javascript.jscomp.NodeTraversal.Callback
-
Visits a node in postorder (after its children have been visited).
- visit(AbstractCompiler, Node) - Method in interface com.google.javascript.jscomp.NodeTraversal.FunctionCallback
-
- visit(Node) - Method in interface com.google.javascript.jscomp.NodeUtil.Visitor
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.ProcessEs6Modules
-
- 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.NamedType
-
- 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.ProxyObjectType
-
- 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.
- visitPreOrder(Node, NodeUtil.Visitor, Predicate<Node>) - Static method in class com.google.javascript.jscomp.NodeUtil
-
A pre-order traversal, calling Visitor.visit for each child matching
the predicate.
- visitReferenceType(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- VOID - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- VOID_TYPE - Variable in class com.google.javascript.rhino.testing.BaseJSTypeTestCase
-
- VOID_TYPE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- voidNode(Node) - Static method in class com.google.javascript.rhino.IR
-
- voidType() - Static method in class com.google.javascript.jscomp.parsing.TypeDeclarationsIRFactory
-
- VoidType - Class in com.google.javascript.rhino.jstype
-
Void type whose only element is the
undefined
value.
W
- warnES6NumberLiteral - Variable in class com.google.javascript.jscomp.parsing.parser.Parser.Config
-
- Warning - Class in com.google.javascript.jscomp.ant
-
Simple representation of a warning flag in Ant
- Warning() - Constructor for class com.google.javascript.jscomp.ant.Warning
-
- warning(String, String) - Static method in class com.google.javascript.jscomp.DiagnosticType
-
Create a DiagnosticType at level CheckLevel.WARNING
- warning(String, String, int, int) - Method in class com.google.javascript.jscomp.parsing.NullErrorReporter
-
- warning(String, String, int, int) - Method in interface com.google.javascript.rhino.ErrorReporter
-
Report a warning.
- warning(String, String, int, int) - Method in class com.google.javascript.rhino.SimpleErrorReporter
-
- warning(String, String, int, int) - Method in class com.google.javascript.rhino.testing.TestErrorReporter
-
- WarningLevel - Enum in com.google.javascript.jscomp
-
Convert the warnings level to an Options object.
- warnings - Variable in class com.google.javascript.jscomp.Result
-
- warnings() - Method in class com.google.javascript.rhino.SimpleErrorReporter
-
Returns the list of warnings, or
null
if there were none.
- WarningsGuard - Class in com.google.javascript.jscomp
-
Class that allows to flexibly manage what to do with a reported
warning/error.
- WarningsGuard() - Constructor for class com.google.javascript.jscomp.WarningsGuard
-
- WarningsGuard.Priority - Enum in com.google.javascript.jscomp
-
Priority
- warnLineContinuations - Variable in class com.google.javascript.jscomp.parsing.parser.Parser.Config
-
- warnTrailingCommas - Variable in class com.google.javascript.jscomp.parsing.parser.Parser.Config
-
- wasModified() - Method in class com.google.javascript.jscomp.deps.DependencyFile
-
- wasModified() - Method in interface com.google.javascript.jscomp.deps.SourceFile
-
- wasModified() - Method in class com.google.javascript.jscomp.deps.VirtualFile
-
- WHILE - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- whileNode(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- WhileStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- WhileStatementTree(SourceRange, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.WhileStatementTree
-
- WHITELIST_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Requirement
-
- WHITELIST_REGEXP_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Requirement
-
- WhitelistBuilder() - Constructor for class com.google.javascript.jscomp.WhitelistWarningsGuard.WhitelistBuilder
-
- WhitelistWarningsGuard - Class in com.google.javascript.jscomp
-
An extension of
WarningsGuard
that provides functionality to maintain
a list of warnings (white-list).
- WhitelistWarningsGuard() - Constructor for class com.google.javascript.jscomp.WhitelistWarningsGuard
-
- WhitelistWarningsGuard(Set<String>) - Constructor for class com.google.javascript.jscomp.WhitelistWarningsGuard
-
This class depends on an input set that contains the white-list.
- WhitelistWarningsGuard.WhitelistBuilder - Class in com.google.javascript.jscomp
-
Whitelist builder
- with(K, V) - Method in class com.google.javascript.jscomp.newtypes.ClojurePersistentHashMap
-
- with(K) - Method in class com.google.javascript.jscomp.newtypes.ClojurePersistentHashSet
-
- with(K, V) - Method in class com.google.javascript.jscomp.newtypes.NaivePersistentMap
-
- with(K) - Method in class com.google.javascript.jscomp.newtypes.NaivePersistentSet
-
- with(K, V) - Method in class com.google.javascript.jscomp.newtypes.PersistentMap
-
- with(K) - Method in class com.google.javascript.jscomp.newtypes.PersistentSet
-
- WITH - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- withCharset(Charset) - Method in class com.google.javascript.jscomp.SourceFile.Builder
-
Set the charset to use when reading from an input stream or file.
- withCompilerOptions(CompilerOptions) - Method in class com.google.javascript.refactoring.RefactoringDriver.Builder
-
- withDeclaredProperty(QualifiedName, JSType, boolean) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- withInferredReturnType(JSType) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
-
Sets an inferred return type.
- withLoose() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
Turns the class-less object of this type (if any) into a loose object
- withName(String) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
-
Set the name of the function type.
- withNamedTypes(ObjectType) - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- without(K) - Method in class com.google.javascript.jscomp.newtypes.ClojurePersistentHashMap
-
- without(K) - Method in class com.google.javascript.jscomp.newtypes.ClojurePersistentHashSet
-
- without(K) - Method in class com.google.javascript.jscomp.newtypes.NaivePersistentMap
-
- without(K) - Method in class com.google.javascript.jscomp.newtypes.NaivePersistentSet
-
- without(K) - Method in class com.google.javascript.jscomp.newtypes.PersistentMap
-
- without(K) - Method in class com.google.javascript.jscomp.newtypes.PersistentSet
-
- withoutProperty(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- withParams(FunctionParamBuilder) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
-
Set the parameters of the function type from a FunctionParamBuilder.
- withParamsNode(Node) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
-
Set the parameters of the function type with a specially-formatted node.
- withProperty(QualifiedName, JSType) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- withPropertyRequired(String) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- withReturnType(JSType) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
-
Set the return type.
- withReturnType(JSType, boolean) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
-
Set the return type and whether it's inferred.
- withSourceNode(Node) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
-
Set the source node of the function type.
- withSourceUrl(String) - Method in class com.google.javascript.jscomp.deps.ClosureBundler
-
- WithStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- WithStatementTree(SourceRange, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.WithStatementTree
-
- withTemplateKeys(ImmutableList<TemplateType>) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
-
Set the template name.
- withTypeInfoFromSuper(DeclaredFunctionType) - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- withTypeOfThis(JSType) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
-
Set the "this" type.
- writeReplace() - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- writeReplace() - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- writeReplace() - Method in class com.google.javascript.jscomp.ConformanceConfig
-
- writeReplace() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- writeReplace() - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- writeReplace() - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- writeReplace() - Method in class com.google.javascript.jscomp.Instrumentation
-
- writeReplace() - Method in class com.google.javascript.jscomp.Requirement
-
- writeTo(CodedOutputStream) - Method in class com.google.debugging.sourcemap.proto.Mapping.LineMapping
-
- writeTo(CodedOutputStream) - Method in class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
-
- writeTo(CodedOutputStream) - Method in class com.google.javascript.jscomp.ConformanceConfig
-
- writeTo(CodedOutputStream) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- writeTo(CodedOutputStream) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Module
-
- writeTo(CodedOutputStream) - Method in class com.google.javascript.jscomp.FunctionInformationMap
-
- writeTo(CodedOutputStream) - Method in class com.google.javascript.jscomp.Instrumentation
-
- writeTo(CodedOutputStream) - Method in class com.google.javascript.jscomp.Requirement
-
- writeWhitelist(File) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard.WhitelistBuilder
-
Writes the warnings collected in a format that the WhitelistWarningsGuard
can read back later.
X
- xor(TernaryValue) - Method in enum com.google.javascript.rhino.jstype.TernaryValue
-
Gets the
xor
of this
and that
.
- XtbMessageBundle - Class in com.google.javascript.jscomp
-
A MessageBundle that parses messages from an XML Translation Bundle (XTB)
file.
- XtbMessageBundle(InputStream, String, boolean) - Constructor for class com.google.javascript.jscomp.XtbMessageBundle
-
- XtbMessageBundle(InputStream, String) - Constructor for class com.google.javascript.jscomp.XtbMessageBundle
-
Creates an instance and initializes it with the messages in an XTB file.
Y
- yield() - Static method in class com.google.javascript.rhino.IR
-
- yield(Node) - Static method in class com.google.javascript.rhino.IR
-
- YIELD - Static variable in class com.google.javascript.rhino.Token
-
Token types.
- YIELD_FOR - Static variable in class com.google.javascript.rhino.Node
-
- YieldExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- YieldExpressionTree(SourceRange, boolean, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.YieldExpressionTree
-
A B C D E F G H I J K L M N O P Q R S T U V W X Y
Copyright © 2009-2015 Google. All Rights Reserved.