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;
- addAlternate(JSType, boolean) - Method in class com.google.javascript.rhino.jstype.UnionTypeBuilder
-
Adds an alternate to the union type under construction.
- addAlternate(JSType) - Method in class com.google.javascript.rhino.jstype.UnionTypeBuilder
-
Adds an alternate to the union type under construction.
- 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, String) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Inserts a new node as the first child of the provided node.
- addChildToFront(Node) - Method in class com.google.javascript.rhino.Node
-
- addClassProperty(String, Node, JSType, boolean) - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
Add a new non-optional declared property to instances of this class
- addCtorProperty(String, Node, JSType, boolean) - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
Add a new non-optional declared property to this class's constructor
- addCustomPass(CustomPassExecutionTime, CompilerPass) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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 { ...
- addEs6EarlyPasses(List<PassFactory>) - Static method in class com.google.javascript.jscomp.TranspilationPasses
-
Adds all the early ES6 transpilation passes, which go before the Dart pass.
- addEs6LatePasses(List<PassFactory>) - Static method in class com.google.javascript.jscomp.TranspilationPasses
-
Adds all the late ES6 transpilation passes, which go after the Dart pass.
- 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
-
- addInputsFromCode(String, 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
-
- addInputSourceMap(String, SourceMapInput) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Adds a
SourceMapInput
for the given sourceFileName
, to be used for error
reporting and source map combining.
- addInputSourceMap(String, SourceMapInput) - Method in class com.google.javascript.jscomp.Compiler
-
- addInterfaces(ImmutableSet<NominalType>) - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- addLhsToGoogRequire(Match, String) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
- addLicense(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- addLoose() - Method in class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder
-
- 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 { ...
- addNamespace(QualifiedName, Namespace) - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- 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(JSType) - Method in class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder
-
- 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
-
- addPlaceholderFormal() - Method in class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder
-
Used when the order of required/optional/rest formals in a function jsdoc is wrong.
- addPostCheckPasses(List<PassFactory>) - Static method in class com.google.javascript.jscomp.TranspilationPasses
-
- addProperty(String, Node, 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.
- addPropertyWhichMayNotBeOnAllInstances(String, JSType) - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- addProtoProperty(String, Node, JSType, boolean) - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
Add a new declared prototype property to this class
- addProvide(String) - Method in class com.google.javascript.jscomp.CompilerInput
-
Registers a type that this input defines.
- addReceiverType(JSType) - 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
-
- addRequire(String) - Method in class com.google.javascript.jscomp.CompilerInput
-
Registers a type that this input depends on.
- 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
-
- addRewritePolyfillPass(List<PassFactory>) - Static method in class com.google.javascript.jscomp.TranspilationPasses
-
Adds the pass to inject ES6 polyfills, which goes after the late ES6 passes.
- addSourceFile(SourceFile) - Method in class com.google.javascript.jscomp.SourceMap
-
- addSuperClass(NominalType) - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- addSuppression(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- 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, JSType, Node) - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
Add a new undeclared property to instances of this class
- addUndeclaredCtorProperty(String, Node) - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
Add a new undeclared property to this class's constructor
- addUndeclaredProperty(String, Node, JSType, boolean) - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
Add a new undeclared property to this namespace
- addUndeclaredProtoProperty(String, Node, JSType) - Method in class com.google.javascript.jscomp.newtypes.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.
- 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.AbstractCommandLineRunner
-
- 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.
- afterExitScope(NodeTraversal, ReferenceCollectingCallback.ReferenceMap) - Method in interface com.google.javascript.jscomp.ReferenceCollectingCallback.Behavior
-
Called after we finish with a scope.
- alias - Variable in class com.google.javascript.jscomp.parsing.parser.trees.TypeAliasTree
-
- 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)
- 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_DIAGNOSTICS - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
-
- 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.
- allocMem - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
-
- 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.
- allowComplexFunctionDefs - Variable in class com.google.javascript.jscomp.NameBasedDefinitionProvider
-
- allowIjsInputs() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- allowUnfulfilledForwardDeclarations() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- allPathsSatisfyPredicate() - Method in class com.google.javascript.jscomp.CheckPathsBetweenNodes
-
- AllType - Class in com.google.javascript.rhino.jstype
-
All type, representing all values.
- AmbientDeclarationTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- AmbientDeclarationTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.AmbientDeclarationTree
-
- AMBIGUOUS_FUNCTION_DECL - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- ANALYZED_DURING_GTI - Static variable in class com.google.javascript.rhino.Node
-
- ANALYZER_CHECKS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- and(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- and(TernaryValue) - Method in enum com.google.javascript.rhino.jstype.TernaryValue
-
Gets the
and
of this
and that
.
- 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
.
- 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.
- 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.rhino.TypeDeclarationsIR
-
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.
- appendDebugInfo(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree
-
- 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
- appendRuntimeTo(Appendable) - Method in class com.google.javascript.jscomp.deps.ClosureBundler
-
- 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, 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(Appendable, DependencyInfo, CharSource) - Method in class com.google.javascript.jscomp.deps.ClosureBundler
-
Append the contents of the CharSource 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(Appendable, String) - Method in class com.google.javascript.jscomp.SourceMap
-
- appendTypeParameters(ImmutableList<String>) - Method in class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder
-
- 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
-
- applySingletonGetterNew(RawNominalType, JSType, JSType) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
-
- applySingletonGetterNew(RawNominalType, JSType, JSType) - Method in interface com.google.javascript.jscomp.CodingConvention
-
- applySingletonGetterNew(RawNominalType, JSType, JSType) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- applySingletonGetterOld(FunctionType, FunctionType, ObjectType) - Method in class com.google.javascript.jscomp.ChromeCodingConvention
-
- applySingletonGetterOld(FunctionType, FunctionType, ObjectType) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
-
- applySingletonGetterOld(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.
- applySingletonGetterOld(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.
- 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.
- 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
-
- ARGUMENT_PLACE_HOLDER - Static variable in class com.google.javascript.jscomp.ReplacedStringsDecoder
-
- 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(Token) - Static method in enum com.google.javascript.rhino.Token
-
If the arity isn't always the same, this function returns -1
- ARRAY_PASSED_TO_GOOG_OBJECT - Static variable in class com.google.javascript.jscomp.lint.CheckArrayWithGoogObject
-
- arraylit(Node...) - Static method in class com.google.javascript.rhino.IR
-
- 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
-
- arrayType(Node) - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
-
Represents an array type.
- ArrayTypeTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Represents an array type (
foo[]
).
- ArrayTypeTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ArrayTypeTree
-
- ARROW_FN - Static variable in class com.google.javascript.rhino.Node
-
- AS - Static variable in class com.google.javascript.jscomp.parsing.parser.PredefinedName
-
- asAmbientDeclaration() - 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
-
- asArrayType() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asAssignmentRestElement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asAwaitExpression() - 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
-
- asCallSignature() - 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
-
- asComputedPropertyMemberVariable() - 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
-
- asEnumDeclaration() - 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
-
- asFunctionType() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asGenericTypeList() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asGetAccessor() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- 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
-
- asIndexSignature() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asInterfaceDeclaration() - 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
-
- asMemberVariable() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asMissingPrimaryExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asNamespaceDeclaration() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asNewExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asNewTargetExpression() - 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
-
- asOptionalParameter() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asParameterizedType() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asParenExpression() - 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
-
- asRecordType() - 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
-
- assertedType - Variable in class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
-
- 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, JSTypeNative) - Constructor for class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
-
- asSetAccessor() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- assign(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- AssignmentRestElementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- AssignmentRestElementTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.AssignmentRestElementTree
-
- assignmentTarget - Variable in class com.google.javascript.jscomp.parsing.parser.trees.AssignmentRestElementTree
-
- assignmentTarget - Variable in class com.google.javascript.jscomp.parsing.parser.trees.RestParameterTree
-
- 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
-
- astDiff - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
-
- 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
-
- astSize - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
-
- 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
- asTypeAlias() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asTypedParameter() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asTypeName() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asTypeQuery() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asUnaryExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asUnionType() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- asUpdateExpression() - 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
-
- ASYNC_FN - Static variable in class com.google.javascript.rhino.Node
-
- attachMatchedNodeInfo(Node, AbstractCompiler) - 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.
- autobox() - 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
-
- autobox() - Method in interface com.google.javascript.rhino.TypeI
-
- autoboxAndGetObject() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- autoboxAndGetObject() - Method in class com.google.javascript.rhino.jstype.JSType
-
- autoboxAndGetObject() - Method in interface com.google.javascript.rhino.TypeI
-
- 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
-
- await(Node) - Static method in class com.google.javascript.rhino.IR
-
- AwaitExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Represents an await expression.
- AwaitExpressionTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.AwaitExpressionTree
-
B
- BAD_ARRAY_TYPE_SYNTAX - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- BAD_TYPE_WIKI_LINK - Static variable in class com.google.javascript.jscomp.parsing.JsDocInfoParser
-
- BanCreateDom(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.BanCreateDom
-
- BanExpose(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.BanExpose
-
- 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_NON_CONSTANT_WRITE_VALUE - Static variable in enum com.google.javascript.jscomp.Requirement.Type
-
BANNED_PROPERTY_NON_CONSTANT_WRITE = 11;
- 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;
- BanNullDeref(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.BanNullDeref
-
- BanThrowOfNonErrorTypes(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.BanThrowOfNonErrorTypes
-
- BanUnknownDirectThisPropsReferences(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.BanUnknownDirectThisPropsReferences
-
- BanUnknownThis(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.BanUnknownThis
-
- BanUnknownTypedClassPropsReferences(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.BanUnknownTypedClassPropsReferences
-
- BanUnresolvedType(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.BanUnresolvedType
-
- Base() - Constructor for class com.google.javascript.jscomp.deps.DependencyInfo.Base
-
- BaseTranspiler - Class in com.google.javascript.jscomp.transpile
-
Basic Transpiler implementation for outputting ES5 code.
- BaseTranspiler.CompileResult - Class in com.google.javascript.jscomp.transpile
-
The source together with the additional compilation results.
- BaseTranspiler.CompilerSupplier - Class in com.google.javascript.jscomp.transpile
-
Wraps the Compiler into a more relevant interface, making it
easy to test the Transpiler without depending on implementation
details of the Compiler itself.
- 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
-
- 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
-
- blockRenamingForProperty(String) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Check whether the property name is eligible for renaming.
- blockRenamingForProperty(String) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- 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 - Variable in class com.google.javascript.jscomp.newtypes.JSTypes
-
- BooleanLiteralSet - Enum in com.google.javascript.rhino.jstype
-
A set in the domain {true,false}.
- BooleanType - Class in com.google.javascript.rhino.jstype
-
Boolean type.
- booleanType() - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
-
- BOTTOM - Variable in class com.google.javascript.jscomp.newtypes.JSTypes
-
- BranchCoverageInstrumentationCallback - Class in com.google.javascript.jscomp
-
Instrument branch coverage for javascript.
- BranchCoverageInstrumentationCallback(AbstractCompiler, Map<String, FileInstrumentationData>) - Constructor for class com.google.javascript.jscomp.BranchCoverageInstrumentationCallback
-
- 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
-
- breakThisCompilerSoItsModulesCanBeReused() - Method in class com.google.javascript.jscomp.Compiler
-
Deprecated.
Fix those tests.
- breakThisGraphSoItsModulesCanBeReused() - Method in class com.google.javascript.jscomp.JSModuleGraph
-
Deprecated.
Fix the tests that use this.
- brokenClosureRequiresLevel - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Deprecated.
- BrowserModuleResolver - Class in com.google.javascript.jscomp.deps
-
Resolution algorithm for Browsers.
- BrowserModuleResolver(ImmutableSet<String>, ImmutableList<String>, ErrorHandler) - Constructor for class com.google.javascript.jscomp.deps.BrowserModuleResolver
-
- 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(SourceRange) - Method in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree.Builder
-
Return a new
FunctionDeclarationTree
.
- build() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
- build() - Method in class com.google.javascript.jscomp.transpile.TranspilerBuilder
-
Returns the built Transpiler.
- build() - Method in class com.google.javascript.refactoring.RefactoringDriver.Builder
-
- build() - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
- build() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Builds a
JSDocInfo
object based on the populated information and
returns it.
- build(boolean) - 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.
- build() - Method in class com.google.javascript.rhino.jstype.UnionTypeBuilder
-
Creates a union.
- buildAndReset() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Builds a
JSDocInfo
object based on the populated information and
returns it.
- 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(FunctionDeclarationTree.Kind) - Static method in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
-
- 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
-
- buildFromUrl(URL) - 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.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
-
- buildRecordTypeFromObject(ObjectTypeI) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- buildRecordTypeFromObject(ObjectTypeI) - Method in interface com.google.javascript.rhino.TypeIRegistry
-
- 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
- Cache(Node, Node, Node, Node) - Constructor for class com.google.javascript.jscomp.CodingConvention.Cache
-
- caching() - Method in class com.google.javascript.jscomp.transpile.TranspilerBuilder
-
Returns a TranspilerBuilder with cached transpilations, using the default
cache settings (maximum size of 10,000).
- caching(String) - Method in class com.google.javascript.jscomp.transpile.TranspilerBuilder
-
Returns a TranspilerBuilder with cached transpilations, using the given
cache spec.
- caching(CacheBuilder) - Method in class com.google.javascript.jscomp.transpile.TranspilerBuilder
-
Returns a TranspilerBuilder with cached transpilations, using the given
cache builder.
- CachingTranspiler - Class in com.google.javascript.jscomp.transpile
-
A transpiler implementation that delegates to a lower-level
implementation on a cache miss.
- CachingTranspiler(Transpiler, CacheBuilder<Object, ? super TranspileResult>) - Constructor for class com.google.javascript.jscomp.transpile.CachingTranspiler
-
- call(Node, Node...) - Static method in class com.google.javascript.rhino.IR
-
- 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.
- CallSignatureTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Represents an callable or newable object in TypeScript.
- CallSignatureTree(SourceRange, boolean, GenericTypeListTree, FormalParameterListTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.CallSignatureTree
-
- 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.
- CANNOT_MAKE_TYPEVAR_NON_NULL - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- canonicalizePath(String, String) - Method in class com.google.javascript.jscomp.deps.ModuleResolver
-
Normalizes a module path reference.
- 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_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, JSDocInfo) - 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.
- 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
-
- changeBaseType(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Changes a base type, even if one has already been set on currentInfo.
- 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_EVENTFUL_OBJECT_DISPOSAL - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- CHECK_REGEXP - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- CHECK_TYPES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- CHECK_USELESS_CODE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- CHECK_VARIABLES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- CheckArrayWithGoogObject - Class in com.google.javascript.jscomp.lint
-
Lints against passing arrays to goog.object methods with the intention of
iterating over them as though with a for-in loop, which is discouraged with
arrays.
- CheckArrayWithGoogObject(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckArrayWithGoogObject
-
- 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.BanCreateDom
-
- 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.BanNullDeref
-
- checkConformance(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ConformanceRules.BanThrowOfNonErrorTypes
-
- checkConformance(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ConformanceRules.BanUnknownDirectThisPropsReferences
-
- checkConformance(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ConformanceRules.BanUnknownThis
-
- checkConformance(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ConformanceRules.BanUnknownTypedClassPropsReferences
-
- checkConformance(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ConformanceRules.BanUnresolvedType
-
- checkConformance(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ConformanceRules.RequireFileoverviewVisibility
-
- checkConformance(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ConformanceRules.RequireUseStrict
-
- CheckConformance.InvalidRequirementSpec - Exception in com.google.javascript.jscomp
-
- CheckConformance.Rule - Interface in com.google.javascript.jscomp
-
- CheckDuplicateCase - Class in com.google.javascript.jscomp.lint
-
Check for duplicate case labels in a switch statement
Eg:
switch (foo) {
case 1:
case 1:
}
This is normally an indication of a programmer error.
- CheckDuplicateCase(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckDuplicateCase
-
- CheckEmptyStatements - Class in com.google.javascript.jscomp.lint
-
Check for empty statements (i.e.
- CheckEmptyStatements(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckEmptyStatements
-
- 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, JSType.SubtypingMode) - Method in class com.google.javascript.rhino.jstype.TemplateTypeMap
-
Determines if this map and the specified map have equivalent template
types.
- checkEquivalenceHelper(TemplateTypeMap, EquivalenceMethod, JSType.EqCache, JSType.SubtypingMode) - Method in class com.google.javascript.rhino.jstype.TemplateTypeMap
-
- CheckEventfulObjectDisposal - Class in com.google.javascript.jscomp
-
Check to ensure there exists a path to dispose of each eventful object
created.
- CheckEventfulObjectDisposal(AbstractCompiler, CompilerOptions.DisposalCheckingPolicy) - Constructor for class com.google.javascript.jscomp.CheckEventfulObjectDisposal
-
- checkExtendsLoop() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
check if there is a loop in the type extends chain
- checkExtendsLoop(HashSet<FunctionType>, List<FunctionType>) - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- 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
-
- CheckJSDocStyle - Class in com.google.javascript.jscomp.lint
-
Checks for various JSDoc-related style issues, such as function definitions without JsDoc, params
with no corresponding
@param
annotation, coding conventions not being respected, etc.
- CheckJSDocStyle(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckJSDocStyle
-
- 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
-
- CheckMissingSemicolon - Class in com.google.javascript.jscomp.lint
-
Check for statements that should end with a semicolon according to the Google style guide.
- CheckMissingSemicolon(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckMissingSemicolon
-
- checkModuleName(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Validates the module name.
- checkModuleName(String) - Method in class com.google.javascript.jscomp.CommandLineRunner
-
- checkNode(Node, Token) - Method in class com.google.javascript.jscomp.JsMessageVisitor
-
Checks a node's type.
- 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.
- CheckPrimitiveAsObject - Class in com.google.javascript.jscomp.lint
-
Check for explicit creation of the object equivalents of primitive types
(e.g.
- CheckPrimitiveAsObject(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckPrimitiveAsObject
-
- 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
-
- CheckRequiresAndProvidesSorted - Class in com.google.javascript.jscomp.lint
-
Checks that goog.require() and goog.provide() calls are sorted alphabetically.
- CheckRequiresAndProvidesSorted(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckRequiresAndProvidesSorted
-
- CheckRequiresForConstructors - Class in com.google.javascript.jscomp
-
This pass walks the AST to create a Collection of 'new' nodes and
'goog.require' nodes.
- 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
- CheckUnusedLabels - Class in com.google.javascript.jscomp.lint
-
Check for unused labels blocks.
- CheckUnusedLabels(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckUnusedLabels
-
- CheckUselessBlocks - Class in com.google.javascript.jscomp.lint
-
Check for useless blocks.
- CheckUselessBlocks(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckUselessBlocks
-
- 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.
- ChromeCodingConvention - Class in com.google.javascript.jscomp
-
Coding convention used by the Chrome team to compile Chrome's JS.
- ChromeCodingConvention() - Constructor for class com.google.javascript.jscomp.ChromeCodingConvention
-
- ChromeCodingConvention(CodingConvention) - Constructor for class com.google.javascript.jscomp.ChromeCodingConvention
-
- ChromePass - Class in com.google.javascript.jscomp
-
Compiler pass for Chrome-specific needs.
- ChromePass(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.ChromePass
-
- CIRCULAR_TYPEDEF_ENUM - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- CLASS_DISALLOWED_JSDOC - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
-
- ClassDeclarationTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ClassDeclarationTree(SourceRange, IdentifierToken, GenericTypeListTree, ParseTree, ImmutableList<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.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 class com.google.javascript.jscomp.RecoverableJsAst
-
- 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
-
- 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
-
- 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;
- 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.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;
- 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;
- clearReportLooseTypeViolations() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional bool report_loose_type_violations = 11 [default = true];
- clearRequirement() - Method in class com.google.javascript.jscomp.ConformanceConfig.Builder
-
repeated .jscomp.Requirement requirement = 1;
- 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;
- clearTemplates() - Method in class com.google.javascript.refactoring.RefasterJsScanner
-
Clears the RefasterJs templates used for comparison.
- 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;
- 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(Set<String>, String, char[]) - Method in class com.google.javascript.jscomp.RandomNameGenerator
-
- clone() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
- clone() - Method in class com.google.javascript.rhino.JSDocInfo
-
- clone(boolean) - Method in class com.google.javascript.rhino.JSDocInfo
-
- cloneNode() - Method in class com.google.javascript.rhino.Node
-
- cloneNode(boolean) - Method in class com.google.javascript.rhino.Node
-
- cloneNode(boolean) - Method in class com.google.javascript.rhino.Node.TypeDeclarationNode
-
- 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
-
- cloneTree(boolean) - Method in class com.google.javascript.rhino.Node
-
- 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
-
- ClosureBundler(Transpiler) - Constructor for class com.google.javascript.jscomp.deps.ClosureBundler
-
- ClosureCheckModule - Class in com.google.javascript.jscomp
-
Checks that goog.module() is used correctly.
- ClosureCheckModule(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.ClosureCheckModule
-
- 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
-
- 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
-
- CodeConsumer - Class in com.google.javascript.jscomp
-
Abstracted consumer of the CodeGenerator output.
- CodeConsumer() - Constructor for class com.google.javascript.jscomp.CodeConsumer
-
- CodeGenerator - Class in com.google.javascript.jscomp
-
CodeGenerator generates codes from a parse tree, sending it to the specified
CodeConsumer.
- CodeGenerator(CodeConsumer, CompilerOptions) - Constructor for class com.google.javascript.jscomp.CodeGenerator
-
- CodeGenerator.Context - Enum in com.google.javascript.jscomp
-
Information on the current context.
- 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
-
- CodePrinter.Builder.CodeGeneratorFactory - Interface in com.google.javascript.jscomp
-
- CodePrinter.Format - Enum in com.google.javascript.jscomp
-
Specifies a format for code generation.
- 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.Cache - Class in com.google.javascript.jscomp
-
Cache 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
-
- 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.
- com.google.javascript.jscomp - package com.google.javascript.jscomp
-
Provides the core compiler and its public API.
- 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.transpile - package com.google.javascript.jscomp.transpile
-
- com.google.javascript.jscomp.type - package com.google.javascript.jscomp.type
-
Provides type-checking data structures and algorithms.
- com.google.javascript.refactoring - package com.google.javascript.refactoring
-
- com.google.javascript.rhino - package com.google.javascript.rhino
-
The core AST from Rhino.
- com.google.javascript.rhino.dtoa - package com.google.javascript.rhino.dtoa
-
- com.google.javascript.rhino.jstype - package com.google.javascript.rhino.jstype
-
Provides abstractions to represent types in JavaScript.
- comma(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- 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
-
- CommandLineConfig() - Constructor for class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
- 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
-
- CommandLineRunner(String[], InputStream, 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
-
- COMMON_JS_MODULE_LOAD - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- commonTypes - Variable in class com.google.javascript.jscomp.newtypes.Namespace
-
- compareTo(DiagnosticType) - Method in class com.google.javascript.jscomp.DiagnosticType
-
- COMPATIBLE_DIAGNOSTICS - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- 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.
- compile(Path, String) - Method in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
-
- 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 - Variable in class com.google.javascript.jscomp.NameBasedDefinitionProvider
-
- compiler() - Method in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
-
- Compiler.CodeBuilder - Class in com.google.javascript.jscomp
-
Stores a buffer of text to which more can be appended.
- CompileResult(String, JSError[], boolean, String) - Constructor for class com.google.javascript.jscomp.transpile.BaseTranspiler.CompileResult
-
- 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.DependencyMode - Enum in com.google.javascript.jscomp
-
How compiler should prune files based on the provide-require dependency graph
- CompilerOptions.DisposalCheckingPolicy - Enum in com.google.javascript.jscomp
-
Policies to determine the disposal checking level.
- CompilerOptions.Environment - Enum in com.google.javascript.jscomp
-
An environment specifies the built-in externs that are loaded for a given
compilation.
- CompilerOptions.ExtractPrototypeMemberDeclarationsMode - Enum in com.google.javascript.jscomp
-
- CompilerOptions.IncrementalCheckMode - Enum in com.google.javascript.jscomp
-
- CompilerOptions.IsolationMode - Enum in com.google.javascript.jscomp
-
What kind of isolation is going to be used
- CompilerOptions.J2clPassMode - Enum in com.google.javascript.jscomp
-
A mode enum used to indicate whether J2clPass should be enabled, disabled, or enabled
automatically if there is any J2cl source file (i.e.
- CompilerOptions.LanguageMode - Enum in com.google.javascript.jscomp
-
A language mode applies to the whole compilation job.
- 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.
- CompilerSupplier() - Constructor for class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
-
- completeScope(StaticTypedScope<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_GETTER - Static variable in class com.google.javascript.rhino.Node
-
- COMPUTED_PROP_METHOD - Static variable in class com.google.javascript.rhino.Node
-
- COMPUTED_PROP_NAME_IN_ENUM - Static variable in class com.google.javascript.jscomp.lint.CheckEnums
-
- COMPUTED_PROP_SETTER - Static variable in class com.google.javascript.rhino.Node
-
- COMPUTED_PROP_VARIABLE - 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.
- computedProp(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- 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, TokenType, ParseTree, BlockTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyGetterTree
-
- ComputedPropertyMemberVariableTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Represents a member variable with a computed property name.
- ComputedPropertyMemberVariableTree(SourceRange, ParseTree, boolean, TokenType, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyMemberVariableTree
-
- ComputedPropertyMethodTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- ComputedPropertyMethodTree(SourceRange, TokenType, 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, TokenType, IdentifierToken, ParseTree, 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.
- computeJSType() - Method in class com.google.javascript.jscomp.newtypes.EnumType
-
When defining an enum such as
/** @enum {number} * /
var X = { ONE: 1, TWO: 2 };
the properties of the object literal are constant.
- computeJSType() - Method in class com.google.javascript.jscomp.newtypes.FunctionNamespace
-
- computeJSType() - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- computeJSType() - Method in class com.google.javascript.jscomp.newtypes.NamespaceLit
-
- computeJSType() - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- 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, boolean) - Constructor for class com.google.javascript.jscomp.parsing.parser.Parser.Config
-
- Config.JsDocParsing - Enum in com.google.javascript.jscomp.parsing
-
Whether to parse the descriptions of JsDoc comments.
- Config.LanguageMode - Enum in com.google.javascript.jscomp.parsing
-
JavaScript mode
- Config.RunMode - Enum in com.google.javascript.jscomp.parsing
-
Whether to keep going after encountering a parse error.
- Config.StrictMode - Enum in com.google.javascript.jscomp.parsing
-
Level of language strictness required for the input source code.
- 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
-
- Conformance - Class in com.google.javascript.jscomp
-
- CONFORMANCE - Static variable in class com.google.javascript.jscomp.ConformanceRules.ConformanceResult
-
- 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.BanCreateDom - Class in com.google.javascript.jscomp
-
Ban
goog.dom.createDom
and goog.dom.DomHelper#createDom
with parameters
specified in value
in the format tagname.attribute, e.g.
- ConformanceRules.BanExpose - Class in com.google.javascript.jscomp
-
Banned @expose
- ConformanceRules.BanGlobalVars - Class in com.google.javascript.jscomp
-
Banned global var declarations.
- ConformanceRules.BanNullDeref - Class in com.google.javascript.jscomp
-
Banned dereferencing null or undefined types.
- ConformanceRules.BanThrowOfNonErrorTypes - Class in com.google.javascript.jscomp
-
Banned throw of non-error object types.
- ConformanceRules.BanUnknownDirectThisPropsReferences - Class in com.google.javascript.jscomp
-
Banned unknown type references of the form "this.prop" unless
- it is immediately cast,
- it is a @template type (until template type
restricts are enabled) or
- the value is unused.
- ConformanceRules.BanUnknownThis - Class in com.google.javascript.jscomp
-
Banned unknown "this" types.
- ConformanceRules.BanUnknownTypedClassPropsReferences - Class in com.google.javascript.jscomp
-
Banned unknown type references of the form "instance.prop" unless
(a) it is immediately cast/asserted, or
(b) it is a @template type (until template type restrictions are enabled), or
(c) the value is unused, or
(d) the source object type is unknown (to avoid error cascades)
- ConformanceRules.BanUnresolvedType - Class in com.google.javascript.jscomp
-
Banned accessing properties from objects that are unresolved
forward-declared type names.
- ConformanceRules.ConformanceLevel - Enum in com.google.javascript.jscomp
-
Possible check check results
- ConformanceRules.ConformanceResult - Class in com.google.javascript.jscomp
-
Classes extending AbstractRule must return ConformanceResult
from their checkConformance implementation.
- ConformanceRules.RequireFileoverviewVisibility - Class in com.google.javascript.jscomp
-
Requires source files to contain a top-level
@fileoverview
block
with an explicit visibility annotation.
- ConformanceRules.RequireUseStrict - Class in com.google.javascript.jscomp
-
Require "use strict" rule
- 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
-
- CONSTANT_PROPERTY - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- CONSTANT_PROPERTY_DEF - Static variable in class com.google.javascript.rhino.Node
-
- constNode(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- CONSTRUCT_SIGNATURE - 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.
- CONSTRUCTOR_DISALLOWED_JSDOC - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
-
- constructorPropertyDeclaration() - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that matches against properties that are declared in the constructor.
- contains(FeatureSet) - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Does this
FeatureSet
contain all of the features of other
?
- contains(FeatureSet.Feature) - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Does this
FeatureSet
include feature
?
- 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 $
.
- containsArray() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- containsArray() - Method in class com.google.javascript.rhino.jstype.JSType
-
- containsArray() - Method in interface com.google.javascript.rhino.TypeI
-
- containsDeclaration() - Method in class com.google.javascript.rhino.JSDocInfo
-
- containsFunctionDeclaration() - Method in class com.google.javascript.rhino.JSDocInfo
-
- containsType(Node, Token) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- containsTypeDefinition() - Method in class com.google.javascript.rhino.JSDocInfo
-
- containWarning(String) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard
-
Determines whether a given warning is included in the white-list.
- contents - Variable in class com.google.javascript.jscomp.parsing.parser.SourceFile
-
- 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.JsdocToEs6TypedConverter.TypeDeclarationsIRFactory
-
- convertMethodToFunction() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- convertMethodToFunction() - Method in interface com.google.javascript.rhino.FunctionTypeI
-
Creates a new function type B based on the original function type A.
- convertMethodToFunction() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- 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.JsdocToEs6TypedConverter.TypeDeclarationsIRFactory
-
The root of a JSTypeExpression is very different from an AST node, even
though we use the same Java class to represent them.
- copy() - Method in class com.google.javascript.rhino.JSTypeExpression
-
- 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.
- copyWindowProperties(JSTypes, RawNominalType) - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- 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(AbstractCompiler) - Method in class com.google.javascript.jscomp.PassFactory
-
Creates a new compiler pass to be run.
- create(AbstractCompiler) - Method in class com.google.javascript.jscomp.PassFactory.HotSwapPassFactory
-
- 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.AbstractCommandLineRunner
-
Returns the instance of the Compiler to use when
AbstractCommandLineRunner.run()
is
called.
- createCompiler() - Method in class com.google.javascript.jscomp.CommandLineRunner
-
- createConfig(Config.LanguageMode, Config.StrictMode) - Method in class com.google.javascript.jscomp.Compiler
-
- createConfig(Config.LanguageMode, Set<String>, Config.StrictMode) - Static method in class com.google.javascript.jscomp.parsing.ParserRunner
-
- createConfig(Config.LanguageMode, Config.JsDocParsing, Config.RunMode, Set<String>, boolean, Config.StrictMode) - Static method in class com.google.javascript.jscomp.parsing.ParserRunner
-
- createConstructorType(String, Node, Node, JSType, ImmutableList<TemplateType>, boolean) - 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.
- 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
-
- createEmptyPass(String) - Static method in class com.google.javascript.jscomp.PassFactory
-
Create a no-op pass that can only run once.
- createEnumType(String, Node, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates an enum type.
- createExterns(CompilerOptions) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
- createExterns(CompilerOptions) - Method in class com.google.javascript.jscomp.CommandLineRunner
-
- createFunctionType(JSType, JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a function type.
- createFunctionType(JSType, Node) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- createFunctionTypeWithInstanceType(ObjectType, JSType, List<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a function type in which
this
refers to an object instance.
- createFunctionTypeWithNewReturnType(FunctionType, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a new function type based on an existing function type but
with a new return type.
- createFunctionTypeWithVarArgs(JSType, JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a function type.
- createGetterPropName(String) - Static method in class com.google.javascript.jscomp.newtypes.JSType
-
- createInputs(List<AbstractCommandLineRunner.FlagEntry<AbstractCommandLineRunner.JsSourceType>>, boolean, List<AbstractCommandLineRunner.JsModuleSpec>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Creates inputs from a list of files.
- createInputs(List<AbstractCommandLineRunner.FlagEntry<AbstractCommandLineRunner.JsSourceType>>, List<AbstractCommandLineRunner.JsonFileSpec>, List<AbstractCommandLineRunner.JsModuleSpec>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Creates inputs from a list of source files and json files.
- createInputs(List<AbstractCommandLineRunner.FlagEntry<AbstractCommandLineRunner.JsSourceType>>, List<AbstractCommandLineRunner.JsonFileSpec>, boolean, List<AbstractCommandLineRunner.JsModuleSpec>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Creates inputs from a list of source files, zips and json files.
- createInterfaceType(String, Node, ImmutableList<TemplateType>, boolean) - 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.
- createObjectType(String, 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.
- createOptions() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Returns the instance of the Options to use when
AbstractCommandLineRunner.run()
is called.
- createOptions() - Method in class com.google.javascript.jscomp.CommandLineRunner
-
- createParameters(JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a tree hierarchy representing a typed argument list.
- createParametersWithVarArgs(JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a tree hierarchy representing a typed argument list.
- createRecordType(Map<String, ? extends TypeI>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- createRecordType(Map<String, ? extends TypeI>) - Method in interface com.google.javascript.rhino.TypeIRegistry
-
Creates an anonymous structural type with the given properties.
- createScope(Node, Scope) - Method in class com.google.javascript.jscomp.Es6SyntacticScopeCreator
-
- createSetterPropName(String) - Static method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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.
- createTypeFromCommentNode(Node) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- createTypeFromCommentNode(Node, String, StaticTypedScope<? extends TypeI>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a JSType from the nodes representing a type.
- createTypeFromCommentNode(Node) - Method in interface com.google.javascript.rhino.TypeIRegistry
-
- 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(List<? extends TypeI>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- 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(List<? extends TypeI>) - Method in interface com.google.javascript.rhino.TypeIRegistry
-
- createWithoutAnnotations() - Static method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- 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
- DartSuperAccessorsPass - Class in com.google.javascript.jscomp
-
Converts
super
getter and setter calls in order to support the output
of the Dart Dev Compiler (https://github.com/dart-lang/dev_compiler).
- DartSuperAccessorsPass(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.DartSuperAccessorsPass
-
- deadAssignmentElimination - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Remove assignments to values that can not be referenced
- DeadPropertyAssignmentElimination - Class in com.google.javascript.jscomp
-
An optimization pass that finds and removes dead property assignments within functions.
- 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
-
- Declaration - Class in com.google.javascript.jscomp.newtypes
-
Represents a declaration of a javascript type.
- Declaration(JSType, Typedef, Namespace, DeclaredTypeRegistry, boolean, boolean) - Constructor for class com.google.javascript.jscomp.newtypes.Declaration
-
- declaration - Variable in class com.google.javascript.jscomp.parsing.parser.trees.AmbientDeclarationTree
-
- declaration - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ExportDeclarationTree
-
- declaration(Node, Token) - Static method in class com.google.javascript.rhino.IR
-
- declaration(Node, Node, Token) - 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
-
- declarationType() - Method in class com.google.javascript.jscomp.Var
-
- DECLARED_TYPE_EXPR - Static variable in class com.google.javascript.rhino.Node
-
- 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.ComputedPropertyMemberVariableTree
-
- declaredType - Variable in class com.google.javascript.jscomp.parsing.parser.trees.IndexSignatureTree
-
- declaredType - Variable in class com.google.javascript.jscomp.parsing.parser.trees.MemberVariableTree
-
- 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.
- decode(String) - Method in class com.google.javascript.jscomp.ReplacedStringsDecoder
-
Decodes an encoded string from the JS Compiler ReplaceStrings pass.
- DEFAULT_FILENAME_PREFIX - Static variable in class com.google.javascript.jscomp.deps.ModuleLoader
-
The default module root, the current directory.
- 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.
- DefaultExterns - Class in com.google.javascript.jscomp
-
Contains information on default externs files.
- defaultIsFunctionCallThatAlwaysThrows(Node, String) - Static method in class com.google.javascript.jscomp.CodingConventions
-
- 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, StaticTypedScope<JSType>, List<ObjectType>, Map<String, String>) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Defines the delegate proxy prototype properties.
- defineDelegateProxyPrototypeProperties(JSTypeRegistry, StaticTypedScope<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.
- definitionNodeByDefinitionSite - Variable in class com.google.javascript.jscomp.NameBasedDefinitionProvider
-
- definitionNodes - Variable in class com.google.javascript.jscomp.NameBasedDefinitionProvider
-
- DefinitionUseSiteFinder - Class in com.google.javascript.jscomp
-
Built on top of the
NameBasedDefinitionProvider
, this class additionally collects the
use sites for each definition.
- DefinitionUseSiteFinder(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.DefinitionUseSiteFinder
-
- defSite - Variable in class com.google.javascript.jscomp.newtypes.Namespace
-
- delete(Node) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Deletes a node and its contents from the source file.
- deleteArgument(Node, int) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Deletes an argument from an existing function call, including any JS doc that precedes it.
- deleteWithoutRemovingWhitespace(Node) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Deletes a node without touching any surrounding whitespace.
- deleteWithoutRemovingWhitespaceBefore(Node) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Deletes a node and its contents from the source file.
- 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.
- DependencyInfo.Base - Class in com.google.javascript.jscomp.deps
-
Abstract base implementation that defines derived accessors such
as
DependencyInfo.Base.isModule()
.
- DependencyInfo.Util - Class in com.google.javascript.jscomp.deps
-
Utility methods.
- 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
-
- DEPRECATED_ANNOTATIONS - 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, ModuleLoader) - Constructor for class com.google.javascript.jscomp.deps.DepsGenerator
-
Creates a new DepsGenerator.
- DepsGenerator.InclusionStrategy - Enum in com.google.javascript.jscomp.deps
-
- depth - Variable in class com.google.javascript.jscomp.Scope
-
- dereference() - Method in class com.google.javascript.rhino.jstype.JSType
-
Dereference a type for property access.
- describeCachingCall(Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
-
- describeCachingCall(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Builds a
CodingConvention.Cache
instance from the given call node and returns that instance, or null
if the Node
does not resemble a cache utility call.
- describeCachingCall(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- 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
- deserialize(InputStream) - Static method in class com.google.javascript.jscomp.CompilerOptions
-
Deserializes compiler options from a stream.
- destinationName - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ExportSpecifierTree
-
- destinationName - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ImportSpecifierTree
-
- detach() - Method in class com.google.javascript.rhino.Node
-
Removes this node from its parent.
- 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.
- detectFeatures(String, String) - Static method in class com.google.javascript.jscomp.parsing.ParserRunner
-
- 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.
- DiagnosticGroupPathSuppressingWarningsGuard - Class in com.google.javascript.jscomp
-
A warnings guard that suppresses warnings for a particular diagnostic group for a file that
contains the specified substring.
- DiagnosticGroupPathSuppressingWarningsGuard(DiagnosticGroup, String) - Constructor for class com.google.javascript.jscomp.DiagnosticGroupPathSuppressingWarningsGuard
-
- 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 - Static variable in class com.google.javascript.jscomp.newtypes.ObjectKind
-
- 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.DiagnosticGroupPathSuppressingWarningsGuard
-
Does not suppress all warnings of any type.
- 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.
- 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.
- doNode(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- doRun() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Parses command-line arguments and runs the compiler.
- DotFormatter - Class in com.google.javascript.jscomp
-
DotFormatter prints out a dot file of the Abstract Syntax Tree.
- 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(Pattern) - Method in class com.google.javascript.refactoring.RefactoringDriver
-
Run the refactoring and return any suggested fixes as a result.
- drive() - Method in class com.google.javascript.refactoring.RefactoringDriver
-
Run the refactoring and return any suggested fixes as a result.
- DToA - Class in com.google.javascript.rhino.dtoa
-
- DToA() - Constructor for class com.google.javascript.rhino.dtoa.DToA
-
- dumpEntries(PrintStream) - Static method in class com.google.javascript.jscomp.parsing.parser.util.Timer
-
- DUPLICATE_CASE - Static variable in class com.google.javascript.jscomp.lint.CheckDuplicateCase
-
- 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_REQUIRE - Static variable in class com.google.javascript.jscomp.lint.CheckRequiresAndProvidesSorted
-
- 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.InterfaceDeclarationTree
-
- elements - Variable in class com.google.javascript.jscomp.parsing.parser.trees.NamespaceDeclarationTree
-
- elements - Variable in class com.google.javascript.jscomp.parsing.parser.trees.TemplateLiteralExpressionTree
-
- elementType - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ArrayTypeTree
-
- elseClause - Variable in class com.google.javascript.jscomp.parsing.parser.trees.IfStatementTree
-
- embedSourcemap() - Method in class com.google.javascript.jscomp.transpile.TranspileResult
-
- embedSourcemapUrl(String) - Method in class com.google.javascript.jscomp.transpile.TranspileResult
-
- EMPTY - Static variable in class com.google.javascript.jscomp.deps.ModuleLoader
-
A trivial module loader with no roots.
- EMPTY - Static variable in class com.google.javascript.jscomp.deps.SimpleDependencyInfo
-
- EMPTY - Static variable in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
-
- empty() - Static method in class com.google.javascript.rhino.IR
-
- EmptyMessageBundle - Class in com.google.javascript.jscomp
-
An implementation of MessageBundle that has no translations.
- EmptyMessageBundle() - Constructor for class com.google.javascript.jscomp.EmptyMessageBundle
-
- 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.
- enablesExplicitly(DiagnosticGroup) - Method in class com.google.javascript.jscomp.ComposeWarningsGuard
-
- enablesExplicitly(DiagnosticGroup) - Method in class com.google.javascript.jscomp.DiagnosticGroupWarningsGuard
-
- enablesExplicitly(DiagnosticGroup) - Method in class com.google.javascript.jscomp.WarningsGuard
-
The enables method returns true if any of the diagnostic types in the group is
enabled.
- end - Variable in class com.google.javascript.jscomp.parsing.parser.util.SourceRange
-
- end() - Method in class com.google.javascript.jscomp.parsing.parser.util.Timer
-
- 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.
- enterFunction(AbstractCompiler, Node) - Method in interface com.google.javascript.jscomp.NodeTraversal.FunctionCallback
-
- enterModule(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ClosureCheckModule
-
- enterModule(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractModuleCallback
-
Called immediately after entering a module.
- enterScope(NodeTraversal) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractModuleCallback
-
- 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.
- enterScope(NodeTraversal) - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback
-
Updates block stack and invokes any additional behavior.
- 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
-
- ENUM_IS_TOP - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- ENUM_IS_UNION - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- ENUM_PROP_NOT_CONSTANT - Static variable in class com.google.javascript.jscomp.lint.CheckEnums
-
- ENUM_WITH_TYPEVARS - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- EnumDeclarationTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- EnumDeclarationTree(SourceRange, IdentifierToken, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.EnumDeclarationTree
-
- 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
-
- 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.
- eq(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
"=="
- equals(Object) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.FlagEntry
-
- 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.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.parsing.parser.FeatureSet
-
- equals(Object) - Method in class com.google.javascript.jscomp.regex.RegExpTree
-
- equals(Object) - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
-
- equals(Object) - Method in class com.google.javascript.jscomp.transpile.TranspileResult
-
- equals(Object) - Method in class com.google.javascript.jscomp.TypedVar
-
- equals(Object) - Method in class com.google.javascript.jscomp.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
-
- 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_MESSAGE_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Requirement
-
- errorFormat - Variable in class com.google.javascript.jscomp.CompilerOptions
-
- ErrorFormat - Enum in com.google.javascript.jscomp
-
Error formats available.
- errorHandler - Variable in class com.google.javascript.jscomp.deps.ModuleResolver
-
- 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.
- errors - Variable in class com.google.javascript.jscomp.JsAst.ParseResult
-
- errors - Variable in class com.google.javascript.jscomp.Result
-
- errors - Variable in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompileResult
-
- ErrorToFixMapper - Class in com.google.javascript.refactoring
-
Maps a
JSError
to a list of SuggestedFix
es, if possible.
- ES3 - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- ES3 - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
The bare minimum set of features in ES3.
- ES5 - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Features from ES5 only.
- ES5_STRICT - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- ES5_TRANSPILER - Static variable in class com.google.javascript.jscomp.transpile.BaseTranspiler
-
- ES5_WARNINGS - Static variable in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
-
- ES6 - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
The full set of ES6 features, not including modules.
- ES6_IMPL - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
The subset of ES6 features that are implemented in stable Chrome, Firefox, and Edge.
- ES6_MODULES - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
All ES6 features, including modules.
- Es6ConvertSuper - Class in com.google.javascript.jscomp
-
Converts
super.method()
calls and adds constructors to any classes that lack them.
- Es6ConvertSuper(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6ConvertSuper
-
- Es6ConvertSuperConstructorCalls - Class in com.google.javascript.jscomp
-
Converts
super()
calls.
- Es6ConvertSuperConstructorCalls(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6ConvertSuperConstructorCalls
-
- Es6ExtractClasses - Class in com.google.javascript.jscomp
-
Extracts ES6 classes defined in function calls to local constants.
- 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
-
- Es6RewriteArrowFunction - Class in com.google.javascript.jscomp
-
Converts ES6 arrow functions to standard anonymous ES3 functions.
- Es6RewriteArrowFunction(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6RewriteArrowFunction
-
- Es6RewriteBlockScopedDeclaration - Class in com.google.javascript.jscomp
-
Rewrite "let"s and "const"s as "var"s.
- Es6RewriteBlockScopedDeclaration(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6RewriteBlockScopedDeclaration
-
- Es6RewriteDestructuring - Class in com.google.javascript.jscomp
-
Rewrites ES6 destructuring patterns and default parameters to valid ES3 code.
- Es6RewriteDestructuring(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6RewriteDestructuring
-
- 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
-
- Es6SortedDependencies<INPUT extends DependencyInfo> - Class in com.google.javascript.jscomp.deps
-
A sorted list of inputs following the ES6 module ordering spec.
- Es6SortedDependencies(List<INPUT>) - Constructor for class com.google.javascript.jscomp.deps.Es6SortedDependencies
-
- 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
-
- Es6SyntacticScopeCreator - Class in com.google.javascript.jscomp
-
The syntactic scope creator scans the parse tree to create a Scope object
containing all the variable declarations in that scope.
- Es6SyntacticScopeCreator(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6SyntacticScopeCreator
-
- Es6ToEs3ClassSideInheritance - Class in com.google.javascript.jscomp
-
Rewrites static inheritance to explicitly copy inherited properties from superclass to
subclass so that the typechecker knows the subclass has those properties.
- Es6ToEs3ClassSideInheritance(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6ToEs3ClassSideInheritance
-
- Es6ToEs3Converter - Class in com.google.javascript.jscomp
-
Converts ES6 code to valid ES5 code.
- Es6ToEs3Converter(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6ToEs3Converter
-
- Es6TypedToEs6Converter - Class in com.google.javascript.jscomp
-
Converts
Node.getDeclaredTypeExpression()
to JSDocInfo.getType()
type
annotations.
- ES7 - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
- ES7_MODULES - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
- ES8 - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
- ES8_MODULES - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
- evaluate(StaticTypedScope<JSType>, TypeIRegistry) - Method in class com.google.javascript.rhino.JSTypeExpression
-
Evaluates the type expression into a
JSType
object.
- evaluateTypeExpression(JSTypeExpression, TypeIEnv<TypeI>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- evaluateTypeExpression(JSTypeExpression, TypeIEnv<TypeI>) - Method in interface com.google.javascript.rhino.TypeIRegistry
-
- evaluateTypeExpressionInGlobalScope(JSTypeExpression) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- evaluateTypeExpressionInGlobalScope(JSTypeExpression) - Method in interface com.google.javascript.rhino.TypeIRegistry
-
- 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
-
- exitModule(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ClosureCheckModule
-
- exitModule(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractModuleCallback
-
Called immediately before exiting a module.
- exitScope(NodeTraversal) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractModuleCallback
-
- 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.
- exitScope(NodeTraversal) - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback
-
Updates block stack and invokes any additional behavior.
- 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.
- explicitlyImplOrExtInterface(FunctionType) - Method in class com.google.javascript.rhino.jstype.FunctionType
-
check whether or not this function type has implemented
the given interface
if this function is an interface, check whether or not
this interface has extended the given interface
- EXPORT_ALL_FROM - Static variable in class com.google.javascript.rhino.Node
-
- EXPORT_DEFAULT - Static variable in class com.google.javascript.rhino.Node
-
- 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.
- ExportTestFunctions - Class in com.google.javascript.jscomp
-
Generates goog.exportSymbol for test functions, so they can be recognized
by the test runner, even if the code is compiled.
- expression - Variable in class com.google.javascript.jscomp.parsing.parser.trees.AwaitExpressionTree
-
- 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_INTERFACE - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- 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.NodeUtil
-
- externExport - Variable in class com.google.javascript.jscomp.Result
-
- EXTERNS - Static variable in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
-
- EXTERNS_FILES_SHOULD_BE_ANNOTATED - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
-
- EXTERNS_VALIDATION - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- EXTRA_REQUIRE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- EXTRA_REQUIRE_WARNING - Static variable in class com.google.javascript.jscomp.CheckRequiresForConstructors
-
- 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
- FALSE_TYPE - Variable in class com.google.javascript.jscomp.newtypes.JSTypes
-
- falseNode() - Static method in class com.google.javascript.rhino.IR
-
- FALSY - Variable in class com.google.javascript.jscomp.newtypes.JSTypes
-
- FEATURE_SET - Static variable in class com.google.javascript.rhino.Node
-
- features() - Method in enum com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
-
- features - Variable in class com.google.javascript.jscomp.parsing.ParserRunner.ParseResult
-
- featureSet - Variable in enum com.google.javascript.jscomp.parsing.Config.LanguageMode
-
- FeatureSet - Class in com.google.javascript.jscomp.parsing.parser
-
Represents various aspects of language version and support.
- FeatureSet.Feature - Enum in com.google.javascript.jscomp.parsing.parser
-
Specific features that can be included (indirectly) in a FeatureSet.
- 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
-
- filenameToOutputStream(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Converts a file name into a Outputstream.
- FILEOVERVIEW_JSDOC - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- fileToJsIdentifier(String) - Static method in class com.google.javascript.jscomp.deps.ModuleNames
-
Returns a module name for an absolute path, with no resolution or checking.
- fileToModuleName(String) - Static method in class com.google.javascript.jscomp.deps.ModuleNames
-
Returns a module name for an absolute path, with no resolution or checking.
- 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
.
- findGeneratedName(String, ImmutableList<String>) - Static method in class com.google.javascript.jscomp.newtypes.UniqueNameGenerator
-
- 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
-
- findSubtypeWithProp(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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
- FixingErrorManager - Class in com.google.javascript.refactoring
-
An error manager that finds a SuggestedFix for all errors if possible.
- FixingErrorManager() - Constructor for class com.google.javascript.refactoring.FixingErrorManager
-
- 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
-
- FlagEntry(T, String) - Constructor for class com.google.javascript.jscomp.AbstractCommandLineRunner.FlagEntry
-
- FlagUsageException(String) - Constructor for exception com.google.javascript.jscomp.AbstractCommandLineRunner.FlagUsageException
-
- 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.
- forBoolean(boolean) - Static method in enum com.google.javascript.rhino.jstype.TernaryValue
-
Gets the TernaryValue for the given boolean.
- forClosure(String) - Static method in class com.google.javascript.jscomp.ModuleIdentifier
-
- forFile(String) - Static method in class com.google.javascript.jscomp.ModuleIdentifier
-
- forgetParameterAndReturnTypes() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Create a new constructor with the parameters and return type stripped.
- 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.CallSignatureTree
-
- formalParameterList - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
-
- formalParameterList - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionTypeTree
-
- 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
-
- 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
-
- 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.
- FREE_CALL - Static variable in class com.google.javascript.rhino.Node
-
- freeze() - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- FROM - Static variable in class com.google.javascript.jscomp.parsing.parser.PredefinedName
-
- from - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ExportDeclarationTree
-
- 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
-
- fromQualifiedString(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.CompilationLevel
-
- fromString(String) - Static method in enum com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
- fromTypeVar(JSTypes, String) - Static method in class com.google.javascript.jscomp.newtypes.JSType
-
- fromZipEntry(String, String, String, Charset) - Static method in class com.google.javascript.jscomp.SourceFile
-
- fromZipFile(String, Charset) - Static method in class com.google.javascript.jscomp.SourceFile
-
- function(Node, Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- FUNCTION_PARAMS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- FUNCTION_WITH_NONFUNC_JSDOC - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- FunctionAndSlotType(JSType, DeclaredFunctionType) - Constructor for class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc.FunctionAndSlotType
-
- 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
-
Returns a Matcher that matches all nodes that are function calls that match
the provided name.
- 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
-
Returns a Matcher that matches any function call that has the given
number of arguments and the given name.
- FunctionDeclarationTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- FunctionDeclarationTree.Builder - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Builds a
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
-
- FunctionNamespace - Class in com.google.javascript.jscomp.newtypes
-
- FunctionNamespace(JSTypes, String, DeclaredTypeRegistry, Node) - Constructor for class com.google.javascript.jscomp.newtypes.FunctionNamespace
-
- 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
-
Additional type information for methods and stand-alone functions.
- functionType - Variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc.FunctionAndSlotType
-
- FunctionType - Class in com.google.javascript.rhino.jstype
-
This derived type provides extended information about a function, including
its return type and argument types.
- functionType(Node, LinkedHashMap<String, Node.TypeDeclarationNode>, LinkedHashMap<String, Node.TypeDeclarationNode>, String, Node.TypeDeclarationNode) - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
-
Represents a function type.
- FunctionTypeBuilder - Class in com.google.javascript.jscomp.newtypes
-
A builder for
FunctionType
and DeclaredFunctionType
.
- FunctionTypeBuilder(JSTypes) - Constructor for class com.google.javascript.jscomp.newtypes.FunctionTypeBuilder
-
- FunctionTypeI - Interface in com.google.javascript.rhino
-
- FunctionTypeTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- FunctionTypeTree(SourceRange, FormalParameterListTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.FunctionTypeTree
-
G
- gatherCssNames - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Gather CSS names (requires closurePass)
- 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.
- generateNextName() - Method in class com.google.javascript.jscomp.RandomNameGenerator
-
Generates the next short name.
- 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.
- generateReport() - Method in class com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager
-
- 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
-
- GENERIC_TYPE_LIST - Static variable in class com.google.javascript.rhino.Node
-
- generics - Variable in class com.google.javascript.jscomp.parsing.parser.trees.CallSignatureTree
-
- generics - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ClassDeclarationTree
-
- generics - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
-
- generics - Variable in class com.google.javascript.jscomp.parsing.parser.trees.GenericTypeListTree
-
- generics - Variable in class com.google.javascript.jscomp.parsing.parser.trees.InterfaceDeclarationTree
-
- GenericTypeListTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
A tree representing generic type(s) in classes and functions
(
class Foo<T extends () => boolean, U>
).
- GenericTypeListTree(SourceRange, LinkedHashMap<IdentifierToken, ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.GenericTypeListTree
-
- get(String) - Method in class com.google.javascript.jscomp.CssRenamingMap.ByPart
-
- get(String) - Method in class com.google.javascript.jscomp.CssRenamingMap.ByWhole
-
- get(String) - Method in interface com.google.javascript.jscomp.CssRenamingMap
-
- get(String) - Static method in enum com.google.javascript.jscomp.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(String) - Method in class com.google.javascript.jscomp.Xid
-
Gets the string that should be substituted for
key
.
- 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, ParseTree, 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.
- getAllFixes() - Method in class com.google.javascript.refactoring.FixingErrorManager
-
Returns fixes for errors first, then fixes for warnings.
- 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.
- getAllJSDocInfoNodes() - 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
-
- getAllOwnClassProps() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- getAllOwnClassProps() - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- getAllOwnProps() - Method in class com.google.javascript.jscomp.newtypes.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.ReferenceCollectingCallback
-
Gets the variables that were referenced in this callback.
- getAllSymbols() - Method in class com.google.javascript.jscomp.Scope
-
- getAllSymbols() - Method in class com.google.javascript.jscomp.SymbolTable
-
- getAllSymbols() - Method in class com.google.javascript.jscomp.TypedScope
-
- getAllSymbols() - Method in interface com.google.javascript.rhino.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.
- getAlternatesWithoutStructuralTyping() - Method in class com.google.javascript.rhino.jstype.UnionType
-
Gets the alternate types of this union type, including structural interfaces
and implicit implementations as are distinct alternates.
- getAncestor(int) - Method in class com.google.javascript.rhino.Node
-
Gets the ancestor node relative to this.
- getAncestorInterfaces() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getAncestorInterfaces() - Method in interface com.google.javascript.rhino.FunctionTypeI
-
- getAncestorInterfaces() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- 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;
- getArgIndex() - Method in class com.google.javascript.jscomp.newtypes.MismatchInfo
-
- getArgumentsArrayType(JSType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- getArgumentsArrayType() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- getArgumentsVar() - Method in class com.google.javascript.jscomp.Scope
-
Get a unique VAR object to represents "arguments" within this scope
- getArgumentsVar() - Method in class com.google.javascript.jscomp.TypedScope
-
- getArrayInstance() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- getArrayInstance(JSType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- getAsInt(String) - Method in class com.google.javascript.jscomp.Xid
-
Returns the underlying integer representation of the given key.
- getAsNominalType() - Method in class com.google.javascript.jscomp.newtypes.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.ChromeCodingConvention
-
- 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
-
- getAssignedValue(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
For an assignment or variable declaration get the assigned value.
- getAstDotGraph() - Method in class com.google.javascript.jscomp.Compiler
-
Gets the DOT graph of the AST generated at the end of compilation.
- getAstNode() - Method in class com.google.javascript.jscomp.CallGraph.Callsite
-
- getAstNode() - Method in class com.google.javascript.jscomp.CallGraph.Function
-
Returns the underlying AST node for the function.
- getAstRoot(AbstractCompiler) - Method in class com.google.javascript.jscomp.CompilerInput
-
- getAstRoot(AbstractCompiler) - Method in class com.google.javascript.jscomp.JsAst
-
- getAstRoot(AbstractCompiler) - Method in class com.google.javascript.jscomp.RecoverableJsAst
-
- 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
-
- getAstSize() - Method in class com.google.javascript.jscomp.PerformanceTracker
-
- 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.
- getBooleanInstance() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- getBooleanProp(int) - Method in class com.google.javascript.rhino.Node
-
- getBuiltinExterns(CompilerOptions.Environment) - Static method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
- 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.
- getChangeStamp() - Method in class com.google.javascript.jscomp.Compiler
-
- 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.refactoring.SuggestedFix.MatchedNodeInfo
-
- 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
-
Gets the ith child, note that this is O(N) where N is the number of children.
- 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
-
- getClassMembers(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- getClosestHoistScope() - Method in class com.google.javascript.jscomp.NodeTraversal
-
- getClosestHoistScope() - Method in class com.google.javascript.jscomp.Scope
-
If a var were declared in this scope, return the scope it would be hoisted to.
- getClosestHoistScope() - Method in class com.google.javascript.jscomp.TypedScope
-
- getClosureNamespace() - Method in class com.google.javascript.jscomp.ModuleIdentifier
-
- 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.
- getCodeCharSource() - Method in class com.google.javascript.jscomp.SourceFile
-
Gets a char source for the code in this source file.
- getCodeGenerator(CodePrinter.Format, CodeConsumer) - Method in interface com.google.javascript.jscomp.CodePrinter.Builder.CodeGeneratorFactory
-
- 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
-
- getColumnOfOffset(int) - Method in class com.google.javascript.jscomp.SourceFile
-
- getColumnOfOffset(int) - Method in class com.google.javascript.rhino.SimpleSourceFile
-
- getColumnOfOffset(int) - Method in interface com.google.javascript.rhino.StaticSourceFile
-
Gets the 0-based column number of the given source offset.
- getCommandLineConfig() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Get the command line config, so that it can be initialized.
- 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
-
Returns an object that defines the built-in types, and contains other state
used throughout type checking.
- 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.AbstractCommandLineRunner
-
- 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
-
- getCompilerOptions() - Static method in class com.google.javascript.refactoring.RefactoringDriver
-
- getConformanceConfigs() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getConstructor() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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
-
- getConstructor() - Method in interface com.google.javascript.rhino.ObjectTypeI
-
Gets this object's constructor, or null if it is a native
object (constructed natively vs.
- getConstructorFunction() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- getConstructorFunction() - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- 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.
- getCount(Node, Predicate<Node>, Predicate<Node>) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- 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
-
- getCtorExtendedInterfaces() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- getCtorExtendedInterfaces() - Method in class com.google.javascript.rhino.jstype.TemplatizedType
-
- 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
-
- getCtorImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.TemplatizedType
-
- getCtorPropDeclaredType(String) - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- getCurrentNode() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Returns the node currently being traversed.
- getDeclaration(QualifiedName, boolean) - Method in interface com.google.javascript.jscomp.newtypes.DeclaredTypeRegistry
-
Returns the declaration of the given qualified name,
or null if the name is not defined.
- getDeclaration(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- getDeclaration() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
-
- getDeclaration() - Method in class com.google.javascript.jscomp.TypedVar
-
- getDeclaration() - Method in class com.google.javascript.jscomp.Var
-
- 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.StaticTypedSlot
-
Gets the declaration of this symbol.
- getDeclaration() - Method in interface com.google.javascript.rhino.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.TypedScope
-
- getDeclaredFunctionType() - Method in interface com.google.javascript.jscomp.newtypes.DeclaredTypeRegistry
-
Get the type of the function that the declared type registry represents.
- getDeclaredProp(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.EnumType
-
- getDeclaredProp(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getDeclaredTypeExpression() - Method in class com.google.javascript.rhino.Node
-
Returns the syntactical type specified on this node.
- 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.
- getDeclaredTypeOfNode(JSDocInfo, RawNominalType, DeclaredTypeRegistry) - Method in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- 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
-
Deprecated.
- 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.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.
- getDefinitionForFunction(Node) - Method in class com.google.javascript.jscomp.NameBasedDefinitionProvider
-
- getDefinitionSites() - Method in class com.google.javascript.jscomp.NameBasedDefinitionProvider
-
Returns the collection of definition sites found during traversal.
- getDefinitionsReferencedAt(Node) - Method in class com.google.javascript.jscomp.NameBasedDefinitionProvider
-
- getDefSite() - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- getDefSite() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- 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.Es6SortedDependencies
-
- getDependenciesOf(List<INPUT>, boolean) - Method in interface 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.
- getDependencyOptions() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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.
- getDeps() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.JsModuleSpec
-
- getDepth() - Method in class com.google.javascript.jscomp.JSModule
-
- getDepth() - Method in class com.google.javascript.jscomp.Scope
-
The depth of the scope.
- getDepth() - Method in class com.google.javascript.jscomp.TypedScope
-
- 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.refactoring.SuggestedFix
-
- 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.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.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.AbstractCommandLineRunner
-
The warning classes that are available from the command-line.
- getDiagnosticGroups() - Method in class com.google.javascript.jscomp.Compiler
-
The warning classes that are available from the command-line, and
are suppressible by the
@suppress
annotation.
- getDirectedGraphEdges(N, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
-
- getDirectedGraphEdges(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- getDirectedGraphNode(N) - Method in class com.google.javascript.jscomp.graph.DiGraph
-
- getDirectedGraphNode(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- getDirectedGraphNodes() - Method in class com.google.javascript.jscomp.graph.DiGraph
-
Gets an immutable iterable over all the nodes in the graph.
- getDirectedGraphNodes() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- getDirectedPredNodes(DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.DiGraph
-
- getDirectedPredNodes(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() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getDirectImplementors(ObjectType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Returns a collection of types that directly implement
interfaceInstance
.
- getDirectImplementors() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- getDirectImplementors() - Method in interface com.google.javascript.rhino.ObjectTypeI
-
- 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.jscomp.newtypes.JSType
-
- 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
-
- getDisplayName() - Method in interface com.google.javascript.rhino.TypeI
-
- 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
-
- 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.
- getEmptyObjectLiteral() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- getEnclosingBlock(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Finds the block containing the given node.
- getEnclosingBlockScopeRoot(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- getEnclosingClass(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Finds the class containing the given node.
- getEnclosingFunction() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Examines the functions stack for the last instance of a function node.
- getEnclosingFunction(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Finds the function containing the given node.
- getEnclosingNode(Node, Predicate<Node>) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- getEnclosingScope(Node) - Method in class com.google.javascript.jscomp.SymbolTable
-
Gets the scope that contains the given node.
- getEnclosingScopeRoot(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- getEnclosingScript(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Finds the script containing the given node.
- getEnclosingStatement(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- getEnclosingType(Node, Token) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Gets the closest ancestor to the given node of the provided type.
- getEnd() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- 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.
- getEndPosition() - Method in class com.google.javascript.refactoring.CodeReplacement
-
Returns the end position within the file that the modification
should be applied starting at.
- 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() - Method in class com.google.javascript.jscomp.newtypes.Declaration
-
- getEnumeratedType() - Method in class com.google.javascript.jscomp.newtypes.EnumType
-
- getEnumeratedTypeOfEnumElement() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getEnumeratedTypeOfEnumElement() - Method in class com.google.javascript.rhino.jstype.JSType
-
- getEnumeratedTypeOfEnumElement() - Method in interface com.google.javascript.rhino.TypeI
-
- 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() - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
- getEnvironment() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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.
- getErrorCount() - Method in class com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager
-
- 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;
- getErrorPrintStream() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Returns the PrintStream for writing errors associated with this
AbstractCommandLineRunner.
- getErrorReporter() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- getErrors() - Method in class com.google.javascript.jscomp.BasicErrorManager
-
- getErrors() - Method in class com.google.javascript.jscomp.Compiler
-
Returns the array of errors (never null).
- getErrors() - Method in interface com.google.javascript.jscomp.ErrorManager
-
Gets all the errors.
- getErrors() - Method in class com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager
-
- getExistingIntProp(int) - Method in class com.google.javascript.rhino.Node
-
- getExpectedType() - Method in class com.google.javascript.jscomp.newtypes.MismatchInfo
-
- 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;
- getFeatures(AbstractCompiler) - Method in class com.google.javascript.jscomp.JsAst
-
- getFeatures() - Method in class com.google.javascript.jscomp.parsing.parser.Parser
-
- 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
-
- getFirstFirstChild() - Method in class com.google.javascript.rhino.Node
-
Get the first child of the first child.
- getFirstLine(String) - Static method in class com.google.javascript.jscomp.WhitelistWarningsGuard
-
- getFixesForJsError(JSError, AbstractCompiler) - Static method in class com.google.javascript.refactoring.ErrorToFixMapper
-
- getFixesForJsError(JSError) - Method in class com.google.javascript.refactoring.FixingErrorManager
-
- getFixForJsError(JSError, AbstractCompiler) - Static method in class com.google.javascript.refactoring.ErrorToFixMapper
-
Creates a SuggestedFix for the given error.
- getFlag() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.FlagEntry
-
- getFormalType(int) - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- getFormalType(int) - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
Returns the formal parameter in the given (0-indexed) position,
or null if the position is past the end of the parameter list.
- 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.
- getFoundType() - Method in class com.google.javascript.jscomp.newtypes.MismatchInfo
-
- getFunctionBody(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Return a BLOCK node for the given FUNCTION node.
- 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.
- 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
-
- getFunctionScope() - Method in class com.google.javascript.jscomp.newtypes.Declaration
-
- getFunctionType(JSDocInfo, String, Node, RawNominalType, 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
-
- getGlobalScope() - Method in class com.google.javascript.jscomp.SymbolTable
-
Returns the global scope.
- getGrandparent() - Method in class com.google.javascript.rhino.Node
-
- 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(String) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getGreatestSubtypeWithProperty(String) - Method in class com.google.javascript.rhino.jstype.JSType
-
- 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.
- getGreatestSubtypeWithProperty(String) - Method in interface com.google.javascript.rhino.TypeI
-
- getGzSize() - Method in class com.google.javascript.jscomp.PerformanceTracker
-
- getHotSwapPass(AbstractCompiler) - Method in class com.google.javascript.jscomp.PassFactory
-
Any factory whose CompilerPass has a corresponding hot-swap version should
override this.
- getHotSwapPass(AbstractCompiler) - Method in class com.google.javascript.jscomp.PassFactory.HotSwapPassFactory
-
- getIArrayLikeInstance(JSType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- 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
-
- 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.
- getIndex() - Method in class com.google.javascript.jscomp.JSModule
-
- getIndexedType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getIndexOfChild(Node) - Method in class com.google.javascript.rhino.Node
-
Gets the index of a child, note that this is O(N) where N is the number of children.
- getIndexOfSymbol(SymbolTable.Symbol) - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
-
Gets a unique index for the symbol in this scope.
- getIndexType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getIndirectlyDeclaredProperties() - Method in class com.google.javascript.jscomp.ChromeCodingConvention
-
- 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.TypedVar
-
- getInitialValue() - Method in class com.google.javascript.jscomp.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;
- getInlineSourceMap() - Method in class com.google.javascript.jscomp.parsing.parser.Parser
-
Returns the decoded JSON source of an inline source map comment if any was found, or
null
otherwise.
- 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 class com.google.javascript.jscomp.RecoverableJsAst
-
- getInputId() - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback.Reference
-
- 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.TypedVar
-
- getInputProviding(String) - Method in class com.google.javascript.jscomp.deps.Es6SortedDependencies
-
- getInputProviding(String) - Method in interface 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.Es6SortedDependencies
-
- getInputsWithoutProvides() - Method in interface com.google.javascript.jscomp.deps.SortedDependencies
-
- getInstanceAsJSType() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- getInstanceAsJSType() - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- getInstancePropDeclaredType(String) - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- getInstanceType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getInstanceType() - Method in interface com.google.javascript.rhino.FunctionTypeI
-
Returns a type representing an instance of
this
constructor,
or null if this
is not a constructor.
- 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
-
If this type is a constructor (e.g.
- getInstanceWithNullability(boolean) - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- getInstantiatedInterfaces() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- getInstantiatedSuperclass() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- getInstrumentForCoverageOnly() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getInterfaces() - Method in class com.google.javascript.jscomp.newtypes.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.
- getIObjectType() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- 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;
- getJSDocInfo() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getJSDocInfo() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
-
- getJSDocInfo() - Method in class com.google.javascript.jscomp.TypedVar
-
- getJSDocInfo() - Method in class com.google.javascript.jscomp.Var
-
- 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 class com.google.javascript.rhino.Node
-
Get the
JSDocInfo
attached to this node.
- getJSDocInfo() - Method in interface com.google.javascript.rhino.StaticSlot
-
Gets the JSDoc for this slot.
- getJSDocInfo() - Method in interface com.google.javascript.rhino.TypeI
-
- getJsdocOfTypeDeclaration(String) - Method in class com.google.javascript.jscomp.TypedScope
-
- getJsdocOfTypeDeclaration(String) - Method in interface com.google.javascript.rhino.TypeIEnv
-
Returns the jsdoc at the definition site of the type represented by typeName.
- getJSType() - Method in class com.google.javascript.rhino.Node
-
Returns the compiled inferred type on this node.
- getJSTypeBeforeCast() - Method in class com.google.javascript.rhino.Node
-
Returns the type of this node before casting.
- 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
-
- 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
-
- getLegacyCodeCompile() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getLegacyResolvedType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getLegacyResolvedType() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- getLegacyResolvedType() - Method in interface com.google.javascript.rhino.ObjectTypeI
-
Only called on instances of NamedType.
- 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 characters the new content should replace in the
original content.
- getLength() - Method in class com.google.javascript.rhino.Node
-
- getLicense() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the description specified by the
@license
annotation.
- 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.
- getLineLengthThreshold() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getLineno() - Method in class com.google.javascript.refactoring.SuggestedFix.MatchedNodeInfo
-
- getLineno() - Method in class com.google.javascript.rhino.Node
-
- 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.SimpleSourceFile
-
- getLineOffset(int) - Method in interface com.google.javascript.rhino.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.SimpleSourceFile
-
- getLineOfOffset(int) - Method in interface com.google.javascript.rhino.StaticSourceFile
-
Gets the 1-based line number of the given source offset.
- getLiteralObjNominalType() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- getLoadFlags() - Method in class com.google.javascript.jscomp.CompilerInput
-
- getLoadFlags() - Method in interface com.google.javascript.jscomp.deps.DependencyInfo
-
Gets the loading information for this file.
- getLoadFlags() - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo
-
- getLoadFlags() - Method in class com.google.javascript.jscomp.JSModule
-
- getLoadFlags() - Method in class com.google.javascript.jscomp.LazyParsedDependencyInfo
-
- getMainFunction() - Method in class com.google.javascript.jscomp.CallGraph
-
Returns a Function object representing the "main" global function.
- 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
-
- getMatchedNodeInfo() - Method in class com.google.javascript.refactoring.SuggestedFix
-
Returns information about the original JS Compiler Node that caused this SuggestedFix to be
constructed.
- 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.DeclaredFunctionType
-
- getMaxArity() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
Returns the maximum number of parameters accepted by this function,
or Integer.MAX_VALUE for a function with rest parameters (effectively
infinite).
- getMaxArityWithoutRestFormals() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
Returns the maximum number of parameters accepted by this function,
not counting rest parameters.
- getMeaning() - Method in class com.google.javascript.jscomp.JsMessage
-
Gets the meaning annotated to the message, intended to force different
translations.
- 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
-
- getMessageNode() - Method in class com.google.javascript.jscomp.JsMessageDefinition
-
- 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
-
Returns the minimum number of parameters accepted by this function.
- 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;
- getModuleName() - Method in class com.google.javascript.jscomp.ModuleIdentifier
-
- 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 { ...
- getModuleResolutionMode() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getName() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.JsModuleSpec
-
- 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.LazyParsedDependencyInfo
-
- getName() - Method in class com.google.javascript.jscomp.ModuleIdentifier
-
- getName() - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- getName() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- getName(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- getName() - Method in class com.google.javascript.jscomp.SourceFile
-
Returns a unique name for the source file.
- getName() - Method in class com.google.javascript.jscomp.TypedVar
-
- getName() - Method in class com.google.javascript.jscomp.Var
-
- 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.SimpleSourceFile
-
- getName() - Method in interface com.google.javascript.rhino.StaticSlot
-
Gets the name of the slot.
- getName() - Method in interface com.google.javascript.rhino.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(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Gets the node of a function or class's name.
- getNameNode() - Method in class com.google.javascript.jscomp.TypedVar
-
- getNameNode() - Method in class com.google.javascript.jscomp.Var
-
- getNameNode() - Method in class com.google.javascript.rhino.JSDocInfo.Marker
-
Gets the position information for the name found
in an @param tag.
- getNamespace() - Method in class com.google.javascript.jscomp.newtypes.Declaration
-
- getNamespaceType() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- getNativeFunctionType(JSTypeNative) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- getNativeFunctionType(JSTypeNative) - Method in interface com.google.javascript.rhino.TypeIRegistry
-
- getNativeObjectType(JSTypeNative) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- getNativeObjectType(JSTypeNative) - Method in interface com.google.javascript.rhino.TypeIRegistry
-
- getNativeType(JSTypeNative) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- 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
-
- getNextName(String) - Method in class com.google.javascript.jscomp.newtypes.UniqueNameGenerator
-
- getNextNumber() - Method in class com.google.javascript.jscomp.newtypes.UniqueNameGenerator
-
- 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.ReferenceCollectingCallback.Reference
-
- getNode() - Method in class com.google.javascript.jscomp.TypedVar
-
- getNode() - Method in class com.google.javascript.jscomp.Var
-
- 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.StaticRef
-
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
-
- getNodeByLineCol(Node, int, int) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- 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
-
- getNominal() - Method in class com.google.javascript.jscomp.newtypes.Declaration
-
- getNominalType() - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- getNominalTypeIfSingletonObj() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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
-
- getNumberInstance() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- getNumberValue(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- getNumInputs() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.JsModuleSpec
-
- getNumJsFiles() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.JsModuleSpec
-
- 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.
- getOriginalName(String) - Static method in class com.google.javascript.jscomp.newtypes.UniqueNameGenerator
-
- getOriginalName() - Method in class com.google.javascript.rhino.Node
-
The original name of this node, if the node has been renamed.
- 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.
- getOriginalQualifiedName() - 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.
- 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
-
Returns the type of the closed-over variable of the given name,
or null if the named variable is not in the closure.
- getOwnerFunction() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getOwnerFunction() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- getOwnerFunction() - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
- getOwnerFunction() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- getOwnerFunction() - Method in interface com.google.javascript.rhino.ObjectTypeI
-
If this type represents the object in a function's prototype property, return that function.
- getOwnImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Returns interfaces directly implemented by the class.
- getOwnPropertyDefSite(String) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getOwnPropertyDefSite(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- getOwnPropertyDefSite(String) - Method in interface com.google.javascript.rhino.ObjectTypeI
-
- getOwnPropertyJSDocInfo(String) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getOwnPropertyJSDocInfo(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Gets the docInfo on the specified property on this type.
- getOwnPropertyJSDocInfo(String) - Method in interface com.google.javascript.rhino.ObjectTypeI
-
- getOwnPropertyNames() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
Returns the names of all the properties directly 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.
- getOwnPropertyNames() - Method in interface com.google.javascript.rhino.ObjectTypeI
-
- getOwnSlot(String) - Method in class com.google.javascript.jscomp.Scope
-
- getOwnSlot(String) - Method in class com.google.javascript.jscomp.TypedScope
-
- getOwnSlot(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- getOwnSlot(String) - Method in interface com.google.javascript.rhino.jstype.StaticTypedScope
-
Like
getSlot
but does not recurse into parent scopes.
- getOwnSlot(String) - Method in interface com.google.javascript.rhino.StaticScope
-
Like
getSlot
but does not recurse into parent scopes.
- getPackageJsonMainEntries() - Method in class com.google.javascript.jscomp.deps.ModuleLoader
-
- getPackageJsonMainEntries() - Method in class com.google.javascript.jscomp.RewriteJsonToModule
-
- 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.
- getParameterNameAt(int) - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns the nth name in the defined parameters.
- 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 type of a given named parameter.
- getParameterTypes() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getParameterTypes() - Method in interface com.google.javascript.rhino.FunctionTypeI
-
- getParameterTypes() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- getParent() - Method in class com.google.javascript.jscomp.Scope
-
- getParent() - Method in class com.google.javascript.jscomp.TypedScope
-
- getParent() - Method in class com.google.javascript.rhino.Node
-
- getParentNode() - Method in class com.google.javascript.jscomp.TypedVar
-
- getParentNode() - Method in class com.google.javascript.jscomp.Var
-
- 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.jscomp.TypedScope
-
- getParentScope() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- getParentScope() - Method in interface com.google.javascript.rhino.jstype.StaticTypedScope
-
Returns the scope enclosing this one or null if none.
- getParentScope() - Method in interface com.google.javascript.rhino.StaticScope
-
Returns the scope enclosing this one or null if none.
- 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
-
- getPath() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.JsonFileSpec
-
- 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
-
- getPathRelativeToClosureBase() - Method in class com.google.javascript.jscomp.LazyParsedDependencyInfo
-
- 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
-
- getPreferLineBreakAtEndOfFile() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getPrevious() - Method in class com.google.javascript.rhino.Node
-
- 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(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- getprop(Node, Node, Node...) - Static method in class com.google.javascript.rhino.IR
-
- getprop(Node, String, String...) - Static method in class com.google.javascript.rhino.IR
-
- getProp(int) - Method in class com.google.javascript.rhino.Node
-
- 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.
- getProperty(String) - Method in class com.google.javascript.jscomp.GwtProperties
-
- getPropertyDefSite(String) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getPropertyDefSite(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- getPropertyDefSite(String) - Method in interface com.google.javascript.rhino.ObjectTypeI
-
- getPropertyJSDocInfo(String) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getPropertyJSDocInfo(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- getPropertyJSDocInfo(String) - Method in interface com.google.javascript.rhino.ObjectTypeI
-
- 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.
- getPropertyReservedNamingFirstChars() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getPropertyReservedNamingNonFirstChars() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getPropertyScope() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
-
- getPropertyType(String) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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
-
- getPropertyType(String) - Method in interface com.google.javascript.rhino.ObjectTypeI
-
Returns the type of property propName on this object, or null if the property doesn't exist.
- getPropertyTypeMap() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
get the map of properties to types covered in a function type
- getPropertyTypeMap() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
get the map of properties to types covered in an object type
- getPropName() - Method in class com.google.javascript.jscomp.newtypes.MismatchInfo
-
- getPropType() - Method in class com.google.javascript.jscomp.newtypes.EnumType
-
- getProtoPropDeclaredType(String) - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- getPrototype() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Gets the
prototype
property of this function type.
- getPrototypeObject() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getPrototypeObject() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- getPrototypeObject() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- getPrototypeObject() - Method in interface com.google.javascript.rhino.ObjectTypeI
-
Returns the __proto__ object of this object type, NOT the ".prototype" property.
- getPrototypeProperty() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getPrototypeProperty() - Method in interface com.google.javascript.rhino.FunctionTypeI
-
- getPrototypeProperty() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- getPrototypePropertyOfCtor() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- 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
-
- getProvides() - Method in class com.google.javascript.jscomp.LazyParsedDependencyInfo
-
- 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
-
- getRawNominalTypeAfterTypeChecking() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- getRawType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getRawType() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- getRawType() - Method in interface com.google.javascript.rhino.ObjectTypeI
-
- getReadableTypeName(Node) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
The nice API for this method is a single argument; dereference is a detail.
- getReadableTypeName(Node) - Method in interface com.google.javascript.rhino.TypeIRegistry
-
- getReadableTypeNameNoDeref(Node) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- 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.jscomp.newtypes.JSType
-
- getReferenceName() - Method in interface com.google.javascript.rhino.FunctionTypeI
-
For a constructor function, returns the name of the instances.
- 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(Var) - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback
-
Gets the reference collection for the given variable.
- getReferences(Var) - Method in interface com.google.javascript.jscomp.ReferenceCollectingCallback.ReferenceMap
-
- 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.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.
- getRenamePrefixNamespace() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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;
- getReportLooseTypeViolations() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional bool report_loose_type_violations = 11 [default = true];
- getReportLooseTypeViolations() - Method in class com.google.javascript.jscomp.Requirement
-
optional bool report_loose_type_violations = 11 [default = true];
- getReportLooseTypeViolations() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
optional bool report_loose_type_violations = 11 [default = true];
- 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
-
- getRequires() - Method in class com.google.javascript.jscomp.LazyParsedDependencyInfo
-
- 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
-
- getResolvedTemplateType(TemplateType) - Method in class com.google.javascript.rhino.jstype.TemplateTypeMap
-
Returns the JSType value associated with the specified template key.
- getRestFormalsType() - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- getRestFormalsType() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
Returns the type of this function's rest parameter.
- 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.jscomp.newtypes.JSType
-
- getReturnType() - Method in interface com.google.javascript.rhino.FunctionTypeI
-
- 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
-
- getRewritePolyfills() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getRightmostName() - Method in class com.google.javascript.jscomp.newtypes.QualifiedName
-
- getRoot() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Returns the root node of the AST, which includes both externs and source.
- 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.TypedScope
-
- getRootNode() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- getRootNode() - Method in interface com.google.javascript.rhino.StaticScope
-
Returns the root node associated with this scope.
- 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
-
- getSaveAfterChecks() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getScope() - Method in class com.google.javascript.jscomp.newtypes.FunctionNamespace
-
- getScope() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Gets the current scope.
- getScope(Var) - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback
-
- getScope(SymbolTable.Symbol) - Method in class com.google.javascript.jscomp.SymbolTable
-
- getScope() - Method in class com.google.javascript.jscomp.TypedVar
-
- getScope() - Method in class com.google.javascript.jscomp.Var
-
- getScope(S) - Method in interface com.google.javascript.rhino.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.
- getSecondChild() - Method in class com.google.javascript.rhino.Node
-
- 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.
- getSimplifiedName(Node) - Static method in class com.google.javascript.jscomp.NameBasedDefinitionProvider
-
Extract a name from a node.
- getSingletonGetterClassName(Node) - Method in class com.google.javascript.jscomp.ChromeCodingConvention
-
- 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.jscomp.TypedScope
-
- 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.StaticTypedScope
-
Returns any defined slot within this scope for this name.
- getSlot(String) - Method in interface com.google.javascript.rhino.StaticScope
-
Returns any defined slot within this scope for this name.
- getSmallestCoveringDependency(Collection<JSModule>) - Method in class com.google.javascript.jscomp.JSModuleGraph
-
Finds the module with the fewest transitive dependents on which all of the given modules
depend.
- getSortedDependenciesOf(List<INPUT>) - Method in class com.google.javascript.jscomp.deps.Es6SortedDependencies
-
- getSortedDependenciesOf(List<INPUT>) - Method in interface com.google.javascript.jscomp.deps.SortedDependencies
-
Gets all the dependencies of the given roots.
- getSortedList() - Method in class com.google.javascript.jscomp.deps.Es6SortedDependencies
-
- getSortedList() - Method in interface com.google.javascript.jscomp.deps.SortedDependencies
-
- getSortKey - Static variable in class com.google.javascript.jscomp.lint.CheckRequiresAndProvidesSorted
-
- getSortKey() - Method in class com.google.javascript.refactoring.CodeReplacement
-
Returns an additional String key that can be used to sort replacements using lexical ordering.
- getSource() - Method in class com.google.javascript.jscomp.AbstractMessageFormatter
-
Get the source excerpt provider.
- getSource() - Method in interface com.google.javascript.jscomp.graph.DiGraph.DiGraphEdge
-
- getSource() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getSource() - Method in interface com.google.javascript.rhino.FunctionTypeI
-
Gets the AST Node where this function was defined.
- 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.RecoverableJsAst
-
- getSourceFile() - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback.Reference
-
- 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.jscomp.TypedVar
-
- getSourceFile() - Method in class com.google.javascript.jscomp.Var
-
- 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.StaticRef
-
The source file where the reference lives.
- getSourceFileContentByName(String) - Method in class com.google.javascript.jscomp.Compiler
-
- getSourceFileName() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
-
- getSourceFilename() - Method in class com.google.javascript.refactoring.SuggestedFix.MatchedNodeInfo
-
- 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.
- getSourceMap() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.JsonFileSpec
-
- getSourceMap() - Method in class com.google.javascript.jscomp.Compiler
-
- getSourceMap(String) - Method in class com.google.javascript.jscomp.deps.ClosureBundler
-
Subclasses that need to provide a source map for any transformed input can return it with this
method.
- 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 interface com.google.javascript.jscomp.SourceFileMapping
-
Returns the original mapping for the file name, line number and column position found
in the source map.
- 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.JSTypeExpression
-
- 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.
- getSrc() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.JsonFileSpec
-
- getStart() - Method in class com.google.javascript.jscomp.parsing.parser.Token
-
- getStart() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- 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.
- 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.
- getString() - Method in class com.google.javascript.rhino.Node.TypeDeclarationNode
-
returns the string content.
- getStringInstance() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- getStringValue(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Gets the value of a node as a String, or null if it cannot be converted.
- 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.jscomp.newtypes.JSType
-
- getSubTypes() - Method in interface com.google.javascript.rhino.FunctionTypeI
-
Returns a list of types that are subtypes of this type.
- getSubTypes() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Returns a list of types that are subtypes of this type.
- getSubtypesWithProperty(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.EnumType
-
- getSuperClass() - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- getSuperClassConstructor() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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.
- getSuperClassConstructor() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- getSuperClassConstructor() - Method in interface com.google.javascript.rhino.ObjectTypeI
-
- getSuperPrototype() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
Returns the prototype object of the superclass, or null if there is
no superclass.
- getSuppressions() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns the set of suppressed warnings.
- getSymbol() - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback.Reference
-
- getSymbol() - Method in class com.google.javascript.jscomp.TypedVar
-
- getSymbol() - Method in class com.google.javascript.jscomp.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.StaticTypedRef
-
The variable that this reference points to.
- getSymbol() - Method in interface com.google.javascript.rhino.StaticRef
-
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.
- 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.jscomp.newtypes.JSType
-
- getTemplateTypes() - Method in class com.google.javascript.rhino.jstype.NamedType
-
- 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
-
- getTemplateTypes() - Method in interface com.google.javascript.rhino.ObjectTypeI
-
For an instantiated generic type, return the types that the type variables are mapped to.
- getTemplateTypesOfBuiltin(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- 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
-
Returns the 'this' type of the function, or the 'new' type for a
constructor.
- 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.
- getThrowsDescriptionForType(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfo
-
Get the message for a given thrown type.
- getToken() - Method in class com.google.javascript.rhino.Node
-
- getTokenType(String) - Static method in enum com.google.javascript.jscomp.parsing.parser.Keywords
-
- getTopDefiningInterface(String) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getTopDefiningInterface(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- getTopDefiningInterface(String) - Method in interface com.google.javascript.rhino.ObjectTypeI
-
Given an interface and a property, finds a top-most super interface
that has the property defined (including this interface).
- getTopDict() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- 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).
- getTopObject() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- getTopScope() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Gets the top scope.
- getTopScope() - Method in class com.google.javascript.jscomp.Compiler
-
- getTopStruct() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- getTracerMode() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getTranspileOnlyPasses() - Method in class com.google.javascript.jscomp.DefaultPassConfig
-
- getTranspileOnlyPasses() - Method in class com.google.javascript.jscomp.PassConfig
-
Gets the transpilation passes
- 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(String) - Method in class com.google.javascript.jscomp.TypedScope
-
- getType() - Method in class com.google.javascript.jscomp.TypedVar
-
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 native type by name.
- getType(StaticTypedScope<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.StaticTypedSlot
-
Returns the type information, if any, for this slot.
- getType(String) - Method in interface com.google.javascript.rhino.TypeIEnv
-
Returns the type represented by typeName
- getType(String) - Method in interface com.google.javascript.rhino.TypeIRegistry
-
- getTypedef() - Method in class com.google.javascript.jscomp.newtypes.Declaration
-
- 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.
- getTypedPercent() - Method in class com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager
-
- getTypedScope() - Method in class com.google.javascript.jscomp.NodeTraversal
-
- 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
-
- getTypeIBeforeCast() - 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.
- getTypeIIfOld() - Method in class com.google.javascript.rhino.Node
-
Gets the OTI
JSType
associated with this node if any, and null otherwise.
- 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.
- getTypeOfCommentNode(Node, RawNominalType, DeclaredTypeRegistry) - Method in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- getTypeOfSimpleDecl() - Method in class com.google.javascript.jscomp.newtypes.Declaration
-
- getTypeOfThis() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getTypeOfThis() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
-
- getTypeOfThis() - Method in class com.google.javascript.jscomp.TypedScope
-
Gets the type of
this
in the current scope.
- getTypeOfThis() - Method in interface com.google.javascript.rhino.FunctionTypeI
-
Gets the type of
this
in this function.
- 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.StaticTypedScope
-
Returns the expected type of
this
in the current scope.
- getTypeParameters() - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- getTypeParameters() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
Returns all the non-instantiated type parameter names.
- 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
-
- 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
-
- getTypeVariableDefinedLocally(String) - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- 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
-
- getUnionMembers() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- getUnionMembers() - Method in class com.google.javascript.rhino.jstype.JSType
-
- getUnionMembers() - Method in interface com.google.javascript.rhino.TypeI
-
If this type is a union type, returns a list of its members.
- getUniqueFunctionWithName(String) - Method in class com.google.javascript.jscomp.CallGraph
-
Finds a function with the given name.
- 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
-
- getUseOriginalNamesInOutput() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- getUseSites(DefinitionsRemover.Definition) - Method in class com.google.javascript.jscomp.DefinitionUseSiteFinder
-
Returns a collection of use sites that may refer to provided definition.
- getValue() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.FlagEntry
-
- 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
-
- 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
- getVar(String) - Method in class com.google.javascript.jscomp.TypedScope
-
- getVarCount() - Method in class com.google.javascript.jscomp.Scope
-
Returns number of variables in this scope (excluding the special 'arguments' variable)
- getVarCount() - Method in class com.google.javascript.jscomp.TypedScope
-
- getVarIterable() - Method in class com.google.javascript.jscomp.Scope
-
Return an iterable over all of the variables declared in this scope
(except the special 'arguments' variable).
- getVarIterable() - Method in class com.google.javascript.jscomp.TypedScope
-
- 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.
- getWarningCount() - Method in class com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager
-
- 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
-
- getWarnings() - Method in class com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager
-
- 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;
- getWhitespaceOnlyPasses() - Method in class com.google.javascript.jscomp.DefaultPassConfig
-
- getWhitespaceOnlyPasses() - Method in class com.google.javascript.jscomp.PassConfig
-
Gets additional checking passes that are run always, even in "whitespace only" mode.
- 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.
- GOOG_MODULE - Static variable in class com.google.javascript.rhino.Node
-
- GOOG_MODULE_REQUIRE - Static variable in class com.google.javascript.rhino.Node
-
- 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.
- googModuleOrProvide() - Static method in class com.google.javascript.refactoring.Matchers
-
- googRequire(String) - Static method in class com.google.javascript.refactoring.Matchers
-
- googRequire() - Static method in class com.google.javascript.refactoring.Matchers
-
- 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.
- 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
-
- GwtProperties - Class in com.google.javascript.jscomp
-
GWT-compatible helper for dealing with Java .properties files.
- 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
-
- has(Node, Predicate<Node>, Predicate<Node>) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- hasAbstractMethod(String) - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- hasAbstractMethod(String) - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- 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.
- hasBlockScope() - Method in class com.google.javascript.jscomp.Es6SyntacticScopeCreator
-
- 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
-
- 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;
- hasConstAnnotation() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@const
annotation is present on this JSDocInfo
.
- 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
-
- hasCtorProp(String) - Method in class com.google.javascript.jscomp.newtypes.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
-
- 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.
- hasEs6Modules() - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Returns whether this feature set includes ES6 modules.
- 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;
- 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.AbstractCommandLineRunner.FlagEntry
-
- 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.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.parsing.parser.FeatureSet
-
- hashCode() - Method in class com.google.javascript.jscomp.regex.RegExpTree
-
- hashCode() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
-
- hashCode() - Method in class com.google.javascript.jscomp.transpile.TranspileResult
-
- hashCode() - Method in class com.google.javascript.jscomp.TypedVar
-
- hashCode() - Method in class com.google.javascript.jscomp.Var
-
- hashCode(String) - Method in interface com.google.javascript.jscomp.Xid.HashFunction
-
- 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.AllType
-
- hashCode() - Method in class com.google.javascript.rhino.jstype.BooleanType
-
- 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.NullType
-
- hashCode() - Method in class com.google.javascript.rhino.jstype.NumberType
-
- hashCode() - Method in class com.google.javascript.rhino.jstype.Property
-
- hashCode() - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
- hashCode() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- hashCode() - Method in class com.google.javascript.rhino.jstype.StringType
-
- hashCode() - Method in class com.google.javascript.rhino.jstype.TemplatizedType
-
- hashCode() - Method in class com.google.javascript.rhino.jstype.UnionType
-
- hashCode() - Method in class com.google.javascript.rhino.jstype.UnknownType
-
- hashCode() - Method in class com.google.javascript.rhino.jstype.VoidType
-
- 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;
- hasImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- hasInstanceType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- hasInstanceType() - Method in interface com.google.javascript.rhino.FunctionTypeI
-
Returns whether
this
type represents a constructor.
- 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.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;
- 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().
- hasOwnProperty(String) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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.
- hasOwnProperty(String) - Method in interface com.google.javascript.rhino.ObjectTypeI
-
- 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.
- hasPrivacyConvention() - Method in interface com.google.javascript.jscomp.CodingConvention
-
Whether this CodingConvention includes a convention for what private names should look like.
- hasPrivacyConvention() - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- hasPrivacyConvention() - Method in class com.google.javascript.jscomp.GoogleCodingConvention
-
- hasProcessBeenRun - Variable in class com.google.javascript.jscomp.NameBasedDefinitionProvider
-
- 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
-
- hasProperties() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- hasProperties() - Method in interface com.google.javascript.rhino.FunctionTypeI
-
- hasProperties() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- hasProperty(String) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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
-
- hasProperty(String) - Method in interface com.google.javascript.rhino.ObjectTypeI
-
- hasProps() - Method in class com.google.javascript.rhino.Node
-
- 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.NoObjectType
-
- 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;
- hasReportLooseTypeViolations() - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional bool report_loose_type_violations = 11 [default = true];
- hasReportLooseTypeViolations() - Method in class com.google.javascript.jscomp.Requirement
-
optional bool report_loose_type_violations = 11 [default = true];
- hasReportLooseTypeViolations() - Method in interface com.google.javascript.jscomp.RequirementOrBuilder
-
optional bool report_loose_type_violations = 11 [default = true];
- hasRestFormals() - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- hasRestFormals() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- 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;
- hasSideEffectsArgumentsAnnotation() - Method in class com.google.javascript.rhino.JSDocInfo
-
- 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.
- hasTwoChildren() - Method in class com.google.javascript.rhino.Node
-
Check for two children more efficiently than
getChildCount() == 2
- 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() - 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
-
- hasTypeVariable() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- hasUninstantiatedTypeVariables() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- hasUninstantiatedTypeVariables() - Method in class com.google.javascript.rhino.jstype.JSType
-
- hasUninstantiatedTypeVariables() - Method in interface com.google.javascript.rhino.TypeI
-
Returns true if this type is a generic object (non function) and some (or all) of its type
variables are not instantiated.
- 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
-
- hasXChildren(int) - Method in class com.google.javascript.rhino.Node
-
Check for has exactly the number of specified children.
- hasZeroOrOneChild() - Method in class com.google.javascript.rhino.Node
-
Check for zero or one child more efficiently than by iterating over all the
children as is done with Node.getChildCount().
- haveCommonSubtype(JSType, JSType) - Static method in class com.google.javascript.jscomp.newtypes.JSType
-
- hook(Node, Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- 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.CheckRequiresForConstructors
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.ClosureCheckModule
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.DartSuperAccessorsPass
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6ConvertSuper
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6ConvertSuperConstructorCalls
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6ExtractClasses
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6RenameVariablesInParamLists
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteArrowFunction
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteBlockScopedDeclaration
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteDestructuring
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteGenerators
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6SplitVariableDeclarations
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6ToEs3ClassSideInheritance
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6ToEs3Converter
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6TypedToEs6Converter
-
- 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.CheckArrayWithGoogObject
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckDuplicateCase
-
- 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.CheckPrimitiveAsObject
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckPrototypeProperties
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckRequiresAndProvidesSorted
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckUnusedLabels
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckUselessBlocks
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback
-
Same as process but only runs on a part of AST associated to one script.
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.RewriteAsyncFunctions
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.RewritePolyfills
-
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.WhitespaceWrapGoogModules
-
I
- ID_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- 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
-
- IdMappingUtil - Class in com.google.javascript.jscomp
-
A utility class for generating and parsing id mappings held by
ReplaceIdGenerators
.
- 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 - Static variable in class com.google.javascript.rhino.Node
-
- IMPLEMENTS_NON_INTERFACE - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- IMPLEMENTS_WITHOUT_CONSTRUCTOR - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- IMPLICITLY_NULLABLE_JSDOC - Static variable in class com.google.javascript.jscomp.ImplicitNullabilityCheck
-
- 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
-
- 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
-
- importNode(Node, Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- 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
-
- importStar(String) - Static method in class com.google.javascript.rhino.IR
-
- in(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- inc(Node, boolean) - Static method in class com.google.javascript.rhino.IR
-
- INCORRECT_PARAM_NAME - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
-
- INCRDECR_PROP - Static variable in class com.google.javascript.rhino.Node
-
- increment - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ForStatementTree
-
- incrementChangeStamp() - Method in class com.google.javascript.jscomp.Compiler
-
- IndexSignatureTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Represents an indexable object in TypeScript.
- IndexSignatureTree(SourceRange, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.IndexSignatureTree
-
- INEXISTENT_PROPERTY - Static variable in class com.google.javascript.jscomp.TypeCheck
-
- inferQualifiedSlot(Node, String, JSType, JSType, boolean) - 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
-
Deprecated.
- 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.
- inFunctionBlockScope() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Determines whether the traversal is currently in the scope of the block of a function.
- inGlobalHoistScope() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Determines whether the hoist scope of the current traversal is global.
- inGlobalScope() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Determines whether the traversal is currently in the global scope.
- INHERITANCE_CYCLE - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- inheritsFromIObject() - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- init(List<T1>, List<T2>, CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Initializes the instance state needed for a compile job.
- init(boolean) - Static method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- INIT_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Instrumentation
-
- initBasedOnOptions() - Method in class com.google.javascript.jscomp.Compiler
-
Do any initialization that is dependent on the compiler options.
- 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
-
Initializes the compiler options.
- 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
- inlineLocalFunctions - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Inlines functions defined in local scopes
- inlineVariables - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Inlines variables
- inModuleHoistScope() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Determines whether the hoist scope of the current traversal is global.
- inModuleScope() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Determines whether the traversal is currently in the global scope.
- 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
-
- insertAfter(Node, String) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Inserts the text after the given node
- 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.
- instantiateGenerics(Map<String, JSType>) - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
Returns a FunctionType with generic type parameters instantiated as
concrete types using typeMap.
- instantiateGenericsFromArgumentTypes(JSType, List<JSType>) - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
Given concrete types for the arguments, unify with the formals to create
a type map, and then instantiate this function as usual, by calling
FunctionType.substituteParametricGenerics(java.util.Map<java.lang.String, com.google.javascript.jscomp.newtypes.JSType>)
.
- instantiateGenericsWithUnknown() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- instantiateGenericsWithUnknown(ObjectType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- instantiateGenericsWithUnknown() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- instantiateGenericsWithUnknown() - Method in interface com.google.javascript.rhino.ObjectTypeI
-
- instantiateGenericType(ObjectTypeI, ImmutableList<? extends TypeI>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- instantiateGenericType(ObjectTypeI, ImmutableList<? extends TypeI>) - Method in interface com.google.javascript.rhino.TypeIRegistry
-
- 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
-
- instrumentBranchCoverage - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Instrument branch coverage data - valid only if instrumentForCoverage is True
- 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
-
- InterfaceDeclarationTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- InterfaceDeclarationTree(SourceRange, IdentifierToken, GenericTypeListTree, ImmutableList<ParseTree>, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.InterfaceDeclarationTree
-
- interfaces - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ClassDeclarationTree
-
- 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
-
- INVALID_MODULE_PATH - Static variable in class com.google.javascript.jscomp.deps.ModuleLoader
-
- INVALID_SUPPRESS - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
-
- 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_ES6_CLASS - Static variable in class com.google.javascript.rhino.Node
-
- IS_MODULE_NAME - Static variable in class com.google.javascript.rhino.Node
-
- IS_NAMESPACE - Static variable in class com.google.javascript.rhino.Node
-
- isAbsoluteIdentifier(String) - Static method in class com.google.javascript.jscomp.deps.ModuleLoader
-
Whether this is absolute to the compilation.
- isAbstract() - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- isAbstract() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- isAbstract() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@abstract
annotation is present on this
JSDocInfo
.
- isAbstract() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- isAbstractClass() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- isAbstractClass() - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- 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.
- isAliasingGlobalThis(Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
-
- isAliasingGlobalThis(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Whether this statement is creating an alias of the global object
- isAliasingGlobalThis(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- 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
-
- isAmbiguousIdentifier(String) - Static method in class com.google.javascript.jscomp.deps.ModuleLoader
-
Whether this is neither absolute or relative.
- 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
-
- isAnyFalsyType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isAnyTruthyType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isArgTypeMismatch() - Method in class com.google.javascript.jscomp.newtypes.MismatchInfo
-
- isArguments() - Method in class com.google.javascript.jscomp.Var
-
- 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
-
- isAssignmentOp(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- isAssignmentRestElement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- isAsync - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
-
- isAsyncFunction() - Method in class com.google.javascript.rhino.Node
-
Returns whether this is an async function node.
- isBleedingFunction() - Method in class com.google.javascript.jscomp.TypedVar
-
- isBleedingFunction() - Method in class com.google.javascript.jscomp.Var
-
Whether this is a bleeding function (an anonymous named function
that bleeds into the inner scope).
- isBlockScope() - Method in class com.google.javascript.jscomp.Scope
-
- isBlockScope() - Method in class com.google.javascript.jscomp.TypedScope
-
- isBoolean() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isBooleanObjectType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isBooleanResult(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- isBooleanValueType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isBooleanValueType() - Method in class com.google.javascript.rhino.jstype.BooleanType
-
- isBooleanValueType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isBooleanValueType() - Method in interface com.google.javascript.rhino.TypeI
-
Whether the type is a scalar boolean.
- 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
-
- isBoxableScalar() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isBoxableScalar() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isBoxableScalar() - Method in interface com.google.javascript.rhino.TypeI
-
- isBreak() - Method in class com.google.javascript.rhino.Node
-
- isBuiltinObject() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- isBuiltinObject() - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- isCall() - Method in class com.google.javascript.rhino.Node
-
- isCallOrNew(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- isCallSignature() - Method in class com.google.javascript.rhino.Node
-
- isCallTo(Node, String) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- 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.RawNominalType
-
- isClass() - Method in class com.google.javascript.rhino.Node
-
- isClassDeclaration(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- isClassFactoryCall(Node) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
-
- isClassFactoryCall(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Checks if the given method is a call to a class factory, such a factory returns a
unique class.
- isClassFactoryCall(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- isClassFactoryCall(Node) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
-
- isClassMembers() - Method in class com.google.javascript.rhino.Node
-
- isComma() - Method in class com.google.javascript.rhino.Node
-
- isCompoundAssignementOp(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- 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.jscomp.newtypes.Declaration
-
- isConstant() - Method in class com.google.javascript.rhino.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
-
- isConstDeclaration() - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback.Reference
-
- isConstructor() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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.NoObjectType
-
- isConstructor() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- isConstructor() - Method in interface com.google.javascript.rhino.TypeI
-
- isConstructorOfAbstractClass() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
- isConstructorOrInterface() - Method in class com.google.javascript.rhino.JSDocInfo
-
- isConstructorRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- isContinue() - Method in class com.google.javascript.rhino.Node
-
- isControlStructure(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Determines whether the given node is a FOR, DO, WHILE, WITH, or IF 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.
- isDeclared(String, boolean) - Method in class com.google.javascript.jscomp.TypedScope
-
- 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.TypedVar
-
- isDefine() - Method in class com.google.javascript.jscomp.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
.
- isDeprecationReasonRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether a deprecation reason has been recorded.
- isDescendantOf(Node) - Method in class com.google.javascript.rhino.Node
-
- isDescriptionRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether this builder recorded a description.
- isDestructuringLhs() - Method in class com.google.javascript.rhino.Node
-
- 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.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.
- 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.
- isEmitUseStrict() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- isEmpty() - Method in class com.google.javascript.jscomp.JsMessage
-
- 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
-
- isEnumElement() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isEnumElement() - Method in interface com.google.javascript.rhino.TypeI
-
- isEnumElementType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isEnumObject() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isEnumObject() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isEnumObject() - Method in interface com.google.javascript.rhino.TypeI
-
- isEnumType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isEquivalent(JSType, JSType) - Static method in class com.google.javascript.rhino.jstype.JSType
-
- isEquivalentTo(TypeI) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isEquivalentTo(TypeI) - Method in class com.google.javascript.rhino.jstype.JSType
-
Checks if two types are equivalent.
- isEquivalentTo(TypeI, boolean) - Method in class com.google.javascript.rhino.jstype.JSType
-
- isEquivalentTo(Node) - Method in class com.google.javascript.rhino.Node
-
Returns true if this node is equivalent semantically to another
- isEquivalentTo(TypeI) - Method in interface com.google.javascript.rhino.TypeI
-
- 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.
- isEquivalentWithSideEffectsTo(Node) - Method in class com.google.javascript.rhino.Node
-
Returns true if this node is equivalent semantically to another including side efffects.
- isEquivalentWithSideEffectsToShallow(Node) - Method in class com.google.javascript.rhino.Node
-
Returns true if this node is equivalent semantically to another including side efffects.
- isEs5OrHigher() - Method in enum com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
Whether this is ECMAScript 5 or higher.
- isEs6ImplOrHigher() - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
- isEs6OrHigher() - Method in enum com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
Whether this is ECMAScript 6 or higher.
- isExplicitlyVoidable() - Method in class com.google.javascript.rhino.jstype.JSType
-
Tests whether this type explicitly allows undefined, as opposed to ? or *.
- isExplicitlyVoidable() - Method in class com.google.javascript.rhino.jstype.UnionType
-
Tests whether this type explicitly allows undefined.
- isExplicitlyVoidable() - Method in class com.google.javascript.rhino.jstype.VoidType
-
- 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".
- isExprCall(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Is this node a call expression statement?
- 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.SimpleSourceFile
-
- isExtern() - Method in interface com.google.javascript.rhino.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
-
- isFalseOrFalsy() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isFinal() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@final
annotation is present on this JSDocInfo
.
- isFor() - Method in class com.google.javascript.rhino.Node
-
Deprecated.
- isForIn() - 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
-
- isFrozen() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- isFrozen() - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- isFunction() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- isFunction() - Method in class com.google.javascript.rhino.Node
-
- isFunctionBlockScope() - Method in class com.google.javascript.jscomp.Scope
-
- isFunctionBlockScope() - Method in class com.google.javascript.jscomp.TypedScope
-
- isFunctionCallThatAlwaysThrows(Node) - Method in class com.google.javascript.jscomp.ChromeCodingConvention
-
- 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
-
- isFunctionDeclaration(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Is this node a function declaration? A function declaration is a function
that has a name that is added to the current scope (i.e.
- 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
-
- isFunctionScope() - Method in class com.google.javascript.jscomp.Scope
-
- isFunctionType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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
-
- isFunctionWithProperties() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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
-
Returns true if this function has any non-instantiated type parameters.
- isGeneric() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- isGenericObjectType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isGenericObjectType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isGenericObjectType() - Method in interface com.google.javascript.rhino.TypeI
-
True if this type represents a generic object (non function) type, instantiated or not.
- isGet(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Is this a GETPROP or GETELEM node?
- 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.TypedScope
-
- isGlobal() - Method in class com.google.javascript.jscomp.TypedVar
-
- isGlobal() - Method in class com.google.javascript.jscomp.Var
-
- 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.
- isGoogObjectIterationOverArray(Node) - Method in class com.google.javascript.jscomp.lint.CheckArrayWithGoogObject
-
- 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
.
- isHoistedFunctionDeclaration(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Is this node a hoisted function declaration? A function declaration in the
scope root is hoisted to the top of the scope.
- isHook() - Method in class com.google.javascript.rhino.Node
-
- 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
-
- isImportedName(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- isImportSpec() - Method in class com.google.javascript.rhino.Node
-
- isImportSpecs() - Method in class com.google.javascript.rhino.Node
-
- isImportStar() - 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
-
- isInClosurizedFile() - Method in class com.google.javascript.refactoring.SuggestedFix.MatchedNodeInfo
-
- 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.
- isIndexable() - Method in class com.google.javascript.rhino.Node
-
Whether this node should be indexed by static analysis / code indexing tools.
- isIndexSignature() - Method in class com.google.javascript.rhino.Node
-
- isInferredConst() - Method in class com.google.javascript.jscomp.TypedVar
-
- isInferredConst() - Method in class com.google.javascript.jscomp.Var
-
Returns
true
if the variable is declared as a constant,
based on the value reported by NodeUtil
.
- isInFunction(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- 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
-
- isInitializingDeclaration() - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback.Reference
-
Determines whether the variable is initialized at the declaration.
- 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
-
- isInstanceofObject() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isInstanceofObject() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isInstanceofObject() - Method in interface com.google.javascript.rhino.TypeI
-
True when the nominal type of this type is Object.
- isInstanceType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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
-
- isInstanceType() - Method in interface com.google.javascript.rhino.ObjectTypeI
-
Whether this type is an instance object of some constructor.
- isInterface() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isInterface() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- isInterface() - Method in class com.google.javascript.jscomp.newtypes.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
-
Returns true if this is a constructor for a single interface, i.e.
- isInterfaceDefinition() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isInterfaceInstance() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isInterfaceMembers() - Method in class com.google.javascript.rhino.Node
-
- isInterfaceRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- isInTestMode() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Returns whether we're in test mode.
- isIObject() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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
-
- isJSFormatChar(int) - Static method in class com.google.javascript.rhino.TokenUtil
-
- isJSIdentifier(String) - Static method in class com.google.javascript.rhino.TokenStream
-
- isJSSpace(int) - Static method in class com.google.javascript.rhino.TokenUtil
-
- 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
-
- isLegacyNamedType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isLegacyNamedType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isLegacyNamedType() - Method in interface com.google.javascript.rhino.ObjectTypeI
-
The old type checker uses NamedType to wrap types (e.g., defined by typedefs), and to represent
unresolved forward declares.
- 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.
- isLhsByDestructuring(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- isLiteralObject() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isLiteralObject() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- isLiteralObject() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isLiteralObject() - Method in interface com.google.javascript.rhino.TypeI
-
- isLiteralValue(Node, boolean) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Returns true if this is a literal value.
- 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.TypedScope
-
- isLocal() - Method in class com.google.javascript.jscomp.TypedVar
-
- isLocal() - Method in class com.google.javascript.jscomp.Var
-
- 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
-
Returns true if this function type is "loose".
- isLoose() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isLooseMatch() - Method in class com.google.javascript.jscomp.TemplateAstMatcher
-
- isLooseMatch() - Method in class com.google.javascript.jscomp.TypeMatchingStrategy.MatchResult
-
- isLValue(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Determines whether this node is used as an L-value.
- isLvalue() - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback.Reference
-
Returns whether the name node for this reference is an lvalue.
- 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
-
- isMatch() - Method in class com.google.javascript.jscomp.TypeMatchingStrategy.MatchResult
-
- isMemberFunctionDef() - Method in class com.google.javascript.rhino.Node
-
- isMemberVariableDef() - Method in class com.google.javascript.rhino.Node
-
- isMissingProp() - Method in class com.google.javascript.jscomp.newtypes.MismatchInfo
-
- isModule() - Method in class com.google.javascript.jscomp.CompilerInput
-
- isModule() - Method in class com.google.javascript.jscomp.deps.DependencyInfo.Base
-
- 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
-
- isModule() - Method in class com.google.javascript.jscomp.LazyParsedDependencyInfo
-
- isModuleBody() - Method in class com.google.javascript.rhino.Node
-
- isModuleScope() - Method in class com.google.javascript.jscomp.Scope
-
- 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?
- isNamedType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isNamespace() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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 - Variable in class com.google.javascript.jscomp.parsing.parser.trees.CallSignatureTree
-
- 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
.
- isNoCollapse() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@nocompile
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
-
- isNonClassyObject() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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
-
- isNormalBlock() - Method in class com.google.javascript.rhino.Node
-
- 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
-
- isNullable() - Method in interface com.google.javascript.rhino.TypeI
-
- isNullOrUndef() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isNullOrUndefined(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- isNullType() - 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
-
- isNullType() - Method in interface com.google.javascript.rhino.TypeI
-
- isNumber() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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.jscomp.newtypes.JSType
-
- isNumberValueType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isNumberValueType() - Method in class com.google.javascript.rhino.jstype.NumberType
-
- isNumberValueType() - Method in interface com.google.javascript.rhino.TypeI
-
Whether the type is a scalar number.
- isNumericResult(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Returns true if the result of node evaluation is always a number
- 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.NamedType
-
- 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
-
- isObjectResult(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- isObjectType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isObjectType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isObjectType() - Method in interface com.google.javascript.rhino.TypeI
-
- 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
-
- isOptional - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
-
- isOptional - Variable in class com.google.javascript.jscomp.parsing.parser.trees.MemberVariableTree
-
- isOptionalArg(int) - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
Returns true if the
i
th parameter is an optional parameter.
- 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.
- isOptionalEs6Typed() - Method in class com.google.javascript.rhino.Node
-
Returns whether this node is an optional node in the ES6 Typed syntax.
- 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
-
- isParseJsDocDocumentation() - Method in class com.google.javascript.jscomp.CompilerOptions
-
Checks JSDoc documentation will be parsed.
- isPathIdentifier(String) - Static method in class com.google.javascript.jscomp.deps.ModuleLoader
-
Whether name is a path-based identifier (has a '/' character)
- isPattern() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- isPolymerBehavior() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether JSDoc is annotated with
@polymerBehavior
annotation.
- isPolymerBehaviorRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether current JSDoc is annotated with
@polymerBehavior
.
- isPopulated() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether this builder is populated with information that can be
used to
JSDocInfoBuilder.build()
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()
a JSDocInfo
object that has a
fileoverview tag.
- isPrettyPrint() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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
.
- isPropDefinedOnSubtype(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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.
- isPropertyRenameFunction(String) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
-
- isPropertyRenameFunction(String) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Whether this CALL function is returning the string name for a property, but allows renaming.
- isPropertyRenameFunction(String) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- 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
-
- 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.
- isPropMismatch() - Method in class com.google.javascript.jscomp.newtypes.MismatchInfo
-
- 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
-
- isPrototypeObject() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isPrototypeObject() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isPrototypeObject() - Method in interface com.google.javascript.rhino.TypeI
-
- isPrototypePropertyDeclaration(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- isQmarkFunction() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
Returns true if this function is the common QMARK_FUNCTION type
(function(...?): ?), determined by reference equality.
- 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.jscomp.newtypes.JSType
-
- isRecordType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isRecordType() - Method in class com.google.javascript.rhino.Node
-
- isRecordType() - Method in interface com.google.javascript.rhino.TypeI
-
Whether this type represents an anonymous structural type, e.g., { a: number, b: string }.
- isRegExp() - Method in class com.google.javascript.rhino.Node
-
- isRegexpType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isRelativeIdentifier(String) - Static method in class com.google.javascript.jscomp.deps.ModuleLoader
-
Whether this is relative to the current file, or a top-level identifier.
- 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
-
Returns true if the
i
th parameter is required.
- 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
-
- isRetTypeMismatch() - Method in class com.google.javascript.jscomp.newtypes.MismatchInfo
-
- isReturn() - Method in class com.google.javascript.rhino.Node
-
- isReturnTypeInferred() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- isRoot() - Method in class com.google.javascript.rhino.Node
-
- 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
-
- isSimpleAssignmentToName() - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback.Reference
-
- isSingletonObj() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isSomeConstructorOrInterface() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
Returns true if this type is some sort of constructor, i.e.
- isSomeUnknownType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isSomeUnknownType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isSomeUnknownType() - Method in interface com.google.javascript.rhino.TypeI
-
- isSpread() - Method in class com.google.javascript.rhino.Node
-
- isStableIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfo
-
- isStatement(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- isStatementBlock(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- isStatic - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyGetterTree
-
- isStatic - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyMemberVariableTree
-
- 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.MemberVariableTree
-
- 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.
- 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 identifier, but only in non-strict mode.
- isStrictModeInput() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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
-
- isStringResult(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- isStringScalarOrObj(JSType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- isStringValueType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isStringValueType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isStringValueType() - Method in class com.google.javascript.rhino.jstype.StringType
-
- isStringValueType() - Method in interface com.google.javascript.rhino.TypeI
-
Whether the type is a scalar string.
- 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.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
-
- isStructuralInterface() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isStructuralInterface() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- isStructuralInterface() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isStructuralInterface() - Method in interface com.google.javascript.rhino.TypeI
-
- isStructuralType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isStructuralType() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- isStructuralType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- isStructuralType() - Method in class com.google.javascript.rhino.jstype.RecordType
-
- isStructWithoutProp(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isStrWhiteSpaceChar(int) - Static method in class com.google.javascript.rhino.TokenUtil
-
Copied from Rhino's ScriptRuntime
- isSub() - Method in class com.google.javascript.rhino.Node
-
- isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
- isSubtype(JSType, JSType.ImplCache, JSType.SubtypingMode) - Method in class com.google.javascript.rhino.jstype.EnumElementType
-
- isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.EnumType
-
- isSubtype(JSType, JSType.ImplCache, JSType.SubtypingMode) - 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, JSType.ImplCache, JSType.SubtypingMode) - Method in class com.google.javascript.rhino.jstype.FunctionType
-
- isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Checks whether
this
is a subtype of that
.
- isSubtype(JSType, JSType.SubtypingMode) - Method in class com.google.javascript.rhino.jstype.JSType
-
- isSubtype(JSType, JSType.ImplCache, JSType.SubtypingMode) - Method in class com.google.javascript.rhino.jstype.JSType
-
checking isSubtype with structural interface matching
- isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.NoObjectType
-
- isSubtype(JSType, JSType.ImplCache, JSType.SubtypingMode) - Method in class com.google.javascript.rhino.jstype.NoObjectType
-
- isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.NoType
-
- isSubtype(JSType, JSType.ImplCache, JSType.SubtypingMode) - Method in class com.google.javascript.rhino.jstype.NoType
-
- isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
- isSubtype(JSType, JSType.ImplCache, JSType.SubtypingMode) - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
- isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- isSubtype(JSType, JSType.ImplCache, JSType.SubtypingMode) - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
-
- isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.RecordType
-
- isSubtype(JSType, JSType.ImplCache, JSType.SubtypingMode) - Method in class com.google.javascript.rhino.jstype.RecordType
-
- isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.TemplatizedType
-
- isSubtype(JSType, JSType.ImplCache, JSType.SubtypingMode) - Method in class com.google.javascript.rhino.jstype.TemplatizedType
-
- isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
-
- isSubtype(JSType, JSType.ImplCache, JSType.SubtypingMode) - Method in class com.google.javascript.rhino.jstype.UnionType
-
- isSubtype(JSType) - Method in class com.google.javascript.rhino.jstype.UnknownType
-
- isSubtype(JSType, JSType.ImplCache, JSType.SubtypingMode) - Method in class com.google.javascript.rhino.jstype.UnknownType
-
- isSubtypeOf(TypeI) - 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
-
- isSubtypeWithoutStructuralTyping(TypeI) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isSubtypeWithoutStructuralTyping(TypeI) - Method in class com.google.javascript.rhino.jstype.JSType
-
the logic of this method is similar to isSubtype,
except that it does not perform structural interface matching
This function is added for disambiguate properties,
and is deprecated for the other use cases.
- isSubtypeWithoutStructuralTyping(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
-
- isSupported() - Static method in class com.google.javascript.jscomp.deps.JsFileParser
-
- 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.
- isTaggedTemplateLit() - Method in class com.google.javascript.rhino.Node
-
- isTemplatedBuiltin(String, JSDocInfo) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Check if a function declaration is one of the templated builitin contructor/interfaces,
namely one of IObject, IArrayLike, or Array
- isTemplateLit() - Method in class com.google.javascript.rhino.Node
-
- isTemplateLitSub() - Method in class com.google.javascript.rhino.Node
-
- isTemplateType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isTemplatizedType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isTestFunction(String) - Static method in class com.google.javascript.jscomp.ExportTestFunctions
-
Whether a function is recognized as a test function.
- 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
-
- isTop() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isTop() - Method in interface com.google.javascript.rhino.TypeI
-
- isTopFunction() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
Returns true if this function is either version (loose or not) of the
top function (which takes all bottoms and returns top).
- isTopLevel(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- isTrue() - Method in class com.google.javascript.rhino.Node
-
- isTrueOrTruthy() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isTry() - Method in class com.google.javascript.rhino.Node
-
- isTypeInferred() - Method in class com.google.javascript.jscomp.TypedVar
-
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.StaticTypedSlot
-
Returns whether the type has been inferred (as opposed to declared).
- isTypeOf() - Method in class com.google.javascript.rhino.Node
-
- isTypeScript() - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Returns whether this feature set includes typescript features.
- isTypeScriptSpecificKeyword(String) - Static method in enum com.google.javascript.jscomp.parsing.parser.Keywords
-
- isTypeTransformation() - Method in class com.google.javascript.rhino.jstype.TemplateType
-
- isTypeVar() - Method in class com.google.javascript.jscomp.newtypes.Declaration
-
- isTypeVariable() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isTypeVariable() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isTypeVariable() - Method in interface com.google.javascript.rhino.TypeI
-
- isTypeVariableDefinedLocally(String) - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- isUndefined() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isUndefined(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
- 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.jscomp.newtypes.JSType
-
- isUnionType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isUnionType() - Method in interface com.google.javascript.rhino.TypeI
-
- isUnionTypeMismatch() - Method in class com.google.javascript.jscomp.newtypes.MismatchInfo
-
- isUniqueConstructor() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
Returns true if this is a constructor for a single class, i.e.
- isUnknown() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isUnknownObject() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isUnknownObject() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- isUnknownObject() - Method in interface com.google.javascript.rhino.ObjectTypeI
-
- isUnknownType() - 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
-
- isUnresolved() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isUnresolved() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isUnresolved() - Method in interface com.google.javascript.rhino.TypeI
-
- isUnresolvedOrResolvedUnknown() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isUnresolvedOrResolvedUnknown() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isUnresolvedOrResolvedUnknown() - 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.
- isValidOverride(FunctionType) - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
Returns true if this function is a valid override of other.
- isValidQualifiedName(CompilerOptions.LanguageMode, String) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Determines whether the given name is a valid qualified name.
- isVanillaFor() - Method in class com.google.javascript.rhino.Node
-
- 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
-
- isVarDeclaration() - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback.Reference
-
- isVoid() - Method in class com.google.javascript.rhino.Node
-
- isVoidable() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isVoidable() - Method in class com.google.javascript.rhino.jstype.JSType
-
Tests whether this type is voidable.
- isVoidable() - Method in class com.google.javascript.rhino.jstype.UnionType
-
Tests whether this type is voidable.
- isVoidable() - Method in interface com.google.javascript.rhino.TypeI
-
- isVoidType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- isVoidType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- isVoidType() - Method in class com.google.javascript.rhino.jstype.VoidType
-
- isVoidType() - Method in interface com.google.javascript.rhino.TypeI
-
- isWellDefined() - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback.ReferenceCollection
-
Determines if the variable for this reference collection is
"well-defined." A variable is well-defined if we can prove at
compile-time that it's assigned a value before it's used.
- isWhile() - Method in class com.google.javascript.rhino.Node
-
- isWhitespace(int) - Static method in class com.google.javascript.rhino.TokenUtil
-
- 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
.
- isXidGenerator() - Method in class com.google.javascript.rhino.JSDocInfo
-
- 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.ReferenceCollectingCallback.ReferenceCollection
-
- iterator() - Method in class com.google.javascript.rhino.Node.AncestorIterable
-
J
- J2CL_CHECKS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- J2clChecksPass - Class in com.google.javascript.jscomp
-
Performs correctness checks which are specific to J2CL-generated patterns.
- J2clClinitPrunerPass - Class in com.google.javascript.jscomp
-
An optimization pass to prune J2CL clinits.
- J2clConstantHoisterPass - Class in com.google.javascript.jscomp
-
An optimization pass for J2CL-generated code to hoist some constant assignments out clinit method
to declaration phase so they could be used by other optimization passes for static evaliation.
- J2clEqualitySameRewriterPass - Class in com.google.javascript.jscomp
-
An optimization pass to re-write J2CL Equality.$same.
- J2clPass - Class in com.google.javascript.jscomp
-
Rewrites/inlines some J2CL constructs to be more optimizable.
- J2clPass(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.J2clPass
-
- J2clPropertyInlinerPass - Class in com.google.javascript.jscomp
-
This pass targets J2CL output.
- J2clPropertyInlinerPass(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.J2clPropertyInlinerPass
-
- 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
-
- joinPathParts(String...) - Static method in class com.google.javascript.jscomp.Compiler
-
Creates an OS specific path string from parts
- 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
-
- JsAst.ParseResult - Class in com.google.javascript.jscomp
-
Simple class to share parse results between compilation jobs
- JsAst.RhinoError - Class in com.google.javascript.jscomp
-
Representation of Rhino parser error.
- JSDOC_INFO_PROP - Static variable in class com.google.javascript.rhino.Node
-
- JSDOC_REFERENCE_TO_SHORT_IMPORT_BY_LONG_NAME_INCLUDING_SHORT_NAME - Static variable in class com.google.javascript.jscomp.ClosureCheckModule
-
- JSDocInfo - Class in com.google.javascript.rhino
-
JSDoc information describing JavaScript code.
- 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.
- JsdocToEs6TypedConverter - Class in com.google.javascript.jscomp
-
Converts JS with types in jsdocs to an extended JS syntax that includes types.
- JsdocToEs6TypedConverter(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.JsdocToEs6TypedConverter
-
- JsdocToEs6TypedConverter.TypeDeclarationsIRFactory - Class in com.google.javascript.jscomp
-
Converts root nodes of JSTypeExpressions into TypeDeclaration ASTs.
- 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 dependency information from a .js file, including
goog.require, goog.provide, goog.module, import statements, and export statements.
- 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.
- JsMessageDefinition - Class in com.google.javascript.jscomp
-
Container class that holds information about JS message source.
- 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, boolean) - Constructor for class com.google.javascript.jscomp.JsMessageExtractor
-
- JsMessageVisitor - Class in com.google.javascript.jscomp
-
Traverses across parsed tree and finds I18N messages.
- JsMessageVisitor(AbstractCompiler, boolean, JsMessage.Style, JsMessage.IdGenerator) - Constructor for class com.google.javascript.jscomp.JsMessageVisitor
-
Creates JS message visitor.
- 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.
- JSON_UNEXPECTED_TOKEN - Static variable in class com.google.javascript.jscomp.RewriteJsonToModule
-
- JsonFileSpec(String, String) - Constructor for class com.google.javascript.jscomp.AbstractCommandLineRunner.JsonFileSpec
-
- JsonFileSpec(String, String, String) - Constructor for class com.google.javascript.jscomp.AbstractCommandLineRunner.JsonFileSpec
-
- 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(TypeIRegistry, Node, TypeMatchingStrategy) - 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 - Class in com.google.javascript.rhino.jstype
-
Represents JavaScript value types.
- JSType.SubtypingMode - Enum in com.google.javascript.rhino.jstype
-
In files translated from Java, we typecheck null and undefined loosely.
- JSType.TypePair - Class in com.google.javascript.rhino.jstype
-
a data structure that represents a pair of types
- JSTypeCreatorFromJSDoc - Class in com.google.javascript.jscomp.newtypes
-
During GlobalTypeInfo, this class parses type ASTs inside jsdocs and converts them
to JSTypes.
- JSTypeCreatorFromJSDoc(JSTypes, CodingConvention, UniqueNameGenerator, Function<String, Void>) - Constructor for class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- JSTypeCreatorFromJSDoc.FunctionAndSlotType - Class in com.google.javascript.jscomp.newtypes
-
- JSTypeExpression - Class in com.google.javascript.rhino
-
When parsing a jsdoc, a type-annotation string is parsed to a type AST.
- 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
-
- JSTypeRegistry(ErrorReporter, Set<String>) - 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 state that stays the same throughout a single type check,
but can vary across different compilations.
K
- key - Variable in class com.google.javascript.jscomp.DiagnosticType
-
The error type.
- 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
-
- 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.
- LATE_PROVIDE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- LatticeElement - Interface in com.google.javascript.jscomp.graph
-
A lattice element.
- LazyParsedDependencyInfo - Class in com.google.javascript.jscomp
-
A DependencyInfo class that determines load flags by parsing the AST just-in-time.
- LazyParsedDependencyInfo(DependencyInfo, JsAst, AbstractCompiler) - Constructor for class com.google.javascript.jscomp.LazyParsedDependencyInfo
-
- left - Variable in class com.google.javascript.jscomp.parsing.parser.trees.BinaryOperatorTree
-
- left - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ConditionalExpressionTree
-
- LegacyModuleResolver - Class in com.google.javascript.jscomp.deps
-
Resolution algorithm historically used by the compiler.
- LegacyModuleResolver(ImmutableSet<String>, ImmutableList<String>, ErrorHandler) - Constructor for class com.google.javascript.jscomp.deps.LegacyModuleResolver
-
- length() - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
-
- let(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- level(JSError) - Method in class com.google.javascript.jscomp.ByPathWarningsGuard
-
- level(JSError) - Method in class com.google.javascript.jscomp.ComposeWarningsGuard
-
- level - Variable in class com.google.javascript.jscomp.ConformanceRules.ConformanceResult
-
- level(JSError) - Method in class com.google.javascript.jscomp.DiagnosticGroupPathSuppressingWarningsGuard
-
Does not touch warnings in other paths.
- 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.JsAst.RhinoError
-
- line - Variable in class com.google.javascript.jscomp.parsing.parser.util.SourcePosition
-
- 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
-
- lineOffset - Variable in class com.google.javascript.jscomp.JsAst.RhinoError
-
- 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
-
- Linter - Class in com.google.javascript.jscomp
-
Minimal binary that just runs the "lint" checks which can be run on a single file at a time.
- Linter() - Constructor for class com.google.javascript.jscomp.Linter
-
- 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.GwtProperties
-
Constructs a new
GwtProperties
from the given source string.
- load(String) - Static method in class com.google.javascript.jscomp.VariableMap
-
Reads the variable map from a file written via
VariableMap.save(String)
.
- LOAD_WARNING - Static variable in class com.google.javascript.jscomp.deps.ModuleLoader
-
- 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.
- loadTextResource(Class<?>, String) - Static method in class com.google.javascript.jscomp.ResourceLoader
-
- 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
- locate(String, String) - Method in class com.google.javascript.jscomp.deps.ModuleResolver
-
Locates the module with the given name, but returns null if there is no JS file in the expected
location.
- 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.
- logger - Static variable in class com.google.javascript.jscomp.Compiler
-
Logger for the whole com.google.javascript.jscomp domain -
setting configuration for this logger affects all loggers
in other classes within the compiler.
- 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.
- looseTopFunction() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- lt(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
"<"
- 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(String[]) - Static method in class com.google.javascript.jscomp.Linter
-
- 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(JSTypes, String, Node, JSTypeExpression, Collection<String>) - Static method in class com.google.javascript.jscomp.newtypes.EnumType
-
- 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.
- makeClass(JSTypes, Node, String, ImmutableList<String>, ObjectKind, boolean) - Static method in class com.google.javascript.jscomp.newtypes.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.
- makeNominalInterface(JSTypes, Node, String, ImmutableList<String>, ObjectKind) - Static method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- makeNonIndexable() - Method in class com.google.javascript.rhino.Node
-
- makeNonStrict() - Method in class com.google.javascript.jscomp.ComposeWarningsGuard
-
- makeNonStrict() - Method in class com.google.javascript.jscomp.DiagnosticGroupWarningsGuard
-
- makeNonStrict() - Method in class com.google.javascript.jscomp.StrictWarningsGuard
-
- makeNonStrict() - Method in class com.google.javascript.jscomp.WarningsGuard
-
Make a warnings guard that's the same as this one but with
all escalating guards turned down.
- 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.
- makeStructuralInterface(JSTypes, Node, String, ImmutableList<String>, ObjectKind) - Static method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- makesUnrestricted() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@unrestricted
annotation is present on this
JSDocInfo
.
- manageDependencies(List<ModuleIdentifier>, 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.
- 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
- 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, 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(TypeI, TypeI) - Method in enum com.google.javascript.jscomp.TypeMatchingStrategy
-
- 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
-
- MatchResult(boolean, boolean) - Constructor for class com.google.javascript.jscomp.TypeMatchingStrategy.MatchResult
-
- MAX_COLUMN_NUMBER - Static variable in class com.google.javascript.rhino.Node
-
MAX_COLUMN_NUMBER represents the maximum column number that can
be represented.
- maxParamCount - Variable in enum com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
-
- maybeCopyFrom(JSDocInfo) - Static method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- mayBeDict() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- maybeEmbolden(String) - Method in class com.google.javascript.jscomp.AbstractMessageFormatter
-
- maybeGetInputProviding(String) - Method in class com.google.javascript.jscomp.deps.Es6SortedDependencies
-
- maybeGetInputProviding(String) - Method in interface com.google.javascript.jscomp.deps.SortedDependencies
-
Return the input that gives us the given symbol, or null.
- maybeMakeNullable(JSType) - Method in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- maybeSetWindowInstance(JSType) - Method in class com.google.javascript.jscomp.newtypes.NamespaceLit
-
- mayBeStruct() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- mayContainUnknownObject() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- mayHaveOwnProp(String) - Method in class com.google.javascript.jscomp.newtypes.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.RawNominalType
-
- 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
-
- meetWith(TypeI) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- meetWith(TypeI) - Method in class com.google.javascript.rhino.jstype.JSType
-
- meetWith(TypeI) - Method in interface com.google.javascript.rhino.TypeI
-
- 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
-
- memberFunctionDef(String, Node) - Static method in class com.google.javascript.rhino.IR
-
- 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
-
- members - Variable in class com.google.javascript.jscomp.parsing.parser.trees.EnumDeclarationTree
-
- members - Variable in class com.google.javascript.jscomp.parsing.parser.trees.RecordTypeTree
-
- MemberVariableTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Represents a member variable, also know as a field, of a class.
- MemberVariableTree(SourceRange, IdentifierToken, boolean, boolean, TokenType, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.MemberVariableTree
-
- 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.
- mergePropertyBitfieldFrom(JSDocInfo) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- message - Variable in class com.google.javascript.jscomp.JsAst.RhinoError
-
- MESSAGE_DESCRIPTIONS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- 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
-
- minimumRequiredFor(FeatureSet.Feature) - Static method in enum com.google.javascript.jscomp.parsing.Config.LanguageMode
-
Returns the lowest
Config.LanguageMode
that supports the specified feature.
- minParamCount - Variable in enum com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
-
- MismatchInfo - Class in com.google.javascript.jscomp.newtypes
-
When the expected and the found type don't match, this class contains
information about the mismatch that allows us to pinpoint which parts of
the types don't match.
- MISPLACED_TYPE_ANNOTATION - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- MISSING_GETCSSNAME - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- MISSING_JSDOC - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
-
- MISSING_OVERRIDE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- MISSING_PARAMETER_JSDOC - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
-
- MISSING_POLYFILL - 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
-
- MISSING_RETURN_JSDOC - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
-
- MISSING_SEMICOLON - Static variable in class com.google.javascript.jscomp.lint.CheckMissingSemicolon
-
- MISSING_SOURCES_WARNINGS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
A set of diagnostics expected when parsing and type checking partial programs.
- 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
-
- MissingProvideException(String) - Constructor for exception com.google.javascript.jscomp.deps.SortedDependencies.MissingProvideException
-
- MissingProvideException(String, Exception) - Constructor for exception com.google.javascript.jscomp.deps.SortedDependencies.MissingProvideException
-
- MIXED_PARAM_JSDOC_STYLES - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
-
- mockToString - Static variable in class com.google.javascript.jscomp.newtypes.JSType
-
- 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
-
- modifiesThis() - Method in class com.google.javascript.rhino.JSDocInfo
-
Get the value of the @modifies{this} annotation stored in the doc info.
- MODULE_CONFLICT - Static variable in class com.google.javascript.jscomp.deps.ModuleLoader
-
- 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
-
- MODULE_SLASH - Static variable in class com.google.javascript.jscomp.deps.ModuleLoader
-
According to the spec, the forward slash should be the delimiter on all platforms.
- ModuleDependenceException(String, JSModule, JSModule) - Constructor for exception com.google.javascript.jscomp.JSModuleGraph.ModuleDependenceException
-
- ModuleIdentifier - Class in com.google.javascript.jscomp
-
Basic information on an entry point module.
- ModuleLoader - Class in com.google.javascript.jscomp.deps
-
Provides compile-time locate semantics for ES6 and CommonJS modules.
- ModuleLoader(ErrorHandler, Iterable<String>, Iterable<? extends DependencyInfo>, ModuleLoader.PathResolver, ModuleLoader.ResolutionMode, Map<String, String>) - Constructor for class com.google.javascript.jscomp.deps.ModuleLoader
-
Creates an instance of the module loader which can be used to locate ES6 and CommonJS modules.
- ModuleLoader(ErrorHandler, Iterable<String>, Iterable<? extends DependencyInfo>, ModuleLoader.ResolutionMode) - Constructor for class com.google.javascript.jscomp.deps.ModuleLoader
-
- ModuleLoader(ErrorHandler, Iterable<String>, Iterable<? extends DependencyInfo>, ModuleLoader.PathResolver) - Constructor for class com.google.javascript.jscomp.deps.ModuleLoader
-
- ModuleLoader(ErrorHandler, Iterable<String>, Iterable<? extends DependencyInfo>) - Constructor for class com.google.javascript.jscomp.deps.ModuleLoader
-
- ModuleLoader(ErrorHandler, Iterable<String>, Iterable<? extends DependencyInfo>, ModuleLoader.PathResolver, ModuleLoader.ResolutionMode) - Constructor for class com.google.javascript.jscomp.deps.ModuleLoader
-
- ModuleLoader.ModulePath - Class in com.google.javascript.jscomp.deps
-
A path to a module.
- ModuleLoader.PathResolver - Enum in com.google.javascript.jscomp.deps
-
An enum indicating whether to absolutize paths.
- ModuleLoader.ResolutionMode - Enum in com.google.javascript.jscomp.deps
-
An enum used to specify what algorithm to use to locate non path-based modules
- ModuleNames - Class in com.google.javascript.jscomp.deps
-
Static methods related to module names.
- modulePaths - Variable in class com.google.javascript.jscomp.deps.ModuleResolver
-
The set of all known input module URIs (including trailing .js), after normalization.
- ModuleResolver - Class in com.google.javascript.jscomp.deps
-
Base class for algorithms that resolve JavaScript module references to input files.
- ModuleResolver(ImmutableSet<String>, ImmutableList<String>, ErrorHandler) - Constructor for class com.google.javascript.jscomp.deps.ModuleResolver
-
- moduleRootPaths - Variable in class com.google.javascript.jscomp.deps.ModuleResolver
-
Root URIs to match module roots against.
- 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
- MSG_CONVENTIONS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
Warnings that only apply to people who use MSG_ to denote
messages.
- MUST_BE_PRIVATE - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
-
- MUST_HAVE_TRAILING_UNDERSCORE - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
-
N
- name - Variable in class com.google.javascript.jscomp.newtypes.Namespace
-
- 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.EnumDeclarationTree
-
- name - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
-
- name - Variable in class com.google.javascript.jscomp.parsing.parser.trees.IndexSignatureTree
-
- name - Variable in class com.google.javascript.jscomp.parsing.parser.trees.InterfaceDeclarationTree
-
- name - Variable in class com.google.javascript.jscomp.parsing.parser.trees.LabelledStatementTree
-
- name - Variable in class com.google.javascript.jscomp.parsing.parser.trees.MemberVariableTree
-
- name - Variable in class com.google.javascript.jscomp.parsing.parser.trees.NamespaceDeclarationTree
-
- 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_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
-
- NameBasedDefinitionProvider - Class in com.google.javascript.jscomp
-
Simple name-based definition gatherer that implements
DefinitionProvider
.
- NameBasedDefinitionProvider(AbstractCompiler, boolean) - Constructor for class com.google.javascript.jscomp.NameBasedDefinitionProvider
-
- namedAnonFunctionMap - Variable in class com.google.javascript.jscomp.Result
-
- nameDefinitionMultimap - Variable in class com.google.javascript.jscomp.NameBasedDefinitionProvider
-
- NamedType - Class in com.google.javascript.rhino.jstype
-
A
NamedType
is a named reference to some other type.
- namedType(String) - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
-
Splits a '.' separated qualified name into a tree of type segments.
- namedType(Iterable<String>) - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
-
Produces a tree structure similar to the Rhino AST of a qualified name
expression, under a top-level NAMED_TYPE node.
- 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(JSTypes, String, Node) - Constructor for class com.google.javascript.jscomp.newtypes.Namespace
-
- NamespaceDeclarationTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
TypeScript namespace declaration (eg.
- NamespaceDeclarationTree(SourceRange, NamespaceNameTree, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.NamespaceDeclarationTree
-
- nameSpaceImportIdentifier - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ImportDeclarationTree
-
- NamespaceLit - Class in com.google.javascript.jscomp.newtypes
-
- NamespaceLit(JSTypes, String, Node) - Constructor for class com.google.javascript.jscomp.newtypes.NamespaceLit
-
- NamespaceNameTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Parse tree node representing a namespace name (of the form
foo.bar.Baz
)
- NamespaceNameTree(SourceRange, ImmutableList<String>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.NamespaceNameTree
-
- namespaceType - Variable in class com.google.javascript.jscomp.newtypes.Namespace
-
- ne(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
"!="
- neg(Node) - Static method in class com.google.javascript.rhino.IR
-
- negate() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- NEW_CHECK_TYPES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- NEW_CHECK_TYPES_ALL_CHECKS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- NEW_CHECK_TYPES_COMPATIBILITY_MODE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- NEW_CHECK_TYPES_EXTRA_CHECKS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- NEW_DIAGNOSTICS - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- NEW_EXPECTS_OBJECT_OR_TYPEVAR - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- NEW_PRIMITIVE_OBJECT - Static variable in class com.google.javascript.jscomp.lint.CheckPrimitiveAsObject
-
- 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.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
-
- 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.
- newPropertyAccess(AbstractCompiler, Node, String) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Creates a property access on the
context
tree.
- 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(Token, String) - Static method in class com.google.javascript.rhino.Node
-
- newString(String, int, int) - Static method in class com.google.javascript.rhino.Node
-
- newString(Token, 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
-
- NewTargetExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Represents 'new.target'.
- NewTargetExpressionTree(SourceRange) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.NewTargetExpressionTree
-
- newTraversal(FixedPointGraphTraversal.EdgeCallback<NODE, EDGE>) - Static method in class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
-
Helper method for creating new traversals.
- nextConvention - Variable in class com.google.javascript.jscomp.CodingConventions.Proxy
-
- nextPreciserScopeKnowingConditionOutcome(Node, FlowScope, boolean) - Method in class com.google.javascript.jscomp.type.ChainableReverseAbstractInterpreter
-
Delegates the calculation of the preciser scope to the next link.
- 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_SIDE_EFFECTS - Static variable in class com.google.javascript.rhino.Node
-
- node - Variable in class com.google.javascript.jscomp.JSError
-
Node where the warning occurred.
- Node - Class in com.google.javascript.rhino
-
This class implements the root of the intermediate representation.
- Node(Token) - Constructor for class com.google.javascript.rhino.Node
-
- Node(Token, Node) - Constructor for class com.google.javascript.rhino.Node
-
- Node(Token, Node, Node) - Constructor for class com.google.javascript.rhino.Node
-
- Node(Token, Node, Node, Node) - Constructor for class com.google.javascript.rhino.Node
-
- Node(Token, int, int) - Constructor for class com.google.javascript.rhino.Node
-
- Node(Token, Node, int, int) - Constructor for class com.google.javascript.rhino.Node
-
- Node.AncestorIterable - Class in com.google.javascript.rhino
-
Iterator to go up the ancestor tree.
- 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
-
Represents a node in the type declaration AST.
- 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
-
- NodeModuleResolver - Class in com.google.javascript.jscomp.deps
-
Resolution algorithm for NodeJS.
- NodeModuleResolver(ImmutableSet<String>, ImmutableList<String>, Map<String, String>, ErrorHandler) - Constructor for class com.google.javascript.jscomp.deps.NodeModuleResolver
-
- nodes - Variable in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
- nodes - Variable in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
-
- NodeTraversal - Class in com.google.javascript.jscomp
-
NodeTraversal allows an iteration through the nodes in the parse tree,
and facilitates the optimizations on the parse tree.
- NodeTraversal(AbstractCompiler, NodeTraversal.Callback) - Constructor for class com.google.javascript.jscomp.NodeTraversal
-
Deprecated.
- 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.AbstractModuleCallback - Class in com.google.javascript.jscomp
-
Abstract callback that knows when goog.modules (and in the future ES6 modules) are entered
and exited.
- 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.
- NominalType - Class in com.google.javascript.jscomp.newtypes
-
- NON_HALTING_ERROR_MSG - Static variable in class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
-
- NON_INDEXABLE - Static variable in class com.google.javascript.rhino.Node
-
- 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.
- normalizeObjectForCheckAccessControls() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- normalizeObjectForCheckAccessControls() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
- normalizeObjectForCheckAccessControls() - Method in interface com.google.javascript.rhino.ObjectTypeI
-
Works around the OTI distinction between prototype-object types and other objects.
- 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_A_CONSTRUCTOR - Static variable in class com.google.javascript.jscomp.TypeCheck
-
- note - Variable in class com.google.javascript.jscomp.ConformanceRules.ConformanceResult
-
- NoType - Class in com.google.javascript.rhino.jstype
-
Bottom type, representing the subclass of any value or object.
- NULL - Variable in class com.google.javascript.jscomp.newtypes.JSTypes
-
- NULL - Static variable in interface com.google.javascript.jscomp.transpile.Transpiler
-
Null implementation that does no transpilation at all.
- NULL_DECODER - Static variable in class com.google.javascript.jscomp.ReplacedStringsDecoder
-
A null decoder that does no mapping.
- NULL_OR_UNDEFINED - Variable in class com.google.javascript.jscomp.newtypes.JSTypes
-
- 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 - Class in com.google.javascript.rhino.jstype
-
Null type.
- NUMBER - Variable in class com.google.javascript.jscomp.newtypes.JSTypes
-
- number(double) - Static method in class com.google.javascript.rhino.IR
-
- NUMBER_OR_STRING - Variable in class com.google.javascript.jscomp.newtypes.JSTypes
-
- numberToString(double) - Static method in class com.google.javascript.rhino.dtoa.DToA
-
- NumberType - Class in com.google.javascript.rhino.jstype
-
Number type.
- numberType() - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
-
- 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
-
Deprecated.
- ObjectKind - Class in com.google.javascript.jscomp.newtypes
-
Used by NominalType and ObjectType for @struct, @dict and @unrestricted.
- objectlit(Node...) - Static method in class com.google.javascript.rhino.IR
-
- 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
-
- ObjectType - Class in com.google.javascript.rhino.jstype
-
Object type.
- ObjectTypeI - Interface in com.google.javascript.rhino
-
- OBJLIT_CLASS_NAME - Static variable in class com.google.javascript.jscomp.newtypes.JSTypes
-
- 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
-
- OLD_CHECK_TYPES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- OLD_REPORT_UNKNOWN_TYPES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- 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.TemplateLiteralExpressionTree
-
- operand - Variable in class com.google.javascript.jscomp.parsing.parser.trees.UnaryExpressionTree
-
- operand - Variable in class com.google.javascript.jscomp.parsing.parser.trees.UpdateExpressionTree
-
- operator - Variable in class com.google.javascript.jscomp.parsing.parser.trees.BinaryOperatorTree
-
- operator - Variable in class com.google.javascript.jscomp.parsing.parser.trees.UnaryExpressionTree
-
- operator - Variable in class com.google.javascript.jscomp.parsing.parser.trees.UpdateExpressionTree
-
- operatorPosition - Variable in class com.google.javascript.jscomp.parsing.parser.trees.UpdateExpressionTree
-
- OPT_ARG_NAME - Static variable in class com.google.javascript.rhino.Node
-
- OPT_ES6_TYPED - 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_PARAM_NOT_MARKED_OPTIONAL - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
-
- optionalParameter(Node.TypeDeclarationNode) - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
-
Represents a function parameter that is optional.
- OptionalParameterTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- OptionalParameterTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.OptionalParameterTree
-
- options - Variable in class com.google.javascript.jscomp.PassConfig
-
- options() - Method in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
-
- opToStr(Token) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Converts an operator's token value (see
Token
) to a string
representation.
- 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
.
- original - Variable in class com.google.javascript.jscomp.parsing.parser.trees.TypeAliasTree
-
- original() - Method in class com.google.javascript.jscomp.transpile.TranspileResult
-
- 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() - 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.
- overwriteVisibility(JSDocInfo.Visibility) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
P
- param - Variable in class com.google.javascript.jscomp.parsing.parser.trees.OptionalParameterTree
-
- param - Variable in class com.google.javascript.jscomp.parsing.parser.trees.TypedParameterTree
-
- parameter - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertySetterTree
-
- parameter - Variable in class com.google.javascript.jscomp.parsing.parser.trees.SetAccessorTree
-
- parameterizedType(Node.TypeDeclarationNode, Iterable<Node.TypeDeclarationNode>) - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
-
Represents a parameterized, or generic, type.
- ParameterizedTypeTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
A type that has type arguments applied to it (
Foo<Bar, Baz>
).
- ParameterizedTypeTree(SourceRange, TypeNameTree, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ParameterizedTypeTree
-
- 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
-
- parent - Variable in class com.google.javascript.rhino.Node
-
- 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
-
- PARSE_ERROR - Static variable in class com.google.javascript.jscomp.deps.JsFileLineParser
-
- PARSE_RESULTS - Static variable in class com.google.javascript.rhino.Node
-
- 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.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
.
- parseJsdoc(String) - Static method in class com.google.javascript.jscomp.parsing.JsDocInfoParser
-
Parses a string containing a JsDoc declaration, returning the entire JSDocInfo
if the parsing succeeded or
null
if it failed.
- parseJsonFilesFromInputStream() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
- 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.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, 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>, FeatureSet, String) - 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.
- parseSerializedIdMappings(String) - Static method in class com.google.javascript.jscomp.IdMappingUtil
-
The expected format looks like this:
- 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
-
- PassFactory.HotSwapPassFactory - Class in com.google.javascript.jscomp
-
A pass-factory that is good for
HotSwapCompilerPass
passes.
- path() - Method in class com.google.javascript.jscomp.transpile.TranspileResult
-
- 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
-
- 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
- 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
-
- POSSIBLE_VIOLATION - Static variable in class com.google.javascript.jscomp.ConformanceRules.ConformanceResult
-
- postfix(SourceRange, Token, ParseTree) - Static method in class com.google.javascript.jscomp.parsing.parser.trees.UpdateExpressionTree
-
- 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
- prefix(SourceRange, Token, ParseTree) - Static method in class com.google.javascript.jscomp.parsing.parser.trees.UpdateExpressionTree
-
- prepareExterns(CompilerOptions.Environment, Map<String, SourceFile>) - Static method in class com.google.javascript.jscomp.DefaultExterns
-
Filters and orders the passed externs for the specified environment.
- preserveTypeAnnotations - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Do not strip closure-style type annotations from code.
- PRIMITIVE_OBJECT_DECLARATION - Static variable in class com.google.javascript.jscomp.lint.CheckPrimitiveAsObject
-
- print(JSDocInfo) - Method in class com.google.javascript.jscomp.JSDocInfoPrinter
-
- printConfig(PrintStream) - Method in class com.google.javascript.jscomp.Compiler
-
- 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.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.refactoring.FixingErrorManager
-
- 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.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.refactoring.FixingErrorManager
-
- 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.CheckRequiresForConstructors
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.ChromePass
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.ClosureCheckModule
-
- 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.DartSuperAccessorsPass
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.DeadPropertyAssignmentElimination
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.DefinitionUseSiteFinder
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6ConvertSuper
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6ConvertSuperConstructorCalls
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6ExtractClasses
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6RenameVariablesInParamLists
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteArrowFunction
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteBlockScopedDeclaration
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteDestructuring
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteGenerators
-
- 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.Es6TypedToEs6Converter
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.ExportTestFunctions
-
- 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.J2clChecksPass
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.J2clClinitPrunerPass
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.J2clConstantHoisterPass
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.J2clEqualitySameRewriterPass
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.J2clPass
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.J2clPropertyInlinerPass
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.JsdocToEs6TypedConverter
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.JsMessageVisitor
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckArrayWithGoogObject
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckDuplicateCase
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckEmptyStatements
-
- 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.CheckJSDocStyle
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckMissingSemicolon
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckNullableReturn
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckPrimitiveAsObject
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckPrototypeProperties
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckRequiresAndProvidesSorted
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckUnusedLabels
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckUselessBlocks
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.NameBasedDefinitionProvider
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.ProcessCommonJSModules
-
Module rewriting is done a on per-file basis prior to main compilation.
- process(Node, Node) - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback
-
Convenience method for running this pass over a tree with this
class as a callback.
- process(Node) - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.RemoveSuperMethodsPass
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.RewriteAsyncFunctions
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.RewriteJsonToModule
-
Module rewriting is done a on per-file basis prior to main compilation.
- process(Node, Node) - Method in class com.google.javascript.jscomp.RewritePolyfills
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.TransformAMDToCJSModule
-
- process(Node, Node) - Method in class com.google.javascript.jscomp.TypeCheck
-
Main entry point for this phase of processing.
- process(Node, Node) - Method in class com.google.javascript.jscomp.WhitespaceWrapGoogModules
-
- 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.
- ProcessCommonJSModules(Compiler) - Constructor for class com.google.javascript.jscomp.ProcessCommonJSModules
-
Creates a new ProcessCommonJSModules instance which can be used to
rewrite CommonJS modules to a concatenable form.
- ProcessCommonJSModules(Compiler, boolean) - Constructor for class com.google.javascript.jscomp.ProcessCommonJSModules
-
Creates a new ProcessCommonJSModules instance which can be used to
rewrite CommonJS modules to a concatenable form.
- ProcessEs6Modules - Class in com.google.javascript.jscomp
-
Rewrites a ES6 module into a form that can be safely concatenated.
- ProcessEs6Modules(Compiler) - Constructor for class com.google.javascript.jscomp.ProcessEs6Modules
-
Creates a new ProcessEs6Modules instance which can be used to rewrite
ES6 modules to a concatenable form.
- processFile(Node, boolean) - Method in class com.google.javascript.jscomp.ProcessEs6Modules
-
If a file contains an ES6 "import" or "export" statement, or the forceRewrite
option is true, rewrite the source as a module.
- processForTesting(Node, Node) - Method in class com.google.javascript.jscomp.TypeCheck
-
Main entry point of this phase for testing code.
- processJsMessage(JsMessage, JsMessageDefinition) - Method in class com.google.javascript.jscomp.JsMessageVisitor
-
Processes found JS message.
- 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.ComputedPropertyMemberVariableTree
-
- 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
-
Returns a Matcher that matches nodes representing a GETPROP access of
an object property.
- 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
-
- propertyNames() - Method in class com.google.javascript.jscomp.GwtProperties
-
- PropertyRenamingPolicy - Enum in com.google.javascript.jscomp
-
Policies to determine how properties should be renamed.
- 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.
- PROVIDES_AFTER_REQUIRES - Static variable in class com.google.javascript.jscomp.lint.CheckRequiresAndProvidesSorted
-
- PROVIDES_NOT_SORTED - Static variable in class com.google.javascript.jscomp.lint.CheckRequiresAndProvidesSorted
-
- 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
- qmarkFunction() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- 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
- RandomNameGenerator - Class in com.google.javascript.jscomp
-
A class for generating unique, randomized JavaScript variable/property
names.
- RandomNameGenerator(Random) - Constructor for class com.google.javascript.jscomp.RandomNameGenerator
-
- RAW_STRING_VALUE - Static variable in class com.google.javascript.rhino.Node
-
- RawNominalType - Class in com.google.javascript.jscomp.newtypes
-
Represents a class or interface as defined in the code.
- REACHABLE - Static variable in class com.google.javascript.jscomp.graph.GraphReachability
-
- read() - Method in class com.google.javascript.jscomp.Compiler
-
- 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.
- recordAbstract() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- 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.
- recordFinality() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- 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
-
- recordImplicitMatch() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that the
JSDocInfo
being built should have its
JSDocInfo.usesImplicitMatch()
flag set to true
.
- 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.
- recordLicense(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- 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
-
- recordNoCollapse() - 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.
- recordPolymerBehavior() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that this method is to be exposed as a polymerBehavior.
- 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(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a type.
- RecordType - Class in com.google.javascript.rhino.jstype
-
A record (structural) type.
- recordType(LinkedHashMap<String, Node.TypeDeclarationNode>) - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
-
Represents a 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.
- RecordTypeTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- RecordTypeTree(SourceRange, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.RecordTypeTree
-
- 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.
- recordXidGenerator() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- RecoverableJsAst - Class in com.google.javascript.jscomp
-
An implementation of
SourceAst
that avoids re-creating the AST
unless it was manually cleared.
- RecoverableJsAst(SourceAst, boolean) - Constructor for class com.google.javascript.jscomp.RecoverableJsAst
-
Wraps around an existing SourceAst that provides caching between
compilations.
- 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_TO_SHORT_IMPORT_BY_LONG_NAME_INCLUDING_SHORT_NAME - Static variable in class com.google.javascript.jscomp.ClosureCheckModule
-
- ReferenceCollectingCallback - Class in com.google.javascript.jscomp
-
A helper class for passes that want to access all information about where a
variable is referenced and declared at once and then make a decision as to
how it should be handled, possibly inlining, reordering, or generating
warnings.
- ReferenceCollectingCallback(AbstractCompiler, ReferenceCollectingCallback.Behavior, ScopeCreator) - Constructor for class com.google.javascript.jscomp.ReferenceCollectingCallback
-
Constructor initializes block stack.
- ReferenceCollectingCallback.Behavior - Interface in com.google.javascript.jscomp
-
Way for callers to add specific behavior during traversal that
utilizes the built-up reference information.
- ReferenceCollectingCallback.Reference - Class in com.google.javascript.jscomp
-
Represents a single declaration or reference to a variable.
- ReferenceCollectingCallback.ReferenceCollection - Class in com.google.javascript.jscomp
-
A collection of references.
- ReferenceCollectingCallback.ReferenceMap - Interface in com.google.javascript.jscomp
-
- ReferenceCollection() - Constructor for class com.google.javascript.jscomp.ReferenceCollectingCallback.ReferenceCollection
-
- 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
-
- 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.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
.
- 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, Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Safely remove children while maintaining a valid node structure.
- 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
- removeDuplicateZipEntries(List<SourceFile>, List<AbstractCommandLineRunner.JsModuleSpec>) - Static method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Check that relative paths inside zip files are unique, since multiple files
with the same path inside different zips are considered duplicate inputs.
- removeEntry(int) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Builder
-
repeated group Entry = 1 { ...
- removeExternInput(InputId) - Method in class com.google.javascript.jscomp.Compiler
-
Removes an input file from AST.
- removeFirstChild() - Method in class com.google.javascript.rhino.Node
-
Removes the first child of Node.
- removeFirstOrChildAfter(Node) - Method in class com.google.javascript.rhino.Node
-
Remove the child after the given child, or the first child if given null.
- 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 { ...
- removeName(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Set the given function/class node to an empty name
- 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;
- RemoveSuperMethodsPass - Class in com.google.javascript.jscomp
-
A pass for deleting methods that only make a super call with no change in arguments.
- RemoveSuperMethodsPass(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.RemoveSuperMethodsPass
-
- removeType(JSType) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- removeType(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Removes a type by name.
- 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
-
- replaceDeclarationChild(Node, Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Replace the child of a var/let/const declaration (usually a name) with a new statement.
- ReplacedStringsDecoder - Class in com.google.javascript.jscomp
-
A decoder for strings encoded by the ReplaceStrings JS compiler pass.
- ReplacedStringsDecoder(VariableMap) - Constructor for class com.google.javascript.jscomp.ReplacedStringsDecoder
-
- replaceFirstOrChildAfter(Node, Node) - Method in class com.google.javascript.rhino.Node
-
Detaches the child after the given child, or the first child if prev is null.
- replaceRange(Node, Node, String) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Replaces a range of nodes with the given content.
- replaceScript(JsAst) - Method in class com.google.javascript.jscomp.Compiler
-
Replaces one file in a hot-swap mode.
- replaceWith(Node) - Method in class com.google.javascript.rhino.Node
-
Detaches Node and replaces it with newNode.
- report(JSError) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Report an error or warning.
- report(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.BasicErrorManager
-
- report(JSError) - Method in class com.google.javascript.jscomp.Compiler
-
- report(CheckLevel, JSError) - Method in 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.ThreadSafeDelegatingErrorManager
-
- report(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.WhitelistWarningsGuard.WhitelistBuilder
-
- report(CheckLevel, JSError) - Method in class com.google.javascript.refactoring.FixingErrorManager
-
- 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_LOOSE_TYPE_VIOLATIONS_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Requirement
-
- REPORT_UNKNOWN_TYPES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- reportChangeToChangeScope(Node) - Method in class com.google.javascript.jscomp.Compiler
-
- reportCodeChange() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Deprecated.
Use #reportChangeToEnclosingScope or NodeTraversal#reportCodeChange instead
- reportCodeChange() - Method in class com.google.javascript.jscomp.Compiler
-
Deprecated.
Use #reportChangeToEnclosingScope or NodeTraversal#reportCodeChange instead
- reportCodeChange() - Method in class com.google.javascript.jscomp.NodeTraversal
-
- reportCodeChange(Node) - Method in class com.google.javascript.jscomp.NodeTraversal
-
- reportError(SourcePosition, String, Object...) - Method in class com.google.javascript.jscomp.parsing.parser.util.ErrorReporter
-
- reportError(SourcePosition, String) - Method in class com.google.javascript.jscomp.parsing.parser.util.ErrorReporter
-
- reportError(SourcePosition, String) - Method in class com.google.javascript.jscomp.parsing.parser.util.LookaheadErrorReporter
-
- reportWarning(SourcePosition, String, Object...) - Method in class com.google.javascript.jscomp.parsing.parser.util.ErrorReporter
-
- reportWarning(SourcePosition, String) - Method in class com.google.javascript.jscomp.parsing.parser.util.ErrorReporter
-
- reportWarning(SourcePosition, String) - Method in class com.google.javascript.jscomp.parsing.parser.util.LookaheadErrorReporter
-
- require(FeatureSet) - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Returns a feature set combining all the features from
this
and other
.
- require(FeatureSet.Feature) - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Returns a feature set combining all the features from
this
and feature
.
- 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
-
- REQUIRES_NOT_SORTED - Static variable in class com.google.javascript.jscomp.lint.CheckRequiresAndProvidesSorted
-
- RequireUseStrict(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.RequireUseStrict
-
- reserveRawExports - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Reserve property names on the global this object.
- reset(Set<String>, String, char[]) - Method in class com.google.javascript.jscomp.RandomNameGenerator
-
- reset(Set<String>, String, char[], char[]) - Method in class com.google.javascript.jscomp.RandomNameGenerator
-
- reset() - Method in class com.google.javascript.jscomp.SourceMap
-
- resetForTypeCheck() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Reset to run the TypeCheck pass.
- resetImplicitPrototype(JSType, ObjectType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Set the implicit prototype if it's possible to do so.
- resetWarningsGuard() - Method in class com.google.javascript.jscomp.CompilerOptions
-
Reset the warnings guard.
- resolve(String) - Method in class com.google.javascript.jscomp.deps.ModuleLoader
-
Resolves a path into a
ModuleLoader.ModulePath
.
- resolve(ErrorReporter, StaticTypedScope<JSType>) - Method in class com.google.javascript.rhino.jstype.JSType
-
Resolve this type in the given scope.
- resolveEnum(EnumType, DeclaredTypeRegistry) - Method in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- resolveJsModule(String, String, String, int, int) - Method in class com.google.javascript.jscomp.deps.BrowserModuleResolver
-
- resolveJsModule(String, String, String, int, int) - Method in class com.google.javascript.jscomp.deps.LegacyModuleResolver
-
- resolveJsModule(String) - Method in class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath
-
Find a JS module
requireName
.
- resolveJsModule(String, String, int, int) - Method in class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath
-
Find a JS module
requireName
.
- resolveJsModule(String, String, String, int, int) - Method in class com.google.javascript.jscomp.deps.ModuleResolver
-
- resolveJsModule(String, String, String, int, int) - Method in class com.google.javascript.jscomp.deps.NodeModuleResolver
-
- resolveJsModuleFile(String, String) - Method in class com.google.javascript.jscomp.deps.NodeModuleResolver
-
- resolveModuleAsPath(String) - Method in class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath
-
Treats the module address as a path and returns the name of that module.
- resolveTypedef(Typedef, DeclaredTypeRegistry) - Method in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- resolveTypesInScope(StaticTypedScope<JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Resolve all the unresolved types in the given scope.
- resourceExists(Class<?>, String) - Static method in class com.google.javascript.jscomp.ResourceLoader
-
- resourceList(Class<?>) - Static method in class com.google.javascript.jscomp.ResourceLoader
-
- ResourceLoader - Class in com.google.javascript.jscomp
-
Utility class that handles resource loading.
- ResourceLoader() - Constructor for class com.google.javascript.jscomp.ResourceLoader
-
- rest(String) - Static method in class com.google.javascript.rhino.IR
-
- RestParameterTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- RestParameterTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.RestParameterTree
-
- restrictByNotNullOrUndefined() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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
-
If this is a union type, returns a union type that does not include
the null or undefined type.
- 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
-
- 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.CallSignatureTree
-
- returnType - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyGetterTree
-
- returnType - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
-
- returnType - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionTypeTree
-
- returnType - Variable in class com.google.javascript.jscomp.parsing.parser.trees.GetAccessorTree
-
- ReverseAbstractInterpreter - Interface in com.google.javascript.jscomp.type
-
This interface defines what reversed abstract interpreters provide.
- RewriteAsyncFunctions - Class in com.google.javascript.jscomp
-
Converts async functions to valid ES6 generator functions code.
- RewriteAsyncFunctions(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.RewriteAsyncFunctions
-
- rewriteFunctionExpressions - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Reduces the size of common function expressions.
- RewriteJsonToModule - Class in com.google.javascript.jscomp
-
Rewrites a JSON file to be a module export.
- RewriteJsonToModule(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.RewriteJsonToModule
-
Creates a new RewriteJsonToModule instance which can be used to rewrite JSON files to modules.
- RewritePolyfills - Class in com.google.javascript.jscomp
-
Injects polyfill libraries to ensure that ES6 library functions are available.
- RewritePolyfills(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.RewritePolyfills
-
- RhinoError(String, String, int, int) - Constructor for class com.google.javascript.jscomp.JsAst.RhinoError
-
- right - Variable in class com.google.javascript.jscomp.parsing.parser.trees.BinaryOperatorTree
-
- right - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ConditionalExpressionTree
-
- root(Node...) - Static method in class com.google.javascript.rhino.IR
-
- rootNode - Variable in class com.google.javascript.jscomp.Scope
-
- RULE_ID_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.Requirement
-
- run() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Runs the Compiler and calls System.exit() with the exit status of the
compiler.
- runs - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
-
- runtime - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
-
- runtime(String) - Method in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
-
- runtime() - Method in class com.google.javascript.jscomp.transpile.BaseTranspiler
-
- runtime() - Method in class com.google.javascript.jscomp.transpile.CachingTranspiler
-
- runtime() - Method in interface com.google.javascript.jscomp.transpile.Transpiler
-
Returns any necessary runtime code as a string.
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(Node) - Constructor for class com.google.javascript.jscomp.Scope
-
- 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
-
- segments - Variable in class com.google.javascript.jscomp.parsing.parser.trees.NamespaceNameTree
-
- segments - Variable in class com.google.javascript.jscomp.parsing.parser.trees.TypeNameTree
-
- segments - Variable in class com.google.javascript.jscomp.parsing.parser.trees.TypeQueryTree
-
- 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.
- serialize(OutputStream) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Serializes compiler options to a stream.
- 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
-
- setAccess(TokenType) - Method in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree.Builder
-
Optional TypeScript accessibility modifier (PUBLIC, PROTECTED, PRIVATE).
- SetAccessorTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- SetAccessorTree(SourceRange, Token, boolean, IdentifierToken, ParseTree, BlockTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.SetAccessorTree
-
- setAliasableStrings(Set<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setAliasAllStrings(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.
- setAllowHotswapReplaceScript(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setAmbiguateProperties(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setAngularPass(boolean) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Sets whether to process AngularJS-specific annotations.
- 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
-
- setApplyInputSourceMaps(boolean) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Whether to apply input source maps to the output, i.e.
- setApplyInputSourceMaps(boolean) - 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.
- setArgumentsType(RawNominalType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- setArrayType(RawNominalType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- setAssumeClosuresOnlyCaptureReferences(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Whether to assume closures capture only what they reference.
- setAssumeForwardDeclaredForMissingTypes(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
If
true
, considers all missing types to be forward declared (useful for partial
compilation).
- setAssumeStrictThis(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
If true, enables enables additional optimizations.
- setAsync(boolean) - Method in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree.Builder
-
Is this an asynchronous function?
- setBooleanInstance(JSType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- setBrokenClosureRequiresLevel(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Deprecated.
- 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
-
- setCharset(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Input charset for all files.
- setCheckDeterminism(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCheckEventfulObjectDisposalPolicy(CompilerOptions.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.
- setChecksOnly(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCheckSuspiciousCode(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCheckSymbols(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCheckTypes(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setClosurePass(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCoalesceVariableNames(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCodeGeneratorFactory(CodePrinter.Builder.CodeGeneratorFactory) - Method in class com.google.javascript.jscomp.CodePrinter.Builder
-
Set a custom code generator factory to enable custom code generation.
- setCodingConvention(CodingConvention) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Sets rules and conventions to enforce.
- 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
-
- setCommonJSModulePathPrefix(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets a path prefix for CommonJS modules (maps to
CompilerOptions.setModuleRoots(List)
).
- 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.
- setCompiler(AbstractCompiler) - Method in class com.google.javascript.refactoring.FixingErrorManager
-
- 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.
- setContinueAfterErrors(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setContinueSavedCompilation(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Set the compiler to resume a saved compilation.
- setConvertToDottedProperties(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCreateNameMapFiles(boolean) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
If true, variable renaming and property renaming map
files will be produced as {binary name}_vars_map.out and
{binary name}_props_map.out.
- setCreateSourceMap(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
If specified, a source map file mapping the generated
source files back to the original source file will be
output to the specified path.
- setCrossModuleCodeMotion(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setCrossModuleCodeMotionNoStubMethods(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) - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- setDartPass(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setDeadAssignmentElimination(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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;
- setDeclaredTypeExpression(Node.TypeDeclarationNode) - Method in class com.google.javascript.rhino.Node
-
Sets the syntactical type specified on this node.
- setDefine(List<String>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Override the value of a variable annotated @define.
- 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.
- setDependencyMode(CompilerOptions.DependencyMode) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Sets whether to sort files by their goog.provide/require deps,
and prune inputs that are not required.
- 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.
- 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.
- setDescription(String) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
- 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
- setEmitUseStrict(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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(List<ModuleIdentifier>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Set module entry points, which makes the compiler only include
those files and sort them in dependency order.
- setEntryPoints(Collection<ModuleIdentifier>) - Method in class com.google.javascript.jscomp.DependencyOptions
-
Adds a collection of symbols to always keep.
- setEnvironment(CompilerOptions.Environment) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Set which set of builtin externs to use.
- 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;
- setExitCodeReceiver(Function<Integer, Void>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
- 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
-
- setExterns(List<String>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
The file containing JavaScript externs.
- 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
-
- setFilesToPrintAfterEachPass(List<String>) - 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
-
- setForceLibraryInjection(Iterable<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets list of libraries to always inject, even if not needed.
- setFormalParameterList(FormalParameterListTree) - Method in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree.Builder
-
Required parameter list.
- setFunctionBody(ParseTree) - Method in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree.Builder
-
Required function body.
- setFunctionType(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.CompilerOptions
-
- setGeneratePseudoNames(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setGenerator(boolean) - Method in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree.Builder
-
Is this a generator function?
- 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.
- setGenerics(GenericTypeListTree) - Method in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree.Builder
-
Optional generics information.
- setHideWarningsFor(List<String>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Sets the paths for which warnings will be hidden.
- setIArrayLikeType(RawNominalType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- 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
-
Deprecated.
Some "IDE" clients will need some of these options but not
others. Consider calling setChecksOnly, setAllowRecompilation, etc,
explicitly, instead of calling this method which does a variety of
different things.
- 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
-
- setImplicitMatch(boolean) - Method in class com.google.javascript.rhino.jstype.FunctionType
-
sets the current interface type to support
structural interface matching (abbr.
- setIncludeGoogBase(boolean) - Method in class com.google.javascript.jscomp.deps.JsFileParser
-
Sets whether we should create implicit provides and requires of the
root namespace.
- setIncludeLevel(boolean) - Method in class com.google.javascript.jscomp.LightweightMessageFormatter
-
- setIncludeLocation(boolean) - Method in class com.google.javascript.jscomp.LightweightMessageFormatter
-
- setIncrementalChecks(CompilerOptions.IncrementalCheckMode) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setIndex(int) - Method in class com.google.javascript.jscomp.JSModule
-
- 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
-
- 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
-
- setInputSourceMaps(ImmutableMap<String, SourceMapInput>) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the input sourcemap files, indexed by the JS files they refer to.
- setInputVariableMap(VariableMap) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setInstrumentationTemplate(Instrumentation) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setInstrumentationTemplateFile(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
- setInstrumentationTemplateFile(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setInstrumentBranchCoverage(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Set whether to instrument to collect branch coverage
- setInstrumentForCoverage(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Set whether or not code should be modified to provide coverage
information.
- setInstrumentForCoverageOnly(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setIObjectType(RawNominalType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- 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.
- setIsAsyncFunction(boolean) - Method in class com.google.javascript.rhino.Node
-
Sets whether this node is an async 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.
- setJ2clPass(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Deprecated.
- setJ2clPass(CompilerOptions.J2clPassMode) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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;
- setJs(List<String>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
The JavaScript filename.
- setJscompDevMode(CompilerOptions.DevMode) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Turns on extra sanity checks
- 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.
- setJsonStreamMode(CompilerOptions.JsonStreamMode) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
- setJsOutputFile(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Primary output filename.
- setJSType(JSType) - Method in class com.google.javascript.rhino.Node
-
- setJsZip(List<String>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
The JavaScript zip filename.
- 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(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.
- setLegacyCodeCompile(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setLength(int) - Method in class com.google.javascript.rhino.Node
-
- 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.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
required int32 line_number = 4;
- setLiteralObjNominalType(RawNominalType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- setLocale(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setLoggingLevel(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
The logging level (standard java.util.logging.Level
values) for Compiler progress.
- 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.
- setManifestMaps(List<String>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Sets the execPath:rootRelativePath mappings
- 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
-
- setMixedJsSources(List<AbstractCommandLineRunner.FlagEntry<AbstractCommandLineRunner.JsSourceType>>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
The JavaScript source file names, including .js and .zip files.
- setModule(List<String>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
A JavaScript module specification.
- 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 { ...
- setModuleLoader(ModuleLoader) - Method in class com.google.javascript.jscomp.deps.JsFileParser
-
Sets a list of "module root" URIs, which allow relativizing filenames
for modules.
- 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;
- setModuleOutputPathPrefix(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Prefix for filenames of compiled JS modules.
- setModuleResolutionMode(ModuleLoader.ResolutionMode) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setModuleRoots(List<String>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Sets the module roots.
- setModuleRoots(List<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the module roots.
- setModuleWrapper(List<String>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
An output wrapper for a JavaScript module (optional).
- 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;
- setName(IdentifierToken) - Method in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree.Builder
-
Optional function name.
- 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;
- setNameGenerator(NameGenerator) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setNewTypeInference(boolean) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
- 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
-
- setNumParallelThreads(int) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the level of parallelism for compilation passes that can exploit multi-threading.
- setObjectType(RawNominalType) - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- setOffset(int) - Method in class com.google.javascript.jscomp.parsing.parser.Scanner
-
- 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
-
- setOptimizePropertyIndex_TRANSITIONAL_METHOD(boolean) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
- setOptimizeReturns(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setOptional(boolean) - Method in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree.Builder
-
Is this the declaration of an optional function parameter? Default is
false
.
- setOptionalArg(boolean) - Method in class com.google.javascript.rhino.Node
-
Sets whether this node is an optional argument node.
- setOptions(CompilerOptions) - Method in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
-
- setOptionsForCompilationLevel(CompilerOptions) - Method in enum com.google.javascript.jscomp.CompilationLevel
-
- setOptionsForWarningLevel(CompilerOptions) - Method in enum com.google.javascript.jscomp.WarningLevel
-
- setOriginalName(String) - Method in class com.google.javascript.rhino.Node
-
- setOriginalPath(String) - Method in class com.google.javascript.jscomp.SourceFile
-
- setOutputBundle(List<String>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Sets whether to print output bundle files.
- setOutputCharset(Charset) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the output charset.
- setOutputJsStringUsage(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setOutputManifest(List<String>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Sets whether to print output manifest files.
- setOutputModuleDependencies(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Sets whether a JSON file representing the dependencies between modules
should be created.
- 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.AbstractCommandLineRunner.CommandLineConfig
-
Interpolate output into this string at the place denoted
by the marker token %output%, or %output|jsstring%
- setParentModuleCanSeeSymbolsDeclaredInChildren(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setParseInlineSourceMaps(boolean) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
- setParseJsDocDocumentation(Config.JsDocParsing) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Enables or disables the parsing of JSDoc documentation, and optionally also
the preservation of all whitespace and formatting within a JSDoc comment.
- setPassConfig(PassConfig) - Method in class com.google.javascript.jscomp.Compiler
-
- setPolymerVersion(Integer) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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
-
- setPreserveDetailedSourceInfo(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setPreserveGoogProvidesAndRequires(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.CodePrinter.Builder
-
Sets whether pretty printing should be used.
- setPrettyPrint(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setPreventLibraryInjection(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the set of libraries to never inject, even if required.
- setPrintAst(boolean) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Prints a dot file describing the internal abstract syntax tree
and exits
- setPrintConfig(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Should the compiler print its configuration options to stderr when they are initialized?
- setPrintInputDelimiter(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setPrintPassGraph(boolean) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Prints a dot file describing the passes that will get run and exits
- setPrintSourceAfterEachPass(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setProcessCommonJSModules(boolean) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Sets whether to process CommonJS modules.
- 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
-
- setPropertyMapInputFile(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
File containing the serialized version of the property renaming
map produced by a previous compilation
- setPropertyMapOutputFile(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
File where the serialized version of the property renaming map
produced should be saved
- setPropertyNode(String, Node) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Sets the node where the property was defined.
- setPropertyNode(String, Node) - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
-
- 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.
- setQuoteKeywordProperties(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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
-
- setRemoveSuperMethods(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
-
- 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.
- 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
-
- 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;
- setReportLooseTypeViolations(boolean) - Method in class com.google.javascript.jscomp.Requirement.Builder
-
optional bool report_loose_type_violations = 11 [default = true];
- setReportOTIErrorsUnderNTI(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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
-
- setReturnType(ParseTree) - Method in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree.Builder
-
Optional return type.
- setRewriteFunctionExpressions(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setRewritePolyfills(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets whether to rewrite polyfills.
- 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;
- setRunOptions(CompilerOptions) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Sets options based on the configurations set flags API.
- setRuntimeTypeCheck(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setRuntimeTypeCheckLogFunction(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setSaveAfterChecks(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Set the compiler to to only type check and save state.
- 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;
- setSkipNonTranspilationPasses(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Skip all passes (other than transpilation, if requested).
- setSkipNormalOutputs(boolean) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Sets whether the normal outputs of compilation should be skipped.
- setSkipTranspilationAndCrash(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Allow disabling ES6 to ES3 transpilation.
- setSmartNameRemoval(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setSource(DiGraph.DiGraphNode<N, E>) - Method in interface com.google.javascript.jscomp.graph.DiGraph.DiGraphEdge
-
- setSource(Node) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- 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 class com.google.javascript.jscomp.RecoverableJsAst
-
- 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.
- setSourceFileMapping(SourceFileMapping) - Method in class com.google.javascript.jscomp.SourceMap
-
- setSourceMap(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.JsonFileSpec
-
- 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.AbstractCommandLineRunner.CommandLineConfig
-
The detail supplied in the source map file, if generated.
- setSourceMapDetailLevel(SourceMap.DetailLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setSourceMapFormat(SourceMap.Format) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
The source map format to use, if generated.
- setSourceMapFormat(SourceMap.Format) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setSourceMapIncludeSourcesContent(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setSourceMapInputFiles(Map<String, String>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
- setSourceMapLocationMappings(List<SourceMap.LocationMapping>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
The source map location mappings to use, if generated.
- setSourceMapLocationMappings(List<SourceMap.LocationMapping>) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setSourceMapOutputPath(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setSourceName(String) - Method in class com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
-
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;
- setStartingPosition(int, int) - Method in class com.google.javascript.jscomp.SourceMap
-
- setStatic(boolean) - Method in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree.Builder
-
Is the method static?
- 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
-
- setStrictModeInput(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- 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
-
- setStringMapOutputFile(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
File where the serialized version of the string map produced by the ReplaceStrings pass
should be saved.
- 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.AbstractCommandLineRunner.CommandLineConfig
-
Controls how detailed the compilation summary is.
- 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
-
- setTagAsExterns(boolean) - Method in class com.google.javascript.jscomp.CodePrinter.Builder
-
Set whether the output should be tagged as @externs code.
- 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.
- 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
- setToken(Token) - Method in class com.google.javascript.rhino.Node
-
- setTracerMode(CompilerOptions.TracerMode) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
- setTracerMode(CompilerOptions.TracerMode) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setTransformAMDToCJSModules(boolean) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Set whether to transform AMD to CommonJS modules.
- setTransformAMDToCJSModules(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Activates transformation of AMD to CommonJS modules.
- setTrustedStrings(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Some people want to put arbitrary user input into strings, which are then
run through the compiler.
- setTweak(List<String>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Override the default value of a registered tweak.
- setTweakProcessing(CompilerOptions.TweakProcessing) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Sets the kind of processing to do for goog.tweak functions.
- 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;
- 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.
- setTypedPercent(double) - Method in class com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager
-
- setTypeI(TypeI) - Method in class com.google.javascript.rhino.Node
-
- setTypeMatchingStrategy(TypeMatchingStrategy) - Method in class com.google.javascript.refactoring.RefasterJsScanner
-
Sets the type matching strategy to use when matching templates.
- setTypeRegistry(TypeIRegistry) - Method in class com.google.javascript.jscomp.CodePrinter.Builder
-
- setUseOriginalNamesInOutput(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setUseSizeHeuristicToStopOptimizationLoop(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setUseTypesForLocalOptimization(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setUseTypesForOptimization(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Deprecated.
- 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.ProxyObjectType
-
- 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.
- setVariableMapInputFile(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
File containing the serialized version of the variable renaming
map produced by a previous compilation
- setVariableMapOutputFile(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
File where the serialized version of the variable renaming map
produced should be saved
- setVariableRenaming(VariableRenamingPolicy) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setWarningGuardOptions(CompilerOptions, ArrayList<AbstractCommandLineRunner.FlagEntry<CheckLevel>>, DiagnosticGroups) - Static method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
- setWarningGuards(List<AbstractCommandLineRunner.FlagEntry<CheckLevel>>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Add warning guards.
- setWarningLevel(DiagnosticGroup, CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Configure the given type of warning to the given level.
- setWarningsGuard(ComposeWarningsGuard) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setWarningsWhitelistFile(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Sets a whitelist file that suppresses warnings.
- 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;
- setWrapGoogModulesForWhitespaceOnly(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
- setWrappedOutputOptimizations(CompilerOptions) - Method in enum com.google.javascript.jscomp.CompilationLevel
-
Enable additional optimizations that operate on global declarations.
- setWrapperPrefix(String) - Method in class com.google.javascript.jscomp.SourceMap
-
- setXidHashFunction(Xid.HashFunction) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the hash function to use for Xid
- 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
-
"==="
- shne(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
"!=="
- SHORTHAND_ASSIGNMENT_IN_ENUM - Static variable in class com.google.javascript.jscomp.lint.CheckEnums
-
- shouldCheckConformance(Node) - Method in class com.google.javascript.jscomp.ConformanceRules.AbstractRule
-
- shouldColorizeErrorOutput() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- shouldGenerateTypedExterns() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- shouldParseDocumentation() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
- shouldPreservesGoogProvidesAndRequires() - Method in class com.google.javascript.jscomp.CompilerOptions
-
- shouldProtectHiddenSideEffects() - Method in class com.google.javascript.jscomp.CompilerOptions
-
Whether or not the compiler should wrap apparently side-effect free code
to prevent it from being removed
- 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.CheckConformance
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.CheckRequiresForConstructors
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.ControlFlowGraph.AbstractCfgNodeTraversalCallback
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.DartSuperAccessorsPass
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6ConvertSuperConstructorCalls
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteArrowFunction
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteDestructuring
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6ToEs3Converter
-
Some nodes 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.Es6TypedToEs6Converter
-
- 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.lint.CheckUnusedLabels
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckUselessBlocks
-
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractModuleCallback
-
- 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.ReferenceCollectingCallback
-
Updates block stack.
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.RewriteAsyncFunctions
-
- 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,
including this Node but not any siblings that are before this one.
- 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
-
- SimpleDependencyInfo(String, String, Collection<String>, Collection<String>, Map<String, String>) - Constructor for class com.google.javascript.jscomp.deps.SimpleDependencyInfo
-
Constructs a DependencyInfo object with the given list of provides and
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.
- SimpleReference<T extends StaticTypedSlot<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
StaticTypedSlot<JSType>
.
- SimpleSlot(String, JSType, boolean) - Constructor for class com.google.javascript.rhino.jstype.SimpleSlot
-
- SimpleSourceFile - Class in com.google.javascript.rhino
-
A simple implementation of
StaticSourceFile
for testing.
- SimpleSourceFile(String, boolean) - Constructor for class com.google.javascript.rhino.SimpleSourceFile
-
- simplify(String) - Method in class com.google.javascript.jscomp.regex.RegExpTree
-
Returns a simpler regular expression that is semantically the same assuming
the given flags.
- size - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
-
- SIZE_FIELD_NUMBER - Static variable in class com.google.javascript.jscomp.FunctionInformationMap.Entry
-
- skipAllCompilerPasses() - Method in class com.google.javascript.jscomp.CompilerOptions
-
Skip all possible passes, to make the compiler as fast as possible.
- SLASH_V - Static variable in class com.google.javascript.rhino.Node
-
- slotType - Variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc.FunctionAndSlotType
-
- 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> - Interface in com.google.javascript.jscomp.deps
-
A sorted list of inputs with dependency information.
- SortedDependencies.MissingProvideException - Exception in com.google.javascript.jscomp.deps
-
- sortInputsByDeps(AbstractCompiler) - Method in class com.google.javascript.jscomp.JSModule
-
Puts the JS files into a topologically sorted order by their dependencies.
- source - Variable in class com.google.javascript.jscomp.parsing.parser.util.SourcePosition
-
- source - Variable in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompileResult
-
- 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.
- SourceFileMapping - Interface in com.google.javascript.jscomp
-
A SourceFileMapping maps a source file, line, and column into an
Mapping.OriginalMapping
.
- sourceMap - Variable in class com.google.javascript.jscomp.parsing.ParserRunner.ParseResult
-
- 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 - Variable in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompileResult
-
- sourceMap() - Method in class com.google.javascript.jscomp.transpile.TranspileResult
-
- 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
-
An enumeration of available source map formats
- SourceMap.LocationMapping - Class in com.google.javascript.jscomp
-
A simple pair of path prefixes to the desired "destination" location to use within the
source map.
- sourceMapDetailLevel - Variable in class com.google.javascript.jscomp.CompilerOptions
-
The detail level for the generated source map.
- sourceMapFormat - Variable in class com.google.javascript.jscomp.CompilerOptions
-
The source map file format
- 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.
- sourceName - Variable in class com.google.javascript.jscomp.JsAst.RhinoError
-
- 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(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6SplitVariableDeclarations
-
- spread(Node) - Static method in class com.google.javascript.rhino.IR
-
- 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.
- 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
-
- StaticRef - Interface in com.google.javascript.rhino
-
The
StaticRef
tells us all the ways that a StaticSlot
is used in a program.
- StaticScope - Interface in com.google.javascript.rhino
-
The
StaticScope
interface must be implemented by any object that
defines variables for the purposes of static analysis.
- StaticSlot - Interface in com.google.javascript.rhino
-
The
StaticSlot
interface must be implemented by variables that can
appear as members of a StaticScope
.
- StaticSourceFile - Interface in com.google.javascript.rhino
-
The
StaticSourceFile
contains information about a compiler input.
- StaticSymbolTable<S extends StaticSlot,R extends StaticRef> - Interface in com.google.javascript.rhino
-
Lookup references by the symbols that they refer to.
- StaticTypedRef<T> - Interface in com.google.javascript.rhino.jstype
-
The
StaticTypedRef
tells us all the ways that a StaticTypedSlot
is used in a program.
- StaticTypedScope<T> - Interface in com.google.javascript.rhino.jstype
-
The
StaticTypedScope
interface must be implemented by any object that
defines variables for the purposes of static analysis.
- StaticTypedSlot<T> - Interface in com.google.javascript.rhino.jstype
-
The
StaticTypedSlot
interface must be implemented by variables that can
appear as members of a StaticTypedScope
.
- STRICT_MISSING_REQUIRE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- STRICT_MODULE_DEP_CHECK - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- STRICT_REQUIRES - 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 - Variable in class com.google.javascript.jscomp.newtypes.JSTypes
-
- string(String) - Static method in class com.google.javascript.rhino.IR
-
- 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 - Class in com.google.javascript.rhino.jstype
-
String type.
- stringType() - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
-
- 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
- STRUCT - Static variable in class com.google.javascript.jscomp.newtypes.ObjectKind
-
- sub(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- 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
-
- substituteNominalGenerics(NominalType) - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- 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.
- SuggestedFix.MatchedNodeInfo - Class in com.google.javascript.refactoring
-
Information about the node that was matched for the suggested fix.
- 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
-
- superInterfaces - Variable in class com.google.javascript.jscomp.parsing.parser.trees.InterfaceDeclarationTree
-
- superNode() - Static method in class com.google.javascript.rhino.IR
-
- SUSPICIOUS_CODE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- SUSPICIOUS_EXPORTS_ASSIGNMENT - Static variable in class com.google.javascript.jscomp.ProcessCommonJSModules
-
- 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
- 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
- tagAsExterns() - Method in class com.google.javascript.jscomp.CodeGenerator
-
Insert a top-level @externs comment.
- tagAsStrict() - Method in class com.google.javascript.jscomp.CodeGenerator
-
Insert a ECMASCRIPT 5 strict annotation.
- 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(TypeIRegistry, Node, TypeMatchingStrategy) - 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.
- TEMPLATED_GETTER_SETTER - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- 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
-
- TemplateTypeMapReplacer(JSTypeRegistry, TemplateTypeMap, boolean) - 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<string>
.
- TernaryValue - Enum in com.google.javascript.rhino.jstype
-
An enum for ternary logic.
- 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
-
- 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
-
- ThreadSafeDelegatingErrorManager - Class in com.google.javascript.jscomp
-
A simple delegating
ErrorManager
that provides a thread-safe wrapper
for the one being delegated.
- ThreadSafeDelegatingErrorManager(ErrorManager) - Constructor for class com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager
-
- 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.
- 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.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
-
Returns this function type as a
DeclaredFunctionType
.
- 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.
- toEs5() - Static method in class com.google.javascript.jscomp.transpile.TranspilerBuilder
-
Returns a new TranspilerBuilder that transpiles down to ES5.
- 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
-
- toJSIdentifier() - Method in class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath
-
Turns a filename into a JS identifier that can be used in rewritten code.
- toJSType() - Method in class com.google.javascript.jscomp.newtypes.Namespace
-
- 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 - Enum in com.google.javascript.rhino
-
This class implements the JavaScript scanner.
- 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
-
- TokenUtil - Class in com.google.javascript.rhino
-
Helper methods for parsing JavaScript.
- TokenUtil() - Constructor for class com.google.javascript.rhino.TokenUtil
-
- toLanguageModeString() - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Returns a the name of a corresponding LanguageMode enum element.
- 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.jscomp.newtypes.JSType
-
- 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
-
Downcasts this to a FunctionTypeI, or returns null if this is not
a function.
- toMaybeNamedType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- toMaybeNamedType() - Method in class com.google.javascript.rhino.jstype.NamedType
-
- toMaybeObjectType() - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- toMaybeObjectType() - Method in class com.google.javascript.rhino.jstype.JSType
-
- toMaybeObjectType() - Method in interface com.google.javascript.rhino.TypeI
-
If this type is a single object, downcast it to ObjectTypeI.
- 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() - 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() - 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() - Method in class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath
-
Turns a filename into a JS identifier that is used for moduleNames in
rewritten code.
- toNonNullAnnotationString() - Method in class com.google.javascript.rhino.jstype.JSType
-
- TOO_MANY_TYPE_PARAMS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- 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 - Variable in class com.google.javascript.jscomp.newtypes.JSTypes
-
- TOP_SCALAR - Variable in class com.google.javascript.jscomp.newtypes.JSTypes
-
- topFunction() - Method in class com.google.javascript.jscomp.newtypes.JSTypes
-
- toSource() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Prints a node to source code.
- toSource(Node) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Prints a node to source code.
- 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.
- toSource(Node) - Method in class com.google.javascript.jscomp.Compiler
-
Generates JavaScript source code for an AST, doesn't generate source
map info.
- 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.CompilerOptions
-
- 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.DependencyOptions
-
- toString() - Method in class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath
-
- 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.DiagnosticGroupPathSuppressingWarningsGuard
-
- 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.ModuleIdentifier
-
- toString() - Method in class com.google.javascript.jscomp.newtypes.Declaration
-
- toString() - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- 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.Namespace
-
- toString() - Method in class com.google.javascript.jscomp.newtypes.NominalType
-
- toString() - Method in class com.google.javascript.jscomp.newtypes.QualifiedName
-
- toString() - Method in class com.google.javascript.jscomp.newtypes.RawNominalType
-
- toString() - Method in class com.google.javascript.jscomp.newtypes.TypeEnv
-
- toString() - Method in enum com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
-
- toString() - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
- 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.PassFactory
-
- toString() - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback.Reference
-
- toString() - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback.ReferenceCollection
-
- toString() - Method in class com.google.javascript.jscomp.regex.RegExpTree
-
- toString() - Method in class com.google.javascript.jscomp.Scope
-
- 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 class com.google.javascript.jscomp.transpile.TranspileResult
-
- toString() - Method in class com.google.javascript.jscomp.TypedVar
-
- toString() - Method in class com.google.javascript.jscomp.Var
-
- 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.TemplateTypeMap
-
- toString() - Method in class com.google.javascript.rhino.JSTypeExpression
-
- toString() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
-
- toString() - Method in class com.google.javascript.rhino.Node
-
- toString(boolean, boolean, boolean) - Method in class com.google.javascript.rhino.Node
-
- toString() - Method in class com.google.javascript.rhino.SimpleSourceFile
-
- 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
-
- tracksAstSize() - Method in class com.google.javascript.jscomp.PerformanceTracker
-
- tracksGzSize() - Method in class com.google.javascript.jscomp.PerformanceTracker
-
- tracksSize() - Method in class com.google.javascript.jscomp.PerformanceTracker
-
- TransformAMDToCJSModule - Class in com.google.javascript.jscomp
-
Rewrites an AMD module https://github.com/amdjs/amdjs-api/wiki/AMD to a
CommonJS module.
- TransformAMDToCJSModule(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.TransformAMDToCJSModule
-
- transformByApplyProperty() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
Returns a FunctionType representing the 'apply' property of this
function.
- transformByCallProperty() - Method in class com.google.javascript.jscomp.newtypes.FunctionType
-
Returns a FunctionType representing the 'call' property of this
function (i.e.
- TranspilationPasses - Class in com.google.javascript.jscomp
-
Provides a single place to manage transpilation passes.
- transpile(Path, String) - Method in class com.google.javascript.jscomp.transpile.BaseTranspiler
-
- transpile(Path, String) - Method in class com.google.javascript.jscomp.transpile.CachingTranspiler
-
- transpile(Path, String) - Method in interface com.google.javascript.jscomp.transpile.Transpiler
-
Transforms the given chunk of code.
- transpileAndDontCheck() - Method in class com.google.javascript.jscomp.Compiler
-
- transpiled - Variable in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompileResult
-
- transpiled() - Method in class com.google.javascript.jscomp.transpile.TranspileResult
-
- TRANSPILED - Static variable in class com.google.javascript.rhino.Node
-
- transpiledFiles - Variable in class com.google.javascript.jscomp.Result
-
- Transpiler - Interface in com.google.javascript.jscomp.transpile
-
Common interface for a transpiler.
- TranspilerBuilder - Class in com.google.javascript.jscomp.transpile
-
Basic Transpiler implementation for outputting ES5 code.
- TranspileResult - Class in com.google.javascript.jscomp.transpile
-
The result of transpiling a single file.
- TranspileResult(Path, String, String, String) - Constructor for class com.google.javascript.jscomp.transpile.TranspileResult
-
- 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
-
Deprecated.
Use traverseEs6 whenever possible.
- 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
-
- traverseEs6(AbstractCompiler, Node, NodeTraversal.Callback) - Static method in class com.google.javascript.jscomp.NodeTraversal
-
Traverses using the ES6SyntacticScopeCreator
- traverseFunctionOutOfBand(Node, Scope) - Method in class com.google.javascript.jscomp.NodeTraversal
-
Traverse a function out-of-band of normal traversal.
- traverseRoots(AbstractCompiler, NodeTraversal.Callback, Node, Node) - Static method in class com.google.javascript.jscomp.NodeTraversal
-
Deprecated.
Use traverseRootsEs6.
- traverseRootsEs6(AbstractCompiler, NodeTraversal.Callback, Node, Node) - Static method in class com.google.javascript.jscomp.NodeTraversal
-
- traverseRootsTyped(AbstractCompiler, NodeTraversal.Callback, Node, Node) - Static method in class com.google.javascript.jscomp.NodeTraversal
-
- traverseTyped(AbstractCompiler, Node, NodeTraversal.Callback) - Static method in class com.google.javascript.jscomp.NodeTraversal
-
- TRUE_TYPE - Variable in class com.google.javascript.jscomp.newtypes.JSTypes
-
- trueNode() - Static method in class com.google.javascript.rhino.IR
-
- TRUTHY - Variable in class com.google.javascript.jscomp.newtypes.JSTypes
-
- 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
-
- tryMergeBlock(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Merge a block with its parent block.
- 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
-
- TWO_JSDOCS - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- 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.ComputedPropertySetterTree
-
- type - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- type - Variable in class com.google.javascript.jscomp.parsing.parser.trees.SetAccessorTree
-
- TYPE_BEFORE_CAST - Static variable in class com.google.javascript.rhino.Node
-
- 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
-
- TypeAliasTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
- TypeAliasTree(SourceRange, IdentifierToken, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.TypeAliasTree
-
- typeAnnotation - Variable in class com.google.javascript.jscomp.parsing.parser.trees.TypedParameterTree
-
- typeArguments - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ParameterizedTypeTree
-
- 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, TypedScope, MemoizedScopeCreator) - Constructor for class com.google.javascript.jscomp.TypeCheck
-
- TypeCheck(AbstractCompiler, ReverseAbstractInterpreter, JSTypeRegistry) - Constructor for class com.google.javascript.jscomp.TypeCheck
-
- TypeDeclarationNode(Token, String) - Constructor for class com.google.javascript.rhino.Node.TypeDeclarationNode
-
- TypeDeclarationNode(Token) - Constructor for class com.google.javascript.rhino.Node.TypeDeclarationNode
-
- TypeDeclarationNode(Token, Node) - Constructor for class com.google.javascript.rhino.Node.TypeDeclarationNode
-
- TypeDeclarationNode(Token, Node, Node) - Constructor for class com.google.javascript.rhino.Node.TypeDeclarationNode
-
- TypeDeclarationNode(Token, Node, Node, Node) - Constructor for class com.google.javascript.rhino.Node.TypeDeclarationNode
-
- TypeDeclarationsIR - Class in com.google.javascript.rhino
-
An AST construction helper class for TypeDeclarationNode
- TypeDeclarationsIR() - Constructor for class com.google.javascript.rhino.TypeDeclarationsIR
-
- TypeDeclarationsIRFactory() - Constructor for class com.google.javascript.jscomp.JsdocToEs6TypedConverter.TypeDeclarationsIRFactory
-
- Typedef - Class in com.google.javascript.jscomp.newtypes
-
- 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
-
- TypedScope - Class in com.google.javascript.jscomp
-
TypedScope contains information about variables and their types.
- TypedVar - Class in com.google.javascript.jscomp
-
Several methods in this class, such as
isVar
throw an exception when called, and several
methods are currently identical to the ones in Var.
- 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
-
A common interface for types in the old type system and the new type system,
so that the other passes need not know which type system they are using.
- TypeIEnv<T extends TypeI> - Interface in com.google.javascript.rhino
-
A map from type names to types.
- TypeIRegistry - Interface in com.google.javascript.rhino
-
- TypeMatchingStrategy - Enum in com.google.javascript.jscomp
-
The different strategies for matching the
TypeI
of nodes.
- TypeMatchingStrategy.MatchResult - Class in com.google.javascript.jscomp
-
The result of comparing two different
TypeI
instances.
- typeName - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ParameterizedTypeTree
-
- TypeNameTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Parse tree node representing a type name (of the form
foo.bar.Baz
) split into segments (
[foo, bar, Baz]
).
- TypeNameTree(SourceRange, ImmutableList<String>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.TypeNameTree
-
- TypePair(JSType, JSType) - Constructor for class com.google.javascript.rhino.jstype.JSType.TypePair
-
- TypePosition() - Constructor for class com.google.javascript.rhino.JSDocInfo.TypePosition
-
- TypeQueryTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Parse tree node representing a type query of the form
typeof foo.bar.baz
- TypeQueryTree(SourceRange, ImmutableList<String>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.TypeQueryTree
-
- types - Variable in class com.google.javascript.jscomp.parsing.parser.trees.UnionTypeTree
-
- TYPESCRIPT - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
TypeScript syntax.
- TypeTransformationParser - Class in com.google.javascript.jscomp.parsing
-
A parser for the type transformation expressions (TTL-Exp) as in
@template T := TTL-Exp =:
- 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
U
- 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 - Variable in class com.google.javascript.jscomp.newtypes.JSTypes
-
- UNDEFINED_NAMES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- UNDEFINED_VARIABLES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- undefinedType() - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
-
- UNDERSCORE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- UndiGraph<N,E> - Class in com.google.javascript.jscomp.graph
-
A generic undirected graph.
- UndiGraph() - Constructor for class com.google.javascript.jscomp.graph.UndiGraph
-
- UndiGraph.UndiGraphEdge<N,E> - Interface in com.google.javascript.jscomp.graph
-
A generic undirected graph edge.
- UndiGraph.UndiGraphNode<N,E> - Interface in com.google.javascript.jscomp.graph
-
A generic undirected graph node.
- 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 subtype, 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(FeatureSet) - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
- union(BooleanLiteralSet) - Method in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
-
Computes the union of this set and
that
.
- UNION_IS_UNINHABITABLE - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
- UnionFind<E> - Interface in com.google.javascript.jscomp.graph
-
Union-Find is a classical algorithm used to find connected components in
graph theory.
- UnionType - Class in com.google.javascript.rhino.jstype
-
The
UnionType
implements a common JavaScript idiom in which the
code is specifically designed to work with multiple input types.
- unionType(Iterable<Node.TypeDeclarationNode>) - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
-
Represents a union type, which can be one of the given types.
- unionType(Node.TypeDeclarationNode...) - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
-
- UnionTypeBuilder - Class in com.google.javascript.rhino.jstype
-
A builder for union types.
- UnionTypeBuilder(JSTypeRegistry) - Constructor for class com.google.javascript.rhino.jstype.UnionTypeBuilder
-
- UnionTypeTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Parse tree node representing a union type of the form
foo | bar | baz
.
- UnionTypeTree(SourceRange, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.UnionTypeTree
-
- UniqueNameGenerator - Class in com.google.javascript.jscomp.newtypes
-
Uses a counter to create unique names for functions, variables, type
variables, etc.
- UniqueNameGenerator() - Constructor for class com.google.javascript.jscomp.newtypes.UniqueNameGenerator
-
- UNKNOWN - Variable in class com.google.javascript.jscomp.newtypes.JSTypes
-
- UNKNOWN_DEFINES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- UNKNOWN_REQUIRE_ENSURE - Static variable in class com.google.javascript.jscomp.ProcessCommonJSModules
-
- 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.
- 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).
- UNRESTRICTED - Static variable in class com.google.javascript.jscomp.newtypes.ObjectKind
-
- UNUSED_LABEL - Static variable in class com.google.javascript.jscomp.lint.CheckUnusedLabels
-
- UNUSED_LOCAL_VARIABLE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- UNUSED_PRIVATE_PROPERTY - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- UpdateExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Represents UpdateExpression productions from the spec.
- UpdateExpressionTree(SourceRange, Token, UpdateExpressionTree.OperatorPosition, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.UpdateExpressionTree
-
- UpdateExpressionTree.OperatorPosition - Enum in com.google.javascript.jscomp.parsing.parser.trees
-
Position of the operator relative to the operand.
- USE_OF_GOOG_BASE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- useEval(boolean) - Method in class com.google.javascript.jscomp.deps.ClosureBundler
-
- USELESS_BLOCK - Static variable in class com.google.javascript.jscomp.lint.CheckUselessBlocks
-
- USELESS_EMPTY_STATEMENT - Static variable in class com.google.javascript.jscomp.lint.CheckEmptyStatements
-
- usesImplicitMatch() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@record
annotation is present on this
JSDocInfo
.
- 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.
- useSourceInfoWithoutLengthIfMissingFrom(Node) - Method in class com.google.javascript.rhino.Node
-
Deprecated.
- useSourceInfoWithoutLengthIfMissingFromForTree(Node) - Method in class com.google.javascript.rhino.Node
-
Deprecated.
- UTF8_BOM_CODE - Static variable in class com.google.javascript.jscomp.CommandLineRunner
-
V
- 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
-
- validateModuleContents(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
-
- validateStatement(Node, boolean) - Method in class com.google.javascript.jscomp.AstValidator
-
- validateStatements(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.javascript.jscomp.AbstractCommandLineRunner.JsSourceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.AnonymousFunctionNamingPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CheckLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CheckLevelLegacy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CodeGenerator.Context
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CodePrinter.Format
-
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.DependencyMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CompilerOptions.DisposalCheckingPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CompilerOptions.Environment
-
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.IncrementalCheckMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CompilerOptions.IsolationMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CompilerOptions.J2clPassMode
-
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.ConformanceLevel
-
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.deps.ModuleLoader.PathResolver
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.deps.ModuleLoader.ResolutionMode
-
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.JsDocParsing
-
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.Config.RunMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.parsing.Config.StrictMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Parses known strings into feature sets.
- 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.trees.UpdateExpressionTree.OperatorPosition
-
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.TypeMatchingStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.VariableRenamingPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.WarningLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.WarningsGuard.Priority
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.rhino.JSDocInfo.Visibility
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.rhino.jstype.JSType.SubtypingMode
-
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
-
- valueOf(String) - Static method in enum com.google.javascript.rhino.Token
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.google.javascript.jscomp.AbstractCommandLineRunner.JsSourceType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.AnonymousFunctionNamingPolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.CheckLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.CheckLevelLegacy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.CodeGenerator.Context
-
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.CodePrinter.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.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.DependencyMode
-
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.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.CompilerOptions.Environment
-
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.IncrementalCheckMode
-
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.IsolationMode
-
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.J2clPassMode
-
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.ConformanceLevel
-
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.deps.ModuleLoader.PathResolver
-
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.ModuleLoader.ResolutionMode
-
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.JsDocParsing
-
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.Config.RunMode
-
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.StrictMode
-
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.FeatureSet.Feature
-
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.trees.UpdateExpressionTree.OperatorPosition
-
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.TypeMatchingStrategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.VariableRenamingPolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.WarningLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.WarningsGuard.Priority
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.rhino.JSDocInfo.Visibility
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.javascript.rhino.jstype.JSType.SubtypingMode
-
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.
- values() - Static method in enum com.google.javascript.rhino.Token
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- Var - Class in com.google.javascript.jscomp
-
Used by
Scope
to store information about variables.
- var(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
- var(Node) - Static method in class com.google.javascript.rhino.IR
-
- 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(String, Map<Node, Node>, Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Checks that the scope roots marked as changed have indeed changed
- version() - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Returns a string representation suitable for encoding in depgraph and deps.js files.
- VIOLATED_MODULE_DEP - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- VIOLATION - Static variable in class com.google.javascript.jscomp.ConformanceRules.ConformanceResult
-
- 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(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.BranchCoverageInstrumentationCallback
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.CheckConformance
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.CheckRequiresForConstructors
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.ChromePass
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.ClosureCheckModule
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.DartSuperAccessorsPass
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6ConvertSuper
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6ConvertSuperConstructorCalls
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6ExtractClasses
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6RenameVariablesInParamLists
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteArrowFunction
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteBlockScopedDeclaration
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteDestructuring
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteGenerators
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6SplitVariableDeclarations
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6ToEs3Converter
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6TypedToEs6Converter
-
- 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.J2clChecksPass
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.J2clEqualitySameRewriterPass
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.JsdocToEs6TypedConverter
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.JsMessageVisitor
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckArrayWithGoogObject
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckDuplicateCase
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckEmptyStatements
-
- 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.CheckJSDocStyle
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckMissingSemicolon
-
- 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.CheckPrimitiveAsObject
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckPrototypeProperties
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckRequiresAndProvidesSorted
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckUnusedLabels
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckUselessBlocks
-
- 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(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.ReferenceCollectingCallback
-
For each node, update the block stack and reference collection
as appropriate.
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.RewriteAsyncFunctions
-
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.RewriteJsonToModule
-
- 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
-
- Visitor<T> - Interface in com.google.javascript.rhino.jstype
-
A type visitor.
- visitPostOrder(Node, NodeUtil.Visitor, Predicate<Node>) - Static method in class com.google.javascript.jscomp.NodeUtil
-
A post-order traversal, calling Visitor.visit for each descendant matching
the predicate.
- visitPreOrder(Node, NodeUtil.Visitor) - Static method in class com.google.javascript.jscomp.NodeUtil
-
A pre-order traversal, calling Visitor.visit for each decendent.
- 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
-
- voidNode(Node) - Static method in class com.google.javascript.rhino.IR
-
- VoidType - Class in com.google.javascript.rhino.jstype
-
Void type whose only element is the
undefined
value.
- voidType() - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
-
W
- wantedRequiredFoundOptional() - Method in class com.google.javascript.jscomp.newtypes.MismatchInfo
-
- 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
-
- WarningLevel - Enum in com.google.javascript.jscomp
-
Convert the warnings level to an Options object.
- warnings - Variable in class com.google.javascript.jscomp.JsAst.ParseResult
-
- warnings - Variable in class com.google.javascript.jscomp.Result
-
- 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
- WAS_PREVIOUSLY_PROVIDED - Static variable in class com.google.javascript.rhino.Node
-
- 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
-
- wasTranspiled() - Method in class com.google.javascript.jscomp.transpile.TranspileResult
-
- 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
- whitespaceOnlyPasses() - Method in class com.google.javascript.jscomp.Compiler
-
- WhitespaceWrapGoogModules - Class in com.google.javascript.jscomp
-
Replicates the effect of ClosureBundler in whitespace-only mode and wraps goog.modules
in goog.loadModule calls.
- whyNotSubtypeOf(JSType, JSType) - Static method in class com.google.javascript.jscomp.newtypes.JSType
-
- wildcardExcludedGroups - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
- 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
-
- withFunction(FunctionType, NominalType) - 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.
- withIsAbstract(boolean) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
-
Mark abstract method.
- 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.
- withOriginalPath(String) - Method in class com.google.javascript.jscomp.SourceFile.Builder
-
- withoutProperty(QualifiedName) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- withoutSource() - Static method in class com.google.javascript.jscomp.LightweightMessageFormatter
-
- withParamsNode(Node) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
-
Set the parameters of the function type with a specially-formatted node.
- withPath(String) - Method in class com.google.javascript.jscomp.deps.ClosureBundler
-
- withProperty(QualifiedName, JSType) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- withPropertyRequired(String) - Method in class com.google.javascript.jscomp.newtypes.JSType
-
- withReceiverType(JSType) - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- 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, boolean) - Method in class com.google.javascript.jscomp.newtypes.DeclaredFunctionType
-
- withTypeOfThis(JSType) - Method in class com.google.javascript.rhino.jstype.FunctionBuilder
-
Set the "this" type.
- writeAddDependency(Appendable, DependencyInfo) - Static method in class com.google.javascript.jscomp.deps.DependencyInfo.Util
-
Prints a goog.addDependency call for a single DependencyInfo.
- 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.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.
- WRONG_NUMBER_OF_PARAMS - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
-
- WRONG_PARAMETER_ORDER - Static variable in class com.google.javascript.jscomp.newtypes.JSTypeCreatorFromJSDoc
-
X
- Xid - Class in com.google.javascript.jscomp
-
A simple utility for shortening identifiers in a stable way.
- Xid() - Constructor for class com.google.javascript.jscomp.Xid
-
- Xid(Xid.HashFunction) - Constructor for class com.google.javascript.jscomp.Xid
-
- Xid.HashFunction - Interface in com.google.javascript.jscomp
-
Strategy for selecting the underlying hash code function to be used by Xid.
- 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_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-2017 Google. All Rights Reserved.