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
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ABSENT - com.google.javascript.rhino.jstype.JSType.HasPropertyKind
- ABSOLUTE - com.google.javascript.jscomp.deps.ModuleLoader.PathResolver
- AbstractCfgNodeTraversalCallback() - Constructor for class com.google.javascript.jscomp.ControlFlowGraph.AbstractCfgNodeTraversalCallback
- AbstractCommandLineRunner<A extends Compiler,B extends CompilerOptions> - Class in com.google.javascript.jscomp
-
Implementations of AbstractCommandLineRunner translate flags into Java API calls on the Compiler.
- AbstractCommandLineRunner.CommandLineConfig - Class in com.google.javascript.jscomp
-
Configurations for the command line configs.
- AbstractCommandLineRunner.CommandLineConfig.ErrorFormatOption - Enum in com.google.javascript.jscomp
-
Set of options that can be used with the --formatting flag.
- AbstractCommandLineRunner.FlagEntry<T> - Class in com.google.javascript.jscomp
-
A pair from flag to its value.
- AbstractCommandLineRunner.JsModuleSpec - Class in com.google.javascript.jscomp
-
Represents a specification for a js module.
- AbstractCommandLineRunner.JsonFileSpec - Class in com.google.javascript.jscomp
-
Representation of a source file from an encoded json stream input
- AbstractCommandLineRunner.JsSourceType - Enum in com.google.javascript.jscomp
-
Flag types for JavaScript source files.
- AbstractCompiler - Class in com.google.javascript.jscomp
-
An abstract compiler, to help remove the circular dependency of passes on JSCompiler.
- AbstractCompiler() - Constructor for class com.google.javascript.jscomp.AbstractCompiler
- AbstractCompiler.LifeCycleStage - Enum in com.google.javascript.jscomp
-
What point in optimizations we're in.
- AbstractMessageFormatter - Class in com.google.javascript.jscomp
-
Abstract message formatter providing default behavior for implementations of
MessageFormatter
needing aSourceExcerptProvider
. - AbstractMessageFormatter(SourceExcerptProvider) - Constructor for class com.google.javascript.jscomp.AbstractMessageFormatter
- AbstractPostOrderCallback() - Constructor for class com.google.javascript.jscomp.NodeTraversal.AbstractPostOrderCallback
- AbstractPreOrderCallback() - Constructor for class com.google.javascript.jscomp.NodeTraversal.AbstractPreOrderCallback
- AbstractRule(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.AbstractRule
- AbstractScope<S extends AbstractScope<S,V>,V extends AbstractVar<S,V>> - Class in com.google.javascript.jscomp
-
Scope contains information about a variable scope in JavaScript.
- AbstractScopedCallback() - Constructor for class com.google.javascript.jscomp.NodeTraversal.AbstractScopedCallback
- AbstractShallowCallback() - Constructor for class com.google.javascript.jscomp.NodeTraversal.AbstractShallowCallback
- AbstractShallowStatementCallback() - Constructor for class com.google.javascript.jscomp.NodeTraversal.AbstractShallowStatementCallback
- AbstractVar<S extends AbstractScope<S,V>,V extends AbstractVar<S,V>> - Class in com.google.javascript.jscomp
-
Used by
Scope
to store information about variables. - acceptsArguments(List<? extends JSType>) - Method in class com.google.javascript.rhino.jstype.FunctionType
- ACCESS_CONTROLS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- ACCESS_MODIFIER - Static variable in class com.google.javascript.rhino.Node
- AccessControlUtils - Class in com.google.javascript.jscomp
-
Helper functions for computing the visibility of names and properties in JavaScript source code.
- add(CompilerInput) - Method in class com.google.javascript.jscomp.JSModule
-
Adds a source code input to this module.
- add(SourceFile) - Method in class com.google.javascript.jscomp.JSModule
-
Adds a source file input to this module.
- add(Node) - Method in class com.google.javascript.jscomp.CodeGenerator
- add(Node, CodeGenerator.Context) - Method in class com.google.javascript.jscomp.CodeGenerator
- add(Node, Node) - Static method in class com.google.javascript.rhino.IR
- add(E) - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
- add(E) - Method in interface com.google.javascript.jscomp.graph.UnionFind
-
Adds the given element to a new set if it is not already in a set.
- add(String) - Method in class com.google.javascript.jscomp.CodeGenerator
- ADD - com.google.javascript.rhino.Token
- addAfter(CompilerInput, CompilerInput) - Method in class com.google.javascript.jscomp.JSModule
-
Adds a source code input to this module directly after other.
- addAlias(String, String) - Method in interface com.google.javascript.jscomp.CompilerOptions.AliasTransformation
-
Adds an alias definition to the AliasTransformation instance.
- addAll(Iterable<E>) - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
- addAllowlistWarningsGuard(CompilerOptions, File) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
- addAllowlistWarningsGuard(CompilerOptions, File) - Method in class com.google.javascript.jscomp.CommandLineRunner
- addAllTypeMismatches(Iterable<TypeMismatch>) - Method in class com.google.javascript.jscomp.InvalidatingTypes.Builder
- addAlternate(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType.Builder
-
Adds an alternate to the union type under construction.
- addAlternates(Collection<? extends JSType>) - Method in class com.google.javascript.rhino.jstype.UnionType.Builder
- addAlternates(List<? extends JSType>) - Method in class com.google.javascript.rhino.jstype.UnionType.Builder
- addAlternative(SuggestedFix) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
- addAnonymousFunctions() - Method in class com.google.javascript.jscomp.SymbolTable
-
Finds anonymous functions in local scopes, and gives them names and symbols.
- addAuthor(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Adds an author to the current information.
- 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 'newChild' 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
-
Add all children to the front of this node.
- addChildToBack(Node) - Method in class com.google.javascript.rhino.Node
- addChildToFront(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.
- addCustomPass(CustomPassExecutionTime, CompilerPass) - Method in class com.google.javascript.jscomp.CompilerOptions
- addDependency(JSModule) - Method in class com.google.javascript.jscomp.JSModule
-
Adds a dependency on another module.
- addDisambiguationEdge(TypePointer, TypePointer) - Method in class com.google.javascript.rhino.serialization.TypePoolCreator
-
Adds an edge from the given subtype to the given supertype if both are user-defined types and not native.
- addDynamicRequire(String) - Method in class com.google.javascript.jscomp.CompilerInput
-
Registers a type that this input depends on in the order seen in the file.
- addEntryPoint(Parameter) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Adds a
<entrypoint/>
entry Each entrypoint entry must have one attribute, name. - addEs6ModulePass(List<PassFactory>, PreprocessorSymbolTable.CachedInstanceFactory) - Static method in class com.google.javascript.jscomp.TranspilationPasses
- addEs6ModuleToCjsPass(List<PassFactory>) - Static method in class com.google.javascript.jscomp.TranspilationPasses
- addEs6RewriteImportPathPass(List<PassFactory>) - Static method in class com.google.javascript.jscomp.TranspilationPasses
- addExportedNames(Set<String>) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Adds exported names to keep track.
- addExportedNames(Set<String>) - Method in class com.google.javascript.jscomp.Compiler
- addExtension(String, Object) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Adds field extensions to the json source map.
- addExterns(Iterable<SourceFile>) - Method in class com.google.javascript.refactoring.RefactoringDriver.Builder
- addExterns(FileList) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Sets the externs file.
- addExternsFromCode(String) - Method in class com.google.javascript.refactoring.RefactoringDriver.Builder
- addExternsFromFile(Iterable<String>) - Method in class com.google.javascript.refactoring.RefactoringDriver.Builder
- addExternsFromFile(String) - Method in class com.google.javascript.refactoring.RefactoringDriver.Builder
- addGoogNamespace(String) - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata.Builder
- addGoogRequire(Match, String, ScriptMetadata) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
- addGoogRequireType(Match, String, ScriptMetadata) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
- addImport(Match, String, SuggestedFix.ImportType, ScriptMetadata) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Adds a goog.require/requireType for the given namespace if it does not already exist.
- 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(Iterable<String>) - Method in class com.google.javascript.refactoring.RefactoringDriver.Builder
- addInputsFromFile(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 givensourceFileName
, to be used for error reporting and source map combining. - addInputSourceMap(String, SourceMapInput) - Method in class com.google.javascript.jscomp.Compiler
- addLicense(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- addMapping(Node, FilePosition, FilePosition) - Method in class com.google.javascript.jscomp.SourceMap
- addMapping(String, String, FilePosition, FilePosition, FilePosition) - Method in interface com.google.debugging.sourcemap.SourceMapGenerator
-
Adds a mapping for the given node.
- addMapping(String, String, FilePosition, FilePosition, FilePosition) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Adds a mapping for the given node.
- addNewScript(JsAst) - Method in class com.google.javascript.jscomp.Compiler
-
Adds a new Script AST to the compile state.
- addNode(N) - Method in interface com.google.javascript.jscomp.graph.SubGraph
-
Adds the node into this subgraph.
- addOptionalParams(JSType...) - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
-
Add optional parameters of the given type to the end of the param list.
- addOrderedRequire(DependencyInfo.Require) - Method in class com.google.javascript.jscomp.CompilerInput
-
Registers a type that this input depends on in the order seen in the file.
- addOrReplaceJsDoc(Node, String) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Adds or replaces the JS Doc for the given node.
- addPath(Path) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Adds a
<path/>
entry. - addPostCheckTranspilationPasses(List<PassFactory>, CompilerOptions) - Static method in class com.google.javascript.jscomp.TranspilationPasses
-
Adds transpilation passes that should run after all checks are done.
- 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.
- addProvide(String) - Method in class com.google.javascript.jscomp.CompilerInput
-
Registers a type that this input defines.
- addReference(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Adds a reference ("@see") to the current information.
- addRequire(DependencyInfo.Require) - 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.
- 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.
- addRuntime(String...) - Method in class com.google.javascript.jscomp.bundle.Source.Builder
- addSourceFile(String, String) - Method in class com.google.javascript.jscomp.SourceMap
- addSources(FileList) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Sets the source files.
- addSourcesContent(String, String) - Method in interface com.google.debugging.sourcemap.SourceMapGenerator
-
Adds a sourcesContent entry for the corresponding source.
- addSourcesContent(String, String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
- addSuppression(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- addTranspilationRuntimeLibraries(List<PassFactory>, CompilerOptions) - Static method in class com.google.javascript.jscomp.TranspilationPasses
- addVarArgs(JSType) - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
-
Add variable arguments to the end of the parameter list.
- addWarning(Warning) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Adds a
<warning/>
entry Each warning entry must have two attributes, group and level. - addWarningsGuard(WarningsGuard) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Add a guard to the set of warnings guards.
- AdjacencyGraph<N,E> - Interface in com.google.javascript.jscomp.graph
-
A minimal graph interface.
- ADVANCED_OPTIMIZATIONS - com.google.javascript.jscomp.CompilationLevel
-
ADVANCED_OPTIMIZATIONS aggressively reduces code size by renaming function names and variables, removing code which is never called, etc.
- AFTER_MAIN_OPTIMIZATIONS - Static variable in class com.google.javascript.jscomp.PassNames
- AFTER_OPTIMIZATION_LOOP - com.google.javascript.jscomp.CustomPassExecutionTime
- AFTER_STANDARD_CHECKS - Static variable in class com.google.javascript.jscomp.PassNames
- afterExitScope(NodeTraversal, ReferenceMap) - Method in interface com.google.javascript.jscomp.ReferenceCollectingCallback.Behavior
-
Called after we finish with a scope.
- 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() - Static method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Returns a
FeatureSet
containing all known features. - ALL - com.google.javascript.jscomp.CompilerOptions.PropertyCollapseLevel
- ALL - com.google.javascript.jscomp.CompilerOptions.Reach
- ALL - com.google.javascript.jscomp.CompilerOptions.TracerMode
- ALL - com.google.javascript.jscomp.instrumentation.CoverageInstrumentationPass.CoverageReach
- ALL - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- ALL - com.google.javascript.jscomp.SourceMap.DetailLevel
- ALL - com.google.javascript.jscomp.VariableRenamingPolicy
-
Rename all variables and functions unless they are exported or externed.
- ALL_DIAGNOSTICS - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
- ALL_SIDE_EFFECTS - Static variable in class com.google.javascript.rhino.Node.SideEffectFlags
- ALL_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- ALL_UNQUOTED - com.google.javascript.jscomp.PropertyRenamingPolicy
-
Rename all properties that aren't explicitly quoted and aren't externally defined (i.e.
- allEquivalenceClasses() - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
- allEquivalenceClasses() - Method in interface com.google.javascript.jscomp.graph.UnionFind
-
Returns an immutable collection containing all equivalence classes.
- 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.
- AllowlistBuilder() - Constructor for class com.google.javascript.jscomp.AllowlistWarningsGuard.AllowlistBuilder
- AllowlistWarningsGuard - Class in com.google.javascript.jscomp
-
An extension of
WarningsGuard
that provides functionality to maintain a list of warnings (white-list). - AllowlistWarningsGuard() - Constructor for class com.google.javascript.jscomp.AllowlistWarningsGuard
- AllowlistWarningsGuard(Set<String>) - Constructor for class com.google.javascript.jscomp.AllowlistWarningsGuard
-
This class depends on an input set that contains the white-list.
- AllowlistWarningsGuard.AllowlistBuilder - Class in com.google.javascript.jscomp
-
Allowlist builder
- allPathsSatisfyPredicate() - Method in class com.google.javascript.jscomp.CheckPathsBetweenNodes
- allRepresentatives() - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
-
Return the reprsentative elements of all the equivalence classes.
- AllType - Class in com.google.javascript.rhino.jstype
-
All type, representing all values.
- ALWAYS - com.google.javascript.jscomp.deps.DepsGenerator.InclusionStrategy
- ALWAYS_THROWS_INSTANCE - Static variable in interface com.google.javascript.rhino.ErrorReporter
- AMBIGUATE_PROPERTIES - Static variable in class com.google.javascript.jscomp.PassNames
- AmbiguateProperties - Class in com.google.javascript.jscomp.disambiguate
-
Renames unrelated properties to the same name, using
Color
s provided by the typechecker. - AmbiguateProperties(AbstractCompiler, char[], char[], Set<String>) - Constructor for class com.google.javascript.jscomp.disambiguate.AmbiguateProperties
- AMBIGUOUS_EXPORT_DEFINITION - Static variable in class com.google.javascript.jscomp.modules.EsModuleProcessor
-
Error occurs when there is an ambiguous export, which can happen if there are multiple
export * from
statements. - AMPERSAND - com.google.javascript.jscomp.parsing.parser.TokenType
- AMPERSAND_EQUAL - com.google.javascript.jscomp.parsing.parser.TokenType
- ANALYZER_CHECKS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- ANALYZER_CHECKS - Static variable in class com.google.javascript.jscomp.PassNames
- and(TernaryValue) - Method in enum com.google.javascript.rhino.jstype.TernaryValue
-
Gets the
and
ofthis
andthat
. - and(Node, Node) - Static method in class com.google.javascript.rhino.IR
- AND - com.google.javascript.jscomp.parsing.parser.TokenType
- AND - com.google.javascript.rhino.Token
- andThen(Source.Transformer) - Method in interface com.google.javascript.jscomp.bundle.Source.Transformer
-
Concatenates two Transformers.
- ANGULAR_PASS - Static variable in class com.google.javascript.jscomp.PassNames
- Annotatable - Interface in com.google.javascript.jscomp.graph
-
Object that has an annotation.
- Annotation - Interface in com.google.javascript.jscomp.graph
-
Information that can be annotated to a
GraphNode
orGraph.GraphEdge
. - ANNOTATION - com.google.javascript.rhino.Token
- annotationMap - Variable in class com.google.javascript.jscomp.AbstractCompiler
- annotations() - Method in class com.google.javascript.jscomp.parsing.Config
-
Recognized JSDoc annotations, mapped from their name to their internal representation.
- AntErrorManager - Class in com.google.javascript.jscomp.ant
-
An error manager that pipes warnings and errors properly into the Ant task infrastructure.
- AntErrorManager(MessageFormatter, Task) - Constructor for class com.google.javascript.jscomp.ant.AntErrorManager
- ANY_TYPE - com.google.javascript.rhino.Token
- 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
{?}
- append(ChainableReverseAbstractInterpreter) - Method in class com.google.javascript.jscomp.type.ChainableReverseAbstractInterpreter
-
Appends a link to
this
, returning the updated last link. - appendAllowlist(PrintStream) - Method in class com.google.javascript.jscomp.AllowlistWarningsGuard.AllowlistBuilder
-
Writes the warnings collected in a format that the AllowlistWarningsGuard can read back later.
- appendDebugInfo(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Alternation
- appendDebugInfo(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Anchor
- appendDebugInfo(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree
- appendDebugInfo(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.BackReference
- appendDebugInfo(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.CapturingGroup
- appendDebugInfo(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Charset
- appendDebugInfo(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Concatenation
- appendDebugInfo(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Empty
- appendDebugInfo(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.LookaheadAssertion
- appendDebugInfo(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.LookbehindAssertion
- appendDebugInfo(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.NamedBackReference
- appendDebugInfo(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.NamedCaptureGroup
- appendDebugInfo(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Repetition
- appendDebugInfo(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Text
- appendDebugInfo(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.UnicodePropertyEscape
- appendDebugInfo(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.WordBoundary
- appendHexJavaScriptRepresentation(StringBuilder, char) - Static method in class com.google.debugging.sourcemap.Util
- appendIndexMapTo(Appendable, String, List<SourceMapSection>) - Method in interface com.google.debugging.sourcemap.SourceMapGenerator
-
Appends the index source map to the given buffer.
- appendIndexMapTo(Appendable, String, List<SourceMapSection>) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Appends the index source map to the given buffer.
- appendInput(Appendable, DependencyInfo, String) - Static method in class com.google.javascript.jscomp.deps.ClosureBundler
-
Append the contents of the string to the supplied appendable.
- appendPlaceholderReference(String) - Method in class com.google.javascript.jscomp.JsMessage.Builder
-
Appends a placeholder reference to the message
- appendRuntimeTo(Appendable) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Writes whatever runtime libraries are needed to bundle.
- appendRuntimeTo(Appendable) - Method in class com.google.javascript.jscomp.CommandLineRunner
- appendRuntimeTo(Appendable) - Method in class com.google.javascript.jscomp.deps.ClosureBundler
- appendSourceCode(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Alternation
- appendSourceCode(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Anchor
- appendSourceCode(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree
-
Appends this regular expression source to the given buffer.
- appendSourceCode(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.BackReference
- appendSourceCode(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.CapturingGroup
- appendSourceCode(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Charset
- appendSourceCode(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Concatenation
- appendSourceCode(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Empty
- appendSourceCode(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.LookaheadAssertion
- appendSourceCode(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.LookbehindAssertion
- appendSourceCode(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.NamedBackReference
- appendSourceCode(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.NamedCaptureGroup
- appendSourceCode(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Repetition
- appendSourceCode(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Text
- appendSourceCode(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.UnicodePropertyEscape
- appendSourceCode(StringBuilder) - Method in class com.google.javascript.jscomp.regex.RegExpTree.WordBoundary
- 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, CharSource) - Method in class com.google.javascript.jscomp.deps.ClosureBundler
-
Append the contents of the CharSource 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, String) - Method in class com.google.javascript.jscomp.deps.ClosureBundler
-
Append the contents of the string to the supplied appendable.
- appendTo(Appendable, String) - Method in interface com.google.debugging.sourcemap.SourceMapGenerator
-
Appends the source map to the given buffer.
- appendTo(Appendable, String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Writes out the source map in the following format (line numbers are for reference only and are not part of the format):
- appendTo(Appendable, String) - Method in class com.google.javascript.jscomp.SourceMap
- appendTrailingCommentToNonTrailing(NonJSDocComment) - Method in class com.google.javascript.rhino.NonJSDocComment
- appendWithJavascriptEscaper(CharSequence, Appendable) - Static method in class com.google.javascript.jscomp.deps.SourceCodeEscapers
- applyAllSuggestedFixChoicesToCode(Iterable<SuggestedFix>, Map<String, String>) - Static method in class com.google.javascript.refactoring.ApplySuggestedFixes
-
Applies all possible options from each
SuggestedFixAlternative
to the provided code and returns the new code. - applyCodeReplacements(Collection<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(NominalTypeBuilder, NominalTypeBuilder, NominalTypeBuilder, ObjectType, 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(NominalTypeBuilder, NominalTypeBuilder, NominalTypeBuilder, ObjectType, FunctionType) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
- applySingletonGetter(NominalTypeBuilder, FunctionType) - Method in class com.google.javascript.jscomp.ChromeCodingConvention
- applySingletonGetter(NominalTypeBuilder, FunctionType) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
- applySingletonGetter(NominalTypeBuilder, FunctionType) - Method in interface com.google.javascript.jscomp.CodingConvention
-
In many JS libraries, the function that adds a singleton getter to a class adds properties to the class.
- applySingletonGetter(NominalTypeBuilder, FunctionType) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
- applySubclassRelationship(NominalTypeBuilder, NominalTypeBuilder, CodingConvention.SubclassType) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
-
Closure's goog.inherits adds a
superClass_
property to the subclass, and aconstructor
property. - applySubclassRelationship(NominalTypeBuilder, NominalTypeBuilder, 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(NominalTypeBuilder, NominalTypeBuilder, 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, ignoring alternative fixes.
- 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(JSDocInfo, JSDocInfo) - Static method in class com.google.javascript.rhino.JSDocInfo
- areEquivalent(E, E) - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
- areEquivalent(E, E) - Method in interface com.google.javascript.jscomp.graph.UnionFind
-
Returns true if
a
andb
belong to the same equivalence class. - areIdentical(JSType, JSType) - Static method in class com.google.javascript.rhino.jstype.JSType
- argument - Variable in class com.google.javascript.jscomp.parsing.parser.trees.DynamicImportTree
- ARGUMENT_LIST - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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>, boolean, ImmutableList<SourcePosition>) - 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
- arguments - Variable in class com.google.javascript.jscomp.parsing.parser.trees.OptionalCallExpressionTree
- arity(Token) - Static method in enum com.google.javascript.rhino.Token
-
If the arity isn't always the same, this function returns -1
- ARRAY - com.google.javascript.jscomp.parsing.parser.trees.ComprehensionTree.ComprehensionType
- ARRAY_DESTRUCTURING - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- ARRAY_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- ARRAY_LITERAL_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- ARRAY_PASSED_TO_GOOG_OBJECT - Static variable in class com.google.javascript.jscomp.lint.CheckArrayWithGoogObject
- ARRAY_PATTERN - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- ARRAY_PATTERN - com.google.javascript.rhino.Token
- ARRAY_PATTERN_REST - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- ARRAY_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- ARRAY_TYPE - com.google.javascript.rhino.Token
- arraylit(Node...) - Static method in class com.google.javascript.rhino.IR
- arraylit(Iterable<Node>) - Static method in class com.google.javascript.rhino.IR
- ARRAYLIT - com.google.javascript.rhino.Token
- ArrayLiteralExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
- ArrayLiteralExpressionTree(SourceRange, ImmutableList<ParseTree>, boolean) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ArrayLiteralExpressionTree
- arrayPattern(Node...) - Static method in class com.google.javascript.rhino.IR
- 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.
- ARROW - com.google.javascript.jscomp.parsing.parser.TokenType
- ARROW - com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree.Kind
- ARROW_FUNCTIONS - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- arrowFunction(Node, Node, Node) - Static method in class com.google.javascript.rhino.IR
- AS - Static variable in class com.google.javascript.jscomp.parsing.parser.PredefinedName
- asArrayLiteralExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asArrayPattern() - 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
- asCaseClause() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asCatch() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asClassDeclaration() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asCommaExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asComprehension() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asComprehensionFor() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asComprehensionIf() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asComputedPropertyDefinition() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asComputedPropertyGetter() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asComputedPropertyMethod() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asComputedPropertySetter() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asConditionalExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asContinueStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asDebuggerStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asDefaultClause() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asDefaultParameter() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asDoWhileStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asDynamicImportExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asEmptyStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asExportDeclaration() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asExportSpecifier() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asExpressionStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asFinally() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asForAwaitOfStatement() - 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
- asFunction() - Method in interface com.google.javascript.jscomp.bundle.Source.Transformer
-
Converts this Transformer to a Function.
- asFunctionDeclaration() - 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
- asImportMetaExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asImportSpecifier() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asIterRest() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asIterSpread() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asLabelledStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asLiteral() - Method in class com.google.javascript.jscomp.parsing.parser.Token
- asLiteralExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asMemberExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asMemberLookupExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asMissingPrimaryExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- 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
- asObjectRest() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asObjectSpread() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asOptionalCallExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asOptionalMemberExpression() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- asOptionalMemberLookupExpression() - 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
- asReturnStatement() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- assertFunctionType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Returns this object cast to FunctionType or throws an exception if it isn't a FunctionType.
- AssertionFunctionSpec() - Constructor for class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
- assertObjectType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Returns this object cast to ObjectType or throws an exception if it isn't an ObjectType.
- ASSERTS_FAIL - com.google.javascript.rhino.ClosurePrimitive
- ASSERTS_MATCHES_RETURN - com.google.javascript.rhino.ClosurePrimitive
- ASSERTS_TRUTHY - com.google.javascript.rhino.ClosurePrimitive
- asSetAccessor() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- assign(Node, Node) - Static method in class com.google.javascript.rhino.IR
- ASSIGN - com.google.javascript.rhino.Token
- ASSIGN_ADD - com.google.javascript.rhino.Token
- ASSIGN_BITAND - com.google.javascript.rhino.Token
- ASSIGN_BITOR - com.google.javascript.rhino.Token
- ASSIGN_BITXOR - com.google.javascript.rhino.Token
- ASSIGN_DIV - com.google.javascript.rhino.Token
- ASSIGN_EXPONENT - com.google.javascript.rhino.Token
- ASSIGN_LSH - com.google.javascript.rhino.Token
- ASSIGN_MOD - com.google.javascript.rhino.Token
- ASSIGN_MUL - com.google.javascript.rhino.Token
- ASSIGN_RSH - com.google.javascript.rhino.Token
- ASSIGN_SUB - com.google.javascript.rhino.Token
- ASSIGN_URSH - com.google.javascript.rhino.Token
- assignmentTarget - Variable in class com.google.javascript.jscomp.parsing.parser.trees.IterRestTree
- assignmentTarget - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ObjectRestTree
- 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.
- 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
- asSymbolList(Iterable<DependencyInfo.Require>) - Static method in class com.google.javascript.jscomp.deps.DependencyInfo.Require
- ast - Variable in class com.google.javascript.jscomp.parsing.ParserRunner.ParseResult
- AST_SIZE - com.google.javascript.jscomp.CompilerOptions.TracerMode
- AstAnalyzer - Class in com.google.javascript.jscomp
-
Logic for answering questions about portions of the AST.
- astDiff - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
- asTemplateLiteral() - Method in class com.google.javascript.jscomp.parsing.parser.Token
- 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
- AstManipulations - Class in com.google.javascript.jscomp
-
Utilities to abstract away certain common AST manipulations
- 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) - Constructor for class com.google.javascript.jscomp.AstValidator
- AstValidator(AbstractCompiler, boolean) - Constructor for class com.google.javascript.jscomp.AstValidator
- AstValidator(AbstractCompiler, AstValidator.ViolationHandler, boolean) - Constructor for class com.google.javascript.jscomp.AstValidator
- AstValidator.ViolationHandler - Interface in com.google.javascript.jscomp
-
Violation handler
- asUnaryExpression() - 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_FUNCTIONS - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- ASYNC_GENERATOR_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- ASYNC_GENERATOR_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- ASYNC_GENERATORS - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- ASYNC_ITERABLE_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- ASYNC_ITERABLE_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- ASYNC_ITERATOR_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- ASYNC_ITERATOR_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- atArrowFunctionBody() - Method in enum com.google.javascript.jscomp.CodeGenerator.Context
- 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.
- AUTO - com.google.javascript.jscomp.CompilerOptions.J2clPassMode
-
It auto-detects whether there are J2cl generated file.
- autobox() - Method in class com.google.javascript.rhino.jstype.JSType
-
Dereferences a type for property access.
- autobox() - Method in class com.google.javascript.rhino.jstype.UnionType
- autoboxesTo() - Method in class com.google.javascript.rhino.jstype.BigIntType
- 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
- autoboxesTo() - Method in class com.google.javascript.rhino.jstype.SymbolType
- await(Node) - Static method in class com.google.javascript.rhino.IR
- AWAIT - com.google.javascript.rhino.Token
- AWAIT_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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_IJS_FILE_NAME - Static variable in class com.google.javascript.jscomp.ijs.IjsErrors
- 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
- BanCreateElement(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.BanCreateElement
- BanExpose(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.BanExpose
- BanForOf(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.BanForOf
- BANG - com.google.javascript.jscomp.parsing.parser.TokenType
- BANG - com.google.javascript.rhino.Token
- BanGlobalVars(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.BanGlobalVars
- 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
- BAR - com.google.javascript.jscomp.parsing.parser.TokenType
- BAR_EQUAL - com.google.javascript.jscomp.parsing.parser.TokenType
- BARE_MINIMUM - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
The bare minimum set of features.
- Base() - Constructor for class com.google.javascript.jscomp.deps.DependencyInfo.Base
- BASE - Static variable in class com.google.javascript.jscomp.deps.DependencyInfo.Require
- Base64 - Class in com.google.debugging.sourcemap
-
A utility class for working with Base64 values.
- base64EncodeInt(int) - Static method in class com.google.debugging.sourcemap.Base64
- Base64VLQ - Class in com.google.debugging.sourcemap
-
We encode our variable length numbers as base64 encoded strings with the least significant digit coming first.
- Base64VLQ.CharIterator - Interface in com.google.debugging.sourcemap
-
A simple interface for advancing through a sequence of characters, that communicates that advance back to the source.
- BaseTranspiler - Class in com.google.javascript.jscomp.transpile
-
Basic Transpiler implementation for outputting ES5 code.
- BaseTranspiler(BaseTranspiler.CompilerSupplier, String) - Constructor for class com.google.javascript.jscomp.transpile.BaseTranspiler
- 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
-
Deprecated.
- BasicErrorManager() - Constructor for class com.google.javascript.jscomp.BasicErrorManager
-
Deprecated.
- BEFORE_CHECKS - com.google.javascript.jscomp.CustomPassExecutionTime
- BEFORE_DANGLING_ELSE - com.google.javascript.jscomp.CodeGenerator.Context
- BEFORE_MAIN_OPTIMIZATIONS - Static variable in class com.google.javascript.jscomp.PassNames
- BEFORE_OPTIMIZATION_LOOP - com.google.javascript.jscomp.CustomPassExecutionTime
- BEFORE_OPTIMIZATIONS - com.google.javascript.jscomp.CustomPassExecutionTime
- BEFORE_PRE_TYPECHECK_TRANSPILATION - Static variable in class com.google.javascript.jscomp.PassNames
- BEFORE_SERIALIZATION - Static variable in class com.google.javascript.jscomp.PassNames
- BEFORE_STANDARD_OPTIMIZATIONS - Static variable in class com.google.javascript.jscomp.PassNames
- BEFORE_TYPE_CHECKING - Static variable in class com.google.javascript.jscomp.PassNames
- bigint(BigInteger) - Static method in class com.google.javascript.rhino.IR
- BIGINT - com.google.javascript.jscomp.colors.NativeColorId
- BIGINT - com.google.javascript.jscomp.NodeUtil.ValueType
- BIGINT - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- BIGINT - com.google.javascript.jscomp.parsing.parser.TokenType
- BIGINT - com.google.javascript.rhino.Token
- BIGINT_NUMBER - com.google.javascript.rhino.jstype.JSTypeNative
-
(bigint,number)
- BIGINT_NUMBER_OBJECT - com.google.javascript.rhino.jstype.JSTypeNative
-
(BigInt,Number)
- BIGINT_NUMBER_STRING - com.google.javascript.rhino.jstype.JSTypeNative
-
(bigint,number,string)
- BIGINT_NUMBER_STRING_OBJECT - com.google.javascript.rhino.jstype.JSTypeNative
-
(Bigint,Number,String)
- BIGINT_OBJECT - com.google.javascript.jscomp.colors.NativeColorId
- BIGINT_OBJECT_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- BIGINT_OBJECT_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- BIGINT_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- BigIntType - Class in com.google.javascript.rhino.jstype
-
BigInt type.
- BINARY_LITERALS - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- BINARY_OPERATOR - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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
- Binding - Class in com.google.javascript.jscomp.modules
-
Represents a variable bound by an import or export statement, or goog.require.
- BITAND - com.google.javascript.rhino.Token
- BITNOT - com.google.javascript.rhino.Token
- BITOR - com.google.javascript.rhino.Token
- BITXOR - com.google.javascript.rhino.Token
- BlackHoleErrorManager - Class in com.google.javascript.jscomp
-
An ErrorManager that silently swallows all messages.
- BlackHoleErrorManager() - Constructor for class com.google.javascript.jscomp.BlackHoleErrorManager
- block - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FinallyTree
- block() - Static method in class com.google.javascript.rhino.IR
- block(Node) - Static method in class com.google.javascript.rhino.IR
- block(Node...) - Static method in class com.google.javascript.rhino.IR
- block(List<Node>) - Static method in class com.google.javascript.rhino.IR
- BLOCK - com.google.javascript.jscomp.parsing.parser.trees.Comment.Type
- BLOCK - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- BLOCK - com.google.javascript.rhino.Token
- BLOCK_SCOPED_FUNCTION_DECLARATION - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- 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.ForAwaitOfStatementTree
- 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 - com.google.javascript.jscomp.colors.NativeColorId
- BOOLEAN - com.google.javascript.jscomp.NodeUtil.ValueType
- BOOLEAN_OBJECT - com.google.javascript.jscomp.colors.NativeColorId
- BOOLEAN_OBJECT_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- BOOLEAN_OBJECT_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- BOOLEAN_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- BOOLEAN_TYPE - com.google.javascript.rhino.Token
- BooleanLiteralSet - Enum in com.google.javascript.rhino.jstype
-
A set in the domain {true,false}.
- booleanType() - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
- BooleanType - Class in com.google.javascript.rhino.jstype
-
Boolean type.
- BOTH - com.google.javascript.rhino.jstype.BooleanLiteralSet
- boundName() - Method in class com.google.javascript.jscomp.modules.Binding
-
The name of the variable this export is bound to, assuming it is not a binding of a module namespace.
- boundNames() - Method in class com.google.javascript.jscomp.modules.Module
-
Map of local identifiers to originating binding.
- boundNames(ImmutableMap<String, Binding>) - Method in class com.google.javascript.jscomp.modules.Module.Builder
- box() - Method in enum com.google.javascript.jscomp.colors.NativeColorId
- BRANCH_ONLY - com.google.javascript.jscomp.CompilerOptions.InstrumentOption
- BranchCoverageInstrumentationCallback - Class in com.google.javascript.jscomp.instrumentation
-
Instrument branch coverage for javascript.
- BranchCoverageInstrumentationCallback(AbstractCompiler, Map<String, FileInstrumentationData>) - Constructor for class com.google.javascript.jscomp.instrumentation.BranchCoverageInstrumentationCallback
- BREAK - com.google.javascript.jscomp.parsing.parser.Keywords
- BREAK - com.google.javascript.jscomp.parsing.parser.TokenType
- BREAK - com.google.javascript.rhino.Token
- BREAK_STATEMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- breakNode() - Static method in class com.google.javascript.rhino.IR
- breakNode(Node) - Static method in class com.google.javascript.rhino.IR
- BreakStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
- BreakStatementTree(SourceRange, IdentifierToken) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.BreakStatementTree
- brokenClosureRequiresLevel - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Deprecated.
- BROWSER - com.google.javascript.jscomp.CompilerOptions.Environment
-
Hand crafted externs that have traditionally been the default externs.
- BROWSER - com.google.javascript.jscomp.deps.ModuleLoader.ResolutionMode
-
Mimics the behavior of MS Edge.
- BROWSER_2020 - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
- BROWSER_WITH_TRANSFORMED_PREFIXES - com.google.javascript.jscomp.deps.ModuleLoader.ResolutionMode
-
A limited superset of BROWSER that transforms some path prefixes.
- BrowserModuleResolver - Class in com.google.javascript.jscomp.deps
-
Resolution algorithm for Browsers.
- BrowserModuleResolver(ImmutableSet<String>, ImmutableList<String>, ErrorHandler, ModuleLoader.PathEscaper) - Constructor for class com.google.javascript.jscomp.deps.BrowserModuleResolver
- BrowserWithTransformedPrefixesModuleResolver - Class in com.google.javascript.jscomp.deps
-
Limited superset of the
BrowserModuleResolver
that allows for replacing some path prefixes before resolving. - BrowserWithTransformedPrefixesModuleResolver(ImmutableSet<String>, ImmutableList<String>, ErrorHandler, ModuleLoader.PathEscaper, ImmutableMap<String, String>) - Constructor for class com.google.javascript.jscomp.deps.BrowserWithTransformedPrefixesModuleResolver
- BrowserWithTransformedPrefixesModuleResolver.Factory - Class in com.google.javascript.jscomp.deps
-
Factory for
BrowserWithTransformedPrefixesModuleResolver
. - build() - Method in class com.google.javascript.jscomp.bundle.Source.Builder
- build() - Method in class com.google.javascript.jscomp.CodePrinter.Builder
-
Generates the source code and returns it.
- build() - Method in class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec.Builder
- build() - Method in class com.google.javascript.jscomp.colors.DebugInfo.Builder
- build() - Method in class com.google.javascript.jscomp.colors.SingletonColorFields.Builder
- build() - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo.Builder
- build() - Method in class com.google.javascript.jscomp.InvalidatingTypes.Builder
- build() - Method in class com.google.javascript.jscomp.JsMessage.Builder
- build() - Method in class com.google.javascript.jscomp.Linter.Builder
- build() - Method in class com.google.javascript.jscomp.modules.Module.Builder
- build() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata.Builder
- build() - Method in class com.google.javascript.jscomp.parsing.Config.Builder
- build() - Method in class com.google.javascript.jscomp.PassFactory.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() - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
- build() - Method in class com.google.javascript.rhino.jstype.FunctionType.Builder
-
Constructs a new function type.
- build() - Method in class com.google.javascript.rhino.jstype.RecordTypeBuilder
-
Creates a record.
- build() - Method in class com.google.javascript.rhino.jstype.UnionType.Builder
-
Returns a type, not necessarily a
UnionType
, that represents the union of the inputs. - build(boolean) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Builds a
JSDocInfo
object based on the populated information and returns it. - 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
. - buildAndReset() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Builds a
JSDocInfo
object based on the populated information and returns it. - buildAndResolve() - Method in class com.google.javascript.rhino.jstype.FunctionType.Builder
- builder() - Static method in class com.google.javascript.jscomp.bundle.Source
-
Makes a new empty builder.
- builder() - Static method in class com.google.javascript.jscomp.colors.DebugInfo
- builder() - Static method in class com.google.javascript.jscomp.colors.SingletonColorFields
- builder() - Static method in class com.google.javascript.jscomp.modules.Module
-
Creates a new builder.
- builder() - Static method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
- builder() - Static method in class com.google.javascript.jscomp.parsing.Config
- builder() - Static method in class com.google.javascript.jscomp.PassFactory
- builder() - Static method in class com.google.javascript.jscomp.SourceFile
-
Create a new builder for source files.
- builder() - Static method in class com.google.javascript.rhino.JSDocInfo
-
Create a new JSDocInfoBuilder object.
- builder(FunctionDeclarationTree.Kind) - Static method in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
- builder(JSTypeRegistry) - Static method in class com.google.javascript.rhino.jstype.FunctionType
- builder(JSTypeRegistry) - Static method in class com.google.javascript.rhino.jstype.UnionType
-
Creates a
UnionType.Builder
for a newUnionType
. - builder(String, String) - Static method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo
- Builder() - Constructor for class com.google.javascript.jscomp.bundle.Source.Builder
- Builder() - Constructor for class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec.Builder
- Builder() - Constructor for class com.google.javascript.jscomp.colors.DebugInfo.Builder
- Builder() - Constructor for class com.google.javascript.jscomp.colors.SingletonColorFields.Builder
- Builder() - Constructor for class com.google.javascript.jscomp.deps.SimpleDependencyInfo.Builder
- Builder() - Constructor for class com.google.javascript.jscomp.JsMessage.Builder
- Builder() - Constructor for class com.google.javascript.jscomp.modules.Module.Builder
- Builder() - Constructor for class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata.Builder
- Builder() - Constructor for class com.google.javascript.jscomp.parsing.Config.Builder
- Builder() - Constructor for class com.google.javascript.jscomp.PassFactory.Builder
- Builder() - Constructor for class com.google.javascript.jscomp.SourceFile.Builder
- Builder() - Constructor for class com.google.javascript.refactoring.RefactoringDriver.Builder
- Builder() - Constructor for class com.google.javascript.refactoring.SuggestedFix.Builder
- Builder(JSTypeRegistry) - Constructor for class com.google.javascript.jscomp.InvalidatingTypes.Builder
- Builder(Node) - Constructor for class com.google.javascript.jscomp.CodePrinter.Builder
-
Sets the root node from which to generate the source code.
- Builder(String) - Constructor for class com.google.javascript.jscomp.JsMessage.Builder
-
Creates an instance.
- builderForHotSwap() - Static method in class com.google.javascript.jscomp.PassFactory
- buildFromCode(String, String) - Method in class com.google.javascript.jscomp.SourceFile.Builder
- buildFromFile(String) - Method in class com.google.javascript.jscomp.SourceFile.Builder
- buildFromGenerator(String, SourceFile.Generator) - Method in class com.google.javascript.jscomp.SourceFile.Builder
- buildFromInputStream(String, InputStream) - Method in class com.google.javascript.jscomp.SourceFile.Builder
- buildFromPath(Path) - Method in class com.google.javascript.jscomp.SourceFile.Builder
- buildFromReader(String, Reader) - Method in class com.google.javascript.jscomp.SourceFile.Builder
- buildFromTypePool(TypePool) - Static method in class com.google.javascript.jscomp.serialization.ColorDeserializer
- buildFromZipEntry(ZipEntryReader) - Method in class com.google.javascript.jscomp.SourceFile.Builder
- buildKnownSymbolTable() - Method in class com.google.javascript.jscomp.Compiler
- buildRecordTypeFromObject(ObjectType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- BUNDLE - com.google.javascript.jscomp.CompilationLevel
-
BUNDLE Simply orders and concatenates files to the output.
- BY_PART - com.google.javascript.jscomp.CssRenamingMap.Style
- BY_WHOLE - com.google.javascript.jscomp.CssRenamingMap.Style
- ByPart() - Constructor for class com.google.javascript.jscomp.CssRenamingMap.ByPart
- ByPathWarningsGuard - Class in com.google.javascript.jscomp
-
An implementation of a
WarningsGuard
that can modify theCheckLevel
based on the file that caused the warning, and whether this file matches a set of paths (specified either as include or exclude of path name parts). - ByWhole() - Constructor for class com.google.javascript.jscomp.CssRenamingMap.ByWhole
C
- Cache(Node, Node, Node, Node) - Constructor for class com.google.javascript.jscomp.CodingConvention.Cache
- CachedTransformer - Class in com.google.javascript.jscomp.bundle
-
A Transformer that caches output from a delegate transformer.
- CachedTransformer(Source.Transformer) - Constructor for class com.google.javascript.jscomp.bundle.CachedTransformer
- CachedTransformer(Source.Transformer, CacheBuilder<? super Source, ? super Source>) - Constructor for class com.google.javascript.jscomp.bundle.CachedTransformer
- CachedTransformer(Source.Transformer, String) - Constructor for class com.google.javascript.jscomp.bundle.CachedTransformer
- 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(CacheBuilder<Object, ? super TranspileResult>) - Method in class com.google.javascript.jscomp.transpile.TranspilerBuilder
-
Returns a TranspilerBuilder with cached transpilations, using the given cache builder.
- caching(String) - Method in class com.google.javascript.jscomp.transpile.TranspilerBuilder
-
Returns a TranspilerBuilder with cached transpilations, using the given cache spec.
- 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
- CALL - com.google.javascript.rhino.Token
- CALL_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- CALL_SIGNATURE - com.google.javascript.rhino.Token
- 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
- 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.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 ofthat
type. - canMergeBlock(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
A check inside a block to see if there are const, let, class, or function declarations to be safe and not hoist them into the upper block.
- CANNOT_CONVERT - Static variable in class com.google.javascript.jscomp.Es6ToEs3Util
- CANNOT_CONVERT_YET - Static variable in class com.google.javascript.jscomp.Es6ToEs3Util
- CANNOT_PATH_IMPORT_CLOSURE_FILE - Static variable in class com.google.javascript.jscomp.modules.EsModuleProcessor
- CANNOT_TRANSPILE_FEATURE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- CANONICALIZE_ONLY - com.google.javascript.jscomp.deps.ModuleLoader.PathEscaper
-
Does not escaped characters in paths, but does canonicalize it according to
ModuleNames.canonicalizePath(String)
. - 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
andthat
are meaningfully comparable. - canTestForShallowEqualityWith(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Tests whether
this
andthat
are meaningfully comparable using shallow comparison. - CARET - com.google.javascript.jscomp.parsing.parser.TokenType
- CARET_EQUAL - com.google.javascript.jscomp.parsing.parser.TokenType
- CASE - com.google.javascript.jscomp.parsing.parser.Keywords
- CASE - com.google.javascript.jscomp.parsing.parser.TokenType
- CASE - com.google.javascript.rhino.Token
- CASE_CLAUSE - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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.TemplateTypeReplacer
- caseAllType() - Method in interface com.google.javascript.rhino.jstype.Visitor
-
All type's case.
- caseAllType() - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- caseBigIntType() - Method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
- caseBigIntType() - Method in interface com.google.javascript.rhino.jstype.Visitor
-
BigInt value type's case.
- caseBigIntType() - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- caseBooleanType() - Method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
- caseBooleanType() - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Boolean value type's case.
- caseBooleanType() - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- caseCanonicalize(char) - Static method in class com.google.javascript.jscomp.regex.CaseCanonicalize
-
Returns the case canonical version of the given code-unit.
- caseCanonicalize(String) - Static method in class com.google.javascript.jscomp.regex.CaseCanonicalize
-
Returns the case canonical version of the given string.
- CaseCanonicalize - Class in com.google.javascript.jscomp.regex
-
Implements the ECMAScript 5 Canonicalize operation used to specify how case-insensitive regular expressions match.
- 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
- caseDefault(JSType) - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
-
Called for all cases unless the specific case is overridden in the concrete subclass.
- caseEnumElementType(EnumElementType) - Method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
- caseEnumElementType(EnumElementType) - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Enum element type's case.
- caseEnumElementType(EnumElementType) - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- caseFunctionType(FunctionType) - Method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
- caseFunctionType(FunctionType) - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Function type's case.
- caseFunctionType(FunctionType) - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- caseNamedType(NamedType) - Method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
- caseNamedType(NamedType) - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Named type's case.
- caseNamedType(NamedType) - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- caseNode(Node, Node) - Static method in class com.google.javascript.rhino.IR
- caseNoObjectType() - Method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
- caseNoObjectType() - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Bottom Object type's case.
- caseNoObjectType() - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- caseNoType(NoType) - Method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
- caseNoType(NoType) - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Bottom type's case.
- caseNoType(NoType) - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- caseNullType() - Method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
- caseNullType() - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Null type's case.
- caseNullType() - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- caseNumberType() - Method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
- caseNumberType() - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Number value type's case.
- caseNumberType() - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- caseObjectType(ObjectType) - Method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
- caseObjectType(ObjectType) - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Object type's case.
- caseObjectType(ObjectType) - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- caseProxyObjectType(ProxyObjectType) - Method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
- caseProxyObjectType(ProxyObjectType) - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Proxy type's case.
- caseProxyObjectType(ProxyObjectType) - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- caseStringType() - Method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
- caseStringType() - Method in interface com.google.javascript.rhino.jstype.Visitor
-
String value type's case.
- caseStringType() - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- caseSymbolType() - Method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
- caseSymbolType() - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Symbol value type's case.
- caseSymbolType() - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- caseTemplateType(TemplateType) - Method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
- caseTemplateType(TemplateType) - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Template type's case.
- caseTemplateType(TemplateType) - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- caseTemplatizedType(TemplatizedType) - Method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
- caseTemplatizedType(TemplatizedType) - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Templatized type's case.
- caseTemplatizedType(TemplatizedType) - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- caseUnionType(UnionType) - Method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
- caseUnionType(UnionType) - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Union type's case.
- caseUnionType(UnionType) - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- caseUnknownType() - Method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
- caseUnknownType() - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Unknown type's case.
- caseUnknownType() - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- caseVoidType() - Method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
- caseVoidType() - Method in interface com.google.javascript.rhino.jstype.Visitor
-
Void type's case.
- caseVoidType() - Method in class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- cast(JSType) - Static method in class com.google.javascript.rhino.jstype.ObjectType
-
A null-safe version of JSType#toObjectType.
- cast(Node, JSDocInfo) - Static method in class com.google.javascript.rhino.IR
- CAST - com.google.javascript.rhino.Token
- CATCH - com.google.javascript.jscomp.parsing.parser.Keywords
- CATCH - com.google.javascript.jscomp.parsing.parser.TokenType
- CATCH - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- CATCH - com.google.javascript.rhino.Token
- 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.
- 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
- ChangeVerifier - Class in com.google.javascript.jscomp
-
A Class to assist in AST change tracking verification.
- 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(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ConformanceRules.AbstractRule
- CHECK - com.google.javascript.jscomp.CompilerOptions.TweakProcessing
- CHECK_CONFORMANCE - Static variable in class com.google.javascript.jscomp.PassNames
- CHECK_CONST_PARAMS - Static variable in class com.google.javascript.jscomp.PassNames
- CHECK_PROTOTYPAL_TYPES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- CHECK_REG_EXP - Static variable in class com.google.javascript.jscomp.PassNames
- CHECK_REGEXP - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- CHECK_STATIC_OVERRIDES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- CHECK_TYPES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- CHECK_TYPES - Static variable in class com.google.javascript.jscomp.PassNames
- CHECK_USELESS_CODE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- CHECK_VARIABLE_REFERENCES - Static variable in class com.google.javascript.jscomp.PassNames
- CHECK_VARIABLES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- CHECK_VARS - Static variable in class com.google.javascript.jscomp.PassNames
- 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(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.BanCreateElement
- checkConformance(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ConformanceRules.BanExpose
- checkConformance(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ConformanceRules.BanForOf
- 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(NodeTraversal, Node) - Method in class com.google.javascript.jscomp.ConformanceRules.StrictBanUnresolvedType
- CheckConformance - Class in com.google.javascript.jscomp
-
Provides a framework for checking code against a set of user configured conformance rules.
- CheckConformance.InvalidRequirementSpec - Exception in com.google.javascript.jscomp
- CheckConformance.Rule - Interface in com.google.javascript.jscomp
- CheckConstantCaseNames - Class in com.google.javascript.jscomp.lint
-
This pass looks for module-level variable declarations that use CONSTANT_CASE, according to the Google style guide, and verifies that they are also annotated @const or are in a const clause.
- CheckConstantCaseNames(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckConstantCaseNames
- CheckDefaultExportOfGoogModule - Class in com.google.javascript.jscomp.lint
-
Check that the goog.module does not use a default export.
- CheckDefaultExportOfGoogModule(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckDefaultExportOfGoogModule
- 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
- CHECKED_UNKNOWN_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
-
A checked unknown type is a type that we know something about, but we're not really sure what we know about it.
- 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
-
Checks the following: Whether there are duplicate values in enums.
- CheckEnums(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckEnums
- CheckEs6ModuleFileStructure - Class in com.google.javascript.jscomp.lint
-
Checks the file structure of ES6 modules.
- CheckEs6ModuleFileStructure(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckEs6ModuleFileStructure
- CheckEs6Modules - Class in com.google.javascript.jscomp.lint
-
Miscellaneous checks for style in ES6 modules.
- CheckEs6Modules(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckEs6Modules
- checkExtendsLoop() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
check if there is a loop in the type extends chain
- CheckExtraRequires - Class in com.google.javascript.jscomp.lint
-
Walks the AST looking for usages of qualified names, and 'goog.require's of those names.
- CheckExtraRequires(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckExtraRequires
- checkForCallingConventionDefinitions(Node, Map<String, String>) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Checks for getprops that set the calling conventions on delegate methods.
- checkForCallingConventionDefinitions(Node, Map<String, String>) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
- checkGlobalNamesLevel - 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.
- CheckMissingAndExtraRequires - Class in com.google.javascript.jscomp
-
Deprecated.The compiler pass that provides "missing require" checking is {@link #com.google.javascript.jscomp.CheckMissingRequires}
- CheckMissingRequires - Class in com.google.javascript.jscomp
-
A pass to detect references to fully qualified Closure namespaces.
- CheckMissingRequires(AbstractCompiler, ModuleMetadataMap) - Constructor for class com.google.javascript.jscomp.CheckMissingRequires
- 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.
- CheckNoMutatedEs6Exports - Class in com.google.javascript.jscomp.lint
-
Checks that exports of ES6 modules are not mutated outside of module initialization.
- CheckNoMutatedEs6Exports(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckNoMutatedEs6Exports
- CheckNullabilityModifiers - Class in com.google.javascript.jscomp.lint
-
Checks for missing or redundant nullability modifiers.
- CheckNullabilityModifiers(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckNullabilityModifiers
- 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
- CheckProvidesSorted - Class in com.google.javascript.jscomp.lint
-
Checks that goog.provide statements are sorted and deduplicated, exposing the necessary information to produce a suggested fix.
- CheckProvidesSorted(CheckProvidesSorted.Mode) - Constructor for class com.google.javascript.jscomp.lint.CheckProvidesSorted
- CheckProvidesSorted.Mode - Enum in com.google.javascript.jscomp.lint
-
Operation modes.
- CheckRequiresSorted - Class in com.google.javascript.jscomp.lint
-
Checks that Closure import statements (goog.require, goog.requireType, and goog.forwardDeclare) are sorted and deduplicated, exposing the necessary information to produce a suggested fix.
- CheckRequiresSorted(CheckRequiresSorted.Mode) - Constructor for class com.google.javascript.jscomp.lint.CheckRequiresSorted
- CheckRequiresSorted.Mode - Enum in com.google.javascript.jscomp.lint
-
Operation modes.
- 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
- CheckTypeImportCodeReferences - Class in com.google.javascript.jscomp
-
Checks for invalid code references to type-only imports (i.e., goog.requireType).
- CheckTypeImportCodeReferences(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.CheckTypeImportCodeReferences
- checkTypes - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Checks types on expressions
- CheckTypeSummaryWarningsGuard - Class in com.google.javascript.jscomp.ijs
-
A warnings guard that demotes the errors found in type summary files to be less severe, leaving only the errors found in the original source.
- CheckTypeSummaryWarningsGuard(CheckLevel) - Constructor for class com.google.javascript.jscomp.ijs.CheckTypeSummaryWarningsGuard
- 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
- CheckVar - Class in com.google.javascript.jscomp.lint
-
Check for `var` (prefer `const` or `let`).
- CheckVar(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.lint.CheckVar
- children - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComprehensionTree
- children() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Alternation
- children() - Method in class com.google.javascript.jscomp.regex.RegExpTree.CapturingGroup
- children() - Method in class com.google.javascript.jscomp.regex.RegExpTree
-
The children of this node.
- children() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Concatenation
- children() - Method in class com.google.javascript.jscomp.regex.RegExpTree.LookaheadAssertion
- children() - Method in class com.google.javascript.jscomp.regex.RegExpTree.LookbehindAssertion
- children() - Method in class com.google.javascript.jscomp.regex.RegExpTree.NamedCaptureGroup
- children() - Method in class com.google.javascript.jscomp.regex.RegExpTree.RegExpTreeAtom
- children() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Repetition
- 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
- CLASS - com.google.javascript.jscomp.parsing.parser.Keywords
- CLASS - com.google.javascript.jscomp.parsing.parser.TokenType
- CLASS - com.google.javascript.rhino.Token
- CLASS_DECLARATION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- CLASS_DISALLOWED_JSDOC - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
- CLASS_EXTENDS - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- CLASS_GETTER_SETTER - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- CLASS_MEMBERS - com.google.javascript.rhino.Token
- ClassDeclarationTree - Class in com.google.javascript.jscomp.parsing.parser.trees
- ClassDeclarationTree(SourceRange, IdentifierToken, ParseTree, ImmutableList<ParseTree>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ClassDeclarationTree
- CLASSES - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- 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
- clearAllFlags() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
-
No side-effects occur
- 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.
- clearConformanceConfigs() - Method in class com.google.javascript.jscomp.CompilerOptions
- clearEdgeAnnotations() - Method in class com.google.javascript.jscomp.graph.Graph
-
Makes each edge's annotation null.
- clearJSTypeRegistry() - Method in class com.google.javascript.jscomp.AbstractCompiler
- clearJSTypeRegistry() - Method in class com.google.javascript.jscomp.Compiler
- 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
- clearTemplates() - Method in class com.google.javascript.refactoring.RefasterJsScanner
-
Clears the RefasterJs templates used for comparison.
- clone() - Method in class com.google.javascript.rhino.JSDocInfo
- clone(boolean) - Method in class com.google.javascript.rhino.JSDocInfo
- clone(Set<String>, String, char[]) - Method in class com.google.javascript.jscomp.DefaultNameGenerator
- clone(Set<String>, String, char[]) - Method in interface com.google.javascript.jscomp.NameGenerator
-
Returns a clone of this NameGenerator, reconfigured and reset.
- clone(Set<String>, String, char[]) - Method in class com.google.javascript.jscomp.RandomNameGenerator
- cloneAndReplaceTypeNames(Set<String>) - Method in class com.google.javascript.rhino.JSDocInfo
-
Clones this JSDoc but replaces the given names in any type related annotation with unknown type.
- 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
- cloneWithNewType(boolean, JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfo
- close() - Method in class com.google.javascript.jscomp.diagnostic.LogFile
- close() - Method in class com.google.javascript.rhino.jstype.JSTypeResolver.Closer
- CLOSE_ANGLE - com.google.javascript.jscomp.parsing.parser.TokenType
- CLOSE_CURLY - com.google.javascript.jscomp.parsing.parser.TokenType
- CLOSE_PAREN - com.google.javascript.jscomp.parsing.parser.TokenType
- CLOSE_SQUARE - com.google.javascript.jscomp.parsing.parser.TokenType
- Closer() - Constructor for class com.google.javascript.rhino.jstype.JSTypeResolver.Closer
- CLOSURE - com.google.javascript.jscomp.JsMessage.Style
- CLOSURE_DEP_METHOD_USAGE_CHECKS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- CLOSURE_REWRITE_CLASS - Static variable in class com.google.javascript.jscomp.PassNames
- 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
- ClosureBundler(Transpiler, 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, ModuleMetadataMap) - 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
- closureNamespace() - Method in class com.google.javascript.jscomp.modules.Binding
- closureNamespace() - Method in class com.google.javascript.jscomp.modules.Export
- closureNamespace() - Method in class com.google.javascript.jscomp.modules.Module
-
The specific Closure namespace this module represents, if any.
- closureNamespace(String) - Method in class com.google.javascript.jscomp.modules.Module.Builder
- closurePass - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Processes goog.provide() and goog.require() calls
- ClosurePrimitive - Enum in com.google.javascript.rhino
-
Enum of primitive functions that the compiler recognizes
- ClosureReverseAbstractInterpreter - Class in com.google.javascript.jscomp.type
-
A reverse abstract interpreter (RAI) for specific closure patterns such as
goog.isObject
. - ClosureReverseAbstractInterpreter(JSTypeRegistry) - Constructor for class com.google.javascript.jscomp.type.ClosureReverseAbstractInterpreter
- coalesce(Node, Node) - Static method in class com.google.javascript.rhino.IR
- COALESCE - com.google.javascript.rhino.Token
- COALESCE_VARIABLE_NAMES - Static variable in class com.google.javascript.jscomp.PassNames
- coalesceVariableNames - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Merge two variables together as one.
- code() - Method in class com.google.javascript.jscomp.bundle.Source
-
The actual code in this source file.
- 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.
- CodeReplacement() - Constructor for class com.google.javascript.refactoring.CodeReplacement
- 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.AssertionFunctionLookup - Class in com.google.javascript.jscomp
-
This stores a relation from either name or Closure Primitive to assertion function
- CodingConvention.AssertionFunctionSpec - Class in com.google.javascript.jscomp
-
A description of a JavaScript function that will throw an exception when either: One of its parameters does not match the return type of the function One of its parameters is falsy.
- CodingConvention.AssertionFunctionSpec.AssertionKind - Enum in com.google.javascript.jscomp
- CodingConvention.AssertionFunctionSpec.Builder - Class in com.google.javascript.jscomp
- 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.
- COLLAPSE_ANONYMOUS_FUNCTIONS - Static variable in class com.google.javascript.jscomp.PassNames
- COLLAPSE_OBJECT_LITERALS - Static variable in class com.google.javascript.jscomp.PassNames
- COLLAPSE_PROPERTIES - Static variable in class com.google.javascript.jscomp.PassNames
- COLLAPSE_VARIABLE_DECLARATIONS - Static variable in class com.google.javascript.jscomp.PassNames
- 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.
- 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
- COLLECT_AND_REPORT - com.google.javascript.jscomp.lint.CheckProvidesSorted.Mode
-
Additionally report a warning.
- COLLECT_AND_REPORT - com.google.javascript.jscomp.lint.CheckRequiresSorted.Mode
-
Additionally report a warning.
- COLLECT_ONLY - com.google.javascript.jscomp.lint.CheckProvidesSorted.Mode
-
Collect information to determine whether a fix is required, but do not report a warning.
- COLLECT_ONLY - com.google.javascript.jscomp.lint.CheckRequiresSorted.Mode
-
Collect information to determine whether a fix is required, but do not report a warning.
- collectExternVariableNames(AbstractCompiler, Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- collection - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComprehensionForTree
- collection - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ForAwaitOfStatementTree
- collection - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ForInStatementTree
- collection - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ForOfStatementTree
- COLON - com.google.javascript.jscomp.parsing.parser.TokenType
- COLON - com.google.javascript.rhino.Token
- color() - Method in class com.google.javascript.jscomp.graph.GraphColoring
-
Annotates the graph with
GraphColoring.Color
objects usingAnnotatable.setAnnotation(Annotation)
. - color() - Method in class com.google.javascript.jscomp.graph.GraphColoring.GreedyGraphColoring
- Color - Class in com.google.javascript.jscomp.colors
-
A simplified version of a Closure or TS type for use by optimizations
- Color() - Constructor for class com.google.javascript.jscomp.colors.Color
- ColorDeserializer - Class in com.google.javascript.jscomp.serialization
-
Convert a
TypePool
(from a single compilation) intoColor
s. - ColorDeserializer.InvalidSerializedFormatException - Exception in com.google.javascript.jscomp.serialization
-
Error emitted when the deserializer sees a serialized type it cannot support deserialize
- ColorRegistry - Class in com.google.javascript.jscomp.colors
-
Memoizes all native color instances
- 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.debugging.sourcemap - package com.google.debugging.sourcemap
- com.google.javascript.jscomp - package com.google.javascript.jscomp
- com.google.javascript.jscomp.ant - package com.google.javascript.jscomp.ant
- com.google.javascript.jscomp.bundle - package com.google.javascript.jscomp.bundle
- com.google.javascript.jscomp.colors - package com.google.javascript.jscomp.colors
- com.google.javascript.jscomp.deps - package com.google.javascript.jscomp.deps
- com.google.javascript.jscomp.diagnostic - package com.google.javascript.jscomp.diagnostic
- com.google.javascript.jscomp.disambiguate - package com.google.javascript.jscomp.disambiguate
- com.google.javascript.jscomp.graph - package com.google.javascript.jscomp.graph
- com.google.javascript.jscomp.ijs - package com.google.javascript.jscomp.ijs
- com.google.javascript.jscomp.instrumentation - package com.google.javascript.jscomp.instrumentation
- com.google.javascript.jscomp.lint - package com.google.javascript.jscomp.lint
- com.google.javascript.jscomp.modules - package com.google.javascript.jscomp.modules
- com.google.javascript.jscomp.parsing - package com.google.javascript.jscomp.parsing
- 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.resources - package com.google.javascript.jscomp.resources
- com.google.javascript.jscomp.serialization - package com.google.javascript.jscomp.serialization
- com.google.javascript.jscomp.transpile - package com.google.javascript.jscomp.transpile
- com.google.javascript.jscomp.type - package com.google.javascript.jscomp.type
- com.google.javascript.refactoring - package com.google.javascript.refactoring
- com.google.javascript.refactoring.examples - package com.google.javascript.refactoring.examples
- com.google.javascript.rhino - package com.google.javascript.rhino
- com.google.javascript.rhino.dtoa - package com.google.javascript.rhino.dtoa
- com.google.javascript.rhino.jstype - package com.google.javascript.rhino.jstype
- com.google.javascript.rhino.serialization - package com.google.javascript.rhino.serialization
- comma(Node, Node) - Static method in class com.google.javascript.rhino.IR
- COMMA - com.google.javascript.jscomp.parsing.parser.TokenType
- COMMA - com.google.javascript.rhino.Token
- COMMA_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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[], InputStream, PrintStream, PrintStream) - Constructor for class com.google.javascript.jscomp.CommandLineRunner
- CommandLineRunner(String[], PrintStream, PrintStream) - Constructor for class com.google.javascript.jscomp.CommandLineRunner
- CommandLineRunner.FormattingOption - Enum in com.google.javascript.jscomp
-
Set of options that can be used with the --formatting flag.
- commaPositions - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ArgumentListTree
- commaPositions - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FormalParameterListTree
- 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 - com.google.javascript.jscomp.deps.DependencyInfo.Require.Type
-
CommonJS require() call.
- COMMON_JS - com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleType
- commonJs(String, String) - Static method in class com.google.javascript.jscomp.deps.DependencyInfo.Require
- COMMONJS - com.google.javascript.jscomp.CompilerInput.ModuleType
- COMPACT - com.google.javascript.jscomp.CodePrinter.Format
- compareTo(DiagnosticType) - Method in class com.google.javascript.jscomp.DiagnosticType
- compareTo(CodeReplacement) - Method in class com.google.javascript.refactoring.CodeReplacement
- 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
-
Compiles a single source file and a single externs file.
- compile(URI, String) - Method in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
- compile(Path, String) - Method in class com.google.javascript.jscomp.bundle.CompilerBasedTransformer.CompilerSupplier
- compile(List<T1>, List<T2>, CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Compiles a list of inputs.
- COMPILE - com.google.javascript.jscomp.CompilerOptions.Es6ModuleTranspilation
-
Compile ES6 modules.
- compileModules(List<T>, List<JSModule>, CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Compiles a list of modules.
- compiler - Variable in class com.google.javascript.jscomp.NodeTraversal.AbstractModuleCallback
- compiler() - Method in class com.google.javascript.jscomp.bundle.CompilerBasedTransformer.CompilerSupplier
- compiler() - Method in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
- Compiler - Class in com.google.javascript.jscomp
-
Compiler (and the other classes in this package) does the following: parses JS code checks for undefined variables performs optimizations such as constant folding and constants inlining renames variables (to short names) outputs compact JavaScript code External variables are declared in 'externs' files.
- Compiler() - Constructor for class com.google.javascript.jscomp.Compiler
-
Creates a Compiler that reports errors and warnings to its logger.
- Compiler(ErrorManager) - Constructor for class com.google.javascript.jscomp.Compiler
-
Creates a Compiler that uses a custom error manager.
- Compiler(PrintStream) - Constructor for class com.google.javascript.jscomp.Compiler
-
Creates a Compiler that reports errors and warnings to an output stream.
- COMPILER_MODULE - com.google.javascript.jscomp.deps.DependencyInfo.Require.Type
-
Compiler module dependencies.
- Compiler.CodeBuilder - Class in com.google.javascript.jscomp
-
Stores a buffer of text to which more can be appended.
- Compiler.ExternalSourceLoader - Class in com.google.javascript.jscomp
-
Subclasses are responsible for loading sources that were not provided as explicit inputs to the compiler.
- CompilerBasedTransformer - Class in com.google.javascript.jscomp.bundle
-
A source transformer base class.
- CompilerBasedTransformer(CompilerBasedTransformer.CompilerSupplier) - Constructor for class com.google.javascript.jscomp.bundle.CompilerBasedTransformer
- CompilerBasedTransformer.CompileResult - Class in com.google.javascript.jscomp.bundle
-
The source together with the additional compilation results.
- CompilerBasedTransformer.CompilerSupplier - Class in com.google.javascript.jscomp.bundle
-
Wraps the Compiler into a more relevant interface, making it easy to test the CompilerBasedTransformer without depending on implementation details of the Compiler itself.
- CompileResult(String, boolean, String) - Constructor for class com.google.javascript.jscomp.transpile.BaseTranspiler.CompileResult
- CompileResult(String, ImmutableList<JSError>, boolean, String) - Constructor for class com.google.javascript.jscomp.bundle.CompilerBasedTransformer.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, InputId, boolean) - Constructor for class com.google.javascript.jscomp.CompilerInput
- CompilerInput(SourceAst, String, boolean) - Constructor for class com.google.javascript.jscomp.CompilerInput
- CompilerInput(SourceFile) - Constructor for class com.google.javascript.jscomp.CompilerInput
- CompilerInput(SourceFile, boolean) - Constructor for class com.google.javascript.jscomp.CompilerInput
- CompilerInput.ModuleType - Enum in com.google.javascript.jscomp
-
JavaScript module type.
- CompilerInputProvider - Interface in com.google.javascript.jscomp
-
A provider mapping a InputId to a CompilerInput.
- compilerModule(String) - Static method in class com.google.javascript.jscomp.deps.DependencyInfo.Require
- 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.DevMode - Enum in com.google.javascript.jscomp
-
When to do the extra validity checks
- CompilerOptions.Environment - Enum in com.google.javascript.jscomp
-
An environment specifies the built-in externs that are loaded for a given compilation.
- CompilerOptions.Es6ModuleTranspilation - Enum in com.google.javascript.jscomp
-
How ES6 modules should be transformed.
- CompilerOptions.ExtractPrototypeMemberDeclarationsMode - Enum in com.google.javascript.jscomp
- CompilerOptions.IncrementalCheckMode - Enum in com.google.javascript.jscomp
- CompilerOptions.InstrumentOption - Enum in com.google.javascript.jscomp
-
An option to determine what level of code instrumentation is performed, if any
- 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.OutputJs - Enum in com.google.javascript.jscomp
-
What type of JS file should be output by this compilation
- CompilerOptions.PropertyCollapseLevel - Enum in com.google.javascript.jscomp
- 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
- CompilerOptionsPreprocessor - Class in com.google.javascript.jscomp
-
Checks for combinations of options that are incompatible, i.e.
- CompilerOptionsPreprocessor.InvalidOptionsException - Exception in com.google.javascript.jscomp
-
Exception to indicate incompatible options in the CompilerOptions.
- CompilerPass - Interface in com.google.javascript.jscomp
-
Interface for classes that can compile JS.
- compilerSupplier() - Static method in class com.google.javascript.jscomp.bundle.CoverageInstrumenter
- compilerSupplier() - Static method in class com.google.javascript.jscomp.bundle.Transpiler
- CompilerSupplier() - Constructor for class com.google.javascript.jscomp.bundle.CompilerBasedTransformer.CompilerSupplier
- CompilerSupplier() - Constructor for class com.google.javascript.jscomp.bundle.CoverageInstrumenter.CompilerSupplier
- CompilerSupplier() - Constructor for class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
- CompilerSupplier(FeatureSet) - Constructor for class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
- CompilerSupplier(FeatureSet, ModuleLoader.ResolutionMode, ImmutableList<String>, ImmutableMap<String, String>) - Constructor for class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
-
Accepts commonly overridden options for ES6 modules to avoid needed to subclass.
- CompileTask - Class in com.google.javascript.jscomp.ant
-
This class implements a simple Ant task to do almost the same as CommandLineRunner.
- CompileTask() - Constructor for class com.google.javascript.jscomp.ant.CompileTask
- components() - Method in class com.google.javascript.rhino.QualifiedName
-
Returns the components of this name as an iterable of strings, starting at the root.
- compose(Source.Transformer) - Method in interface com.google.javascript.jscomp.bundle.Source.Transformer
-
Concatenates two Transformers.
- ComposeWarningsGuard - Class in com.google.javascript.jscomp
-
WarningsGuard that represents just a chain of other guards.
- ComposeWarningsGuard(WarningsGuard...) - Constructor for class com.google.javascript.jscomp.ComposeWarningsGuard
- ComposeWarningsGuard(List<WarningsGuard>) - Constructor for class com.google.javascript.jscomp.ComposeWarningsGuard
- COMPREHENSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- COMPREHENSION_FOR - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- COMPREHENSION_IF - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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 - com.google.javascript.rhino.Token
- 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
- COMPUTED_PROPERTIES - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- COMPUTED_PROPERTY_DEFINITION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- COMPUTED_PROPERTY_GETTER - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- COMPUTED_PROPERTY_METHOD - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- COMPUTED_PROPERTY_SETTER - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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, BlockTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyGetterTree
- ComputedPropertyMethodTree - Class in com.google.javascript.jscomp.parsing.parser.trees
- ComputedPropertyMethodTree(SourceRange, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyMethodTree
- ComputedPropertySetterTree - Class in com.google.javascript.jscomp.parsing.parser.trees
- ComputedPropertySetterTree(SourceRange, ParseTree, boolean, FormalParameterListTree, 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>, Set<N>) - Method in class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
-
Compute a fixed point for the given graph, entering from the given nodes.
- computeFixedPoint(DiGraph<N, E>, N) - Method in class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
-
Compute a fixed point for the given graph, entering from the given node.
- computeFunctionSideEffects - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Use @nosideeffects annotations, function bodies and name graph to determine if calls have side effects.
- COND - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- 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
- CONDITIONAL - com.google.javascript.jscomp.instrumentation.CoverageInstrumentationPass.CoverageReach
- CONDITIONAL_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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() - Constructor for class com.google.javascript.jscomp.parsing.Config
- Config() - Constructor for class com.google.javascript.jscomp.parsing.parser.Parser.Config
- Config(Parser.Config.Mode, boolean) - Constructor for class com.google.javascript.jscomp.parsing.parser.Parser.Config
- Config.Builder - Class in com.google.javascript.jscomp.parsing
-
Builder for a 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_IJS_FILE - Static variable in class com.google.javascript.jscomp.ijs.IjsErrors
- CONFORMANCE - com.google.javascript.jscomp.ConformanceRules.ConformanceLevel
- CONFORMANCE - Static variable in class com.google.javascript.jscomp.ConformanceRules.ConformanceResult
- CONFORMANCE_VIOLATIONS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- ConformanceAllowlister - Class in com.google.javascript.jscomp
-
Creates or updates conformance whitelist entries.
- ConformancePassConfig - Class in com.google.javascript.jscomp
-
Runs only the user-supplied conformance checks and any earlier passes required by conformance.
- ConformancePassConfig(PassConfig) - Constructor for class com.google.javascript.jscomp.ConformancePassConfig
- 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 allowlisting and reporting.
- ConformanceRules.BanCreateDom - Class in com.google.javascript.jscomp
-
Ban
goog.dom.createDom
andgoog.dom.DomHelper#createDom
with parameters specified invalue
in the format tagname.attribute, e.g. - ConformanceRules.BanCreateElement - Class in com.google.javascript.jscomp
-
Bans
document.createElement
and similar methods with string literal parameter specified invalue
, e.g. - ConformanceRules.BanExpose - Class in com.google.javascript.jscomp
-
Banned @expose
- ConformanceRules.BanForOf - Class in com.google.javascript.jscomp
-
Banned for/of loops
- 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
- ConformanceRules.StrictBanUnresolvedType - Class in com.google.javascript.jscomp
-
Ban any use of unresolved forward-declared types
- 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.Graph
-
Connects two nodes in the graph with an edge.
- connect(N, E, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- connect(N, E, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
- 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 - com.google.javascript.jscomp.parsing.parser.Keywords
- CONST - com.google.javascript.jscomp.parsing.parser.TokenType
- CONST - com.google.javascript.rhino.Token
- CONST - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- CONST_DECLARATIONS - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- CONSTANT_PROPERTY - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- 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() - Method in class com.google.javascript.rhino.NominalTypeBuilder
-
Returns the constructor as a JSType.
- constructor(String) - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a matcher that matches constructor definitions of the specified name.
- constructorPropertyDeclaration() - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that matches against properties that are declared in the constructor.
- contains(boolean) - Method in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
-
Returns whether
this
contains the given literal value. - contains(FeatureSet) - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Does this
FeatureSet
contain all of the features ofother
? - contains(FeatureSet.Feature) - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Does this
FeatureSet
contain the given feature? - 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.Alternation
- containsAnchor() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Anchor
- containsAnchor() - Method in class com.google.javascript.jscomp.regex.RegExpTree.CapturingGroup
- containsAnchor() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Concatenation
- containsAnchor() - Method in class com.google.javascript.jscomp.regex.RegExpTree
-
True if the regular expression contains an anchor :
^
or$
. - containsAnchor() - Method in class com.google.javascript.jscomp.regex.RegExpTree.LookaheadAssertion
- containsAnchor() - Method in class com.google.javascript.jscomp.regex.RegExpTree.LookbehindAssertion
- containsAnchor() - Method in class com.google.javascript.jscomp.regex.RegExpTree.NamedCaptureGroup
- containsAnchor() - Method in class com.google.javascript.jscomp.regex.RegExpTree.RegExpTreeAtom
- containsAnchor() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Repetition
- containsCycle() - Method in class com.google.javascript.rhino.jstype.TemplateType
-
This function returns whether or not there is a cycle in the reference chain of this type.
- containsDeclaration() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether there is a declaration present on this
JSDocInfo
, including a typeless @const like/** @const * / a.b.c = 0
- containsDeclarationExcludingTypelessConst() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether there is a declaration present on this
JSDocInfo
. - containsFunctionDeclaration() - Method in class com.google.javascript.rhino.JSDocInfo
-
Deprecated.This method is quite heuristic, looking for @type annotations that start with "function". Other methods like containsDeclaration() and containsTypeDefinition are generally preferred.
- containsReferenceAncestor(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
This function searchers for a type `target` in the reference chain of ProxyObjectTypes
- containsTypeDeclaration() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether this JSDoc contains a type declaration such as
/** @type {string}
- containsTypeDefinition() - Method in class com.google.javascript.rhino.JSDocInfo
- containWarning(String) - Method in class com.google.javascript.jscomp.AllowlistWarningsGuard
-
Determines whether a given warning is included in the white-list.
- contents - Variable in class com.google.javascript.jscomp.parsing.parser.SourceFile
- CONTINUE - com.google.javascript.jscomp.parsing.parser.Keywords
- CONTINUE - com.google.javascript.jscomp.parsing.parser.TokenType
- CONTINUE - com.google.javascript.rhino.Token
- CONTINUE_STATEMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- continueNode() - Static method in class com.google.javascript.rhino.IR
- continueNode(Node) - Static method in class com.google.javascript.rhino.IR
- continueOptChainCall(Node, Node...) - Static method in class com.google.javascript.rhino.IR
- continueOptChainGetelem(Node, Node) - Static method in class com.google.javascript.rhino.IR
- continueOptChainGetprop(Node, 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
- ControlFlowAnalysis - Class in com.google.javascript.jscomp
-
This is a compiler pass that computes a control flow graph.
- 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_TO_DOTTED_PROPERTIES - Static variable in class com.google.javascript.jscomp.PassNames
- convertJSDocInfoForOptimizations(JSDocInfo) - Static method in class com.google.javascript.jscomp.serialization.JsdocSerializer
-
Returns a variant of input JSDocInfo where fields not needed for optimizations are removed
- convertToDottedProperties - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Converts quoted property accesses to dot syntax (a['b'] → a.b)
- ConvertToTypedInterface - Class in com.google.javascript.jscomp.ijs
-
The goal of this pass is to shrink the AST, preserving only typing, not behavior.
- ConvertToTypedInterface(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.ijs.ConvertToTypedInterface
- ConvertTypesToColors - Class in com.google.javascript.jscomp.serialization
-
Pass to convert JSType objects from TypeChecking that are attached to the AST into Color objects whose sole use is to enable running optimizations.
- ConvertTypesToColors(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.serialization.ConvertTypesToColors
- 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.FunctionType.Builder
-
Copies all the information from another function type.
- copyFromWithNewType(JSDocInfo, JSTypeExpression) - Static method in class com.google.javascript.rhino.JSDocInfoBuilder
- copyTypeFrom(Node) - Method in class com.google.javascript.rhino.Node
-
Copies a nodes JSTYpe and Color (if present)
- copyWithExtension(ImmutableList<TemplateType>, ImmutableList<JSType>) - Method in class com.google.javascript.rhino.jstype.TemplateTypeMap
-
Create a new map in which the keys and values have been extended by
keys
andvalues
respectively. - copyWithExtension(TemplateTypeMap) - Method in class com.google.javascript.rhino.jstype.TemplateTypeMap
-
Create a new map in which the keys and values have been extended by
extension
. - CoverageInstrumentationPass - Class in com.google.javascript.jscomp.instrumentation
-
This code implements the instrumentation pass over the AST (returned by JSCompiler).
- CoverageInstrumentationPass(AbstractCompiler, CoverageInstrumentationPass.CoverageReach) - Constructor for class com.google.javascript.jscomp.instrumentation.CoverageInstrumentationPass
-
Deprecated.
- CoverageInstrumentationPass(AbstractCompiler, CoverageInstrumentationPass.CoverageReach, CompilerOptions.InstrumentOption, String) - Constructor for class com.google.javascript.jscomp.instrumentation.CoverageInstrumentationPass
- CoverageInstrumentationPass.CoverageReach - Enum in com.google.javascript.jscomp.instrumentation
-
Configures which statements in the AST should be instrumented
- CoverageInstrumenter - Class in com.google.javascript.jscomp.bundle
-
A source transformer for instrmenting code for coverage data collection.
- CoverageInstrumenter(CompilerBasedTransformer.CompilerSupplier) - Constructor for class com.google.javascript.jscomp.bundle.CoverageInstrumenter
- CoverageInstrumenter.CompilerSupplier - Class in com.google.javascript.jscomp.bundle
-
Supply options for coverage.
- create() - Static method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- create() - Static method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
- create(ImmutableSet<String>, ImmutableList<String>, ErrorHandler, ModuleLoader.PathEscaper) - Method in class com.google.javascript.jscomp.deps.BrowserWithTransformedPrefixesModuleResolver.Factory
- create(ImmutableSet<String>, ImmutableList<String>, ErrorHandler, ModuleLoader.PathEscaper) - Method in interface com.google.javascript.jscomp.deps.ModuleLoader.ModuleResolverFactory
- create(ImmutableSet<String>, ImmutableList<String>, ErrorHandler, ModuleLoader.PathEscaper) - Method in class com.google.javascript.jscomp.deps.NodeModuleResolver.Factory
- create(ImmutableSet<String>, ImmutableList<String>, ErrorHandler, ModuleLoader.PathEscaper) - Method in class com.google.javascript.jscomp.deps.WebpackModuleResolver.Factory
- create(DiGraph<N, E>) - Method in interface com.google.javascript.jscomp.graph.LowestCommonAncestorFinder.Factory
- create(Scope, Node) - Method in interface com.google.javascript.jscomp.SyntacticScopeCreator.ScopeFactory
- create(JSType, boolean, boolean) - Static method in class com.google.javascript.rhino.jstype.FunctionType.Parameter
- create(Node, AbstractCompiler) - Static method in class com.google.javascript.refactoring.ScriptMetadata
- create(SerializationOptions) - Static method in class com.google.javascript.rhino.serialization.TypePoolCreator
-
Creates a new TypePoolCreator
- create(String, boolean) - Static method in class com.google.javascript.jscomp.AbstractCommandLineRunner.JsModuleSpec
- CREATE_MODULE_MAP - Static variable in class com.google.javascript.jscomp.PassNames
- createAllNonEmptyTargetsInPattern(JSTypeRegistry, Supplier<JSType>, Node) - Static method in class com.google.javascript.jscomp.DestructuredTarget
-
Returns all the targets directly in the given pattern, except for EMPTY nodes
- createAllNonEmptyTargetsInPattern(JSTypeRegistry, JSType, Node) - Static method in class com.google.javascript.jscomp.DestructuredTarget
-
Returns all the targets directly in the given pattern, except for EMPTY nodes
- createAnonymousObjectType(JSDocInfo) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Create an anonymous object type.
- createAstFactory() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Returns a new AstFactory that will add type information to the nodes it creates if and only if type checking has already happened.
- createAstFactoryWithoutTypes() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Returns a new AstFactory that will not add type information, regardless of whether type checking has already happened.
- 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
- createCompilerExecutor() - Method in class com.google.javascript.jscomp.Compiler
- createConfig(Config.LanguageMode, Config.JsDocParsing, Config.RunMode, Set<String>, boolean, Config.StrictMode) - Static method in class com.google.javascript.jscomp.parsing.ParserRunner
- 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
- createConstructorType(String, Node, List<FunctionType.Parameter>, JSType, ImmutableList<TemplateType>, boolean) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a constructor function type.
- createdBy() - Method in class com.google.javascript.jscomp.modules.Binding
- createDefine() - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Creates a new
<define/>
nested element. - createDefineOrTweakReplacements(List<String>, CompilerOptions, boolean) - Static method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Create a map of constant names to constant values from a textual description of the map.
- 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
- createEmptyPass(String) - Static method in class com.google.javascript.jscomp.PassFactory
-
Create a no-op pass that can only run once.
- createEmptySource() - Method in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
- createEntryPoint() - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Creates a new
<entrypoint/>
nested element. - createEnumType(String, Node, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates an enum type.
- createExterns(CompilerOptions) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
- createExterns(CompilerOptions) - Method in class com.google.javascript.jscomp.CommandLineRunner
- createForTesting(JSType, JSType) - Static method in class com.google.javascript.jscomp.TypeMismatch
- createFunctionType(JSType, JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a function type.
- createFunctionType(JSType, List<FunctionType.Parameter>) - 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.
- 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.
- createJsModules(List<AbstractCommandLineRunner.JsModuleSpec>, List<SourceFile>) - Static method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Creates module objects from a list of js module specifications.
- createNamedType(StaticTypedScope, 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.DiGraph
- 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
- createNoOp() - Static method in class com.google.javascript.jscomp.diagnostic.LogFile
- 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
- createOrReopen(Path) - Static method in class com.google.javascript.jscomp.diagnostic.LogFile
- createOrReopenIndexedLog(Class<?>, String, String...) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Provides logging access to a file with the specified name, differentiated by the index of the current pass.
- createOrReopenLog(Class<?>, String, String...) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Provides logging access to a file with the specified name.
- 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.
- createPassConfigInternal() - Method in class com.google.javascript.jscomp.Compiler
-
Create the passes object.
- createRecordType(Map<String, ? extends JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- createResultForStage1(Result) - Static method in class com.google.javascript.jscomp.Result
-
Returns an almost empty result that is used for multistage compilation.
- createScope(Node, AbstractScope<?, ?>) - Method in class com.google.javascript.jscomp.SyntacticScopeCreator
- createScopeWithTemplates(StaticTypedScope, Iterable<TemplateType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Returns a new scope that includes the given template names for type resolution purposes.
- createSingleton(SingletonColorFields) - Static method in class com.google.javascript.jscomp.colors.Color
- createTemplateType(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- createTemplateType(String, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- 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, 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.
- createTrivialExterns() - Method in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
- createTypeFromCommentNode(Node) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- createTypeFromCommentNode(Node, String, StaticTypedScope) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a JSType from the nodes representing a type.
- createUndirectedGraphNode(N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
- createUnion(ImmutableSet<Color>) - Static method in class com.google.javascript.jscomp.colors.Color
- createUnionType(JSType...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a union type whose variants are the arguments.
- createUnionType(JSTypeNative...) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Creates a union type whose variants are the built-in types specified by the arguments.
- createUnionType(List<? extends JSType>) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- createWithInvalidatingNatives(ImmutableSet<NativeColorId>) - Static method in class com.google.javascript.jscomp.colors.ColorRegistry
- createWithoutAnnotations() - Static method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- CROSS_CHUNK_CODE_MOTION - Static variable in class com.google.javascript.jscomp.PassNames
- CROSS_CHUNK_METHOD_MOTION - Static variable in class com.google.javascript.jscomp.PassNames
- CrossChunkMethodMotion - Class in com.google.javascript.jscomp
-
Move prototype methods into later chunks.
- CrossChunkReferenceCollector - Class in com.google.javascript.jscomp
-
Collects global variable references for use by
CrossChunkCodeMotion
. - 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 - com.google.javascript.jscomp.CompilerOptions.Environment
-
Only language externs are loaded.
- customAnnotations - Variable in class com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo
- customPasses - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Custom passes
- CustomPassExecutionTime - Enum in com.google.javascript.jscomp
-
Custom pass type.
- CYCLIC_EXPORT_DEFINITION - Static variable in class com.google.javascript.jscomp.modules.EsModuleProcessor
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
- DATE_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- DATE_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- DEAD_ASSIGNMENT_ELIMINATION - Static variable in class com.google.javascript.jscomp.PassNames
- 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 and classes.
- DEBUGGER - com.google.javascript.jscomp.parsing.parser.Keywords
- DEBUGGER - com.google.javascript.jscomp.parsing.parser.TokenType
- DEBUGGER - com.google.javascript.rhino.Token
- DEBUGGER_STATEMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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
- DebugInfo - Class in com.google.javascript.jscomp.colors
-
Useful debugging info for Color objects that may or may not be populated, and thus should not effect their value.
- DebugInfo() - Constructor for class com.google.javascript.jscomp.colors.DebugInfo
- DebugInfo.Builder - Class in com.google.javascript.jscomp.colors
-
Builder for
DebugInfo
- dec(Node, boolean) - Static method in class com.google.javascript.rhino.IR
- DEC - com.google.javascript.rhino.Token
- declaration - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ExportDeclarationTree
- declaration(Node, Node, Token) - Static method in class com.google.javascript.rhino.IR
- declaration(Node, Token) - Static method in class com.google.javascript.rhino.IR
- DECLARATION - com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree.Kind
- 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
- DECLARE - com.google.javascript.jscomp.parsing.parser.TokenType
- DECLARE - com.google.javascript.rhino.Token
- declareConstructorProperty(String, JSType, Node) - Method in class com.google.javascript.rhino.NominalTypeBuilder
-
Declares a static property on the nominal type's constructor.
- DECLARED_GLOBAL_EXTERNS_ON_WINDOW - Static variable in class com.google.javascript.jscomp.PassNames
- declareInstanceProperty(String, JSType, Node) - Method in class com.google.javascript.rhino.NominalTypeBuilder
-
Declares an instance property on the nominal type.
- declareNameInScope(FlowScope, Node, JSType) - Method in class com.google.javascript.jscomp.type.ChainableReverseAbstractInterpreter
-
Declares a refined type in
scope
for the name represented bynode
. - declarePrototypeProperty(String, JSType, Node) - Method in class com.google.javascript.rhino.NominalTypeBuilder
-
Declares a property on the nominal type's prototype.
- declareType(StaticScope, String, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Records declared global type names.
- declareTypeForExactScope(StaticScope, String, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Records declared global type names.
- decode(Base64VLQ.CharIterator) - Static method in class com.google.debugging.sourcemap.Base64VLQ
-
Decodes the next VLQValue from the provided CharIterator.
- decode(String) - Method in class com.google.javascript.jscomp.ReplacedStringsDecoder
-
Decodes an encoded string from the JS Compiler ReplaceStrings pass.
- DEFAULT - com.google.debugging.sourcemap.SourceMapFormat
-
The latest "stable" format
- DEFAULT - com.google.javascript.jscomp.parsing.parser.Keywords
- DEFAULT - com.google.javascript.jscomp.parsing.parser.TokenType
- DEFAULT - com.google.javascript.jscomp.SourceMap.Format
- DEFAULT - com.google.javascript.jscomp.WarningLevel
- DEFAULT - com.google.javascript.jscomp.WarningsGuard.Priority
- DEFAULT_CASE - com.google.javascript.rhino.Token
- DEFAULT_CLAUSE - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- DEFAULT_EXPORT_GOOG_MODULE - Static variable in class com.google.javascript.jscomp.lint.CheckDefaultExportOfGoogModule
- DEFAULT_EXPORT_NAME - Static variable in class com.google.javascript.jscomp.modules.Export
-
The
Export.localName()
of anonymous ES module default exports, e.g. - DEFAULT_FILENAME_PREFIX - Static variable in class com.google.javascript.jscomp.deps.ModuleLoader
-
The default module root, the current directory.
- DEFAULT_PARAMETER - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- DEFAULT_PARAMETERS - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- DEFAULT_REDECLARATION_HANDLER - Static variable in class com.google.javascript.jscomp.SyntacticScopeCreator
- DEFAULT_VALUE - com.google.javascript.rhino.Token
- 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
- DefaultNameGenerator - Class in com.google.javascript.jscomp
-
A simple class for generating unique JavaScript variable/property names.
- DefaultNameGenerator() - Constructor for class com.google.javascript.jscomp.DefaultNameGenerator
- DefaultNameGenerator(Set<String>, String, char[]) - Constructor for class com.google.javascript.jscomp.DefaultNameGenerator
- DefaultNameGenerator(Set<String>, String, char[], char[]) - Constructor for class com.google.javascript.jscomp.DefaultNameGenerator
-
Creates a DefaultNameGenerator.
- 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, List<NominalTypeBuilder>, Map<String, String>) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Defines the delegate proxy prototype properties.
- defineDelegateProxyPrototypeProperties(JSTypeRegistry, List<NominalTypeBuilder>, Map<String, String>) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
- defineElement(String, Node) - Method in class com.google.javascript.rhino.jstype.EnumType
-
Defines a new element on this enum.
- defineInferredProperty(String, JSType, Node) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Defines a property whose type is inferred.
- defineReferenceAt(Node) - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
- defineSynthesizedProperty(String, JSType, Node) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Defines a property whose type is on a synthesized object.
- delete(Node) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Deletes a node and its contents from the source file.
- DELETE - com.google.javascript.jscomp.parsing.parser.Keywords
- DELETE - com.google.javascript.jscomp.parsing.parser.TokenType
- 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.
- deleteChildren(Node, AbstractCompiler) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Permanently delete all the children of the given node, including reporting changes.
- deleteFunctionCall(Node, AbstractCompiler) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Permanently delete the given call from the AST while maintaining a valid node structure, as well as report the related AST changes to the given compiler.
- deleteNode(Node, AbstractCompiler) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Permanently delete the given node from the AST, as well as report the related AST changes/deletions to the given compiler.
- 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.
- delprop(Node) - Static method in class com.google.javascript.rhino.IR
- DELPROP - com.google.javascript.rhino.Token
- 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.Require - Class in com.google.javascript.jscomp.deps
-
A dependency link between two files, e.g.
- DependencyInfo.Require.Type - Enum in com.google.javascript.jscomp.deps
- 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
- DependencyOptions.DependencyMode - Enum in com.google.javascript.jscomp
-
Describes how the compiler should manage dependencies.
- 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
- DepsFileRegexParser - Class in com.google.javascript.jscomp.deps
-
A parser that can extract dependency information from existing deps.js files.
- DepsFileRegexParser(Function<String, String>, ErrorManager) - Constructor for class com.google.javascript.jscomp.deps.DepsFileRegexParser
- DepsFileRegexParser(ErrorManager) - Constructor for class com.google.javascript.jscomp.deps.DepsFileRegexParser
-
Constructor
- DepsGenerator - Class in com.google.javascript.jscomp.deps
-
Generates deps.js files by scanning JavaScript files for calls to goog.provide(), goog.require() and goog.addDependency().
- DepsGenerator(Collection<SourceFile>, Collection<SourceFile>, DepsGenerator.InclusionStrategy, String, ErrorManager, ModuleLoader) - Constructor for class com.google.javascript.jscomp.deps.DepsGenerator
-
Creates a new DepsGenerator.
- DepsGenerator.InclusionStrategy - Enum in com.google.javascript.jscomp.deps
- dereference() - Method in class com.google.javascript.rhino.jstype.JSType
-
Dereferences 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 theNode
does not resemble a cache utility call. - describeCachingCall(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
- describeFunctionBind(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
-
A Bind instance or null.
- describeFunctionBind(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
- describeFunctionBind(Node, boolean, boolean) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
- describeFunctionBind(Node, boolean, boolean) - Method in interface com.google.javascript.jscomp.CodingConvention
-
A Bind instance or null.
- describeFunctionBind(Node, boolean, boolean) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
- description - Variable in enum com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleType
- deserialize(InputStream) - Static method in class com.google.javascript.jscomp.CompilerOptions
-
Deserializes compiler options from a stream.
- DESERIALIZE_COMPILER_STATE - Static variable in class com.google.javascript.jscomp.PassNames
- destinationName - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ExportSpecifierTree
- destinationName - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ImportSpecifierTree
- DestructuredTarget - Class in com.google.javascript.jscomp
-
Represents a single target inside a destructuring pattern, whether another pattern or a lhs expression.
- DESTRUCTURING_LHS - com.google.javascript.rhino.Token
- 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
-
Deprecated.use
Node.detach()
instead. The behavior is equivalent. - DEVIRTUALIZE_METHODS - Static variable in class com.google.javascript.jscomp.PassNames
- devirtualizeMethods - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Devirtualize prototype method by rewriting them to be static calls that take the this pointer as their first argument
- DiagnosticGroup - Class in com.google.javascript.jscomp
-
Group a set of related diagnostic types together, so that they can be toggled on and off as one unit.
- DiagnosticGroup(DiagnosticGroup...) - Constructor for class com.google.javascript.jscomp.DiagnosticGroup
-
Create a composite group.
- DiagnosticGroup(DiagnosticType...) - Constructor for class com.google.javascript.jscomp.DiagnosticGroup
-
Create a group that matches all errors of the given types.
- DiagnosticGroup(String, DiagnosticGroup...) - Constructor for class com.google.javascript.jscomp.DiagnosticGroup
-
Create a composite group.
- 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
- DiagnosticToSuppressionMapper - Class in com.google.javascript.jscomp
-
Used to print a map from diagnostic id to suppression.
- DiagnosticType - Class in com.google.javascript.jscomp
-
The type of a compile or analysis error.
- didParseSucceed() - Method in class com.google.javascript.jscomp.deps.JsFileLineParser
- diff - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
- differsFrom(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Whether this type is meaningfully different from
that
type for the purposes of data flow analysis. - DiGraph<N,E> - Class in com.google.javascript.jscomp.graph
-
A generic directed graph.
- DiGraph() - Constructor for class com.google.javascript.jscomp.graph.DiGraph
- DiGraph.DiGraphEdge<N,E> - Interface in com.google.javascript.jscomp.graph
-
A generic directed graph edge.
- DiGraph.DiGraphNode<N,E> - Interface in com.google.javascript.jscomp.graph
-
A generic directed graph node.
- DIRECT_EVAL - Static variable in class com.google.javascript.rhino.Node
- disabled(String, String) - Static method in class com.google.javascript.jscomp.DiagnosticType
-
Create a DiagnosticType at level CheckLevel.OFF
- disableJ2clMinifier() - Method in class com.google.javascript.jscomp.deps.ClosureBundler
- 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.J2clSuppressWarningsGuard
- 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.
- DISAMBIGUATE_PROPERTIES - Static variable in class com.google.javascript.jscomp.PassNames
- DisambiguateProperties - Class in com.google.javascript.jscomp.disambiguate
-
DisambiguateProperties renames properties to disambiguate between unrelated fields with the same name.
- DisambiguateProperties(AbstractCompiler, Map<String, CheckLevel>) - Constructor for class com.google.javascript.jscomp.disambiguate.DisambiguateProperties
- DisambiguateProperties2 - Class in com.google.javascript.jscomp.disambiguate
-
Assembles the various parts of the diambiguator to execute them as a compiler pass.
- DisambiguateProperties2(AbstractCompiler, ImmutableMap<String, CheckLevel>) - Constructor for class com.google.javascript.jscomp.disambiguate.DisambiguateProperties2
- disconnect(N, N) - Method in class com.google.javascript.jscomp.graph.Graph
-
Disconnects two nodes in the graph by removing all edges between them.
- disconnect(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- disconnect(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
- disconnectInDirection(N, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
-
Disconnects all edges from n1 to n2.
- disconnectInDirection(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- DIV - com.google.javascript.rhino.Token
- DO - com.google.javascript.jscomp.parsing.parser.Keywords
- DO - com.google.javascript.jscomp.parsing.parser.TokenType
- DO - com.google.javascript.rhino.Token
- DO_NOT_DUPLICATE - com.google.javascript.jscomp.deps.DepsGenerator.InclusionStrategy
- DO_WHILE_STATEMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- DOES_NOT_HAVE_EXPORT - Static variable in class com.google.javascript.jscomp.modules.ModuleMapCreator
- DOES_NOT_HAVE_EXPORT_WITH_DETAILS - Static variable in class com.google.javascript.jscomp.modules.ModuleMapCreator
- 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(Scanner) - Method in class com.google.javascript.refactoring.RefactoringDriver
-
Run a refactoring and return any suggested fixes as a result.
- drive(Scanner, Pattern) - Method in class com.google.javascript.refactoring.RefactoringDriver
-
Run a 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
- 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_EXPORT - Static variable in class com.google.javascript.jscomp.modules.EsModuleProcessor
- DUPLICATE_IMPORT - Static variable in class com.google.javascript.jscomp.lint.CheckEs6Modules
- DUPLICATE_MESSAGE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- DUPLICATE_NAMESPACES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- DUPLICATE_VARS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- DYNAMIC_IMPORT - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- DYNAMIC_IMPORT - com.google.javascript.rhino.Token
- DYNAMIC_IMPORT_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- DynamicImportTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Represents a dynamic import expression.
- DynamicImportTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.DynamicImportTree
E
- ECMASCRIPT_2015 - com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
ECMAScript standard approved in 2015.
- ECMASCRIPT_2016 - com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
ECMAScript standard approved in 2016.
- ECMASCRIPT_2017 - com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
ECMAScript standard approved in 2017.
- ECMASCRIPT_2018 - com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
ECMAScript standard approved in 2018.
- ECMASCRIPT_2018 - com.google.javascript.jscomp.parsing.Config.LanguageMode
- ECMASCRIPT_2019 - com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
ECMAScript standard approved in 2019.
- ECMASCRIPT_2019 - com.google.javascript.jscomp.parsing.Config.LanguageMode
- ECMASCRIPT_2020 - com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
ECMAScript standard approved in 2020.
- ECMASCRIPT_2020 - com.google.javascript.jscomp.parsing.Config.LanguageMode
- ECMASCRIPT_NEXT - com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
ECMAScript latest draft standard.
- ECMASCRIPT_NEXT_IN - com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
ECMAScript latest draft standard.
- ECMASCRIPT3 - com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
90's JavaScript
- ECMASCRIPT3 - com.google.javascript.jscomp.parsing.Config.LanguageMode
- ECMASCRIPT5 - com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
Traditional JavaScript
- ECMASCRIPT5 - com.google.javascript.jscomp.parsing.Config.LanguageMode
- ECMASCRIPT5_STRICT - com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
Nitpicky, traditional JavaScript
- ECMASCRIPT6 - com.google.javascript.jscomp.parsing.Config.LanguageMode
- ECMASCRIPT6_TYPED - com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
A superset of ES6 which adds Typescript-style type declarations.
- ECMASCRIPT7 - com.google.javascript.jscomp.parsing.Config.LanguageMode
- ECMASCRIPT8 - com.google.javascript.jscomp.parsing.Config.LanguageMode
- edge - Variable in class com.google.javascript.jscomp.graph.GraphReachability.EdgeTuple
- EdgeTuple(N, E, N) - Constructor for class com.google.javascript.jscomp.graph.GraphReachability.EdgeTuple
- elements - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ArrayLiteralExpressionTree
- elements - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ArrayPatternTree
- elements - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ClassDeclarationTree
- elements - Variable in class com.google.javascript.jscomp.parsing.parser.trees.TemplateLiteralExpressionTree
- elements() - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
- elements() - Method in interface com.google.javascript.jscomp.graph.UnionFind
-
Returns an unmodifiable set of all elements added to the UnionFind.
- ELLIPSIS - com.google.javascript.jscomp.parsing.parser.TokenType
- ELSE - com.google.javascript.jscomp.parsing.parser.Keywords
- ELSE - com.google.javascript.jscomp.parsing.parser.TokenType
- 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 method in class com.google.javascript.rhino.HamtPMap
-
Returns an empty map.
- empty() - Static method in class com.google.javascript.rhino.IR
- Empty() - Constructor for class com.google.javascript.jscomp.regex.RegExpTree.Empty
- EMPTY - com.google.javascript.rhino.jstype.BooleanLiteralSet
- EMPTY - com.google.javascript.rhino.Token
- EMPTY - Static variable in class com.google.javascript.jscomp.bundle.CompilerBasedTransformer.CompilerSupplier
- 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_STATEMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- emptyForTesting() - Static method in class com.google.javascript.jscomp.modules.ModuleMap
- emptyForTesting() - Static method in class com.google.javascript.jscomp.modules.ModuleMetadataMap
- emptyFunction() - Static method in class com.google.javascript.jscomp.NodeUtil
- 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
- emptyWithFileName(String, StaticSourceFile.SourceKind) - Static method in class com.google.javascript.jscomp.SyntheticAst
- 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.
- encode(Appendable, int) - Static method in class com.google.debugging.sourcemap.Base64VLQ
-
Writes a VLQ encoded value to the provide appendable.
- end - Variable in class com.google.javascript.jscomp.parsing.parser.util.SourceRange
- END_OF_FILE - com.google.javascript.jscomp.parsing.parser.TokenType
- ensureLibraryInjected(String, boolean) - Method in class com.google.javascript.jscomp.Compiler
- 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.
- enterChangeScopeRoot(AbstractCompiler, Node) - Method in interface com.google.javascript.jscomp.NodeTraversal.ChangeScopeRootCallback
- enterModule(ModuleMetadataMap.ModuleMetadata, Node) - Method in class com.google.javascript.jscomp.ClosureCheckModule
- enterModule(ModuleMetadataMap.ModuleMetadata, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractModuleCallback
-
Called when the traversal enters a global file or module.
- enterScope(NodeTraversal) - Method in class com.google.javascript.jscomp.CrossChunkReferenceCollector
-
Updates block stack and invokes any additional behavior.
- enterScope(NodeTraversal) - Method in class com.google.javascript.jscomp.FindModuleDependencies
- 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.
- ENUM - com.google.javascript.jscomp.parsing.parser.Keywords
- ENUM - com.google.javascript.jscomp.parsing.parser.TokenType
- ENUM - com.google.javascript.rhino.Token
- ENUM_MEMBERS - com.google.javascript.rhino.Token
- ENUM_PROP_NOT_CONSTANT - Static variable in class com.google.javascript.jscomp.lint.CheckEnums
- ENUM_TYPE_NOT_STRING_OR_NUMBER - Static variable in class com.google.javascript.jscomp.lint.CheckEnums
- 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
). - EnumType - Class in com.google.javascript.rhino.jstype
-
An enum type representing a branded collection of elements.
- EOC - com.google.javascript.rhino.Token
- eq(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
"=="
- EQ - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- EQ - com.google.javascript.rhino.Token
- EQUAL - com.google.javascript.jscomp.parsing.parser.TokenType
- EQUAL_EQUAL - com.google.javascript.jscomp.parsing.parser.TokenType
- EQUAL_EQUAL_EQUAL - com.google.javascript.jscomp.parsing.parser.TokenType
- equals(Object) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.FlagEntry
- equals(Object) - Method in class com.google.javascript.jscomp.colors.DebugInfo
-
All DebugInfo objects are equal
- 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.modules.ModuleMetadataMap.ModuleMetadata
- equals(Object) - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
- equals(Object) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Alternation
- equals(Object) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Anchor
- equals(Object) - Method in class com.google.javascript.jscomp.regex.RegExpTree.BackReference
- equals(Object) - Method in class com.google.javascript.jscomp.regex.RegExpTree.CapturingGroup
- equals(Object) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Charset
- equals(Object) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Concatenation
- equals(Object) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Empty
- equals(Object) - Method in class com.google.javascript.jscomp.regex.RegExpTree
- equals(Object) - Method in class com.google.javascript.jscomp.regex.RegExpTree.LookaheadAssertion
- equals(Object) - Method in class com.google.javascript.jscomp.regex.RegExpTree.LookbehindAssertion
- equals(Object) - Method in class com.google.javascript.jscomp.regex.RegExpTree.NamedBackReference
- equals(Object) - Method in class com.google.javascript.jscomp.regex.RegExpTree.NamedCaptureGroup
- equals(Object) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Repetition
- equals(Object) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Text
- equals(Object) - Method in class com.google.javascript.jscomp.regex.RegExpTree.UnicodePropertyEscape
- equals(Object) - Method in class com.google.javascript.jscomp.regex.RegExpTree.WordBoundary
- equals(Object) - Method in class com.google.javascript.jscomp.SourceMap.PrefixLocationMapping
- 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.rhino.InputId
- equals(Object) - Method in class com.google.javascript.rhino.jstype.JSType
- equals(Object) - Method in class com.google.javascript.rhino.JSTypeExpression
- EQUALS - com.google.javascript.rhino.Token
- equalsIgnoreLeadingSlash(ModuleLoader.ModulePath) - Method in class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath
-
Determines if this path is the same as another path, ignoring any potential leading slashes on both.
- equivalent(PMap<K, V>, BiPredicate<V, V>) - Method in class com.google.javascript.rhino.HamtPMap
-
Checks equality recursively based on the given equivalence.
- equivalent(PMap<K, V>, BiPredicate<V, V>) - Method in interface com.google.javascript.rhino.PMap
-
Checks equality recursively based on the given equivalence.
- 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 interface com.google.javascript.rhino.ErrorReporter
-
Report an error.
- error(String, String, int, int) - Method in class com.google.javascript.rhino.SimpleErrorReporter
- ERROR - com.google.javascript.jscomp.CheckLevel
- ERROR - com.google.javascript.jscomp.CheckLevelLegacy
- ERROR - com.google.javascript.jscomp.parsing.parser.TokenType
- 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.
- errorMessage - Variable in class com.google.javascript.jscomp.parsing.parser.TemplateLiteralToken
- errorPosition - Variable in class com.google.javascript.jscomp.parsing.parser.TemplateLiteralToken
- ErrorReporter - Class in com.google.javascript.jscomp.parsing.parser.util
-
A conduit for reporting errors and warnings to the user.
- ErrorReporter - Interface in com.google.javascript.rhino
-
This is interface defines a protocol for the reporting of errors during JavaScript translation or execution.
- ErrorReporter() - Constructor for class com.google.javascript.jscomp.parsing.parser.util.ErrorReporter
- errors - Variable in class com.google.javascript.jscomp.bundle.CompilerBasedTransformer.CompileResult
- errors - Variable in class com.google.javascript.jscomp.JsAst.ParseResult
- errors - Variable in class com.google.javascript.jscomp.Result
- errors() - Method in exception com.google.javascript.jscomp.bundle.TranspilationException
- ErrorToFixMapper - Class in com.google.javascript.refactoring
-
Maps a
JSError
to a list ofSuggestedFix
es, if possible. - ErrorToFixMapper(AbstractCompiler) - Constructor for class com.google.javascript.refactoring.ErrorToFixMapper
- ES_MODULE - com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo.ModuleType
- ES_NEXT - com.google.javascript.jscomp.parsing.Config.LanguageMode
- ES_NEXT - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
- ES_NEXT_IN - com.google.javascript.jscomp.parsing.Config.LanguageMode
- ES_NEXT_IN - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
- ES_UNSUPPORTED - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
- ES2018 - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
- ES2018_MODULES - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
- ES2019 - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
- ES2019_MODULES - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
- ES2020 - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
- ES2020_MODULES - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
- ES3 - com.google.javascript.jscomp.parsing.parser.Parser.Config.Mode
- ES3 - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Features from ES3.
- ES3_KEYWORDS_AS_IDENTIFIERS - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- ES5 - com.google.javascript.jscomp.parsing.parser.Parser.Config.Mode
- 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.bundle.Transpiler
- ES5_TRANSPILER - Static variable in class com.google.javascript.jscomp.transpile.BaseTranspiler
- ES5_WARNINGS - Static variable in class com.google.javascript.jscomp.bundle.CompilerBasedTransformer.CompilerSupplier
- ES6 - com.google.javascript.jscomp.CompilerInput.ModuleType
- ES6 - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
The full set of ES6 features, not including modules.
- ES6_EXTRACT_CLASSES - Static variable in class com.google.javascript.jscomp.PassNames
- ES6_IMPORT - com.google.javascript.jscomp.deps.DependencyInfo.Require.Type
-
ES6 import statement.
- ES6_MODULE - com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleType
- ES6_MODULE - Static variable in class com.google.javascript.rhino.Node
- ES6_MODULES - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
All ES6 features, including modules.
- ES6_OR_ES7 - com.google.javascript.jscomp.parsing.parser.Parser.Config.Mode
- ES6_REWRITE_CLASS_EXTENDS - Static variable in class com.google.javascript.jscomp.PassNames
- Es6CheckModule - Class in com.google.javascript.jscomp
-
Checks that ES6 Modules are used correctly, and do not reference undefined keywords or features.
- Es6CheckModule(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6CheckModule
- 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.
- Es6ForOfConverter - Class in com.google.javascript.jscomp
-
Converts ES6 "for of" loops to ES5.
- Es6ForOfConverter(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6ForOfConverter
- es6Import(String, String) - Static method in class com.google.javascript.jscomp.deps.DependencyInfo.Require
- es6ImportSpecifiers() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
-
Raw text of all ES6 import specifiers (includes "export from" as well).
- es6ImportSpecifiersBuilder() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata.Builder
- Es6NormalizeShorthandProperties - Class in com.google.javascript.jscomp
-
Normalizes shorthand object properties.
- Es6NormalizeShorthandProperties(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6NormalizeShorthandProperties
- Es6RelativizeImportPaths - Class in com.google.javascript.jscomp
-
Rewrites ES6 import paths to be relative after resolving according to the compiler's module resolver.
- Es6RelativizeImportPaths(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6RelativizeImportPaths
- 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
- Es6RewriteBlockScopedFunctionDeclaration - Class in com.google.javascript.jscomp
-
Rewrite block-scoped function declarations as "let"s.
- Es6RewriteBlockScopedFunctionDeclaration(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6RewriteBlockScopedFunctionDeclaration
- Es6RewriteClass - Class in com.google.javascript.jscomp
-
Converts ES6 classes to valid ES5 or ES3 code.
- Es6RewriteClass(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6RewriteClass
- Es6RewriteClassExtendsExpressions - Class in com.google.javascript.jscomp
-
Extracts ES6 class extends expressions and creates an alias.
- Es6RewriteDestructuring - Class in com.google.javascript.jscomp
-
Rewrites destructuring patterns and default parameters to valid ES3 code or to a different form of destructuring.
- Es6RewriteModules - Class in com.google.javascript.jscomp
-
Rewrites a ES6 module into a form that can be safely concatenated.
- Es6RewriteModulesToCommonJsModules - Class in com.google.javascript.jscomp
-
Rewrites an ES6 module to a CommonJS-like module for the sake of per-file transpilation + bunlding (e.g.
- Es6RewriteModulesToCommonJsModules(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6RewriteModulesToCommonJsModules
- Es6RewriteRestAndSpread - Class in com.google.javascript.jscomp
-
Converts REST parameters and SPREAD expressions.
- Es6RewriteRestAndSpread(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6RewriteRestAndSpread
- Es6RewriteScriptsToModules - Class in com.google.javascript.jscomp
-
Rewrites a script which was imported as a module into an ES6 module.
- Es6RewriteScriptsToModules(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6RewriteScriptsToModules
-
Creates a new Es6RewriteModules instance which can be used to rewrite ES6 modules to a concatenable form.
- 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
- Es6ToEs3ClassSideInheritance - Class in com.google.javascript.jscomp
-
Rewrites static inheritance to explicitly copy inherited properties from superclass to subclass so that the optimizer knows the subclass has those properties.
- Es6ToEs3ClassSideInheritance(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es6ToEs3ClassSideInheritance
- Es6ToEs3Util - Class in com.google.javascript.jscomp
-
Util functions for converting Es6 to Es5
- Es6ToEs3Util() - Constructor for class com.google.javascript.jscomp.Es6ToEs3Util
- 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
- Es7RewriteExponentialOperator - Class in com.google.javascript.jscomp
-
Replaces the ES7 `**` and `**=` operators to calls to `Math.pow`.
- Es7RewriteExponentialOperator(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.Es7RewriteExponentialOperator
- 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
- ES8_OR_GREATER - com.google.javascript.jscomp.parsing.parser.Parser.Config.Mode
- escape(String) - Method in enum com.google.javascript.jscomp.deps.ModuleLoader.PathEscaper
- ESCAPE - com.google.javascript.jscomp.deps.ModuleLoader.PathEscaper
-
Escapes characters in paths according to
ModuleNames.escapePath(String)
and then canonicalizes it. - EsModuleProcessor - Class in com.google.javascript.jscomp.modules
-
Collects information related to and resolves ES imports and exports.
- estimatedSize() - Method in class com.google.javascript.jscomp.bundle.Source
-
A best estimate of the size of this source (in case the source itself is not yet loaded.
- evaluate(StaticTypedScope, JSTypeRegistry) - Method in class com.google.javascript.rhino.JSTypeExpression
-
Evaluates the type expression into a
JSType
object. - evaluateTypeExpression(JSTypeExpression, StaticTypedScope) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- evaluateTypeExpressionInGlobalScope(JSTypeExpression) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- EVERY_PASS - com.google.javascript.jscomp.CompilerOptions.DevMode
-
After every pass
- EXACT - com.google.javascript.jscomp.TypeMatchingStrategy
-
Does not match subtypes.
- 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
- EXCLUDE - com.google.javascript.jscomp.ShowByPathWarningsGuard.ShowType
- execute() - Method in class com.google.javascript.jscomp.ant.CompileTask
- exitModule(ModuleMetadataMap.ModuleMetadata, Node) - Method in class com.google.javascript.jscomp.ClosureCheckModule
- exitModule(ModuleMetadataMap.ModuleMetadata, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractModuleCallback
-
Called when the traversal exits a global file or module.
- exitScope(NodeTraversal) - Method in class com.google.javascript.jscomp.CrossChunkReferenceCollector
-
Updates block stack and invokes any additional behavior.
- exitScope(NodeTraversal) - Method in class com.google.javascript.jscomp.FindModuleDependencies
- 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. - expectStrictModeInput() - Method in class com.google.javascript.jscomp.CompilerOptions
- EXPLICIT - com.google.javascript.rhino.jstype.JSType.Nullability
-
Include an explicit '!' for non-nullable reference types.
- EXPLOIT_ASSIGN - Static variable in class com.google.javascript.jscomp.PassNames
- EXPONENT - com.google.javascript.rhino.Token
- EXPONENT_OP - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- export(Node) - Static method in class com.google.javascript.rhino.IR
- Export - Class in com.google.javascript.jscomp.modules
-
An
export
ed name in a module. - EXPORT - com.google.javascript.jscomp.parsing.parser.Keywords
- EXPORT - com.google.javascript.jscomp.parsing.parser.TokenType
- EXPORT - com.google.javascript.rhino.Token
- EXPORT_ALL - com.google.javascript.jscomp.PolymerExportPolicy
-
Add all Polymer properties and methods to the externs.
- EXPORT_ALL_FROM - Static variable in class com.google.javascript.rhino.Node
- EXPORT_DECLARATION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- EXPORT_DEFAULT - Static variable in class com.google.javascript.rhino.Node
- EXPORT_SPEC - com.google.javascript.rhino.Token
- EXPORT_SPECIFIER - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- EXPORT_SPECS - com.google.javascript.rhino.Token
- EXPORT_TEST_FUNCTIONS - Static variable in class com.google.javascript.jscomp.PassNames
- 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
- exportName() - Method in class com.google.javascript.jscomp.modules.Export
-
Returns the name of this export or null if this is an
export * from
. - exportNode() - Method in class com.google.javascript.jscomp.modules.Export
-
Node that this export originates from.
- 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.
- EXPR_RESULT - com.google.javascript.rhino.Token
- 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.IterSpreadTree
- expression - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ObjectSpreadTree
- 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.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
- EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree.Kind
- EXPRESSION_STATEMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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
- EXTENDED_OBJECT_LITERALS - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- EXTENDS - com.google.javascript.jscomp.parsing.parser.Keywords
- EXTENDS - com.google.javascript.jscomp.parsing.parser.TokenType
- EXTERN - com.google.javascript.jscomp.AbstractCommandLineRunner.JsSourceType
- EXTERN - com.google.javascript.rhino.StaticSourceFile.SourceKind
-
A file whose contents are extern declarations.
- EXTERN_EXPORTS - Static variable in class com.google.javascript.jscomp.PassNames
- ExternalSourceLoader() - Constructor for class com.google.javascript.jscomp.Compiler.ExternalSourceLoader
- externExport - Variable in class com.google.javascript.jscomp.Result
- EXTERNS - Static variable in class com.google.javascript.jscomp.bundle.CompilerBasedTransformer.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
- ExternsSkippingCallback() - Constructor for class com.google.javascript.jscomp.NodeTraversal.ExternsSkippingCallback
- EXTRA_REQUIRE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- EXTRA_REQUIRE_WARNING - Static variable in class com.google.javascript.jscomp.lint.CheckExtraRequires
- EXTRACT_PROTOTYPE_MEMBER_DECLARATIONS - Static variable in class com.google.javascript.jscomp.PassNames
- 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
- Factory() - Constructor for class com.google.javascript.jscomp.deps.NodeModuleResolver.Factory
- Factory(ImmutableMap<String, String>) - Constructor for class com.google.javascript.jscomp.deps.BrowserWithTransformedPrefixesModuleResolver.Factory
- Factory(Map<String, String>) - Constructor for class com.google.javascript.jscomp.deps.NodeModuleResolver.Factory
- Factory(Map<String, String>) - Constructor for class com.google.javascript.jscomp.deps.WebpackModuleResolver.Factory
- FACTORY - Static variable in class com.google.javascript.jscomp.deps.BrowserModuleResolver
- FALSE - com.google.javascript.jscomp.parsing.parser.Keywords
- FALSE - com.google.javascript.jscomp.parsing.parser.TokenType
- FALSE - com.google.javascript.jscomp.type.Outcome
-
Represents falsy values.
- FALSE - com.google.javascript.rhino.jstype.BooleanLiteralSet
- FALSE - com.google.javascript.rhino.jstype.TernaryValue
-
false
- FALSE - com.google.javascript.rhino.Outcome
-
Represents falsy values.
- FALSE - com.google.javascript.rhino.Token
- FALSE_NOT_NULL - com.google.javascript.rhino.Outcome
- falseNode() - Static method in class com.google.javascript.rhino.IR
- FEATURE_SET - Static variable in class com.google.javascript.rhino.Node
- features - Variable in class com.google.javascript.jscomp.parsing.ParserRunner.ParseResult
- FEATURES_NOT_SUPPORTED_BY_PASS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- 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 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
- FileAwareWarningsGuard - Class in com.google.javascript.jscomp
-
An abstract WarningsGuard that provides an additional getScriptNodeForError() method for accessing the containing SCRIPT node of the AST in a robust way.
- FileAwareWarningsGuard(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.FileAwareWarningsGuard
- FileInfo() - Constructor for class com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo
- filenameToOutputStream(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Converts a file name into a Outputstream.
- FilePosition - Class in com.google.debugging.sourcemap
-
Represents a position in a source file.
- FilePosition(int, int) - Constructor for class com.google.debugging.sourcemap.FilePosition
- 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.
- FILTER_BY_PATH - com.google.javascript.jscomp.WarningsGuard.Priority
- FINALLY - com.google.javascript.jscomp.parsing.parser.Keywords
- FINALLY - com.google.javascript.jscomp.parsing.parser.TokenType
- FINALLY - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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
. - findAll(Set<N>) - Method in class com.google.javascript.jscomp.graph.LowestCommonAncestorFinder
-
Execute a search on all the elements of
roots
. - findClosestDefinition(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Returns the closest definition of the property including this type itself.
- findImplicitNullabilityResults(JSDocInfo, NodeTraversal) - Static method in class com.google.javascript.jscomp.ImplicitNullabilityCheck
-
Finds and returns all the JSDoc nodes inside the given JSDoc object whose nullability is not explict, using the NodeTraversal the necessary state (current scope, etc.)
- findJsFiles(Collection<String>) - Static method in class com.google.javascript.jscomp.CommandLineRunner
-
Returns all the JavaScript files from the set of patterns.
- findLhsNodesInNode(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Retrieves lhs nodes declared or assigned in a given assigning parent node.
- FindModuleDependencies - Class in com.google.javascript.jscomp
-
Find and update any direct dependencies of an input.
- findPreorder(Node, Predicate<Node>, Predicate<Node>) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Returns the first Node matching the given pred via a pre-order traversal.
- 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.
- findPropertyTypeWithoutConsideringTemplateTypes(String) - Method in class com.google.javascript.rhino.jstype.EnumElementType
- findPropertyTypeWithoutConsideringTemplateTypes(String) - Method in class com.google.javascript.rhino.jstype.JSType
-
Looks up a property on this type, but without properly replacing any templates in the result.
- findPropertyTypeWithoutConsideringTemplateTypes(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
- findPropertyTypeWithoutConsideringTemplateTypes(String) - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
- findPropertyTypeWithoutConsideringTemplateTypes(String) - Method in class com.google.javascript.rhino.jstype.UnionType
- firstPreciserScopeKnowingConditionOutcome(Node, FlowScope, Outcome) - 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.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
- FixingErrorManager(ImmutableSet<DiagnosticType>) - Constructor for class com.google.javascript.refactoring.FixingErrorManager
- FlagEntry(T, String) - Constructor for class com.google.javascript.jscomp.AbstractCommandLineRunner.FlagEntry
- FlagUsageException - Exception in com.google.javascript.jscomp
-
An exception thrown when command-line flags are used incorrectly.
- FlagUsageException(String) - Constructor for exception com.google.javascript.jscomp.FlagUsageException
- FLOW_SENSITIVE_INLINE_VARIABLES - Static variable in class com.google.javascript.jscomp.PassNames
- FlowScope - Interface in com.google.javascript.jscomp.type
-
A symbol table for inferring types during data flow analysis.
- flowSensitiveInlineVariables - Variable in class com.google.javascript.jscomp.CompilerOptions
- foldConstants - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Folds constants (e.g.
- FOR - com.google.javascript.jscomp.parsing.parser.Keywords
- FOR - com.google.javascript.jscomp.parsing.parser.TokenType
- FOR - com.google.javascript.rhino.Token
- FOR_AWAIT_OF - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- FOR_AWAIT_OF - com.google.javascript.rhino.Token
- FOR_AWAIT_OF_STATEMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- FOR_IN - com.google.javascript.rhino.Token
- FOR_IN_STATEMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- FOR_OF - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- FOR_OF - com.google.javascript.rhino.Token
- FOR_OF_STATEMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- FOR_STATEMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- ForAwaitOfStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Represents a for-await-of statement, which was added in ES2018
- ForAwaitOfStatementTree(SourceRange, ParseTree, ParseTree, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ForAwaitOfStatementTree
- forBoolean(boolean) - Static method in enum com.google.javascript.jscomp.type.Outcome
-
Gets the Outcome for the given boolean.
- forBoolean(boolean) - Static method in enum com.google.javascript.rhino.jstype.TernaryValue
-
Gets the TernaryValue for the given boolean.
- forBoolean(boolean) - Static method in enum com.google.javascript.rhino.Outcome
-
Gets the Outcome for the given boolean.
- forClosure(String) - Static method in class com.google.javascript.jscomp.ModuleIdentifier
-
Returns an identifier for a Closure namespace.
- forConstructor() - Method in class com.google.javascript.rhino.jstype.FunctionType.Builder
-
Make this a constructor.
- forFile(String) - Static method in class com.google.javascript.jscomp.ModuleIdentifier
-
Returns an identifier for an ES or CommonJS module.
- forFlagValue(String) - Static method in class com.google.javascript.jscomp.ModuleIdentifier
-
Returns an identifier for an --entry_point flag value.
- 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
- forInference(JSTypeRegistry, Map<TemplateType, JSType>) - Static method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
-
Creates a replacer for use during
TypeInference
. - 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
- forInterface() - Method in class com.google.javascript.rhino.jstype.FunctionType.Builder
-
Make this an interface.
- FORMAL_PARAMETER_LIST - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- formalParameterList - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
- FormalParameterListTree - Class in com.google.javascript.jscomp.parsing.parser.trees
- FormalParameterListTree(SourceRange, ImmutableList<ParseTree>, boolean, ImmutableList<SourcePosition>) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.FormalParameterListTree
- forMap(String, int, int) - Static method in class com.google.debugging.sourcemap.SourceMapSection
- format - Variable in class com.google.javascript.jscomp.DiagnosticType
-
The default way to format errors.
- format(CheckLevel, MessageFormatter) - Method in class com.google.javascript.jscomp.JSError
-
Format a message at the given level.
- format(String, Object...) - Static method in class com.google.javascript.jscomp.parsing.parser.util.format.SimpleFormat
-
Writes a formatted string to the output destination of the
Formatter
. - forMatchesReturn() - Static method in class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
- 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.AllowlistWarningsGuard
-
If subclasses want to modify the formatting, they should override #formatWarning(JSError, boolean), not this method.
- 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, boolean) - Method in class com.google.javascript.jscomp.AllowlistWarningsGuard
- forName(String) - Static 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
- forPartialReplacement(JSTypeRegistry, TemplateTypeMap) - Static method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
-
Creates a replacer that may not totally eliminate
TemplateType
s from the definitions of the types it performs replacement on. - 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
- forTotalReplacement(JSTypeRegistry, TemplateTypeMap) - Static method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
-
Creates a replacer that will always totally eliminate
TemplateType
s from the definitions of the types it performs replacement on. - forTruthy() - Static method in class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
- forType(DiagnosticType) - Static method in class com.google.javascript.jscomp.DiagnosticGroup
-
Create a diagnostic group that matches only the given type.
- forURL(String, int, int) - Static method in class com.google.debugging.sourcemap.SourceMapSection
- forwardDeclareType(String) - Method in class com.google.javascript.jscomp.Compiler
- FREE_CALL - Static variable in class com.google.javascript.rhino.Node
- from - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ExportDeclarationTree
- from(DependencyInfo) - Static method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo.Builder
- FROM - Static variable in class com.google.javascript.jscomp.parsing.parser.PredefinedName
- fromBase64(char) - Static method in class com.google.debugging.sourcemap.Base64
- fromBytes(byte[]) - Static method in class com.google.javascript.jscomp.VariableMap
-
Deserializes the variable map from a byte array returned by
VariableMap.toBytes()
. - fromCode(String, String) - Static method in class com.google.javascript.jscomp.SourceFile
- fromCode(String, String, StaticSourceFile.SourceKind) - Static method in class com.google.javascript.jscomp.SourceFile
- fromFile(File) - Static method in class com.google.javascript.jscomp.AllowlistWarningsGuard
-
Creates a warnings guard from a file.
- fromFile(String) - Static method in class com.google.javascript.jscomp.SourceFile
- fromFile(String, Charset) - Static method in class com.google.javascript.jscomp.SourceFile
- fromFile(String, Charset, StaticSourceFile.SourceKind) - Static method in class com.google.javascript.jscomp.SourceFile
- fromFlags(DependencyOptions.DependencyMode, List<String>, List<String>, String, boolean, boolean) - Static method in class com.google.javascript.jscomp.DependencyOptions
-
A helper function for validating dependency management flags and converting them into a
DependencyOptions
object. - 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.
- fromPath(Path, Charset) - Static method in class com.google.javascript.jscomp.SourceFile
- fromPath(Path, Charset, StaticSourceFile.SourceKind) - Static method in class com.google.javascript.jscomp.SourceFile
- 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.InstrumentOption
- fromString(String) - Static method in enum com.google.javascript.jscomp.CompilerOptions.LanguageMode
- fromStringId(String) - Static method in enum com.google.javascript.rhino.ClosurePrimitive
-
Returns the ClosurePrimitive corresponding to the given string id.
- fromTraversal(NodeTraversal) - Static method in class com.google.javascript.refactoring.NodeMetadata
- fromZipEntry(String, String, String, Charset) - Static method in class com.google.javascript.jscomp.SourceFile
- fromZipEntry(String, String, String, Charset, StaticSourceFile.SourceKind) - Static method in class com.google.javascript.jscomp.SourceFile
- fromZipFile(String, Charset) - Static method in class com.google.javascript.jscomp.SourceFile
- fromZipInput(String, InputStream, Charset) - Static method in class com.google.javascript.jscomp.SourceFile
- FULL - com.google.javascript.jscomp.ErrorFormat
- FULL - com.google.javascript.jscomp.SourceExcerptProvider.SourceExcerpt
-
Multiple lines excerpt.
- function(Node, Node, Node) - Static method in class com.google.javascript.rhino.IR
- FUNCTION - com.google.javascript.jscomp.parsing.parser.Keywords
- FUNCTION - com.google.javascript.jscomp.parsing.parser.TokenType
- FUNCTION - com.google.javascript.rhino.Token
- FUNCTION_DECLARATION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- FUNCTION_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- FUNCTION_INSTANCE_PROTOTYPE - com.google.javascript.rhino.jstype.JSTypeNative
- FUNCTION_PARAMS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- FUNCTION_PROTOTYPE - com.google.javascript.rhino.jstype.JSTypeNative
- FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- FUNCTION_TYPE - com.google.javascript.rhino.Token
- functionBody - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
- 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
- FunctionParamBuilder - Class in com.google.javascript.rhino.jstype
-
A builder for the list representing FunctionType Parameters
- FunctionParamBuilder(JSTypeRegistry) - Constructor for class com.google.javascript.rhino.jstype.FunctionParamBuilder
- 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.
- 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.Builder - Class in com.google.javascript.rhino.jstype
-
A builder class for function and arrow types.
- FunctionType.Parameter - Class in com.google.javascript.rhino.jstype
-
Models a single JavaScript parameter.
- fuseExpressions(Node, Node) - Static method in class com.google.javascript.jscomp.AstManipulations
-
Returns a single node equivalent to executing
<expr1, expr2>
.
G
- GATHER_GETTERS_AND_SETTERS - Static variable in class com.google.javascript.jscomp.PassNames
- GATHER_MODULE_METADATA - Static variable in class com.google.javascript.jscomp.PassNames
- GATHER_RAW_EXPORTS - Static variable in class com.google.javascript.jscomp.PassNames
- gatherCssNames - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Gather CSS names (requires closurePass)
- GatherGetterAndSetterProperties - Class in com.google.javascript.jscomp
-
Finds getter and setter properties in the AST.
- GatherModuleMetadata - Class in com.google.javascript.jscomp
-
Gathers metadata around modules that is useful for checking imports / requires and creates a
ModuleMetadataMap
. - GatherModuleMetadata(AbstractCompiler, boolean, ModuleLoader.ResolutionMode) - Constructor for class com.google.javascript.jscomp.GatherModuleMetadata
- ge(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
">="
- GE - com.google.javascript.rhino.Token
- GENERATE_EXPORTS - Static variable in class com.google.javascript.jscomp.PassNames
- GENERATE_IJS - com.google.javascript.jscomp.CompilerOptions.IncrementalCheckMode
-
The compiler should generate an output file that represents the type-only interface of the code being compiled.
- generateCode(AbstractCompiler, Node) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
- generateExports - Variable in class com.google.javascript.jscomp.CompilerOptions
- GenerateExports - Class in com.google.javascript.jscomp
-
Generates goog.exportSymbol/goog.exportProperty for the @export annotation.
- 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.DefaultNameGenerator
-
Generates the next short name.
- generateNextName() - Method in interface com.google.javascript.jscomp.NameGenerator
-
Generates the next name.
- 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
-
Deprecated.
- generateReport() - Method in class com.google.javascript.jscomp.Compiler
-
Generates a report of all warnings and errors found during compilation to stderr.
- 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.SortingErrorManager
- generateReport() - Method in class com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager
- generateReport(SortingErrorManager) - Method in class com.google.javascript.jscomp.JsonErrorReportGenerator
- generateReport(SortingErrorManager) - Method in class com.google.javascript.jscomp.PrintStreamErrorReportGenerator
- generateReport(SortingErrorManager) - Method in interface com.google.javascript.jscomp.SortingErrorManager.ErrorReportGenerator
- generateTypePool() - Method in class com.google.javascript.rhino.serialization.TypePoolCreator
-
Generates a "type-pool" representing all the types that this class has encountered through calls to
typeToPointer(Object, Supplier)
. - GENERATOR - com.google.javascript.jscomp.parsing.parser.trees.ComprehensionTree.ComprehensionType
- GENERATOR_FN - Static variable in class com.google.javascript.rhino.Node
- GENERATOR_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- GENERATOR_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- GENERATORS - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- GENERIC_TYPE - com.google.javascript.rhino.Token
- GENERIC_TYPE_LIST - com.google.javascript.rhino.Token
- GENERIC_TYPE_LIST - Static variable in class com.google.javascript.rhino.Node
- get(boolean) - Static method in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
-
Returns the singleton set {literalValue}.
- get(NativeColorId) - Method in class com.google.javascript.jscomp.colors.ColorRegistry
- get(TokenType) - Static method in enum com.google.javascript.jscomp.parsing.parser.Keywords
- get(SourceExcerptProvider, String, int, 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(SourceExcerptProvider, String, int, SourceExcerptProvider.ExcerptFormatter) - Method in enum com.google.javascript.jscomp.SourceExcerptProvider.SourceExcerpt
-
Get a source excerpt string based on the type of the source excerpt.
- get(String) - Method in class com.google.javascript.jscomp.CssRenamingMap.ByPart
- get(String) - Method in class com.google.javascript.jscomp.CssRenamingMap.ByWhole
- get(String) - Method in interface com.google.javascript.jscomp.CssRenamingMap
- get(String) - Static method in enum com.google.javascript.jscomp.parsing.parser.Keywords
- get(String) - Method in interface com.google.javascript.jscomp.RenamingMap
- get(String) - Method in class com.google.javascript.jscomp.Xid
-
Gets the string that should be substituted for
key
. - get(K) - Method in class com.google.javascript.rhino.HamtPMap
-
Retrieves the value associated with the given key from the map, or returns null if it is not present.
- get(K) - Method in interface com.google.javascript.rhino.PMap
-
Retrieves the given key from the map, or returns null if it is not present.
- GET - Static variable in class com.google.javascript.jscomp.parsing.parser.PredefinedName
- GET_ACCESSOR - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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
- getAbstractScope() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Gets the current scope.
- GetAccessorTree - Class in com.google.javascript.jscomp.parsing.parser.trees
- GetAccessorTree(SourceRange, Token, boolean, BlockTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.GetAccessorTree
- getAliasTransformationHandler() - Method in class com.google.javascript.jscomp.CompilerOptions
- getAllAccessibleVariables() - Method in class com.google.javascript.jscomp.AbstractScope
-
Return an iterable over all of the variables accessible to this scope (i.e.
- 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.
- 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
- getAllModuleMetadata() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap
-
The set of all modules across both maps.
- 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.AbstractScope
- 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.SymbolTable
- 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.
- getAllTypeNames() - Method in class com.google.javascript.rhino.JSTypeExpression
-
Returns a set of all string names in this type expression
- getAllTypeNodes() - Method in class com.google.javascript.rhino.JSTypeExpression
-
Returns a list of all type nodes in this type expression.
- getAlternateId() - Method in class com.google.javascript.jscomp.JsMessage
-
Gets the message's alternate ID (e.g.
- getAlternateMessageId() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the alternate message ID specified by the
@alternateMessageId
annotation. - getAlternates() - Method in class com.google.javascript.rhino.jstype.UnionType
-
Gets the alternate types of this union type.
- getAlternatives() - Method in class com.google.javascript.refactoring.SuggestedFix
-
Get all possible fixes for this problem, including this fix.
- getAncestor(int) - Method in class com.google.javascript.rhino.Node
-
Gets the ancestor node relative to this.
- 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.
- getAngularPropertyReservedFirstChars() - Static method in class com.google.javascript.jscomp.CompilerOptions
- 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.LinkedDiGraphEdge
- getAnnotation() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDiGraphNode
- getAnnotation() - Method in class com.google.javascript.rhino.JSDocInfo.Marker
-
Gets the position information for the annotation name.
- getArgumentsVar() - Method in class com.google.javascript.jscomp.AbstractScope
-
Get a unique Var object to represent "arguments" within this scope.
- getAsInt(String) - Method in class com.google.javascript.jscomp.Xid
-
Returns the underlying integer representation of the given key.
- 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.
- getAssumeGettersArePure() - Method in class com.google.javascript.jscomp.CompilerOptions
- getAssumeStaticInheritanceRequired() - Method in class com.google.javascript.jscomp.CompilerOptions
- getAstAnalyzer() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Returns a new AstAnalyzer configured correctly to answer questions about Nodes in the AST currently being compiled.
- getAstDotGraph() - Method in class com.google.javascript.jscomp.Compiler
-
Gets the DOT graph of the AST generated at the end of compilation.
- 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
- getAsyncIterableTemplate() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Returns the template variable for the AsyncIterable interface.
- getAsyncIteratorValueTemplate() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Returns the template variable for the AsyncIterator interface.
- getAuthors() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns the list of authors or null if none.
- getBasePropertyImport(String) - Method in class com.google.javascript.jscomp.ProcessCommonJSModules
- 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.
- getBestJSDocInfoNode(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- getBestLValue(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Find the l-value that the given r-value is being assigned to.
- getBestLValueName(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Get the name of the given l-value node.
- getBigInt() - Method in class com.google.javascript.rhino.Node
-
Can only be called when
getType() == TokenStream.BIGINT
- 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.
- getBooleanProp(Node.Prop) - Method in class com.google.javascript.rhino.Node
- getBound() - Method in class com.google.javascript.rhino.jstype.TemplateType
- getBrowserFeaturesetYear() - Method in class com.google.javascript.jscomp.CompilerOptions
- getBrowserResolverPrefixReplacements() - Method in class com.google.javascript.jscomp.CompilerOptions
- 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.
- getCanonicalRepresentation() - Method in class com.google.javascript.rhino.jstype.FunctionType
- getCfg(AbstractCompiler, Node) - Static method in class com.google.javascript.jscomp.ControlFlowAnalysis
- 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
- getChar() - Method in class com.google.javascript.jscomp.parsing.JsDocTokenStream
- getCharno() - Method in class com.google.javascript.jscomp.JSError
-
Zero-indexed character number of the error location.
- 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
- getChecks() - Method in class com.google.javascript.jscomp.ConformancePassConfig
- getChecks() - Method in class com.google.javascript.jscomp.DefaultPassConfig
- getChecks() - Method in class com.google.javascript.jscomp.PassConfig
-
Gets the checking passes to run.
- getChecks() - Method in class com.google.javascript.jscomp.PassConfig.PassConfigDelegate
- 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
- getClassName() - Method in class com.google.javascript.jscomp.colors.DebugInfo
- getClosestContainerScope() - Method in class com.google.javascript.jscomp.AbstractScope
-
Returns the closest container scope.
- getClosestContainerScope() - Method in class com.google.javascript.jscomp.NodeTraversal
- getClosestDefiningType(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Returns the closest ancestor that defines the property including this type itself.
- getClosestHoistScope() - Method in class com.google.javascript.jscomp.AbstractScope
-
If a var were declared in this scope, return the scope it would be hoisted to.
- getClosestHoistScope() - Method in class com.google.javascript.jscomp.NodeTraversal
- getClosestHoistScopeRoot() - Method in class com.google.javascript.jscomp.NodeTraversal
- getClosureModule(String) - Method in class com.google.javascript.jscomp.modules.ModuleMap
- getClosureNamespace() - Method in class com.google.javascript.jscomp.ModuleIdentifier
-
Returns the Closure namespace name.
- getClosurePrimitive() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Returns the
@closurePrimitive
identifier associated with this function - getClosurePrimitiveId() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns the
@closurePrimitive {id}
identifier - 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.
- 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
- getCollapseObjectLiterals() - 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.LinkedDiGraphEdge
- getColor() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDiGraphNode
- getColor() - Method in class com.google.javascript.rhino.Node
-
Returns the compiled inferred type on this node.
- getColorRegistry() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Gets a central registry of colors from deserialized JS types.
- getColorRegistry() - Method in class com.google.javascript.jscomp.Compiler
- getColumn() - Method in class com.google.debugging.sourcemap.FilePosition
- getColumn() - Method in class com.google.debugging.sourcemap.SourceMapSection
- getColumnOfOffset(int) - Method in class com.google.javascript.jscomp.SourceFile
- getColumnOfOffset(int) - Method in class com.google.javascript.rhino.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() - Method in class com.google.javascript.jscomp.parsing.parser.Parser
- getComments(String) - Method in class com.google.javascript.jscomp.Compiler
- getCommentString() - Method in class com.google.javascript.rhino.NonJSDocComment
- getCommonJsImportPath(Node) - Method in class com.google.javascript.jscomp.ProcessCommonJSModules
- getCommonJsImportPath(Node, ModuleLoader.ResolutionMode) - Static method in class com.google.javascript.jscomp.ProcessCommonJSModules
- getCompiler() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
- getCompiler() - Method in interface com.google.javascript.jscomp.HasCompiler
- 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
- getCompilerExecutor() - Method in class com.google.javascript.jscomp.Compiler
- getCompilerOptions() - Static method in class com.google.javascript.refactoring.RefactoringDriver
- getComponent() - Method in class com.google.javascript.rhino.QualifiedName
-
Returns outer-most term of this qualified name, or the entire name for simple names.
- getComputedProperty() - Method in class com.google.javascript.jscomp.DestructuredTarget
-
Returns a COMPUTED_PROP node or null
- getConformanceConfigs() - Method in class com.google.javascript.jscomp.CompilerOptions
- getConformanceErrors(Compiler, Node, Node, Requirement) - Static method in class com.google.javascript.jscomp.ConformanceAllowlister
- getConformanceRemoveRegexFromPath() - Method in class com.google.javascript.jscomp.CompilerOptions
- getConstructor() - Method in class com.google.javascript.rhino.jstype.EnumElementType
- getConstructor() - Method in class com.google.javascript.rhino.jstype.EnumType
- getConstructor() - Method in class com.google.javascript.rhino.jstype.FunctionType
- 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
- getConstructorOnlyTemplateParameters() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Returns a list of template types present on the constructor but not on the instance.
- 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.
- getCookedString() - Method in class com.google.javascript.rhino.Node
-
Can only be called when
getType() == Token.TEMPLATELIT_STRING
- getCount(Node, Predicate<Node>, Predicate<Node>) - Static method in class com.google.javascript.jscomp.NodeUtil
- getCrossModuleIdGenerator() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Gets the id generator for cross-module motion.
- getCrossModuleIdGenerator() - Method in class com.google.javascript.jscomp.Compiler
- 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
- getCurrentNode() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Returns the node currently being traversed.
- getCursor() - Method in class com.google.javascript.jscomp.parsing.JsDocTokenStream
- getDebugInfo() - Method in class com.google.javascript.jscomp.colors.Color
- getDebugLogDirectory() - Method in class com.google.javascript.jscomp.CompilerOptions
- getDeclaration() - Method in class com.google.javascript.jscomp.AbstractVar
- getDeclaration() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
- getDeclaration() - Method in class com.google.javascript.rhino.jstype.Property
- getDeclaration() - Method in class com.google.javascript.rhino.jstype.SimpleSlot
- getDeclaration() - Method in interface com.google.javascript.rhino.jstype.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
- getDeclarationScope() - Method in interface com.google.javascript.jscomp.type.FlowScope
-
Returns the underlying TypedScope.
- getDeclarativelyUnboundVarsWithoutTypes() - Method in class com.google.javascript.jscomp.TypedScope
-
Returns the variables in this scope that have been declared with 'var' and not yet declared with a known type.
- getDeclaredTypeExpression() - Method in class com.google.javascript.rhino.Node
-
Returns the syntactical type specified on this node.
- getDeclaredTypeExpression(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Return declared JSDoc type for the given name declaration, or null if none present.
- getDeclaringParent(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Returns the node that is effectively declaring the given target.
- 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.
- getDefaultLevel() - Method in class com.google.javascript.jscomp.JSError
-
The default level, before any of the
WarningsGuard
s are applied. - getDefaultValue() - Method in class com.google.javascript.jscomp.DestructuredTarget
- getDefineName() - Method in class com.google.javascript.rhino.Node
-
Returns any goog.define'd name corresponding to this NAME or GETPROP node.
- getDefineReplacements() - Method in class com.google.javascript.jscomp.CompilerOptions
-
Returns the map of define replacements.
- getDelegateRelationship(Node) - Method in interface com.google.javascript.jscomp.CodingConvention
- getDelegateRelationship(Node) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
- getDelegateSuperclassName() - Method in interface com.google.javascript.jscomp.CodingConvention
- getDelegateSuperclassName() - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
- getDependencies() - Method in class com.google.javascript.jscomp.JSModule
-
Gets the list of modules that this module depends on.
- getDependencies(String) - Method in class com.google.javascript.jscomp.deps.DefaultDependencyResolver
-
Gets a list of dependencies for the provided code.
- getDependencies(String) - Method in interface com.google.javascript.jscomp.deps.DependencyResolver
-
Gets a list of dependencies for the provided code.
- getDependencies(String, Set<String>, boolean) - Method in class com.google.javascript.jscomp.deps.DefaultDependencyResolver
- getDependencies(String, Set<String>, boolean) - Method in interface com.google.javascript.jscomp.deps.DependencyResolver
- getDependencies(Collection<String>) - Method in class com.google.javascript.jscomp.deps.DefaultDependencyResolver
-
Gets a list of dependencies for the provided list of symbols.
- getDependencies(Collection<String>) - Method in interface com.google.javascript.jscomp.deps.DependencyResolver
-
Gets a list of dependencies for *the provided list of symbols.
- getDependencies(Collection<String>, Set<String>) - Method in class com.google.javascript.jscomp.deps.DefaultDependencyResolver
- getDependencies(Collection<String>, Set<String>) - Method in interface com.google.javascript.jscomp.deps.DependencyResolver
- 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.AbstractScope
-
The depth of the scope.
- getDepth() - Method in class com.google.javascript.jscomp.JSModule
- 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.jscomp.JSError
-
Description of the error.
- 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.
- getDestination() - Method in interface com.google.javascript.jscomp.graph.DiGraph.DiGraphEdge
- getDestination() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDiGraphEdge
- 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. - getDirectedPredNodes(DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.DiGraph
- getDirectedPredNodes(DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- getDirectedPredNodes(N) - Method in class com.google.javascript.jscomp.graph.DiGraph
- getDirectedPredNodes(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- getDirectedSuccNodes(DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.DiGraph
- getDirectedSuccNodes(DiGraph.DiGraphNode<N, E>) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- getDirectedSuccNodes(N) - Method in class com.google.javascript.jscomp.graph.DiGraph
- getDirectedSuccNodes(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- getDirectImplementors(ObjectType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Returns a collection of types that directly implement
interfaceInstance
. - getDirectives() - Method in class com.google.javascript.rhino.Node
-
Returns the set of ES5 directives for this node.
- getDirectSubTypes() - Method in class com.google.javascript.rhino.jstype.FunctionType
- getDisambiguationSupertypes() - Method in class com.google.javascript.jscomp.colors.Color
- getDisplayName() - Method in class com.google.javascript.rhino.jstype.AllType
- getDisplayName() - Method in class com.google.javascript.rhino.jstype.BigIntType
- 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.SymbolType
- getDisplayName() - Method in class com.google.javascript.rhino.jstype.UnknownType
- getDisplayName() - Method in class com.google.javascript.rhino.jstype.VoidType
- getDouble() - Method in class com.google.javascript.rhino.Node
-
Can only be called when
getType() == TokenStream.NUMBER
- getDynamicRequires() - Method in class com.google.javascript.jscomp.CompilerInput
-
Returns the types that this input dynamically depends on in the order seen in the file.
- 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.DiGraph
- getEdges() - Method in class com.google.javascript.jscomp.graph.Graph
-
Gets an immutable list of all edges.
- getEdges() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- getEdges() - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
- getEdges(N, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
- getEdges(N, N) - Method in class com.google.javascript.jscomp.graph.Graph
-
Retrieves an edge from the graph.
- getEdges(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- getEdges(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
- getEdgesInDirection(N, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
- getEdgesInDirection(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- getelem(Node, Node) - Static method in class com.google.javascript.rhino.IR
- GETELEM - com.google.javascript.rhino.Token
- 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, which is a subtype of the enumerated type.
- getEmptyTemplateTypeMap() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- 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.
- getEnclosingFunctionScope(Node) - Method in class com.google.javascript.jscomp.SymbolTable
-
Gets the scope that contains the given node.
- getEnclosingModuleIfPresent(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- 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.
- getEndPosition() - Method in class com.google.javascript.rhino.NonJSDocComment
- getEntry() - Method in class com.google.javascript.jscomp.ControlFlowGraph
-
Gets the entry point of the control flow graph.
- getEntryPoints() - Method in class com.google.javascript.jscomp.DependencyOptions
-
Returns the list of explicit entry points.
- getEnumeratedTypeOfEnumElement() - Method in class com.google.javascript.rhino.jstype.JSType
- getEnumeratedTypeOfEnumObject() - Method in class com.google.javascript.rhino.jstype.EnumType
-
Gets the enumerated type.
- getEnumeratedTypeOfEnumObject() - Method in class com.google.javascript.rhino.jstype.ObjectType
- getEnumParameterType() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the enum parameter type specified by the
@enum
annotation. - 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.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.SortingErrorManager
- getErrorCount() - Method in class com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager
- getErrorFormat() - Method in class com.google.javascript.jscomp.CompilerOptions
- getErrorHandler() - Method in class com.google.javascript.jscomp.deps.ModuleLoader
- getErrorLevel(JSError) - Method in class com.google.javascript.jscomp.Compiler
- getErrorManager() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Gets the error manager.
- getErrorManager() - Method in class com.google.javascript.jscomp.Compiler
- getErrorPrintStream() - Method in class com.google.javascript.jscomp.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.Compiler
-
Returns the list 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.SortingErrorManager
- getErrors() - Method in class com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager
- getEs6ClassConstructorMemberFunctionDef(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- getEs6ModuleTranspilation() - Method in class com.google.javascript.jscomp.CompilerOptions
- getExistingIntProp(Node.Prop) - Method in class com.google.javascript.rhino.Node
- getExportedNames() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Gets the names that have been exported.
- getExportedNames() - Method in class com.google.javascript.jscomp.Compiler
- 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
- getExtension(String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Returns the value mapped by the specified extension or
null
if this extension does not exist. - getExtensions() - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
-
Returns all extensions and their values (which can be any json value) in a Map object.
- getExtensions() - Method in class com.google.debugging.sourcemap.SourceMapObject
- getExternsRoot() - Method in class com.google.javascript.jscomp.Compiler
- getFeatures() - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
- getFeatures() - Method in class com.google.javascript.jscomp.parsing.parser.Parser
- getFeatures(AbstractCompiler) - Method in class com.google.javascript.jscomp.JsAst
- getFeatureSet() - Method in class com.google.javascript.jscomp.PassFactory
-
The set of features that this pass understands.
- getFile() - Method in class com.google.debugging.sourcemap.SourceMapObject
- getFile() - Method in class com.google.javascript.jscomp.parsing.parser.Scanner
- getFilename() - Method in class com.google.javascript.jscomp.colors.DebugInfo
- 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.AllowlistWarningsGuard
- getFirstNode() - Method in class com.google.javascript.jscomp.lint.CheckProvidesSorted
-
Returns the node for the first recognized provide statement.
- getFirstNode() - Method in class com.google.javascript.jscomp.lint.CheckRequiresSorted
-
Returns the node for the first recognized import statement.
- getFixesForJsError(JSError) - Method in class com.google.javascript.refactoring.ErrorToFixMapper
- getFixesForJsError(JSError) - Method in class com.google.javascript.refactoring.FixingErrorManager
- getFixForJsError(JSError) - 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
- getFound() - Method in class com.google.javascript.jscomp.TypeMismatch
-
The RHS type; the type of the assignment target.
- getFunctionBody(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Return a BLOCK node for the given FUNCTION node.
- getFunctionParameters(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- getFunctionType() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
- getGeneratorValueTemplate() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Return the value template variable for the Generator interface.
- 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.AbstractScope
-
Walks up the tree to find the global scope.
- getGlobalScope() - Method in class com.google.javascript.jscomp.SymbolTable
-
Returns the global scope.
- getGlobalType(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- getGoogRequireInfo(String, Scope) - Static method in class com.google.javascript.jscomp.NodeUtil
- 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
andthat
. - getGreatestSubtypeWithProperty(JSType, String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Gets the greatest subtype of the
type
that has a propertypropertyName
defined on it. - getGreatestSubtypeWithProperty(String) - Method in class com.google.javascript.rhino.jstype.JSType
- getGroup() - Method in class com.google.javascript.jscomp.ant.Warning
- getGzSize() - Method in class com.google.javascript.jscomp.PerformanceTracker
- getHasExternsAnnotation() - Method in class com.google.javascript.jscomp.CompilerInput
- getHasExternsAnnotation() - Method in interface com.google.javascript.jscomp.deps.DependencyInfo
-
Whether the file '@externs' annotation.
- getHasExternsAnnotation() - Method in class com.google.javascript.jscomp.JSModule
- getHasExternsAnnotation() - Method in class com.google.javascript.jscomp.LazyParsedDependencyInfo
- getHasNoCompileAnnotation() - Method in class com.google.javascript.jscomp.CompilerInput
- getHasNoCompileAnnotation() - Method in interface com.google.javascript.jscomp.deps.DependencyInfo
-
Whether the file has the '@nocompile' annotation.
- getHasNoCompileAnnotation() - Method in class com.google.javascript.jscomp.JSModule
- getHasNoCompileAnnotation() - Method in class com.google.javascript.jscomp.LazyParsedDependencyInfo
- getId() - Method in class com.google.javascript.jscomp.colors.Color
- 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.LinkedDiGraphNode
- getId() - Method in class com.google.javascript.jscomp.JsMessage
-
Gets the message's id, or name (e.g.
- 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.
- getImplicitInterfaceUses() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Gets all types that are used implicitly as a matching interface type.
- getImplicitInterfaceUses() - Method in class com.google.javascript.jscomp.Compiler
- 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
- getImplicitPrototypeChain() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Returns a lazy, dynamic
Iterable
for the types forming the implicit prototype chain of this type. - getImplicitReturn() - Method in class com.google.javascript.jscomp.ControlFlowGraph
-
Gets the implicit return node.
- getIndex() - Method in class com.google.javascript.jscomp.JSModule
- getIndexInParent() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
- 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.
- 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() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDiGraphNode
- getInEdges(N) - Method in class com.google.javascript.jscomp.graph.DiGraph
-
Gets an immutable list of in edges of the given node.
- getInEdges(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- getInferTypes() - Method in class com.google.javascript.jscomp.CompilerOptions
-
Gets the inferTypes flag.
- getInitialValue() - Method in class com.google.javascript.jscomp.AbstractVar
- getInlineFunctionsLevel() - Method in class com.google.javascript.jscomp.CompilerOptions
-
Get the function inlining policy for the compiler.
- getInput() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Gets the current input source.
- getInput(int) - Method in class com.google.javascript.jscomp.JSModule
-
Returns the i-th source code input.
- 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(InputId) - Method in interface com.google.javascript.jscomp.CompilerInputProvider
-
Looks up an input (possibly an externs input) by input id.
- getInputCount() - Method in class com.google.javascript.jscomp.JSModule
-
Returns the number of source code inputs.
- getInputId() - Method in class com.google.javascript.jscomp.CompilerInput
-
Returns a name for this input.
- getInputId() - Method in class com.google.javascript.jscomp.JsAst
- getInputId() - Method in class com.google.javascript.jscomp.RecoverableJsAst
- getInputId() - Method in class com.google.javascript.jscomp.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
- getInputId(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- 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
- getInstance(SourceMapFormat) - Static method in class com.google.debugging.sourcemap.SourceMapGeneratorFactory
- getInstanceColor() - Method in class com.google.javascript.jscomp.colors.Color
- getInstanceType() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Gets the type of instance of this function.
- getInstrumentationMapping() - Method in class com.google.javascript.jscomp.Compiler
- getInstrumentForCoverageOnly() - Method in class com.google.javascript.jscomp.CompilerOptions
- getInstrumentForCoverageOption() - Method in class com.google.javascript.jscomp.CompilerOptions
- getIntProp(Node.Prop) - Method in class com.google.javascript.rhino.Node
-
Returns the integer value for the property, or 0 if the property is not defined.
- getIsolatePolyfills() - Method in class com.google.javascript.jscomp.CompilerOptions
- getIsParenthesized() - Method in class com.google.javascript.rhino.Node
-
Check whether node was inside parentheses.
- getItem() - Method in class com.google.javascript.rhino.SourcePosition
-
Returns the item found at this source position.
- getIterableTemplate() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- getIteratorValueTemplate() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Return the value template variable for the Iterator interface.
- getIThenableTemplate() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- getJSDocInfo() - Method in class com.google.javascript.jscomp.AbstractVar
- getJSDocInfo() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
- getJSDocInfo() - Method in class com.google.javascript.rhino.jstype.JSType
-
Gets the docInfo for this type.
- getJSDocInfo() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Gets the docInfo for this type.
- getJSDocInfo() - Method in class com.google.javascript.rhino.jstype.Property
- getJSDocInfo() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
- getJSDocInfo() - Method in class com.google.javascript.rhino.jstype.SimpleSlot
- getJSDocInfo() - Method in 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.
- getJsdocOfTypeDeclaration(String) - Method in class com.google.javascript.jscomp.TypedScope
- getJsModuleType() - Method in class com.google.javascript.jscomp.CompilerInput
- getJsRoot() - Method in class com.google.javascript.jscomp.Compiler
- getJSType() - Method in class com.google.javascript.rhino.jstype.FunctionType.Parameter
- 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.
- getJSTypeRequired() - Method in class com.google.javascript.rhino.Node
-
Returns the compiled inferred type on this node, or throws an NPE if there isn't one.
- 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.
- getKind() - Method in class com.google.javascript.jscomp.SourceFile
-
Returns the source kind.
- getKind() - Method in class com.google.javascript.rhino.SimpleSourceFile
- getKind() - Method in interface com.google.javascript.rhino.StaticSourceFile
-
The source kind.
- getKnownValueType(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Evaluate a node's token and attempt to determine which primitive value type it could resolve to Without proper type information some assumptions had to be made for operations that could result in a BigInt or a Number.
- 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.LinkedDiGraphEdge
- getLabel() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDiGraphNode
- 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
- getLastChild() - Method in class com.google.javascript.rhino.Node
- getLastNode() - Method in class com.google.javascript.jscomp.lint.CheckProvidesSorted
-
Returns the node for the last recognized provide statement.
- getLastNode() - Method in class com.google.javascript.jscomp.lint.CheckRequiresSorted
-
Returns the node for the last recognized import statement.
- getLeastSupertype(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Gets the least supertype of
this
andthat
. - getLeastSupertype(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
- getLendsName() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the name we're lending to in a
@lends
annotation. - getLength() - Method in class com.google.javascript.jscomp.Compiler.CodeBuilder
-
Returns the length of the text buffer.
- getLength() - Method in class com.google.javascript.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
- getLevel() - Method in class com.google.javascript.jscomp.ant.Warning
- getLicense() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the description specified by the
@license
annotation. - getLifeCycleStage() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Returns the current life-cycle stage of the AST we're working on.
- getLine() - Method in class com.google.debugging.sourcemap.FilePosition
-
Returns the line number of this position.
- getLine() - Method in class com.google.debugging.sourcemap.SourceMapSection
- getLine(int) - Method in class com.google.javascript.jscomp.SourceFile
-
Gets the source line for the indicated line number.
- getLineCount() - Method in class com.google.debugging.sourcemap.SourceMapObject
- getLineLengthThreshold() - Method in class com.google.javascript.jscomp.CompilerOptions
- getLineno() - Method in class com.google.javascript.jscomp.JSError
-
One-indexed line number of the error location.
- 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.JSError
-
Alias for
JSError.getLineno()
. - 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.
- getLines(int, int) - Method in class com.google.javascript.jscomp.SourceFile
-
Gets the source lines starting at `lineNumber` and continuing until `length`.
- 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.JSModule
- getLoadFlags() - Method in class com.google.javascript.jscomp.LazyParsedDependencyInfo
- getLocation() - Method in class com.google.javascript.jscomp.TypeMismatch
-
The location of the assignment.
- getLocation() - Method in class com.google.javascript.rhino.Node
- getLoopCodeBlock(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- getMappingForLine(int, int) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
- getMappingForLine(int, int) - Method in interface com.google.debugging.sourcemap.SourceMapping
-
Returns the original mapping for the line number and column position found in the source map.
- getMappings() - Method in class com.google.debugging.sourcemap.SourceMapObject
- getMarkers() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the list of all markers for the documentation in this JSDoc.
- getMatchedNodeInfo() - Method in class com.google.javascript.refactoring.SuggestedFix
-
Returns information about the original JS Compiler Node that caused this SuggestedFix to be constructed.
- getMaxArity() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Gets the maximum number of arguments that this function requires, or Integer.MAX_VALUE if this is a variable argument function.
- getMeaning() - Method in class com.google.javascript.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.
- getMinArity() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Gets the minimum number of arguments that this function requires.
- getMode() - Method in class com.google.javascript.jscomp.DependencyOptions
-
Returns the dependency management mode.
- getModifies() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns the set of sideeffect notations.
- getModule() - Method in class com.google.javascript.jscomp.CompilerInput
-
Returns the module to which the input belongs.
- getModule() - Method in exception com.google.javascript.jscomp.JSModuleGraph.ModuleDependenceException
- getModule() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Gets the current input module.
- getModule(ModuleLoader.ModulePath) - Method in class com.google.javascript.jscomp.modules.ModuleMap
- getModule(String) - Method in class com.google.javascript.jscomp.modules.ModuleMap
- getModuleLoader() - Method in class com.google.javascript.jscomp.Compiler
- getModuleMap() - Method in class com.google.javascript.jscomp.AbstractCompiler
- getModuleMap() - Method in class com.google.javascript.jscomp.Compiler
- getModuleMetadataMap() - Method in class com.google.javascript.jscomp.AbstractCompiler
- getModuleMetadataMap() - Method in class com.google.javascript.jscomp.Compiler
- getModuleName() - Method in class com.google.javascript.jscomp.ModuleIdentifier
-
Returns the module name.
- getModuleName(CompilerInput) - Static method in class com.google.javascript.jscomp.ProcessCommonJSModules
- getModuleName(ModuleLoader.ModulePath) - Static method in class com.google.javascript.jscomp.ProcessCommonJSModules
- getModuleResolutionMode() - Method in class com.google.javascript.jscomp.CompilerOptions
- getModules() - Method in class com.google.javascript.jscomp.Compiler
-
Gets the JS source modules in dependency order.
- getModulesByClosureNamespace() - Method in class com.google.javascript.jscomp.modules.ModuleMap
- getModulesByGoogNamespace() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap
- getModulesByPath() - Method in class com.google.javascript.jscomp.modules.ModuleMap
- getModulesByPath() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap
- getName() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.JsModuleSpec
- getName() - Method in class com.google.javascript.jscomp.AbstractVar
- 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 interface com.google.javascript.jscomp.deps.SourceFile
- getName() - Method in class com.google.javascript.jscomp.deps.VirtualFile
- 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
-
Returns the user-provided name.
- getName() - Method in class com.google.javascript.jscomp.PassFactory
-
The name of the pass as it will appear in logs.
- getName() - Method in class com.google.javascript.jscomp.SourceFile
-
Returns a unique name for the source file.
- getName() - Method in class com.google.javascript.rhino.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.
- getName(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- getNameNode() - Method in class com.google.javascript.jscomp.AbstractVar
- getNameNode() - Method in class com.google.javascript.rhino.JSDocInfo.Marker
-
Gets the position information for the name found in an @param tag.
- getNameNode(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Gets the node of a function or class's name.
- getNames() - Method in class com.google.debugging.sourcemap.SourceMapObject
- getNamespaceOrTypedefType(String) - Method in class com.google.javascript.jscomp.TypedScope
- getNativeColorIds() - Method in class com.google.javascript.jscomp.colors.Color
- getNativeFunctionType(JSTypeNative) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- getNativeObjectType(JSTypeNative) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- getNativeType(JSTypeNative) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- getNaturalSymbolOrdering() - Method in class com.google.javascript.jscomp.SymbolTable
-
Gets the 'natural' ordering of symbols.
- getNearestFunctionName(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Gets the function's name.
- getNeighborEdges() - Method in interface com.google.javascript.jscomp.graph.UndiGraph.UndiGraphNode
- getNeighborEdgesIterator() - Method in interface com.google.javascript.jscomp.graph.UndiGraph.UndiGraphNode
- getNeighborNodes(N) - Method in class com.google.javascript.jscomp.graph.Graph
-
Gets the neighboring nodes.
- getNeighborNodes(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- getNeighborNodes(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 immutable mapping from new names to original names.
- getNext() - Method in class com.google.javascript.rhino.Node
- getNode() - Method in class com.google.javascript.jscomp.AbstractVar
- getNode() - Method in class com.google.javascript.jscomp.DestructuredTarget
- getNode() - Method in class com.google.javascript.jscomp.ImplicitNullabilityCheck.Result
- getNode() - Method in class com.google.javascript.jscomp.JSError
-
Node where the warning occurred.
- getNode() - Method in class com.google.javascript.jscomp.Reference
- 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.
- 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.DiGraph
- getNode(N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- getNode(N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
- getNode1Id() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph.GraphvizEdge
-
Get the first node in the edge.
- getNode1Id() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDiGraphEdge
- getNode2Id() - Method in interface com.google.javascript.jscomp.graph.GraphvizGraph.GraphvizEdge
-
Get the second node in the edge.
- getNode2Id() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDiGraphEdge
- getNodeA() - Method in interface com.google.javascript.jscomp.graph.Graph.GraphEdge
- getNodeA() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDiGraphEdge
- getNodeB() - Method in interface com.google.javascript.jscomp.graph.Graph.GraphEdge
- getNodeB() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDiGraphEdge
- getNodeCount() - Method in interface com.google.javascript.jscomp.graph.AdjacencyGraph
- getNodeCount() - Method in class com.google.javascript.jscomp.graph.Graph
- getNodeCount() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- getNodeCount() - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
- 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
- getNodeForCodeInsertion(JSModule) - Method in class com.google.javascript.jscomp.Compiler
- 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.DiGraph
- 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
- getNonDefaultAlternatives() - Method in class com.google.javascript.refactoring.SuggestedFix
-
Get all alternative fixes, excluding this fix.
- getNonJSDocComment() - Method in class com.google.javascript.rhino.Node
- getNonJSDocCommentString() - Method in class com.google.javascript.rhino.Node
-
Get the NonJSDoc comment string attached to this node.
- 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.
- getNullability() - Method in class com.google.javascript.jscomp.ImplicitNullabilityCheck.Result
- 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
- getOffset() - Method in class com.google.javascript.jscomp.parsing.parser.Scanner
- getOffset() - Method in class com.google.javascript.jscomp.parsing.parser.util.SourcePosition
- getOnlyChild() - Method in class com.google.javascript.rhino.Node
- getOptimizations() - Method in class com.google.javascript.jscomp.ConformancePassConfig
- getOptimizations() - Method in class com.google.javascript.jscomp.DefaultPassConfig
- getOptimizations() - Method in class com.google.javascript.jscomp.PassConfig
-
Gets the optimization passes to run.
- getOptimizations() - Method in class com.google.javascript.jscomp.PassConfig.PassConfigDelegate
- getOptionalNodeComparator(boolean) - Method in class com.google.javascript.jscomp.ControlFlowGraph
-
Gets a comparator for the nodes.
- getOptions() - Method in class com.google.javascript.jscomp.Compiler
- 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() - 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 immutable 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.
- getOriginalSources() - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
- getOriginalSources() - Method in interface com.google.debugging.sourcemap.SourceMappingReversable
- getOriginalSourcesContent() - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
- getOutEdges() - Method in interface com.google.javascript.jscomp.graph.DiGraph.DiGraphNode
- getOutEdges() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDiGraphNode
- 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
- getOutputFeatureSet() - Method in class com.google.javascript.jscomp.CompilerOptions
-
Gets the set of features that can appear in the output.
- getOwner() - Method in class com.google.javascript.rhino.jstype.Property.OwnedProperty
- getOwner() - Method in class com.google.javascript.rhino.QualifiedName
-
Returns the qualified name of the owner, or null for simple names.
- 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
- getOwnerInstanceType() - Method in class com.google.javascript.rhino.jstype.Property.OwnedProperty
- 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.rhino.jstype.ObjectType
- getOwnPropertyJSDocInfo(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Gets the docInfo on the specified property on this type.
- getOwnPropertyKind(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Checks whether the property whose name is given is present directly on the object.
- getOwnPropertyNames() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Includes the prototype iff someone has created it.
- getOwnPropertyNames() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Returns the names of all the properties directly on this type.
- getOwnSlot(String) - Method in class com.google.javascript.jscomp.AbstractScope
- 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. - getPackageJsonEntryNames() - Method in class com.google.javascript.jscomp.CompilerOptions
- 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
- getParameterType(String) - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the type of a given named parameter.
- getParamOrPatternNames(Node, Consumer<Node>) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Calls
cb
with all NAMEs declared in a PARAM_LIST or destructuring pattern. - getParamOrPatternNames(Node, Consumer<Node>) - Static method in class com.google.javascript.jscomp.parsing.ParsingUtil
-
Calls
cb
with all NAMEs declared in a PARAM_LIST or destructuring pattern. - getParent() - Method in class com.google.javascript.jscomp.AbstractScope
-
Returns the parent scope, or null if this is the global scope.
- getParent() - Method in class com.google.javascript.jscomp.TypedScope
- getParent() - Method in class com.google.javascript.rhino.Node
- getParentChangeScopeNodes(List<Node>) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Returns the list of scope nodes which are parents of the provided list of scope nodes.
- getParentNode() - Method in class com.google.javascript.jscomp.AbstractVar
- getParentScope() - Method in class com.google.javascript.jscomp.AbstractScope
- getParentScope() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
- 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.
- 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
- getParts() - Method in class com.google.javascript.jscomp.JsMessage
-
Gets a read-only list of the parts of this message.
- getPath() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.JsonFileSpec
- getPath() - Method in class com.google.javascript.jscomp.CompilerInput
- getPathEscaper() - Method in class com.google.javascript.jscomp.CompilerOptions
- 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.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.
- getPossibleToBooleanOutcomes() - Method in class com.google.javascript.rhino.jstype.AllType
- getPossibleToBooleanOutcomes() - Method in class com.google.javascript.rhino.jstype.BigIntType
- 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.SymbolType
- 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, Outcome) - Method in class com.google.javascript.jscomp.type.ClosureReverseAbstractInterpreter
- getPreciserScopeKnowingConditionOutcome(Node, FlowScope, Outcome) - 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, Outcome) - 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.AllowlistWarningsGuard
- getPriority() - Method in class com.google.javascript.jscomp.ByPathWarningsGuard
- getPriority() - Method in class com.google.javascript.jscomp.ijs.CheckTypeSummaryWarningsGuard
- getPriority() - Method in class com.google.javascript.jscomp.J2clSuppressWarningsGuard
- 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.
- getProcessCommonJSModules() - Method in class com.google.javascript.jscomp.CompilerOptions
- getProductionInstrumentationArrayName() - Method in class com.google.javascript.jscomp.CompilerOptions
- getProgress() - Method in class com.google.javascript.jscomp.AbstractCompiler
- getProgress() - Method in class com.google.javascript.jscomp.Compiler
- getprop(Node, Node) - Static method in class com.google.javascript.rhino.IR
- getprop(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(String) - Method in class com.google.javascript.rhino.QualifiedName
-
Returns a new qualified name object with
this
name as the owner and the given string as the property name. - getProp(Node.Prop) - Method in class com.google.javascript.rhino.Node
- GETPROP - com.google.javascript.rhino.Token
- 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.disambiguate.DisambiguateProperties
-
Returns the property for the given name, creating it if necessary.
- getProperty(String) - Method in class com.google.javascript.jscomp.resources.GwtProperties
- getPropertyCollapseLevel() - Method in class com.google.javascript.jscomp.CompilerOptions
- getPropertyDefSite(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
- getPropertyJSDocInfo(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
- getPropertyKind(String) - Method in class com.google.javascript.rhino.jstype.JSType
-
Checks whether the property is present on the object.
- getPropertyKind(String, boolean) - Method in class com.google.javascript.rhino.jstype.EnumElementType
- getPropertyKind(String, boolean) - Method in class com.google.javascript.rhino.jstype.JSType
-
Checks whether the property is present on the object.
- getPropertyKind(String, boolean) - Method in class com.google.javascript.rhino.jstype.ObjectType
- getPropertyKind(String, boolean) - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
- getPropertyKind(String, boolean) - Method in class com.google.javascript.rhino.jstype.UnionType
- 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.
- getPropertyRenaming() - Method in class com.google.javascript.jscomp.CompilerOptions
- 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.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
- 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
- getPrototype() - Method in class com.google.javascript.jscomp.colors.Color
- getPrototype() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Gets the
prototype
property of this function type. - getPrototypeProperty() - Method in class com.google.javascript.rhino.jstype.FunctionType
- 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.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.
- getQualifiedNameObject() - Method in class com.google.javascript.rhino.Node
- 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.
- getRawString() - Method in class com.google.javascript.rhino.Node
-
Can only be called when
getType() == Token.TEMPLATELIT_STRING
- getRawText() - Method in class com.google.javascript.jscomp.deps.DependencyInfo.Require
- getRawType() - Method in class com.google.javascript.rhino.jstype.ObjectType
- getReadableTypeName(Node) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
First dereferences the JSType to remove null/undefined then returns a human-readable type name
- getReadableTypeNameNoDeref(Node) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- getRecordPropertyNames() - Method in class com.google.javascript.rhino.JSTypeExpression
-
Returns a set of keys of all record types (e.g.
- getReferencedType() - Method in class com.google.javascript.rhino.jstype.NamedType
-
Returns the type to which this refers (which is unknown if unresolved).
- getReferencedType() - Method in class com.google.javascript.rhino.jstype.TemplatizedType
- getReferenceList(SymbolTable.Symbol) - Method in class com.google.javascript.jscomp.SymbolTable
- getReferenceName() - Method in class com.google.javascript.rhino.jstype.EnumElementType
- getReferenceName() - Method in class com.google.javascript.rhino.jstype.NamedType
- getReferenceName() - Method in class com.google.javascript.rhino.jstype.NoObjectType
- getReferenceName() - Method in class com.google.javascript.rhino.jstype.NoResolvedType
- 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() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns the list of references or null if none.
- getReferences(SymbolTable.Symbol) - Method in class com.google.javascript.jscomp.SymbolTable
- 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.ReferenceMap
-
Returns references to
var
. - getReferences(S) - Method in interface com.google.javascript.rhino.StaticSymbolTable
-
Returns the references that point to the given symbol.
- getRegion(int) - Method in class com.google.javascript.jscomp.SourceFile
-
Get a region around the indicated line number.
- getRegisteredGroups() - Static method in class com.google.javascript.jscomp.DiagnosticGroups
-
Get the registered diagnostic groups, indexed by name.
- getRegistry() - Method in class com.google.javascript.jscomp.serialization.ColorDeserializer
- getRenamePrefixNamespace() - Method in class com.google.javascript.jscomp.CompilerOptions
- getReplacement() - Method in class com.google.javascript.jscomp.lint.CheckProvidesSorted
-
Returns a textual replacement yielding a canonical version of the provides.
- getReplacement() - Method in class com.google.javascript.jscomp.lint.CheckRequiresSorted
-
Returns a textual replacement yielding a canonical version of the imports.
- 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.
- getRequired() - Method in class com.google.javascript.jscomp.TypeMismatch
-
The LHS type; the type being assigned.
- getRequiredSymbols() - Method in class com.google.javascript.jscomp.deps.DependencyInfo.Base
- getRequiredSymbols() - Method in interface com.google.javascript.jscomp.deps.DependencyInfo
- 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.JSModule
- getRequires() - Method in class com.google.javascript.jscomp.LazyParsedDependencyInfo
- 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.
- getResolver() - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- getRestrictedTypeGivenOutcome(Outcome) - 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. - getRestrictedTypeGivenOutcome(Outcome) - Method in class com.google.javascript.rhino.jstype.UnionType
- getRestrictedUnion(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
-
Returns a more restricted union type than
this
one, in which all subtypes oftype
have been removed. - getResult() - Method in class com.google.javascript.jscomp.Compiler
-
Returns the result of the compilation.
- getReturnDescription() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns the description of the returned object or null if none specified.
- getReturnType() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the return type specified by the
@return
annotation. - getReturnType() - Method in class com.google.javascript.rhino.jstype.FunctionType
- getReverseAbstractInterpreter() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Get an interpreter for type analysis.
- getReverseAbstractInterpreter() - Method in class com.google.javascript.jscomp.Compiler
- getReverseMapping(String, int, int) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
- getReverseMapping(String, int, int) - Method in interface com.google.debugging.sourcemap.SourceMappingReversable
-
Given a source file, line, and column, return the reverse mapping (source → target).
- getRewritePolyfills() - Method in class com.google.javascript.jscomp.CompilerOptions
- 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
- getRoot() - Method in class com.google.javascript.rhino.QualifiedName
-
Returns the root of this name, e.g.
- getRootNode() - Method in class com.google.javascript.jscomp.AbstractScope
-
Gets the container node of the scope.
- getRootNode() - Method in interface com.google.javascript.rhino.StaticScope
-
Returns the root node associated with this scope.
- getRootOfQualifiedName(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Gets the root node of a qualified name.
- getRootTarget(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Returns the outermost target enclosing the given assignment target.
- getRuntime() - Method in class com.google.javascript.jscomp.bundle.CompilerBasedTransformer
- getRuntime() - Method in class com.google.javascript.jscomp.bundle.CoverageInstrumenter
- getRuntime() - Method in class com.google.javascript.jscomp.bundle.Transpiler
- getRuntime() - Method in class com.google.javascript.jscomp.PerformanceTracker
- getRValueOfLValue(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Gets the r-value (or initializer) of a node returned by getBestLValue.
- getSaveAfterChecksFileName() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
- getScope() - Method in class com.google.javascript.jscomp.AbstractVar
- getScope() - Method in class com.google.javascript.jscomp.NodeTraversal
- getScope() - Method in class com.google.javascript.rhino.jstype.Property
- getScope() - Method in class com.google.javascript.rhino.jstype.SimpleSlot
- getScope() - Method in interface com.google.javascript.rhino.jstype.StaticTypedSlot
- getScope() - Method in interface com.google.javascript.rhino.StaticSlot
- getScope(SymbolTable.Symbol) - Method in class com.google.javascript.jscomp.SymbolTable
- getScope(Var) - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback
- getScope(S) - Method in interface com.google.javascript.rhino.StaticSymbolTable
-
Returns the scope for a given symbol.
- getScopeCreator() - Method in class com.google.javascript.jscomp.NodeTraversal
- getScopeDepth() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
- getScopeRoot() - Method in class com.google.javascript.jscomp.AbstractVar
- getScopeRoot() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Returns the current scope's root.
- getScriptNode(String) - Method in class com.google.javascript.jscomp.AbstractCompiler
- getScriptNode(String) - Method in class com.google.javascript.jscomp.Compiler
- getScriptNodeForError(JSError) - Method in class com.google.javascript.jscomp.FileAwareWarningsGuard
- getSecondChild() - Method in class com.google.javascript.rhino.Node
- getSections() - Method in class com.google.debugging.sourcemap.SourceMapObject
- getSectionType() - Method in class com.google.debugging.sourcemap.SourceMapSection
- getSectionValue() - Method in class com.google.debugging.sourcemap.SourceMapSection
- getSideEffectFlags() - Method in class com.google.javascript.rhino.Node
-
Returns the side effects flags for this node.
- getSingletonGetterClassName(Node) - Method in class com.google.javascript.jscomp.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.PerformanceTracker
- getSlot(String) - Method in class com.google.javascript.jscomp.AbstractScope
- getSlot(String) - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
- getSlot(String) - Method in class com.google.javascript.rhino.jstype.FunctionType
- getSlot(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Default getSlot implementation.
- getSlot(String) - Method in interface com.google.javascript.rhino.jstype.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.
- getSmallestCoveringSubtree(JSModule, BitSet) - Method in class com.google.javascript.jscomp.JSModuleGraph
-
Finds the module with the fewest transitive dependents on which all of the given modules depend and that is a subtree of the given parent module tree.
- getSortedList() - Method in class com.google.javascript.jscomp.deps.Es6SortedDependencies
- getSortedList() - Method in interface com.google.javascript.jscomp.deps.SortedDependencies
- getSortedStrongDependenciesOf(List<INPUT>) - Method in class com.google.javascript.jscomp.deps.Es6SortedDependencies
- getSortedStrongDependenciesOf(List<INPUT>) - Method in interface com.google.javascript.jscomp.deps.SortedDependencies
-
Gets all the strong dependencies of the given roots.
- getSortedWeakDependenciesOf(List<INPUT>) - Method in class com.google.javascript.jscomp.deps.Es6SortedDependencies
- getSortedWeakDependenciesOf(List<INPUT>) - Method in interface com.google.javascript.jscomp.deps.SortedDependencies
-
Gets all the weak dependencies of the given roots.
- 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.graph.LinkedDirectedGraph.LinkedDiGraphEdge
- getSource() - Method in class com.google.javascript.rhino.jstype.EnumType
- 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.AbstractVar
- getSourceFile() - Method in class com.google.javascript.jscomp.CompilerInput
- getSourceFile() - Method in class com.google.javascript.jscomp.JsAst
- getSourceFile() - Method in class com.google.javascript.jscomp.parsing.JsDocInfoParser
- getSourceFile() - Method in class com.google.javascript.jscomp.RecoverableJsAst
- getSourceFile() - Method in class com.google.javascript.jscomp.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.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.
- getSourceFile(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- getSourceFileContentByName(String) - Method in class com.google.javascript.jscomp.Compiler
- getSourceFilename() - Method in class com.google.javascript.refactoring.SuggestedFix.MatchedNodeInfo
- getSourceFileName() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
- getSourceFileName() - Method in class com.google.javascript.rhino.Node
- getSourceLine(String, int) - Method in class com.google.javascript.jscomp.Compiler
- getSourceLine(String, int) - Method in interface com.google.javascript.jscomp.SourceExcerptProvider
-
Get the line indicated by the line number.
- getSourceLines(String, int, int) - Method in class com.google.javascript.jscomp.Compiler
- getSourceLines(String, int, int) - Method in interface com.google.javascript.jscomp.SourceExcerptProvider
-
Gets the specific lines returned by the beginning and excerpt length.
- getSourceMap() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.JsonFileSpec
- getSourceMap() - Method in class com.google.javascript.jscomp.Compiler
- getSourceMap(ErrorManager) - Method in class com.google.javascript.jscomp.SourceMapInput
-
Gets the source map, reading from disk and parsing if necessary.
- getSourceMap(String) - Method in interface com.google.debugging.sourcemap.SourceMapSupplier
- 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.
- 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.
- getSourceMapURL() - Method in class com.google.javascript.jscomp.parsing.parser.Parser
-
Returns the url provided by the sourceMappingURL if any was found.
- getSourceName() - Method in class com.google.javascript.jscomp.JSError
-
Name of the source
- 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() - Method in class com.google.javascript.rhino.JSTypeExpression
- getSourceName(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- getSourceOffset() - Method in class com.google.javascript.rhino.Node
- getSourcePosition() - Method in class com.google.javascript.rhino.Node
- getSourceRegion(String, int) - Method in class com.google.javascript.jscomp.Compiler
- getSourceRegion(String, int) - Method in interface com.google.javascript.jscomp.SourceExcerptProvider
-
Get a region around the indicated line number.
- getSourceRoot() - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
- getSourceRoot() - Method in class com.google.debugging.sourcemap.SourceMapObject
- getSources() - Method in class com.google.debugging.sourcemap.SourceMapObject
- getSourcesContent() - Method in class com.google.debugging.sourcemap.SourceMapObject
- 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.
- getStartPosition() - Method in class com.google.javascript.rhino.NonJSDocComment
- 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.
- getStringKey() - Method in class com.google.javascript.jscomp.DestructuredTarget
-
Returns a STRING_KEY node or null
- 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.
- getStrongDependenciesOf(List<INPUT>, boolean) - Method in class com.google.javascript.jscomp.deps.Es6SortedDependencies
- getStrongDependenciesOf(List<INPUT>, boolean) - Method in interface com.google.javascript.jscomp.deps.SortedDependencies
-
Gets all the strong dependencies of the given roots.
- 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
- 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
- getSuppressionNames() - Static method in class com.google.javascript.jscomp.parsing.ParserRunner
- getSuppressions() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns the set of suppressed warnings.
- getSureFixes() - Method in class com.google.javascript.refactoring.FixingErrorManager
-
Returns fixes for errors and warnings that only have one 'sure' guaranteed fix.
- getSymbol() - Method in class com.google.javascript.jscomp.AbstractVar
- getSymbol() - Method in class com.google.javascript.jscomp.deps.DependencyInfo.Require
- getSymbol() - Method in class com.google.javascript.jscomp.Reference
- 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(EnumType) - Method in class com.google.javascript.jscomp.SymbolTable
-
Gets the symbol for the given enum.
- getSymbolDeclaredBy(FunctionType) - Method in class com.google.javascript.jscomp.SymbolTable
-
Gets the symbol for the given constructor or interface.
- getSymbolForInstancesOf(SymbolTable.Symbol) - Method in class com.google.javascript.jscomp.SymbolTable
-
Gets the symbol for the prototype if this is the symbol for a constructor or interface.
- getSymbolForInstancesOf(FunctionType) - Method in class com.google.javascript.jscomp.SymbolTable
-
Gets the symbol for the prototype of the given constructor or interface.
- getSymbolForScope(SymbolTable.SymbolScope) - Method in class com.google.javascript.jscomp.SymbolTable
-
All local scopes are associated with a function, and some functions are associated with a symbol.
- getTemplateKeys() - Method in class com.google.javascript.rhino.jstype.TemplateTypeMap
-
Returns a list of all template keys.
- 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.
- getTemplateParamCount() - Method in class com.google.javascript.rhino.jstype.JSType
-
Return the number of template parameters declared for this type.
- getTemplateParamCount() - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
- getTemplateParamCount() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
- 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 names.
- getTemplateTypes() - Method in class com.google.javascript.rhino.JSDocInfo
- getTemplateTypes() - Method in class com.google.javascript.rhino.jstype.NamedType
- getTemplateTypes() - Method in class com.google.javascript.rhino.jstype.NoResolvedType
- 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
- getTemplateValues() - Method in class com.google.javascript.rhino.jstype.TemplateTypeMap
- GETTER - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- GETTER_DEF - com.google.javascript.rhino.Token
- getThisAndAllDependencies() - Method in class com.google.javascript.jscomp.JSModule
-
Returns this module and all of its dependencies in one list.
- getThisType() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the type specified by the
@this
annotation. - getThrownTypes() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns the list of thrown types.
- 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
- getTopMostDefiningType(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Returns the top most type that defines the property.
- getTopmostScopeOfEventualDeclaration(String) - Method in class com.google.javascript.jscomp.TypedScope
- getTopmostScopeOfEventualDeclaration(String) - Method in interface com.google.javascript.rhino.StaticScope
-
Returns the topmost slot containing this name, or null if no slots do.
- getTopScope() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Gets the top scope.
- getTopScope() - Method in class com.google.javascript.jscomp.Compiler
- getTracerMode() - Method in class com.google.javascript.jscomp.CompilerOptions
- getTranformationName() - Method in class com.google.javascript.jscomp.bundle.CompilerBasedTransformer
- getTranformationName() - Method in class com.google.javascript.jscomp.bundle.CoverageInstrumenter
- getTranformationName() - Method in class com.google.javascript.jscomp.bundle.Transpiler
- getTranspileOnlyPasses() - Method in class com.google.javascript.jscomp.DefaultPassConfig
- getTranspileOnlyPasses() - Method in class com.google.javascript.jscomp.PassConfig
-
Gets the transpilation passes
- getTranspileOnlyPasses() - Method in class com.google.javascript.jscomp.PassConfig.PassConfigDelegate
- getTraversal() - Method in class com.google.javascript.refactoring.NodeMetadata
- 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.deps.DependencyInfo.Require
- getType() - Method in class com.google.javascript.jscomp.JSError
-
A type of the error.
- 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() - 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(StaticTypedScope, String, String, int, int) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Looks up a type by name.
- getType(StaticScope, String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Looks up a native type by name.
- getTypedefType() - Method in class com.google.javascript.rhino.JSDocInfo
-
Gets the typedef type specified by the
@type
annotation. - getTypedefTypeProp() - Method in class com.google.javascript.rhino.Node
-
If this node represents a typedef declaration, the associated JSType
- getTypedPercent() - Method in interface com.google.javascript.jscomp.ErrorManager
-
Gets the percentage of typed expressions.
- getTypedPercent() - Method in class com.google.javascript.jscomp.SortingErrorManager
- 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
- getTypeExpressions() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns a collection of all JSTypeExpressions that are a part of this JSDocInfo.
- 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.
- getTypeMismatches() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Gets the central registry of type violations.
- getTypeMismatches() - Method in class com.google.javascript.jscomp.Compiler
- getTypeNodes() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns a collection of all type nodes that are a part of this JSDocInfo.
- getTypeOfThis() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
- getTypeOfThis() - Method in class com.google.javascript.jscomp.TypedScope
-
Gets the type of
this
in the current scope. - 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.rhino.jstype.JSType
-
Return, in order, the sequence of type parameters declared for this type.
- 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
- getTypeRequires() - Method in class com.google.javascript.jscomp.CompilerInput
- getTypeRequires() - Method in interface com.google.javascript.jscomp.deps.DependencyInfo
-
Gets the symbols type-required by this file (i.e.
- getTypeRequires() - Method in class com.google.javascript.jscomp.JSModule
- getTypeRequires() - Method in class com.google.javascript.jscomp.LazyParsedDependencyInfo
- getTypes() - Method in class com.google.javascript.jscomp.DiagnosticGroup
-
Returns all the types in this group.
- getTypesUnderEquality(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Computes the subset of
this
andthat
types if equality is observed. - getTypesUnderEquality(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
- getTypesUnderInequality(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Computes the subset of
this
andthat
types if inequality is observed. - getTypesUnderInequality(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
- getTypesUnderShallowEquality(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Computes the subset of
this
andthat
types under shallow equality. - getTypesUnderShallowInequality(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Computes the subset of
this
andthat
types under shallow inequality. - getTypesUnderShallowInequality(JSType) - Method in class com.google.javascript.rhino.jstype.UnionType
- 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.
- 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.rhino.jstype.JSType
- getUniqueId(CompilerInput) - Method in class com.google.javascript.jscomp.UniqueIdSupplier
-
Creates and returns a unique Id across all compiler input source files.
- getUseOriginalNamesInOutput() - Method in class com.google.javascript.jscomp.CompilerOptions
- 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.LinkedDiGraphEdge
- getValue() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDiGraphNode
- getValue() - Method in enum com.google.javascript.jscomp.WarningsGuard.Priority
- getValue() - Method in class com.google.javascript.rhino.jstype.Property.OwnedProperty
- getVar(String) - Method in class com.google.javascript.jscomp.AbstractScope
-
Returns the variable, may be null
- getVar(String) - Method in class com.google.javascript.jscomp.TypedScope
-
Returns the slot for
name
, considering shadowing of qualified names. - getVarCount() - Method in class com.google.javascript.jscomp.AbstractScope
-
Returns number of variables in this scope (excluding the special 'arguments' variable)
- getVarIterable() - Method in class com.google.javascript.jscomp.AbstractScope
-
Return an iterable over all of the variables declared in this scope (except the special 'arguments' variable).
- getVersion() - Method in class com.google.debugging.sourcemap.SourceMapObject
- getVersion() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns the version or null if none.
- getVersionText() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Some text identifying this binary and its version.
- getVersionText() - Method in class com.google.javascript.jscomp.CommandLineRunner
- getViolatingNodes(Compiler, Node, Node, Requirement) - Static method in class com.google.javascript.jscomp.ConformanceAllowlister
- getViolatingPaths(Compiler, Node, Node, Requirement) - Static method in class com.google.javascript.jscomp.ConformanceAllowlister
- 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.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.SortingErrorManager
- getWarningCount() - Method in class com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager
- getWarnings() - Method in class com.google.javascript.jscomp.Compiler
-
Returns the list 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.SortingErrorManager
- getWarnings() - Method in class com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager
- getWebpackId() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.JsonFileSpec
- 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
- 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.
- getWhitespaceOnlyPasses() - Method in class com.google.javascript.jscomp.PassConfig.PassConfigDelegate
- GLOBAL_THIS - com.google.javascript.rhino.jstype.JSTypeNative
- GLOBAL_THIS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- GLOBAL_THIS - Static variable in class com.google.javascript.jscomp.SymbolTable
-
The name we use for the JavaScript built-in Global object.
- GLOBALLY_MISSING_PROPERTIES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- goog - Variable in class com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo
- GOOG - com.google.javascript.jscomp.CompilerInput.ModuleType
- GOOG_MODULE - com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo.ModuleType
- GOOG_MODULE - com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleType
-
A goog.module that does not declare a legacy namespace.
- GOOG_MODULE - Static variable in class com.google.javascript.rhino.Node
- GOOG_PROVIDE - com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo.ModuleType
- GOOG_PROVIDE - com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleType
- GOOG_REQUIRE_SYMBOL - com.google.javascript.jscomp.deps.DependencyInfo.Require.Type
-
Standard goog.require call for a symbol from a goog.provide or goog.module.
- GoogBindToArrow - Class in com.google.javascript.refactoring.examples
-
Replaces goog.bind(..., this) with arrow functions.
- GoogBindToArrow() - Constructor for class com.google.javascript.refactoring.examples.GoogBindToArrow
- GoogEsImports - Class in com.google.javascript.jscomp.modules
-
Utilties for ES imports for Closure files, for example
import array from 'goog:goog.array';
. - googForwardDeclare() - Static method in class com.google.javascript.refactoring.Matchers
- 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.
- googModule() - Static method in class com.google.javascript.refactoring.Matchers
- googModuleOrProvide() - Static method in class com.google.javascript.refactoring.Matchers
- googNamespaces() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
-
Closure namespaces that this file is associated with.
- googNamespacesBuilder() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata.Builder
- googRequire() - Static method in class com.google.javascript.refactoring.Matchers
- GoogRequire() - Constructor for class com.google.javascript.jscomp.NodeUtil.GoogRequire
- googRequirelike() - Static method in class com.google.javascript.refactoring.Matchers
- googRequirelike(String) - Static method in class com.google.javascript.refactoring.Matchers
- googRequireSymbol(String) - Static method in class com.google.javascript.jscomp.deps.DependencyInfo.Require
- googRequireType() - Static method in class com.google.javascript.refactoring.Matchers
- graph - Variable in class com.google.javascript.jscomp.graph.GraphColoring
- Graph<N,E> - Class in com.google.javascript.jscomp.graph
-
The base generic class for graph-like data structure and algorithms in the compiler.
- Graph() - Constructor for class com.google.javascript.jscomp.graph.Graph
- Graph.GraphEdge<N,E> - Interface in com.google.javascript.jscomp.graph
-
A generic edge.
- GraphColoring<N,E> - Class in com.google.javascript.jscomp.graph
-
Annotates the graph with a color in a way that no connected node will have the same color.
- GraphColoring(AdjacencyGraph<N, E>) - Constructor for class com.google.javascript.jscomp.graph.GraphColoring
- GraphColoring.Color - Class in com.google.javascript.jscomp.graph
-
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.
- GREATER_EQUAL - com.google.javascript.jscomp.parsing.parser.TokenType
- GREATEST_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- GreedyGraphColoring(AdjacencyGraph<N, E>) - Constructor for class com.google.javascript.jscomp.graph.GraphColoring.GreedyGraphColoring
- GreedyGraphColoring(AdjacencyGraph<N, E>, Comparator<N>) - Constructor for class com.google.javascript.jscomp.graph.GraphColoring.GreedyGraphColoring
- GT - com.google.javascript.rhino.Token
- GwtProperties - Class in com.google.javascript.jscomp.resources
-
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
- HamtPMap<K,V> - Class in com.google.javascript.rhino
-
An immutable sorted map with efficient (persistent) updates.
- handleViolation(String, Node) - Method in interface com.google.javascript.jscomp.AstValidator.ViolationHandler
- has(FeatureSet.Feature) - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Does this
FeatureSet
includefeature
? - has(Node, Predicate<Node>, Predicate<Node>) - Static method in class com.google.javascript.jscomp.NodeUtil
- hasAnyTemplateTypes() - Method in class com.google.javascript.rhino.jstype.JSType
- 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
- hasBaseType() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether this
JSDocInfo
contains a type for@extends
annotation. - hasBrackets() - Method in class com.google.javascript.rhino.JSDocInfo.TypePosition
-
Returns whether the type has curly braces around it.
- hasCachedValues() - Method in class com.google.javascript.rhino.jstype.FunctionType
- hasCachedValues() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Returns true if any cached values have been set for this type.
- hasCapturingGroup() - Method in class com.google.javascript.jscomp.regex.RegExpTree
-
True if the regular expression contains capturing groups.
- hasChild(Node) - Method in class com.google.javascript.rhino.Node
- hasChildren() - Method in class com.google.javascript.rhino.Node
- hasClosurePrimitiveId() - Method in class com.google.javascript.rhino.JSDocInfo
-
Whether this JSDoc is annotated with
@closurePrimitive
- HasCompiler - Interface in com.google.javascript.jscomp
-
An interface for objects that can provide a compiler instance.
- hasComputedProperty() - Method in class com.google.javascript.jscomp.DestructuredTarget
- hasConstAnnotation() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@const
annotation is present on thisJSDocInfo
. - hasDefaultValue() - Method in class com.google.javascript.jscomp.DestructuredTarget
- 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
- hasError() - Method in class com.google.javascript.jscomp.parsing.parser.TemplateLiteralToken
- 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. - hasExtension(String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Check whether or not the sourcemap has an extension.
- hasFileOverview() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether this has a fileoverview flag.
- hasHaltingErrors() - Method in interface com.google.javascript.jscomp.ErrorManager
-
Returns if the error manager has errors that should make compilation halt.
- hasHaltingErrors() - Method in class com.google.javascript.jscomp.SortingErrorManager
- hasHaltingErrors() - Method in class com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager
- hashCode() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.FlagEntry
- hashCode() - Method in class com.google.javascript.jscomp.colors.DebugInfo
-
All DebugInfo objects have the same hashCode
- 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.modules.ModuleMetadataMap.ModuleMetadata
- hashCode() - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
- hashCode() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Alternation
- hashCode() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Anchor
- hashCode() - Method in class com.google.javascript.jscomp.regex.RegExpTree.BackReference
- hashCode() - Method in class com.google.javascript.jscomp.regex.RegExpTree.CapturingGroup
- hashCode() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Charset
- hashCode() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Concatenation
- hashCode() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Empty
- hashCode() - Method in class com.google.javascript.jscomp.regex.RegExpTree
- hashCode() - Method in class com.google.javascript.jscomp.regex.RegExpTree.LookaheadAssertion
- hashCode() - Method in class com.google.javascript.jscomp.regex.RegExpTree.LookbehindAssertion
- hashCode() - Method in class com.google.javascript.jscomp.regex.RegExpTree.NamedBackReference
- hashCode() - Method in class com.google.javascript.jscomp.regex.RegExpTree.NamedCaptureGroup
- hashCode() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Repetition
- hashCode() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Text
- hashCode() - Method in class com.google.javascript.jscomp.regex.RegExpTree.UnicodePropertyEscape
- hashCode() - Method in class com.google.javascript.jscomp.regex.RegExpTree.WordBoundary
- hashCode() - Method in class com.google.javascript.jscomp.SourceMap.PrefixLocationMapping
- 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.rhino.InputId
- hashCode() - Method in class com.google.javascript.rhino.jstype.JSType
-
Calculates a hash of the object as per
Object.hashCode()
. - hashCode() - Method in class com.google.javascript.rhino.jstype.Property
- hashCode() - Method in class com.google.javascript.rhino.JSTypeExpression
- hashCode(String) - Method in interface com.google.javascript.jscomp.Xid.HashFunction
- hasImplementedInterfaces() - Method in class com.google.javascript.rhino.jstype.FunctionType
- hasInstanceType() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Returns whether this function type has an instance type.
- hasLendsName() - Method in class com.google.javascript.rhino.JSDocInfo
- hasMadeReplacement() - Method in class com.google.javascript.rhino.jstype.TemplateTypeReplacer
- hasModifies() - Method in class com.google.javascript.rhino.JSDocInfo
- 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().
- hasNext() - Method in interface com.google.debugging.sourcemap.Base64VLQ.CharIterator
- hasNode(N) - Method in class com.google.javascript.jscomp.graph.Graph
-
Checks whether the node exists in the graph (
Graph.createNode(Object)
has been called with that value). - hasOneChild() - Method in class com.google.javascript.rhino.Node
-
Check for one child more efficiently than by iterating over all the children as is done with Node.getChildCount().
- hasOwnImplicitSlot(AbstractScope.ImplicitVar) - Method in class com.google.javascript.jscomp.AbstractScope
-
Returns true iff this scope implies a slot with the given name.
- hasOwnImplicitSlot(AbstractScope.ImplicitVar) - Method in class com.google.javascript.jscomp.TypedScope
- 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.
- hasOwnSlot(String) - Method in class com.google.javascript.jscomp.AbstractScope
-
Returns true if a variable is declared in this scope, with no recursion.
- 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
- hasProperties() - Method in class com.google.javascript.rhino.jstype.FunctionType
- hasProperty(String) - Method in class com.google.javascript.rhino.jstype.JSType
-
Checks whether the property is present on the object.
- hasProps() - Method in class com.google.javascript.rhino.Node
- hasReferenceName() - Method in class com.google.javascript.rhino.jstype.ObjectType
-
INVARIANT:
hasReferenceName()
is true if and only ifgetReferenceName()
returns a non-null string. - 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. - hasSideEffectsArgumentsAnnotation() - Method in class com.google.javascript.rhino.JSDocInfo
- hasSlot(String) - Method in class com.google.javascript.jscomp.AbstractScope
-
Returns true if a variable is declared in this or any parent scope.
- hasSoyDelcalls - Variable in class com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo
- hasSoyDeltemplates - Variable in class com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo
- hasStringKey() - Method in class com.google.javascript.jscomp.DestructuredTarget
- 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. - hasTrailingComma - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ArgumentListTree
- hasTrailingComma - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ArrayLiteralExpressionTree
- hasTrailingComma - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FormalParameterListTree
- hasTrailingComma - Variable in class com.google.javascript.jscomp.parsing.parser.trees.NewExpressionTree
- hasTrailingComma - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ObjectLiteralExpressionTree
- hasTrailingComma - Variable in class com.google.javascript.jscomp.parsing.parser.trees.OptionalCallExpressionTree
- hasTrailingComma() - Method in class com.google.javascript.rhino.Node
-
Returns true if there was a trailing comma in the orginal code
- 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.rhino.JSDocInfo
-
Returns whether a type, specified using the
@type
annotation, is present on this JSDoc. - hasTypeCheckingRun() - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Gets the type-checking pass that ran most recently.
- hasTypeCheckingRun() - Method in class com.google.javascript.jscomp.Compiler
- 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
- hasUnescapedUnicodeLineOrParagraphSeparator() - Method in class com.google.javascript.jscomp.parsing.parser.StringLiteralToken
- 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().
- hook(Node, Node, Node) - Static method in class com.google.javascript.rhino.IR
- HOOK - com.google.javascript.rhino.Token
- 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.ClosureCheckModule
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.DartSuperAccessorsPass
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6CheckModule
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6ConvertSuper
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6ExtractClasses
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6ForOfConverter
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6NormalizeShorthandProperties
- 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.Es6RewriteBlockScopedFunctionDeclaration
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteClass
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteClassExtendsExpressions
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteDestructuring
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteModules
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteRestAndSpread
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteScriptsToModules
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es6SplitVariableDeclarations
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.Es7RewriteExponentialOperator
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.FieldCleanupPass
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.GatherModuleMetadata
- 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.InjectTranspilationRuntimeLibraries
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.LateEs6ToEs3Converter
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckArrayWithGoogObject
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckConstantCaseNames
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckDefaultExportOfGoogModule
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckDuplicateCase
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckExtraRequires
- 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.CheckUnusedLabels
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckUselessBlocks
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.MarkUntranspilableFeaturesAsRemoved
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.modules.ModuleMapCreator
- 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.RewriteAsyncIteration
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.RewriteGoogJsImports
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.RewriteNullishCoalesceOperator
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.RewriteObjectSpread
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.RewritePolyfills
- hotSwapScript(Node, Node) - Method in class com.google.javascript.jscomp.WhitespaceWrapGoogModules
I
- I_ARRAY_LIKE_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- I_ARRAY_LIKE_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- I_ITERABLE_RESULT_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- I_ITERABLE_RESULT_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- I_OBJECT_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- I_OBJECT_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- I_TEMPLATE_ARRAY_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- I_THENABLE_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- I_THENABLE_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- IDENTIFIER - com.google.javascript.jscomp.parsing.parser.TokenType
- IDENTIFIER_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- IdentifierExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
- IdentifierExpressionTree(SourceRange, IdentifierToken) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.IdentifierExpressionTree
- Identifiers - Class in com.google.javascript.jscomp.parsing.parser
-
JS identifier parsing utilities.
- identifierToken - Variable in 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
- identifyNonNullableName(StaticScope, 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
- identity() - Static method in interface com.google.javascript.jscomp.bundle.Source.Transformer
-
Returns an identity transformer.
- 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
- IdGenerator - Class in com.google.javascript.jscomp
-
Id generator used in CrossModuleMotion.
- IdGenerator() - Constructor for class com.google.javascript.jscomp.IdGenerator
- 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
. - IF - com.google.javascript.jscomp.parsing.parser.Keywords
- IF - com.google.javascript.jscomp.parsing.parser.TokenType
- IF - com.google.javascript.rhino.Token
- IF_STATEMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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
- IGNORE_NULL_UNDEFINED - com.google.javascript.rhino.jstype.JSType.SubtypingMode
- IIFE - com.google.javascript.jscomp.CompilerOptions.IsolationMode
- IJS - com.google.javascript.jscomp.AbstractCommandLineRunner.JsSourceType
- IjsErrors - Class in com.google.javascript.jscomp.ijs
-
IJS-related errors occurring outside the
ConvertToTypedInterface
pass. - 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 - com.google.javascript.jscomp.parsing.parser.Keywords
- IMPLEMENTS - com.google.javascript.jscomp.parsing.parser.TokenType
- IMPLEMENTS - com.google.javascript.rhino.Token
- IMPLEMENTS - Static variable in class com.google.javascript.rhino.Node
- IMPLICIT - com.google.javascript.rhino.jstype.JSType.Nullability
-
Omit the explicit '!' from the outermost non-nullable reference type.
- IMPLICITLY_NONNULL_JSDOC - Static variable in class com.google.javascript.jscomp.ImplicitNullabilityCheck
- 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
- ImplicitNullabilityCheck.Nullability - Enum in com.google.javascript.jscomp
-
Represents the types of implicit nullability errors caught by this pass: a) implicitly nonnull (missing a "!"), and b) implicitly nullable (missing a "?").
- ImplicitNullabilityCheck.Result - Class in com.google.javascript.jscomp
-
Information to represent a single "implicit nullability result", including the JSDoc string node that needs a "!" or "?" to be explicit, as well as an enum indicating which of the two nullability cases were found ("!" or "?").
- Import - Class in com.google.javascript.jscomp.modules
-
An
import
ed name in a module. - IMPORT - com.google.javascript.jscomp.parsing.parser.Keywords
- IMPORT - com.google.javascript.jscomp.parsing.parser.TokenType
- IMPORT - com.google.javascript.rhino.Token
- IMPORT_DECLARATION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- IMPORT_META - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- IMPORT_META - com.google.javascript.rhino.Token
- IMPORT_META_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- IMPORT_SPEC - com.google.javascript.rhino.Token
- IMPORT_SPECIFIER - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- IMPORT_SPECS - com.google.javascript.rhino.Token
- IMPORT_STAR - com.google.javascript.rhino.Token
- IMPORTANT - com.google.javascript.jscomp.parsing.parser.trees.Comment.Type
- 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
- IMPORTED_AMBIGUOUS_EXPORT - Static variable in class com.google.javascript.jscomp.modules.EsModuleProcessor
- IMPORTED_SCRIPT - com.google.javascript.jscomp.CompilerInput.ModuleType
- importedModules - Variable in class com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo
- importedName - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ExportSpecifierTree
- importedName - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ImportSpecifierTree
- importMeta() - Static method in class com.google.javascript.rhino.IR
- ImportMetaExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Represents 'new.target'.
- ImportMetaExpressionTree(SourceRange) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ImportMetaExpressionTree
- importName() - Method in class com.google.javascript.jscomp.modules.Export
-
Returns the name imported from another module.
- importName() - Method in class com.google.javascript.jscomp.modules.Import
-
Returns the name that was imported from the requested module.
- importNode() - Method in class com.google.javascript.jscomp.modules.Import
-
Returns the import node for source information.
- 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
- IN - com.google.javascript.jscomp.parsing.parser.Keywords
- IN - com.google.javascript.jscomp.parsing.parser.TokenType
- IN - com.google.javascript.rhino.Token
- IN_FOR_INIT_CLAUSE - com.google.javascript.jscomp.CodeGenerator.Context
- inc(Node, boolean) - Static method in class com.google.javascript.rhino.IR
- INC - com.google.javascript.rhino.Token
- INCLUDE - com.google.javascript.jscomp.ShowByPathWarningsGuard.ShowType
- INCLUDE_ALL_COMMENTS - com.google.javascript.jscomp.parsing.Config.JsDocParsing
- INCLUDE_DEBUG_INFO - com.google.javascript.rhino.serialization.SerializationOptions
- INCLUDE_DEBUG_INFO_AND_EXPENSIVE_VALIDITY_CHECKS - com.google.javascript.rhino.serialization.SerializationOptions
- INCLUDE_DESCRIPTIONS_NO_WHITESPACE - com.google.javascript.jscomp.parsing.Config.JsDocParsing
- INCLUDE_DESCRIPTIONS_WITH_WHITESPACE - com.google.javascript.jscomp.parsing.Config.JsDocParsing
- includesGlobals() - Method in enum com.google.javascript.jscomp.CompilerOptions.Reach
- INCORRECT_ANNOTATION_ON_GETTER_SETTER - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
- 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
- INDEX_SIGNATURE - com.google.javascript.rhino.Token
- INEXISTENT_PROPERTY - Static variable in class com.google.javascript.jscomp.TypeCheck
- INFER_CONSTS - Static variable in class com.google.javascript.jscomp.PassNames
- INFER_TYPES - Static variable in class com.google.javascript.jscomp.PassNames
- inferQualifiedSlot(Node, String, JSType, JSType, boolean) - Method in interface com.google.javascript.jscomp.type.FlowScope
-
Returns a flow scope with the type of the given
symbol
updated toinferredType
. - inferSlotType(String, JSType) - Method in interface com.google.javascript.jscomp.type.FlowScope
-
Returns a flow scope with the type of the given
symbol
updated totype
. - inForInInitClause() - Method in enum com.google.javascript.jscomp.CodeGenerator.Context
- 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.
- inGlobalOrModuleScope() - Method in class com.google.javascript.jscomp.NodeTraversal
- inGlobalScope() - Method in class com.google.javascript.jscomp.NodeTraversal
-
Determines whether the traversal is currently in the global scope.
- INHERITED - com.google.javascript.rhino.JSDocInfo.Visibility
- INHERITS - com.google.javascript.jscomp.CodingConvention.SubclassType
- init(List<T1>, List<T2>, CompilerOptions) - Method in class com.google.javascript.jscomp.Compiler
-
Initializes the instance state needed for a compile job.
- 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.ForAwaitOfStatementTree
- 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.
- initWebpackMap(ImmutableMap<String, String>) - Method in class com.google.javascript.jscomp.Compiler
- InjectTranspilationRuntimeLibraries - Class in com.google.javascript.jscomp
-
Injects JS library code that may be needed by the transpiled form of the input source code.
- InjectTranspilationRuntimeLibraries(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.InjectTranspilationRuntimeLibraries
- INLINE_FUNCTIONS - Static variable in class com.google.javascript.jscomp.PassNames
- INLINE_PROPERTIES - Static variable in class com.google.javascript.jscomp.PassNames
- INLINE_TYPE_ALIASES - Static variable in class com.google.javascript.jscomp.PassNames
- INLINE_VARIABLES - Static variable in class com.google.javascript.jscomp.PassNames
- inlineConstantVars - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Inlines constants (symbols that are all CAPS)
- 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.
- 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.
- instance() - Method in class com.google.javascript.rhino.NominalTypeBuilder
-
Returns the instance type as a JSType.
- INSTANCEOF - com.google.javascript.jscomp.parsing.parser.Keywords
- INSTANCEOF - com.google.javascript.jscomp.parsing.parser.TokenType
- INSTANCEOF - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- INSTANCEOF - com.google.javascript.rhino.Token
- instrumentationMappings - Variable in class com.google.javascript.jscomp.Result
- INSTRUMENTER - Static variable in class com.google.javascript.jscomp.bundle.CoverageInstrumenter
- instrumentForCoverage() - Method in class com.google.javascript.jscomp.Compiler
-
Instrument code for coverage.
- INTERFACE - com.google.javascript.jscomp.parsing.parser.Keywords
- INTERFACE - com.google.javascript.jscomp.parsing.parser.TokenType
- INTERFACE - com.google.javascript.rhino.Token
- INTERFACE_EXTENDS - com.google.javascript.rhino.Token
- INTERFACE_FUNCTION_NOT_EMPTY - Static variable in class com.google.javascript.jscomp.lint.CheckInterfaces
- INTERFACE_MEMBERS - com.google.javascript.rhino.Token
- INTERFACE_SHOULD_NOT_TAKE_ARGS - Static variable in class com.google.javascript.jscomp.lint.CheckInterfaces
- 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_CONST_PARAM - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- INVALID_DEFINES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- INVALID_MODULE_PATH - Static variable in class com.google.javascript.jscomp.deps.ModuleLoader
- INVALID_RENAME_FUNCTION - Static variable in class com.google.javascript.jscomp.PropertyRenamingDiagnostics
- InvalidatingTypes - Class in com.google.javascript.jscomp
-
Keeps track of "invalidating types" that force type-based optimizations to back off, specifically for
InlineProperties
,AmbiguateProperties
, andDisambiguateProperties
. - InvalidatingTypes.Builder - Class in com.google.javascript.jscomp
-
Builder
- INVALIDATION - Static variable in class com.google.javascript.jscomp.PropertyRenamingDiagnostics
- INVALIDATION_ON_TYPE - Static variable in class com.google.javascript.jscomp.PropertyRenamingDiagnostics
- InvalidSerializedFormatException(String) - Constructor for exception com.google.javascript.jscomp.serialization.ColorDeserializer.InvalidSerializedFormatException
- IR - Class in com.google.javascript.rhino
-
An AST construction helper class
- is(NativeColorId) - Method in class com.google.javascript.jscomp.colors.Color
-
Whether this is exactly the given native color (and not a union containing that color
- IS_CONSTANT_NAME - Static variable in class com.google.javascript.rhino.Node
- IS_NAMESPACE - Static variable in class com.google.javascript.rhino.Node
- IS_SHORTHAND_PROPERTY - 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.rhino.JSDocInfo
-
Returns whether the
@abstract
annotation is present on thisJSDocInfo
. - isAbstract() - Method in class com.google.javascript.rhino.jstype.FunctionType
- 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.
- 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
- isAmbiguousConstructor() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Returns true if the constructor does not come from a literal class or function in the AST, or if it extends such an ambiguous constructor
- 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
- isAnyFor(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- isArguments() - Method in class com.google.javascript.jscomp.AbstractVar
- 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
- isAssignExponent() - Method in class com.google.javascript.rhino.Node
- isAssignmentOp(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- 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.
- isAsyncGeneratorFunction() - Method in class com.google.javascript.rhino.Node
-
Returns whether this is an async generator function node.
- isAtSignCodePresent() - Method in class com.google.javascript.rhino.JSDocInfo
- isAwait() - Method in class com.google.javascript.rhino.Node
- isBigInt() - Method in class com.google.javascript.rhino.Node
- isBigIntObjectType() - Method in class com.google.javascript.rhino.jstype.JSType
- isBigIntOrNumber() - Method in class com.google.javascript.rhino.jstype.JSType
- isBigIntResult(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Returns true if the result of node evaluation is always a bigint
- isBigIntValueType() - Method in class com.google.javascript.rhino.jstype.BigIntType
- isBigIntValueType() - Method in class com.google.javascript.rhino.jstype.JSType
- isBleedingFunction() - Method in class com.google.javascript.jscomp.AbstractVar
-
Whether this is a bleeding function (an anonymous named function that bleeds into the inner scope).
- isBlock() - Method in class com.google.javascript.rhino.Node
- isBlocklessArrowFunctionResult(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- isBlockScope() - Method in class com.google.javascript.jscomp.AbstractScope
- isBlockScope() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
- 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.rhino.jstype.BooleanType
- isBooleanValueType() - Method in class com.google.javascript.rhino.jstype.JSType
- isBoxableScalar() - Method in class com.google.javascript.rhino.jstype.JSType
- isBreak() - Method in class com.google.javascript.rhino.Node
- isBreakTarget(Node, String) - Static method in class com.google.javascript.jscomp.ControlFlowAnalysis
-
Checks if target is actually the break target of labeled continue.
- 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, Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
A faster version of
NodeUtil.isCallTo(Node, String)
. - 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.Alternation
- isCaseSensitive() - Method in class com.google.javascript.jscomp.regex.RegExpTree.CapturingGroup
- isCaseSensitive() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Charset
- isCaseSensitive() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Concatenation
- 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. - isCaseSensitive() - Method in class com.google.javascript.jscomp.regex.RegExpTree.LookaheadAssertion
- isCaseSensitive() - Method in class com.google.javascript.jscomp.regex.RegExpTree.LookbehindAssertion
- isCaseSensitive() - Method in class com.google.javascript.jscomp.regex.RegExpTree.NamedCaptureGroup
- isCaseSensitive() - Method in class com.google.javascript.jscomp.regex.RegExpTree.RegExpTreeAtom
- isCaseSensitive() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Repetition
- isCaseSensitive() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Text
- isCast() - Method in class com.google.javascript.rhino.Node
- isCatch() - Method in class com.google.javascript.rhino.Node
- isCatchScope() - Method in class com.google.javascript.jscomp.AbstractScope
- 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
- isChromePassEnabled() - Method in class com.google.javascript.jscomp.CompilerOptions
- 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
- isColorFromTypeCast() - Method in class com.google.javascript.rhino.Node
-
Indicates that this node's color comes from a type assertion.
- isComma() - Method in class com.google.javascript.rhino.Node
- isCommonJs() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
- isCommonJsDynamicImportCallback(Node, ModuleLoader.ResolutionMode) - Static method in class com.google.javascript.jscomp.ProcessCommonJSModules
-
Recognize if a node is a dynamic module import.
- isCommonJsExport(NodeTraversal, Node, ModuleLoader.ResolutionMode) - Static method in class com.google.javascript.jscomp.ProcessCommonJSModules
-
Recognize if a node is a module export.
- isCommonJsImport(Node) - Method in class com.google.javascript.jscomp.ProcessCommonJSModules
- isCommonJsImport(Node, ModuleLoader.ResolutionMode) - Static method in class com.google.javascript.jscomp.ProcessCommonJSModules
-
Recognize if a node is a module import.
- isCompoundAssignmentOp(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
- isConfig - Variable in class com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo
- isConnected(N, E, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
- isConnected(N, E, N) - Method in class com.google.javascript.jscomp.graph.Graph
-
Checks whether two nodes in the graph are connected by the given edge type.
- isConnected(N, E, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
- isConnected(N, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
- isConnected(N, N) - Method in class com.google.javascript.jscomp.graph.Graph
-
Checks whether two nodes in the graph are connected.
- isConnected(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
- isConnectedInDirection(LinkedDirectedGraph.LinkedDiGraphNode<N, E>, Predicate<E>, LinkedDirectedGraph.LinkedDiGraphNode<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.
- isConnectedInDirection(N, E, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
-
Checks whether two nodes in the graph are connected via a directed edge with the given value.
- isConnectedInDirection(N, E, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
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, N) - Method in class com.google.javascript.jscomp.graph.DiGraph
-
Checks whether two nodes in the graph are connected via a directed edge.
- isConnectedInDirection(N, N) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
-
DiGraphNode look ups can be expensive for a large graph operation, prefer the version below that takes DiGraphNodes, if you have them available.
- isConsistentIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfo
- isConst() - Method in class com.google.javascript.rhino.Node
- isConstant() - Method in class com.google.javascript.rhino.JSDocInfo
- isConstant(String) - Method in interface com.google.javascript.jscomp.CodingConvention
-
This checks whether a given variable name, such as a name in all-caps should be treated as if it had the @const annotation.
- isConstant(String) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
- isConstant(String) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
-
This checks whether a given variable name, such as a name in all-caps should be treated as if it had the @const annotation.
- isConstantKey(String) - Method in interface com.google.javascript.jscomp.CodingConvention
-
This checks whether a given key of an object literal, such as a name in all-caps should be treated as if it had the @const annotation.
- isConstantKey(String) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
- isConstantKey(String) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
- isConstDeclaration() - Method in class com.google.javascript.jscomp.Reference
- isConstructor() - Method in class com.google.javascript.jscomp.colors.Color
-
Whether this is a constructor (a type that TypeScript or Closure allows calling with 'new'
- isConstructor() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@constructor
annotation is present on thisJSDocInfo
. - isConstructor() - Method in class com.google.javascript.rhino.jstype.FunctionType
- isConstructor() - Method in class com.google.javascript.rhino.jstype.JSType
-
Whether this type is a
FunctionType
that is a constructor or a named type that points to such a type. - isConstructor() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
- 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.
- isCreatedByEsExport() - Method in class com.google.javascript.jscomp.modules.Binding
-
Returns whether this Binding originated from an ES import, as opposed to an export or goog.require.
- isCreatedByEsImport() - Method in class com.google.javascript.jscomp.modules.Binding
-
Returns whether this Binding originated from an ES import, as opposed to an export or goog.require.
- ISCTOR - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- isCustomElement() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether JSDoc is annotated with
@customElement
annotation. - isCustomElementRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether current JSDoc is annotated with
@customElement
. - 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
- isDeclarationLValue(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Determines whether this node is used as an L-value that is a declaration.
- isDeclaredConstantVar() - Method in class com.google.javascript.rhino.Node
-
Returns whether this variable is declared as a constant.
- isDeclaredOrInferredConst() - Method in class com.google.javascript.jscomp.AbstractVar
-
Returns
true
if the variable is declared or inferred to be a constant. - isDefault - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ExportDeclarationTree
- isDefaultCase() - Method in class com.google.javascript.rhino.Node
- isDefaultParam() - Method in class com.google.javascript.jscomp.AbstractVar
- isDefaultValue() - Method in class com.google.javascript.rhino.Node
- isDefine() - Method in class com.google.javascript.jscomp.AbstractVar
-
Returns
true
if the variable is declared as a define. - isDefine() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@define
annotation is present on thisJSDocInfo
. - ISDEFINED - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- isDeleted() - Method in class com.google.javascript.rhino.Node
- isDelProp() - Method in class com.google.javascript.rhino.Node
- isDeprecated() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@deprecated
annotation is present on thisJSDocInfo
. - 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.rhino.jstype.JSType
-
Returns true iff
this
can be adict
. - 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
- isDo() - Method in class com.google.javascript.rhino.Node
- isDocOnlyParameter() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
-
Whether this is a variable that's only in JSDoc.
- isDocScope() - Method in class com.google.javascript.jscomp.SymbolTable.SymbolScope
-
Returns whether this is a doc scope.
- isEmpty() - Method in class com.google.javascript.jscomp.JsMessage
- isEmpty() - Method in class com.google.javascript.rhino.HamtPMap
-
Returns whether this map is empty.
- 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
- isEmpty() - Method in interface com.google.javascript.rhino.PMap
-
Returns whether this map is empty.
- isEmptyBlock(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Returns whether this a BLOCK node with no children.
- isEmptyType() - Method in class com.google.javascript.rhino.jstype.JSType
- isEndingAsLineComment() - Method in class com.google.javascript.rhino.NonJSDocComment
- isEnhancedFor(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- isEnteringNewCfgNode(Node) - Static method in class com.google.javascript.jscomp.ControlFlowGraph
- isEnumElementType() - Method in class com.google.javascript.rhino.jstype.JSType
- isEnumType() - 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(Node, boolean, boolean, boolean, boolean) - Method in class com.google.javascript.rhino.Node
- 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 effects.
- isEquivalentWithSideEffectsToShallow(Node) - Method in class com.google.javascript.rhino.Node
-
Returns true if this node is equivalent semantically to another including side effects.
- isEs6Constructor(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- isEs6ConstructorMemberFunctionDef(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- isEs6Module() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
- isEs6ModuleRoot(Node) - Static method in class com.google.javascript.jscomp.Es6RewriteModules
-
Return whether or not the given script node represents an ES6 module file.
- 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 (as opposed to ? or *).
- isExplicitlyVoidable() - Method in class com.google.javascript.rhino.jstype.VoidType
- isExplicitUnknownTemplateBound() - Method in class com.google.javascript.rhino.JSTypeExpression
-
Whether this expression is an explicit unknown template bound.
- isExponent() - Method in class com.google.javascript.rhino.Node
- isExport() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@export
annotation is present on thisJSDocInfo
. - isExport() - Method in class com.google.javascript.rhino.Node
- isExportAll - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ExportDeclarationTree
- isExported(String) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Equivalent to `isExported(name, true) || isExported(name, false);`
- isExported(String) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
- isExported(String, boolean) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Checks whether a global variable or function name should be treated as exported, or externally referenceable.
- isExported(String, boolean) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
- isExported(String, boolean) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
-
Checks whether a global variable or function name should be treated as exported, or externally referenceable.
- isExportSpec() - Method in class com.google.javascript.rhino.Node
- isExportSpecs() - Method in class com.google.javascript.rhino.Node
- isExpose() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@expose
annotation is present on thisJSDocInfo
. - 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 interface com.google.javascript.rhino.StaticSourceFile
-
Whether the source kind is EXTERN.
- isExternal() - Method in class com.google.javascript.jscomp.JsMessage
- isExternExportsEnabled() - Method in class com.google.javascript.jscomp.CompilerOptions
- isExterns - Variable in class com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo
- isExterns() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@externs
annotation is present on thisJSDocInfo
. - isFalse() - Method in class com.google.javascript.rhino.Node
- isFillFileName(String) - Static method in class com.google.javascript.jscomp.AbstractCompiler
-
Returns whether a file name was created by
AbstractCompiler.createFillFileName(java.lang.String)
. - isFinal() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@final
annotation is present on thisJSDocInfo
. - isFirstChildOf(Node) - Method in class com.google.javascript.rhino.Node
- isForAwaitOf() - Method in class com.google.javascript.rhino.Node
- 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
- isFromTypeSummary(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Determine if the given SCRIPT is a @typeSummary file, like an i.js file
- isFunction() - Method in class com.google.javascript.rhino.Node
- isFunctionBlockScope() - Method in class com.google.javascript.jscomp.AbstractScope
- 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.AbstractScope
- isFunctionType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Returns true if toMaybeFunctionType returns a non-null FunctionType.
- 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 was marked as containing YIELD nodes.
- isGeneratorSafe() - Method in class com.google.javascript.rhino.Node
-
Used when translating ES6 generators.
- 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.AbstractScope
-
Returns whether this is the global scope.
- isGlobal() - Method in class com.google.javascript.jscomp.AbstractVar
- 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.
- isGoogModule() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
- isGoogObjectIterationOverArray(Node) - Method in class com.google.javascript.jscomp.lint.CheckArrayWithGoogObject
- isGoogProvide() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
- isHidden() - Method in class com.google.javascript.jscomp.JsMessage
-
Gets whether this message should be hidden from volunteer translators (to reduce the chances of a new feature leak).
- isHidden() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@hidden
annotation is present on thisJSDocInfo
. - 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.
- isHoistScope() - Method in class com.google.javascript.jscomp.NodeTraversal
- isHook() - Method in class com.google.javascript.rhino.Node
- isIdentifierPart(char) - Static method in class com.google.javascript.jscomp.parsing.parser.Identifiers
- isIdentifierStart(char) - Static method in class com.google.javascript.jscomp.parsing.parser.Identifiers
- isIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfo
- isIf() - Method in class com.google.javascript.rhino.Node
- isImplicitCast() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@implicitCast
annotation is present on thisJSDocInfo
. - 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
- isImportMeta() - Method in class com.google.javascript.rhino.Node
- 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
- isInClosurizedFile(Node, NodeMetadata) - Static method in class com.google.javascript.refactoring.RefactoringUtils
-
Looks for a goog.require(), goog.provide() or goog.module() call in the node's file.
- 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
- isInferredConstantVar() - Method in class com.google.javascript.rhino.Node
-
Returns whether this variable is inferred to be constant.
- isInFunction(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- isInitializingDeclaration() - Method in class com.google.javascript.jscomp.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
- isInline() - Method in class com.google.javascript.rhino.NonJSDocComment
- isInlineType() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the type annotation was inlined.
- isInstanceOf() - Method in class com.google.javascript.rhino.Node
- isInstanceType() - Method in class com.google.javascript.rhino.jstype.FunctionType
- isInstanceType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Whether this type is an Instance object of some constructor.
- isInstanceType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
- isInterface() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@interface
annotation is present on thisJSDocInfo
. - isInterface() - Method in class com.google.javascript.rhino.jstype.FunctionType
- isInterface() - Method in class com.google.javascript.rhino.jstype.JSType
-
Whether this type is a
FunctionType
that is an interface or a named type that points to such a type. - isInterface() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
- 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.
- isInvalidating() - Method in class com.google.javascript.jscomp.colors.Color
- isInvalidating(JSType) - Method in class com.google.javascript.jscomp.InvalidatingTypes
- 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(TokenType) - Static method in enum com.google.javascript.jscomp.parsing.parser.Keywords
- isKeyword(String) - Static method in enum com.google.javascript.jscomp.parsing.parser.Keywords
- isKeyword(String) - Static method in class com.google.javascript.rhino.TokenStream
-
Is the string an ES3 keyword?
- isLabel() - Method in class com.google.javascript.rhino.Node
- isLabelName() - Method in class com.google.javascript.rhino.Node
- isLegacyGoogModule() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
- 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
-
Returns true if the node is a lhs value of a destructuring assignment.
- isLhsOfAssign(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- isLiteralObject() - Method in class com.google.javascript.rhino.jstype.JSType
- 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.AbstractScope
-
Returns whether this is a local scope (i.e.
- isLocal() - Method in class com.google.javascript.jscomp.AbstractVar
- isLoopStructure(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Determines whether the given node is a FOR, DO, or WHILE node.
- isLooseMatch() - Method in class com.google.javascript.jscomp.TemplateAstMatcher
- isLooseMatch() - Method in enum com.google.javascript.jscomp.TypeMatchingStrategy.MatchResult
- isLvalue() - Method in class com.google.javascript.jscomp.Reference
-
Returns whether the name node for this reference is an lvalue.
- isLValue(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Determines whether this node is used as an L-value.
- isMappedIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfo
- isMatch() - Method in enum com.google.javascript.jscomp.TypeMatchingStrategy.MatchResult
- isMemberFunctionDef() - Method in class com.google.javascript.rhino.Node
- isMemberVariableDef() - Method in class com.google.javascript.rhino.Node
- isMethodDeclaration(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Is this node a class or object literal member function?
- isMixinClass() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether JSDoc is annotated with
@mixinClass
annotation. - isMixinClassRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether current JSDoc is annotated with
@mixinClass
. - isMixinFunction() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether JSDoc is annotated with
@mixinFunction
annotation. - isMixinFunctionRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether current JSDoc is annotated with
@mixinFunction
. - 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.JSModule
- isModule() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
-
Whether this is a module (with it's own local scope).
- isModuleBody() - Method in class com.google.javascript.rhino.Node
- isModuleNamespace() - Method in class com.google.javascript.jscomp.modules.Binding
-
True if this represents a module namespace, e.g.
- isModuleScope() - Method in class com.google.javascript.jscomp.AbstractScope
- isMutated() - Method in class com.google.javascript.jscomp.modules.Binding
-
Returns whether or not this export is potentially mutated after module execution (i.e.
- 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?
- isNameDeclOrSimpleAssignLhs(Node, Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Determines whether this node is strictly on the left hand side of an assign or var initialization.
- isNamedExportsLiteral(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Whether this is an assignment to 'exports' that creates named exports.
- isNamedType() - Method in class com.google.javascript.rhino.jstype.JSType
- isNamespaceDecl(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Returns true iff this node defines a namespace, e.g.,
- isNativeObjectType() - Method in class com.google.javascript.rhino.jstype.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() - 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
. - isNoCollapse() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@nocollapse
annotation is present on thisJSDocInfo
. - isNoCompile() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@nocompile
annotation is present on thisJSDocInfo
. - isNoInline() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@noinline
annotation is present on thisJSDocInfo
. - isNominalConstructorOrInterface() - 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
- isNonLegacyGoogModule() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
- isNonNullableName(StaticScope, String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Identifies the name of a typedef or enum before we actually declare it.
- isNonProvideScript() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
- 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.NoResolvedType
- isNoResolvedType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
- isNormalBlock() - Method in class com.google.javascript.rhino.Node
- isNormalGet(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Is this a GETPROP or GETELEM node?
- isNormalized() - Method in enum com.google.javascript.jscomp.AbstractCompiler.LifeCycleStage
- isNormalizedObfuscated() - Method in enum com.google.javascript.jscomp.AbstractCompiler.LifeCycleStage
- isNormalizedUnobfuscated() - Method in enum com.google.javascript.jscomp.AbstractCompiler.LifeCycleStage
- isNormalOrOptChainCall(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Is this a CALL or OPTCHAIN_CALL?
- isNormalOrOptChainGet(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Is this a GETPROP, OPTCHAIN_GETPROP, GETELEM, or OPTCHAIN_GETELEM?
- isNormalOrOptChainGetProp(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Is this a GETPROP or OPTCHAIN_GETPROP?
- isNoSideEffects() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@nosideeffects
annotation is present on thisJSDocInfo
. - isNoSideEffectsCall() - Method in class com.google.javascript.rhino.Node
-
Returns true if this node is a function or constructor call that has no side effects.
- isNot() - Method in class com.google.javascript.rhino.Node
- isNoType() - Method in class com.google.javascript.rhino.jstype.JSType
- isNoType() - Method in class com.google.javascript.rhino.jstype.NoResolvedType
- 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 enum com.google.javascript.jscomp.ImplicitNullabilityCheck.Nullability
- isNullable() - Method in class com.google.javascript.rhino.jstype.AllType
- isNullable() - Method in class com.google.javascript.rhino.jstype.EnumElementType
- 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.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 wherenull
is expected. - isNullable() - Method in class com.google.javascript.rhino.jstype.UnknownType
- isNullish() - Method in enum com.google.javascript.jscomp.type.Outcome
-
Determines whether an Outcome enum value is nullish.
- isNullish() - Method in enum com.google.javascript.rhino.Outcome
-
Determines whether an Outcome enum value is nullish.
- isNullishCoalesce() - Method in class com.google.javascript.rhino.Node
- isNullOrUndefined(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- isNullType() - Method in class com.google.javascript.rhino.jstype.JSType
- isNullType() - Method in class com.google.javascript.rhino.jstype.NullType
- isNumber() - Method in class com.google.javascript.rhino.jstype.JSType
-
Tests whether the type is a number (value or Object).
- isNumber() - Method in class com.google.javascript.rhino.Node
- isNumberObjectType() - Method in class com.google.javascript.rhino.jstype.JSType
- isNumberValueType() - Method in class com.google.javascript.rhino.jstype.JSType
- isNumberValueType() - Method in class com.google.javascript.rhino.jstype.NumberType
- isNumericResult(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Returns true if the result of node evaluation is always a number
- 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
- isObjectDefinePropertiesDefinition(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Returns
true
if the node is a definition with Object.defineProperties - isObjectLit() - Method in class com.google.javascript.rhino.Node
- isObjectPattern() - Method in class com.google.javascript.rhino.Node
- isObjectRest() - 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.rhino.jstype.JSType
-
Tests whether this type is an
Object
, or any subtype thereof. - isObjLitProperty(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Returns true if the node is a property of an object literal.
- isOn() - Method in enum com.google.javascript.jscomp.CompilerOptions.Reach
- isOn() - Method in enum com.google.javascript.jscomp.CompilerOptions.TracerMode
- isOn() - Method in enum com.google.javascript.jscomp.CompilerOptions.TweakProcessing
- isOneTime - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
- isOnlyBigInt() - Method in class com.google.javascript.rhino.jstype.JSType
-
Checks whether the type is a bigint and *only* a bigint (value or Object).
- isOnlyChildOf(Node) - Method in class com.google.javascript.rhino.Node
- isOnlyModifiesArgumentsCall() - Method in class com.google.javascript.rhino.Node
-
Returns whether the only side-effect is "modifies arguments" or there are no side effects.
- isOnlyModifiesThisCall() - Method in class com.google.javascript.rhino.Node
-
Returns whether the only side-effect is "modifies this" or there are no side effects.
- isOptChainCall() - Method in class com.google.javascript.rhino.Node
- isOptChainGet(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Is this an OPTCHAIN_GETPROP or OPTCHAIN_GETELEM node?
- isOptChainGetElem() - Method in class com.google.javascript.rhino.Node
- isOptChainGetProp() - Method in class com.google.javascript.rhino.Node
- isOptChainNode(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Is this a OPTCHAIN_GETPROP, OPTCHAIN_GETELEM, OPTCHAIN_CALL node?
- isOptional - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
- isOptional() - Method in class com.google.javascript.rhino.jstype.FunctionType.Parameter
- isOptionalArg() - Method in class com.google.javascript.rhino.JSTypeExpression
- isOptionalChainStart() - Method in class com.google.javascript.rhino.Node
-
Returns whether this node is an optional chaining 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 (i.e. - 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 thisJSDocInfo
. - isOwnedByInterface() - Method in class com.google.javascript.rhino.jstype.Property.OwnedProperty
- 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
- isPolymer() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether JSDoc is annotated with
@polymer
annotation. - 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
. - isPolymerRecorded() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether current JSDoc is annotated with
@polymer
. - isPopulated() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether this builder is populated with information that can be used to
JSDocInfoBuilder.build()
aJSDocInfo
object. - isPopulatedWithFileOverview() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns whether this builder is populated with information that can be used to
JSDocInfoBuilder.build()
aJSDocInfo
object that has a fileoverview tag. - isPrettyPrint() - Method in class com.google.javascript.jscomp.CompilerOptions
- isPrimitive() - Method in class com.google.javascript.jscomp.colors.Color
-
Whether this corresponds to a single JavaScript primitive like number or symbol or to a union of such primitives
- isPrivate() - Static method in class com.google.javascript.refactoring.Matchers
-
Returns a Matcher that matches against nodes that are declared
@private
. - isPrivate(String) - Method in class com.google.javascript.jscomp.ClosureCodingConvention
- isPrivate(String) - Method in interface com.google.javascript.jscomp.CodingConvention
-
Checks whether a name should be considered private.
- isPrivate(String) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
- isPrivate(String) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
-
Checks whether a name should be considered private.
- isProperty() - Method in class com.google.javascript.jscomp.SymbolTable.Symbol
-
Whether this is a property of another variable.
- isPropertyInExterns(String) - Method in class com.google.javascript.rhino.jstype.ObjectType
-
Checks whether the property was defined in the externs.
- 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.
- 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
- isPrototypePropertyDeclaration(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- isQualifiedName() - Method in class com.google.javascript.rhino.Node
-
Returns whether a node corresponds to a simple or a qualified name, such as
x
ora.b.c
orthis.a
. - isQuotedString() - Method in class com.google.javascript.rhino.Node
-
This should only be called for STRING nodes children of OBJECTLIT.
- isRawTypeOfTemplatizedType() - Method in class com.google.javascript.rhino.jstype.JSType
- ISRECORD - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- isRecordType() - Method in class com.google.javascript.rhino.jstype.JSType
- isRecordType() - Method in class com.google.javascript.rhino.Node
- 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
- isResolved() - Method in class com.google.javascript.rhino.jstype.JSType
-
Returns whether the type has undergone resolution.
- isRest() - Method in class com.google.javascript.rhino.Node
- isRestParameter() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- isReturn() - Method in class com.google.javascript.rhino.Node
- isReturnTypeInferred() - Method in class com.google.javascript.rhino.jstype.FunctionType
- isRoot() - Method in class com.google.javascript.rhino.Node
- isRunInFixedPointLoop() - Method in class com.google.javascript.jscomp.PassFactory
-
Whether this factory must or must not appear in a
PhaseOptimizer
loop. - isScript() - Method in class com.google.javascript.rhino.Node
- isSecondChildOf(Node) - Method in class com.google.javascript.rhino.Node
- isSetterDef() - Method in class com.google.javascript.rhino.Node
- isShorthandProperty() - Method in class com.google.javascript.rhino.Node
-
Whether this {x:x} property was originally parsed as {x}.
- isSimple() - Method in class com.google.javascript.rhino.QualifiedName
-
Returns true if this is a simple name.
- isSimpleAssignmentToName() - Method in class com.google.javascript.jscomp.Reference
- isSomeImport() - Method in class com.google.javascript.jscomp.modules.Binding
-
Returns whether this Binding originated from an ES import or goog.require
- isSomeUnknownType() - Method in class com.google.javascript.rhino.jstype.JSType
- isSpread() - Method in class com.google.javascript.rhino.Node
- isStableIdGenerator() - Method in class com.google.javascript.rhino.JSDocInfo
- isStartOfOptionalChain - Variable in class com.google.javascript.jscomp.parsing.parser.trees.OptionalCallExpressionTree
- isStartOfOptionalChain - Variable in class com.google.javascript.jscomp.parsing.parser.trees.OptionalMemberExpressionTree
- isStartOfOptionalChain - Variable in class com.google.javascript.jscomp.parsing.parser.trees.OptionalMemberLookupExpressionTree
- isStatement(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- isStatementBlock(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- isStatementParent(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.ComputedPropertySetterTree
- isStatic - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
- isStatic - Variable in class com.google.javascript.jscomp.parsing.parser.trees.GetAccessorTree
- isStatic - Variable in class com.google.javascript.jscomp.parsing.parser.trees.SetAccessorTree
- isStaticMember() - Method in class com.google.javascript.rhino.Node
-
Returns whether this node is a static member node.
- isStrict() - Method in enum com.google.javascript.jscomp.parsing.Config.StrictMode
- 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. - 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
- isStringValueType() - Method in class com.google.javascript.rhino.jstype.JSType
- isStringValueType() - Method in class com.google.javascript.rhino.jstype.StringType
- isStrong() - Method in interface com.google.javascript.rhino.StaticSourceFile
-
Whether the source kind is STRONG.
- isStruct() - Method in class com.google.javascript.rhino.jstype.JSType
-
Returns true iff
this
can be astruct
. - isStruct() - Method in class com.google.javascript.rhino.jstype.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.rhino.jstype.FunctionType
- isStructuralInterface() - Method in class com.google.javascript.rhino.jstype.JSType
- 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
- 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.JSType
-
Checks whether
this
is a subtype ofthat
. - isSubtype(JSType, JSType.SubtypingMode) - Method in class com.google.javascript.rhino.jstype.JSType
-
Deprecated.Prefer
JSType.isSubtype(JSType)
instead. - isSubtypeOf(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
- isSubtypeOf(JSType, JSType.SubtypingMode) - Method in class com.google.javascript.rhino.jstype.JSType
- isSubtypeWithoutStructuralTyping(JSType) - 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
- isSuccessfullyResolved() - Method in class com.google.javascript.rhino.jstype.JSType
-
Returns whether the type has undergone resolution and resolved to a "useful" type.
- 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.JsFileRegexParser
- isSwitch() - Method in class com.google.javascript.rhino.Node
- isSymbol() - Method in class com.google.javascript.rhino.jstype.JSType
- isSymbolObjectType() - Method in class com.google.javascript.rhino.jstype.JSType
- isSymbolValueType() - Method in class com.google.javascript.rhino.jstype.JSType
- isSymbolValueType() - Method in class com.google.javascript.rhino.jstype.SymbolType
- isSynthetic() - Method in class com.google.javascript.jscomp.JSModule
-
Returns whether this module is synthetic (i.e.
- 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
- isTemplateLit() - Method in class com.google.javascript.rhino.Node
- isTemplateLitString() - 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
- ISTEMPLATIZED - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- 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.
- isTestOnly() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
-
Whether goog.setTestOnly was called.
- isTestOnly(boolean) - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata.Builder
- isThis() - Method in class com.google.javascript.jscomp.AbstractVar
- isThis() - Method in class com.google.javascript.rhino.Node
- isThrow() - Method in class com.google.javascript.rhino.Node
- isTopLevel(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- isTrailing() - Method in class com.google.javascript.rhino.NonJSDocComment
-
Indicates whether this comment is placed after the source node it is attached to.
- isTrue() - Method in class com.google.javascript.rhino.Node
- isTruthy() - Method in enum com.google.javascript.jscomp.type.Outcome
-
Determines whether an Outcome enum value is truthy.
- isTruthy() - Method in enum com.google.javascript.rhino.Outcome
-
Determines whether an Outcome enum value is truthy.
- isTry() - Method in class com.google.javascript.rhino.Node
- isTypecheckingEnabled() - Method in class com.google.javascript.jscomp.CompilerOptions
- 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
- isTypeSummary() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@typeSummary
annotation is present on thisJSDocInfo
. - isTypeTransformation() - Method in class com.google.javascript.rhino.jstype.TemplateType
- isUndefined(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
- isUnion() - Method in class com.google.javascript.jscomp.colors.Color
- isUnionType() - Method in class com.google.javascript.rhino.jstype.JSType
- ISUNKNOWN - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- 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
- isUnresolved() - Method in class com.google.javascript.rhino.jstype.JSType
- isUnresolvedOrResolvedUnknown() - Method in class com.google.javascript.rhino.jstype.JSType
- 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 notthis.a
. - isUnsuccessfullyResolved() - Method in class com.google.javascript.rhino.jstype.JSType
-
Returns whether the type has undergone resolution and resolved to a "useless" type.
- isUnusedParameter() - Method in class com.google.javascript.rhino.Node
- isValidAssignmentTarget() - Method in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- isValidAssignmentTarget() - Method in class com.google.javascript.rhino.Node
- isValidEnumKey(String) - Method in interface com.google.javascript.jscomp.CodingConvention
-
This checks that a given
key
may be used as a key for an enum. - isValidEnumKey(String) - Method in class com.google.javascript.jscomp.CodingConventions.Proxy
- isValidEnumKey(String) - Method in class com.google.javascript.jscomp.GoogleCodingConvention
-
This checks that a given
key
may be used as a key for an enum. - isValidQualifiedName(CompilerOptions.LanguageMode, String) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Deprecated.
- isValidQualifiedName(FeatureSet, 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
- 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.Reference
- isVariadic() - Method in class com.google.javascript.rhino.jstype.FunctionType.Parameter
- isVoid() - Method in class com.google.javascript.rhino.Node
- isVoidable() - Method in class com.google.javascript.rhino.jstype.AllType
- isVoidable() - Method in class com.google.javascript.rhino.jstype.EnumElementType
- 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.NoType
- isVoidable() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
- isVoidable() - Method in class com.google.javascript.rhino.jstype.UnionType
-
Tests whether this type is voidable.
- isVoidable() - Method in class com.google.javascript.rhino.jstype.UnknownType
- isVoidable() - Method in class com.google.javascript.rhino.jstype.VoidType
- isVoidType() - Method in class com.google.javascript.rhino.jstype.JSType
- isVoidType() - Method in class com.google.javascript.rhino.jstype.VoidType
- isWeak() - Method in class com.google.javascript.jscomp.JSModule
- isWeak() - Method in interface com.google.javascript.rhino.StaticSourceFile
-
Whether the source kind is WEAK.
- isWellDefined() - Method in class com.google.javascript.jscomp.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
- isYieldAll - Variable in class com.google.javascript.jscomp.parsing.parser.trees.YieldExpressionTree
- isYieldAll() - Method in class com.google.javascript.rhino.Node
-
Returns whether this node is a generator node.
- ITER_REST - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- ITER_REST - com.google.javascript.rhino.Token
- ITER_SPREAD - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- ITER_SPREAD - com.google.javascript.rhino.Token
- ITERABLE_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- ITERABLE_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- iterator() - Method in class com.google.javascript.jscomp.ReferenceCollection
- iterator() - Method in class com.google.javascript.rhino.Node.AncestorIterable
- ITERATOR_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- ITERATOR_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- iterRest(Node) - Static method in class com.google.javascript.rhino.IR
- IterRestTree - Class in com.google.javascript.jscomp.parsing.parser.trees
- IterRestTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.IterRestTree
- iterSpread(Node) - Static method in class com.google.javascript.rhino.IR
- IterSpreadTree - Class in com.google.javascript.jscomp.parsing.parser.trees
- IterSpreadTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.IterSpreadTree
J
- J2CL_CHECKS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- J2clAssertRemovalPass - Class in com.google.javascript.jscomp
-
An optimization pass to remove J2CL Asserts.$assert.
- 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 evaluation.
- J2clEqualitySameRewriterPass - Class in com.google.javascript.jscomp
-
An optimization pass to re-write J2CL Equality.$same.
- J2clPass - Class in com.google.javascript.jscomp
-
A normalization pass to inline some J2CL calls to enable other optimizations.
- 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
- J2clSuppressWarningsGuard - Class in com.google.javascript.jscomp
-
A warnings guard that suppresses some warnings incompatible with J2CL.
- J2clSuppressWarningsGuard() - Constructor for class com.google.javascript.jscomp.J2clSuppressWarningsGuard
- J2clUtilGetDefineRewriterPass - Class in com.google.javascript.jscomp
-
A normalization pass to re-write Util.$getDefine calls to make them work in compiled mode.
- J2clUtilGetDefineRewriterPass(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.J2clUtilGetDefineRewriterPass
- 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() - Method in class com.google.javascript.rhino.QualifiedName
-
Returns the qualified name as a string.
- joinPathParts(String...) - Static method in class com.google.javascript.jscomp.Compiler
-
Creates an OS specific path string from parts
- JS - com.google.javascript.jscomp.AbstractCommandLineRunner.JsSourceType
- JS_INSTRUMENTATION_OBJECT_NAME - Static variable in class com.google.javascript.jscomp.instrumentation.CoverageInstrumentationPass
- JS_ZIP - com.google.javascript.jscomp.AbstractCommandLineRunner.JsSourceType
- 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.
- JSC_BROWSER_SKIPLISTED_MARKER - Static variable in class com.google.javascript.jscomp.deps.ModuleLoader
- JSDOC - com.google.javascript.jscomp.parsing.parser.trees.Comment.Type
- JSDOC_INFO_PROP - Static variable in class com.google.javascript.rhino.Node
- JSDOC_MISSING_TYPE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- 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. - JsDocInfoParser - Class in com.google.javascript.jscomp.parsing
-
A parser for JSDoc comments.
- JsDocInfoParser(JsDocTokenStream, String, int, Node, Config, ErrorReporter) - Constructor for class com.google.javascript.jscomp.parsing.JsDocInfoParser
- JSDocInfoPrinter - Class in com.google.javascript.jscomp
-
Prints a JSDocInfo, used for preserving type annotations in ES6 transpilation.
- JSDocInfoPrinter(boolean) - Constructor for class com.google.javascript.jscomp.JSDocInfoPrinter
- JSDocInfoPrinter(boolean, boolean) - Constructor for class com.google.javascript.jscomp.JSDocInfoPrinter
- jsDocParsingMode() - Method in class com.google.javascript.jscomp.parsing.Config
-
How to parse the descriptions of JsDoc comments.
- JsdocSerializer - Class in com.google.javascript.jscomp.serialization
-
Utilities for serializing and deserializing JSDoc necessary for optimzations.
- JsDocTokenStream - Class in com.google.javascript.jscomp.parsing
-
This class implements the scanner for JsDoc strings.
- JsDocTokenStream(String) - Constructor for class com.google.javascript.jscomp.parsing.JsDocTokenStream
- 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.
- JsFileFullParser - Class in com.google.javascript.jscomp.deps
-
A parser that extracts dependency information from a .js file, including goog.require, goog.provide, goog.module, import/export statements, and JSDoc annotations related to dependency management.
- JsFileFullParser.FileInfo - Class in com.google.javascript.jscomp.deps
-
The dependency information contained in a .js source file.
- JsFileFullParser.FileInfo.ModuleType - Enum in com.google.javascript.jscomp.deps
-
The module system declared by the file, e.g.
- JsFileFullParser.Reporter - Interface in com.google.javascript.jscomp.deps
-
Interface for reporting errors.
- 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.
- JsFileRegexParser - 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.
- JsFileRegexParser(ErrorManager) - Constructor for class com.google.javascript.jscomp.deps.JsFileRegexParser
-
Constructor
- JSIdentifier - Class in com.google.javascript.rhino
-
Utility class to hold isJSIdentifier.
- JSIdentifier() - Constructor for class com.google.javascript.rhino.JSIdentifier
- JsMessage - Class in com.google.javascript.jscomp
-
A representation of a translatable message in JavaScript source code.
- JsMessage() - Constructor for class com.google.javascript.jscomp.JsMessage
- 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 - com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig.ErrorFormatOption
- JSON - com.google.javascript.jscomp.CompilerInput.ModuleType
- JSON_UNEXPECTED_TOKEN - Static variable in class com.google.javascript.jscomp.RewriteJsonToModule
- JsonErrorReportGenerator - Class in com.google.javascript.jscomp
-
An error report generator that prints error and warning data to the print stream as an array of JSON objects.
- JsonErrorReportGenerator(PrintStream, SourceExcerptProvider) - Constructor for class com.google.javascript.jscomp.JsonErrorReportGenerator
-
Creates an error manager.
- 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
- JsonFileSpec(String, 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(AbstractCompiler, 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.rhino.jstype
-
Represents JavaScript value types.
- JSType.HasPropertyKind - Enum in com.google.javascript.rhino.jstype
-
A tristate value returned from canPropertyBeDefined.
- JSType.Nullability - Enum in com.google.javascript.rhino.jstype
-
Specifies how to express nullability of reference types in annotation strings and error messages.
- 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
- 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.
- JSTypeRegistry.PropDefinitionKind - Enum in com.google.javascript.rhino.jstype
-
A tristate value returned from canPropertyBeDefined.
- JSTypeResolver - Class in com.google.javascript.rhino.jstype
-
A state machine for resolving all
JSType
instances. - JSTypeResolver.Closer - Class in com.google.javascript.rhino.jstype
-
A signal to resolve all types known to and close the owning resolver.
K
- KEEP_GOING - com.google.javascript.jscomp.parsing.Config.RunMode
- key - Variable in class com.google.javascript.jscomp.DiagnosticType
-
The error type.
- keys() - Method in class com.google.javascript.rhino.HamtPMap
-
Returns an iterable for a (possibly null) tree.
- keys() - Method in interface com.google.javascript.rhino.PMap
-
Returns an iterable for the keys in this map.
- Keywords - Enum in com.google.javascript.jscomp.parsing.parser
-
The JavaScript keywords.
- KEYWORDS_AS_PROPERTIES - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- kind - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
- kind - Variable in enum com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- KNOWN - com.google.javascript.rhino.jstype.JSTypeRegistry.PropDefinitionKind
- KNOWN_PRESENT - com.google.javascript.rhino.jstype.JSType.HasPropertyKind
L
- label(Node, Node) - Static method in class com.google.javascript.rhino.IR
- LABEL - com.google.javascript.rhino.Token
- LABEL_NAME - com.google.javascript.rhino.Token
- LABELLED_STATEMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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.
- languageMode() - Method in class com.google.javascript.jscomp.parsing.Config
-
Language level to accept.
- LATE_PROVIDE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- LateEs6ToEs3Converter - Class in com.google.javascript.jscomp
-
Converts ES6 code to valid ES5 code.
- LateEs6ToEs3Converter(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.LateEs6ToEs3Converter
- latest() - Static method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
- LATEST_TRANSPILER - Static variable in class com.google.javascript.jscomp.transpile.BaseTranspiler
- latestEcmaScript() - Static method in enum com.google.javascript.jscomp.parsing.Config.LanguageMode
- 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
- LB - com.google.javascript.rhino.Token
- LC - com.google.javascript.rhino.Token
- LE - com.google.javascript.rhino.Token
- LEAST_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- left - Variable in class com.google.javascript.jscomp.parsing.parser.trees.BinaryOperatorTree
- left - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ConditionalExpressionTree
- LEFT_SHIFT - com.google.javascript.jscomp.parsing.parser.TokenType
- LEFT_SHIFT_EQUAL - com.google.javascript.jscomp.parsing.parser.TokenType
- LEGACY - com.google.javascript.jscomp.CheckLevelLegacy
- LEGACY - com.google.javascript.jscomp.JsMessage.Style
- LEGACY - com.google.javascript.jscomp.PolymerExportPolicy
-
If --polymer_version=1, add all Polymer properties (but not methods) to the externs.
- LEGACY_GOOG_MODULE - com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleType
-
A goog.module that declares a legacy namespace with goog.module.declareLegacyNamespace.
- length() - Method in class com.google.javascript.jscomp.JsMessage.PlaceholderReference
- LESS_EQUAL - com.google.javascript.jscomp.parsing.parser.TokenType
- let(Node) - Static method in class com.google.javascript.rhino.IR
- let(Node, Node) - Static method in class com.google.javascript.rhino.IR
- LET - com.google.javascript.jscomp.parsing.parser.Keywords
- LET - com.google.javascript.jscomp.parsing.parser.TokenType
- LET - com.google.javascript.rhino.Token
- LET_DECLARATIONS - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- level - Variable in class com.google.javascript.jscomp.ConformanceRules.ConformanceResult
- level - Variable in class com.google.javascript.jscomp.DiagnosticType
-
The default reporting level for this diagnostic
- level(JSError) - Method in class com.google.javascript.jscomp.AllowlistWarningsGuard
- level(JSError) - Method in class com.google.javascript.jscomp.ByPathWarningsGuard
- level(JSError) - Method in class com.google.javascript.jscomp.ComposeWarningsGuard
- level(JSError) - Method in class com.google.javascript.jscomp.DiagnosticGroupPathSuppressingWarningsGuard
-
Does not touch warnings in other paths.
- level(JSError) - Method in class com.google.javascript.jscomp.DiagnosticGroupWarningsGuard
- level(JSError) - Method in class com.google.javascript.jscomp.ijs.CheckTypeSummaryWarningsGuard
- level(JSError) - Method in class com.google.javascript.jscomp.J2clSuppressWarningsGuard
- 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.
- 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 - com.google.javascript.jscomp.parsing.parser.trees.Comment.Type
- LINE - com.google.javascript.jscomp.SourceExcerptProvider.SourceExcerpt
-
Line excerpt.
- LINE_ONLY - com.google.javascript.jscomp.CompilerOptions.InstrumentOption
- lineBreak - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Line break the output a bit more aggressively
- lineOffset - Variable in class com.google.javascript.jscomp.JsAst.RhinoError
- LinkedDirectedGraph<N,E> - Class in com.google.javascript.jscomp.graph
-
A directed graph using ArrayLists within nodes to store edge information.
- LinkedDirectedGraph(boolean, boolean) - Constructor for class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- LinkedDirectedGraph.LinkedDiGraphEdge<N,E> - Class in com.google.javascript.jscomp.graph
-
A directed graph edge that stores the source and destination nodes at each edge.
- LinkedDirectedGraph.LinkedDiGraphNode<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_AND_REWRITE - com.google.javascript.jscomp.RewriteGoogJsImports.Mode
- LINT_CHECKS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- LINT_CHECKS - Static variable in class com.google.javascript.jscomp.PassNames
- LINT_DIAGNOSTICS - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
- LINT_ONLY - com.google.javascript.jscomp.RewriteGoogJsImports.Mode
- Linter - Class in com.google.javascript.jscomp
-
Tool for running just the lint checks which can be run on a single file at a time.
- Linter.Builder - Class in com.google.javascript.jscomp
-
Builder for a Linter that allows some customization.
- LinterMain - 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.
- LinterMain() - Constructor for class com.google.javascript.jscomp.LinterMain
- LITERAL_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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 - Variable in 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
- load(String) - Static method in class com.google.javascript.jscomp.resources.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
- loadAllowlistedJsWarnings(CharSource) - Static method in class com.google.javascript.jscomp.AllowlistWarningsGuard
-
Loads legacy warnings list from the file.
- loadAllowlistedJsWarnings(File) - Static method in class com.google.javascript.jscomp.AllowlistWarningsGuard
-
Loads legacy warnings list from the file.
- loadFlags - Variable in class com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo
- loadFlags() - Method in class com.google.javascript.jscomp.bundle.Source
-
The load flags, specifying module type and language level.
- loadFromResource(String) - Static method in class com.google.javascript.jscomp.resources.GwtProperties
- loadGlobalConformance(Class<?>) - Static method in class com.google.javascript.jscomp.resources.ResourceLoader
-
Load the global ConformanceConfig
- 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.
- loadSource(String) - Method in class com.google.javascript.jscomp.Compiler.ExternalSourceLoader
- loadTextResource(Class<?>, String) - Static method in class com.google.javascript.jscomp.resources.ResourceLoader
- LOCAL - com.google.javascript.jscomp.VariableRenamingPolicy
-
Rename local variables only.
- LOCAL_ONLY - com.google.javascript.jscomp.CompilerOptions.Reach
- locale - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Compiling locale
- localName() - Method in class com.google.javascript.jscomp.modules.Export
-
Returns the local name of this export or null if none.
- localName() - Method in class com.google.javascript.jscomp.modules.Import
-
Returns the local name the imported value is bound to.
- localNameToLocalExport() - Method in class com.google.javascript.jscomp.modules.Module
-
Map of local identifier name to local export definition.
- localNameToLocalExport(ImmutableMap<String, Export>) - Method in class com.google.javascript.jscomp.modules.Module.Builder
- 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
- log(Object) - Method in class com.google.javascript.jscomp.diagnostic.LogFile
- log(String) - Method in class com.google.javascript.jscomp.diagnostic.LogFile
- log(String, Object...) - Method in class com.google.javascript.jscomp.diagnostic.LogFile
- log(Supplier<String>) - Method in class com.google.javascript.jscomp.diagnostic.LogFile
- logAliasTransformation(String, SourcePosition<CompilerOptions.AliasTransformation>) - Method in interface com.google.javascript.jscomp.CompilerOptions.AliasTransformationHandler
-
Builds an AliasTransformation implementation and returns it to the caller.
- LogFile - Class in com.google.javascript.jscomp.diagnostic
-
A simple interface for writing to a human readable log file.
- 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.
- 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.
- lookupQualifiedName(QualifiedName) - Method in interface com.google.javascript.rhino.jstype.StaticTypedScope
-
Looks up a given qualified name in the scope.
- 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.
- LOOSE - com.google.javascript.jscomp.TypeMatchingStrategy
-
Matches type or any subtype.
- LOOSE - com.google.javascript.rhino.jstype.JSTypeRegistry.PropDefinitionKind
- LOOSE_MATCH - com.google.javascript.jscomp.TypeMatchingStrategy.MatchResult
- LOOSE_UNION - com.google.javascript.rhino.jstype.JSTypeRegistry.PropDefinitionKind
- loosenTypecheckingDueToForwardReferencedSupertype() - Method in class com.google.javascript.rhino.jstype.JSType
-
During type definition, was one of the supertypes of this type a forward reference?
- loosenTypecheckingDueToForwardReferencedSupertype() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
- LowestCommonAncestorFinder<N,E> - Class in com.google.javascript.jscomp.graph
-
Implements a lowest common ancestor search algorithm.
- LowestCommonAncestorFinder(DiGraph<N, E>) - Constructor for class com.google.javascript.jscomp.graph.LowestCommonAncestorFinder
- LowestCommonAncestorFinder.Factory<N,E> - Interface in com.google.javascript.jscomp.graph
-
An abstraction for
LowestCommonAncestorFinder::new
. - LSH - com.google.javascript.rhino.Token
- lt(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
"<"
- LT - com.google.javascript.rhino.Token
- 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.LinterMain
- main(String[]) - Static method in class com.google.javascript.jscomp.MapDiagnosticToSuppression
- make(DiagnosticType, String...) - Static method in class com.google.javascript.jscomp.JSError
-
Creates a JSError with no source information
- make(Node, CheckLevel, DiagnosticType, String...) - Static method in class com.google.javascript.jscomp.JSError
-
Creates a JSError from a file and Node position.
- make(Node, DiagnosticType, String...) - Static method in class com.google.javascript.jscomp.JSError
-
Creates a JSError from a file and Node position.
- make(String, int, int, CheckLevel, DiagnosticType, String...) - Static method in class com.google.javascript.jscomp.JSError
-
Creates a JSError at a given source location
- make(String, int, int, DiagnosticType, String...) - Static method in class com.google.javascript.jscomp.JSError
-
Creates a JSError at a given source location
- make(String, CheckLevel, String) - Static method in class com.google.javascript.jscomp.DiagnosticType
-
Create a DiagnosticType at a given CheckLevel.
- 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.
- makeNonIndexable() - Method in class com.google.javascript.rhino.Node
- makeNonIndexableRecursive() - Method in class com.google.javascript.rhino.Node
- makeOptionalArg(JSTypeExpression) - Static method in class com.google.javascript.rhino.JSTypeExpression
-
Make the given type expression into an optional type expression, if possible.
- makeRelative(String, String) - Static method in class com.google.javascript.jscomp.deps.PathUtil
-
Returns targetPath relative to basePath.
- makesDicts() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@dict
annotation is present on thisJSDocInfo
. - makesDicts() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
When a class B inherits from A and A is annotated as a dict, then B automatically gets the annotation, if B's constructor is not explicitly annotated.
- makesStructs() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@struct
annotation is present on thisJSDocInfo
. - makesStructs() - Method in class com.google.javascript.rhino.jstype.FunctionType
-
When a class B inherits from A and A is annotated as a struct, then B automatically gets the annotation, if B's constructor is not explicitly annotated.
- makesUnrestricted() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@unrestricted
annotation is present on thisJSDocInfo
. - MALFORMED_GOOG_MODULE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- manageDependencies(AbstractCompiler, DependencyOptions) - 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.
- map(String) - Method in interface com.google.javascript.jscomp.SourceMap.LocationMapping
- map(String) - Method in class com.google.javascript.jscomp.SourceMap.PrefixLocationMapping
- MAP - com.google.debugging.sourcemap.SourceMapSection.SectionType
- MapDiagnosticToSuppression - Class in com.google.javascript.jscomp
-
Prints out a map from diagnostic id to suppression.
- MAPRECORD - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- MAPUNION - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- 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
- markFunctionsDeleted(Node, AbstractCompiler) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Recurses through a tree, marking all function nodes deleted.
- markName(String, Node, int, int) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Adds a name declaration to the current marker.
- 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.
- MarkUntranspilableFeaturesAsRemoved - Class in com.google.javascript.jscomp
-
Looks for presence of features that are not supported for transpilation (mostly new RegExp features).
- match(JSType, JSType) - 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
- MATCH - com.google.javascript.jscomp.TypeMatchingStrategy.MatchResult
- 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
- MatchedNodeInfo() - Constructor for class com.google.javascript.refactoring.SuggestedFix.MatchedNodeInfo
- 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(DiagnosticType) - Method in class com.google.javascript.jscomp.DiagnosticGroup
-
Returns whether the given type matches a type in this group.
- matches(JSError) - Method in class com.google.javascript.jscomp.DiagnosticGroup
-
Returns whether the given error's type matches a type in this group.
- matches(Node) - Method in class com.google.javascript.jscomp.TemplateAstMatcher
- matches(Node) - Method in class com.google.javascript.rhino.QualifiedName
-
Checks whether the given node matches this name.
- matches(Node, NodeMetadata) - Method in class com.google.javascript.refactoring.examples.GoogBindToArrow
- 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
andNodeMetadata
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.
- MATCHES_RETURN_TYPE - com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec.AssertionKind
- matchesName(Node) - Method in class com.google.javascript.rhino.Node
-
Check that if two NAME node match, returns false if either node is not a NAME node.
- matchesName(String) - Method in class com.google.javascript.rhino.Node
-
Returns whether a node matches a simple name, such as
x
, returns false if this is not a NAME node. - matchesNumberContext() - Method in class com.google.javascript.rhino.jstype.BigIntType
- 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.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.SymbolType
- 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.BigIntType
- 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.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.SymbolType
- matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.UnionType
-
This predicate is used to test whether a given type can appear in an
Object
context, such as the expression in awith
statement. - matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.UnknownType
- matchesObjectContext() - Method in class com.google.javascript.rhino.jstype.VoidType
- matchesQualifiedName(Node) - Method in class com.google.javascript.rhino.Node
-
Returns whether a node matches a simple or a qualified name, such as
x
ora.b.c
orthis.a
. - matchesQualifiedName(String) - Method in class com.google.javascript.rhino.Node
-
Returns whether a node matches a simple or a qualified name, such as
x
ora.b.c
orthis.a
. - matchesStringContext() - Method in class com.google.javascript.rhino.jstype.AllType
- matchesStringContext() - Method in class com.google.javascript.rhino.jstype.BigIntType
- 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.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.SymbolType
- 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
- matchesSymbolContext() - Method in class com.google.javascript.rhino.jstype.JSType
-
This predicate is used to test whether a given type can appear in a
symbol
context such as property access. - matchesSymbolContext() - Method in class com.google.javascript.rhino.jstype.NoObjectType
- matchesSymbolContext() - Method in class com.google.javascript.rhino.jstype.PrototypeObjectType
- matchesSymbolContext() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
- matchesSymbolContext() - Method in class com.google.javascript.rhino.jstype.SymbolType
- matchesSymbolContext() - Method in class com.google.javascript.rhino.jstype.UnionType
-
This predicate is used to test whether a given type can appear in a
Symbol
context - matchesSymbolContext() - Method in class com.google.javascript.rhino.jstype.UnknownType
- 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
- MAX - com.google.javascript.jscomp.WarningsGuard.Priority
- MAX_COLUMN_NUMBER - Static variable in class com.google.javascript.rhino.Node
-
MAX_COLUMN_NUMBER represents the maximum column number that can be represented.
- maxParamCount - Variable in enum com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- MAYBE_PRESENT - com.google.javascript.rhino.jstype.JSType.HasPropertyKind
- maybeCopyFrom(JSDocInfo) - Static method in class com.google.javascript.rhino.JSDocInfoBuilder
- maybeCopyFromAndReplaceNames(JSDocInfo, Set<String>) - Static method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns a JSDocInfoBuilder that contains a JSDoc in which all module local types (which may be inside
@param
,@type
or@returns
are replaced with unknown. - maybeCopyFromWithNewType(JSDocInfo, JSTypeExpression) - Static method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Returns a JSDocInfoBuilder that contains a copy of the given JSDocInfo in which only the
@type
field of the JSDocInfo is replaced with the given typeExpression. - maybeEmbolden(String) - Method in class com.google.javascript.jscomp.AbstractMessageFormatter
- mayBeExpression(Node) - Static method in class com.google.javascript.rhino.IR
-
It isn't possible to always determine if a detached node is a expression, so make a best guess.
- 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.
- maybeGetTemplateTypesOfBuiltin(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
- maybeSetTracker() - Method in class com.google.javascript.jscomp.Compiler
- mayBeStatement(Node) - Static method in class com.google.javascript.rhino.IR
-
It isn't possible to always determine if a detached node is a expression, so make a best guess.
- mayHaveSideEffects(Node) - Method in class com.google.javascript.jscomp.AstAnalyzer
-
Returns true if the node which may have side effects when executed.
- 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.
- mayThrowException(Node) - Static method in class com.google.javascript.jscomp.ControlFlowAnalysis
-
Determines if the subtree might throw an exception.
- MEMBER - com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree.Kind
- MEMBER_DECLARATIONS - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- MEMBER_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- MEMBER_FUNCTION_DEF - com.google.javascript.rhino.Token
- MEMBER_LOOKUP_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- MEMBER_VARIABLE_DEF - com.google.javascript.rhino.Token
- memberExpression - Variable in class com.google.javascript.jscomp.parsing.parser.trees.MemberLookupExpressionTree
- memberExpression - Variable in class com.google.javascript.jscomp.parsing.parser.trees.OptionalMemberLookupExpressionTree
- 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
- memberName - Variable in class com.google.javascript.jscomp.parsing.parser.trees.OptionalMemberExpressionTree
- merge(String, Object, Object) - Method in interface com.google.debugging.sourcemap.SourceMapGeneratorV3.ExtensionMergeAction
-
Returns the merged value between two extensions with the same name when merging two source maps
- merge(K, V, V) - Method in interface com.google.javascript.rhino.PMap.Reconciler
- mergeLineCharNo(int, int) - Static method in class com.google.javascript.rhino.Node
-
Merges the line number and character number in one integer.
- mergeMapSection(int, int, String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Merges current mapping with
mapSectionContents
considering the offset(line, column)
. - mergeMapSection(int, int, String, SourceMapGeneratorV3.ExtensionMergeAction) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Works like
SourceMapGeneratorV3.mergeMapSection(int, int, String)
, except that extensions from the @{code mapSectionContents} are merged to the top level source map. - mergePropertyBitfieldFrom(JSDocInfo) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- mergeSupertypeTemplateTypes(ObjectType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Prepends the template type map associated with this type, merging in the keys and values of the specified map.
- 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.
- metadata() - Method in class com.google.javascript.jscomp.modules.Binding
-
Metadata of the module this is bound to.
- metadata() - Method in class com.google.javascript.jscomp.modules.Module
- metadata(ModuleMetadataMap.ModuleMetadata) - Method in class com.google.javascript.jscomp.modules.Module.Builder
- method - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyMethodTree
- MIN - com.google.javascript.jscomp.WarningsGuard.Priority
- minimumRequiredFor(FeatureSet.Feature) - Static method in enum com.google.javascript.jscomp.parsing.Config.LanguageMode
-
Returns the lowest
Config.LanguageMode
that supports the specified feature. - minimumRequiredForSet(FeatureSet) - Static method in enum com.google.javascript.jscomp.parsing.Config.LanguageMode
-
Returns the lowest
Config.LanguageMode
that supports the specified feature set. - minParamCount - Variable in enum com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- minus(K) - Method in class com.google.javascript.rhino.HamtPMap
-
Returns a new map with the given key removed.
- minus(K) - Method in interface com.google.javascript.rhino.PMap
-
Returns a new map with the given key removed.
- MINUS - com.google.javascript.jscomp.parsing.parser.TokenType
- MINUS_EQUAL - com.google.javascript.jscomp.parsing.parser.TokenType
- MINUS_MINUS - com.google.javascript.jscomp.parsing.parser.TokenType
- MISPLACED_MSG_ANNOTATION - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- MISPLACED_SUPPRESS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- MISPLACED_TYPE_ANNOTATION - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- MISSING_CONST_PROPERTY - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- MISSING_CONST_PROPERTY - Static variable in class com.google.javascript.jscomp.lint.CheckConstantCaseNames
- MISSING_GOOG_FOR_EXPORT - Static variable in class com.google.javascript.jscomp.GenerateExports
- MISSING_JSDOC - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
- MISSING_NAMESPACE_IMPORT - Static variable in class com.google.javascript.jscomp.modules.ModuleMapCreator
- MISSING_NULLABILITY_MODIFIER_JSDOC - Static variable in class com.google.javascript.jscomp.lint.CheckNullabilityModifiers
-
The diagnostic for a missing nullability modifier.
- 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_PRIMARY_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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.CheckMissingRequires
- MISSING_REQUIRE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- MISSING_REQUIRE_IN_PROVIDES_FILE - Static variable in class com.google.javascript.jscomp.CheckMissingRequires
- MISSING_REQUIRE_STRICT_WARNING - Static variable in class com.google.javascript.jscomp.CheckMissingAndExtraRequires
-
Deprecated.
- MISSING_REQUIRE_TYPE - Static variable in class com.google.javascript.jscomp.CheckMissingRequires
- MISSING_REQUIRE_TYPE_IN_PROVIDES_FILE - Static variable in class com.google.javascript.jscomp.CheckMissingRequires
- MISSING_REQUIRE_WARNING - Static variable in class com.google.javascript.jscomp.CheckMissingAndExtraRequires
-
Deprecated.
- 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
- MIXIN - com.google.javascript.jscomp.CodingConvention.SubclassType
- MOD - com.google.javascript.rhino.Token
- modifiesThis() - Method in class com.google.javascript.rhino.JSDocInfo
-
Get the value of the @modifies{this} annotation stored in the doc info.
- modName - Variable in class com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo
- mods - Variable in class com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo
- Module - Class in com.google.javascript.jscomp.modules
-
Information for modules, particularly ES modules, that is useful for rewriting.
- MODULE - com.google.javascript.jscomp.parsing.parser.TokenType
- MODULE_ALIAS - Static variable in class com.google.javascript.rhino.Node
- MODULE_BODY - com.google.javascript.rhino.Token
- MODULE_CONFLICT - Static variable in class com.google.javascript.jscomp.deps.ModuleLoader
- MODULE_EXPORT - com.google.javascript.jscomp.CompilerOptions.PropertyCollapseLevel
- MODULE_EXPORT - Static variable in class com.google.javascript.rhino.Node
- MODULE_IMPORT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- MODULE_IMPORT - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- MODULE_LOAD - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- 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.
- Module.Builder - Class in com.google.javascript.jscomp.modules
-
Builder for
Module
. - 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.
- ModuleIdentifier() - Constructor for class com.google.javascript.jscomp.ModuleIdentifier
- 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.ModuleResolverFactory) - Constructor for class com.google.javascript.jscomp.deps.ModuleLoader
- ModuleLoader(ErrorHandler, Iterable<String>, Iterable<? extends DependencyInfo>, ModuleLoader.ModuleResolverFactory, ModuleLoader.PathResolver) - Constructor for class com.google.javascript.jscomp.deps.ModuleLoader
- ModuleLoader(ErrorHandler, Iterable<String>, Iterable<? extends DependencyInfo>, ModuleLoader.ModuleResolverFactory, ModuleLoader.PathResolver, ModuleLoader.PathEscaper) - 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.ModulePath - Class in com.google.javascript.jscomp.deps
-
A path to a module.
- ModuleLoader.ModuleResolverFactory - Interface in com.google.javascript.jscomp.deps
-
An enum used to specify what algorithm to use to locate non path-based modules
- ModuleLoader.PathEscaper - Enum in com.google.javascript.jscomp.deps
-
Indicates whether to escape characters in paths.
- 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
-
Standard path base resolution algorithms that are accepted as a command line flag.
- ModuleMap - Class in com.google.javascript.jscomp.modules
-
A map containing information about all modules in the compilation.
- ModuleMap(ImmutableMap<String, Module>, ImmutableMap<String, Module>) - Constructor for class com.google.javascript.jscomp.modules.ModuleMap
- ModuleMapCreator - Class in com.google.javascript.jscomp.modules
-
Creates a
ModuleMap
. - ModuleMapCreator(AbstractCompiler, ModuleMetadataMap) - Constructor for class com.google.javascript.jscomp.modules.ModuleMapCreator
- moduleMetadata() - Method in class com.google.javascript.jscomp.modules.Export
-
The module that contains this export.
- ModuleMetadata() - Constructor for class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
- ModuleMetadataMap - Class in com.google.javascript.jscomp.modules
-
Contains metadata around modules (or scripts) that is useful for checking imports / requires.
- ModuleMetadataMap(Map<String, ModuleMetadataMap.ModuleMetadata>, Map<String, ModuleMetadataMap.ModuleMetadata>) - Constructor for class com.google.javascript.jscomp.modules.ModuleMetadataMap
- ModuleMetadataMap.ModuleMetadata - Class in com.google.javascript.jscomp.modules
-
Struct containing basic information about a module/script including its type and goog namespaces.
- ModuleMetadataMap.ModuleMetadata.Builder - Class in com.google.javascript.jscomp.modules
-
Builder for
ModuleMetadataMap.ModuleMetadata
. - ModuleMetadataMap.ModuleType - Enum in com.google.javascript.jscomp.modules
-
Various types of Javascript modules and scripts that can be found in the JS Compiler.
- ModuleNames - Class in com.google.javascript.jscomp.deps
-
Static methods related to module names.
- modulePath() - Method in class com.google.javascript.jscomp.modules.Export
-
Returns the path of the containing module
- modulePath() - Method in class com.google.javascript.jscomp.modules.Import
-
Returns the path of the containing module, if from an ES module.
- modulePaths - Variable in class com.google.javascript.jscomp.deps.ModuleResolver
-
The set of all known input module URIs (including trailing .js), after normalization.
- moduleRequest() - Method in class com.google.javascript.jscomp.modules.Export
-
Returns the module identifier of an export from or null if this is not an
export {} from
orexport * from
. - moduleRequest() - Method in class com.google.javascript.jscomp.modules.Import
-
Returns the module identifier of this import.
- ModuleRequestResolver - Interface in com.google.javascript.jscomp.modules
-
Resolves requests for other modules.
- moduleResolution - Variable in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
- 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, ModuleLoader.PathEscaper) - 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.
- moduleRoots - Variable in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
- MODULES - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- moduleSpecifier - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ImportDeclarationTree
- moduleType - Variable in class com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo
- moduleType() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata.Builder
- moduleType() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
- moduleType(ModuleMetadataMap.ModuleType) - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata.Builder
- MOTION_ITERATIONS_ERROR - Static variable in class com.google.javascript.jscomp.Compiler
- MSG_CONVENTIONS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
-
Warnings that only apply to people who use MSG_ to denote messages.
- MUL - com.google.javascript.rhino.Token
- MULTILINE - com.google.javascript.jscomp.ErrorFormat
- MUST_BE_PRIVATE - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
- MUST_COME_BEFORE - Static variable in class com.google.javascript.jscomp.lint.CheckEs6ModuleFileStructure
- MUST_HAVE_TRAILING_UNDERSCORE - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
- mutated() - Method in class com.google.javascript.jscomp.modules.Export
-
Whether or not this export is potentially mutated after module execution (i.e.
- MUTATED_EXPORT - Static variable in class com.google.javascript.jscomp.lint.CheckNoMutatedEs6Exports
- MUTATES_ARGUMENTS - Static variable in class com.google.javascript.rhino.Node.SideEffectFlags
- MUTATES_GLOBAL_STATE - Static variable in class com.google.javascript.rhino.Node.SideEffectFlags
- MUTATES_THIS - Static variable in class com.google.javascript.rhino.Node.SideEffectFlags
N
- name - Variable in class com.google.javascript.jscomp.parsing.parser.SourceFile
- name - Variable in class com.google.javascript.jscomp.parsing.parser.trees.BreakStatementTree
- name - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ClassDeclarationTree
- name - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ContinueStatementTree
- name - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree
- name - Variable in class com.google.javascript.jscomp.parsing.parser.trees.LabelledStatementTree
- name - Variable in class com.google.javascript.jscomp.parsing.parser.trees.PropertyNameAssignmentTree
- name - Variable in enum com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- name(String) - Static method in class com.google.javascript.rhino.IR
- NAME - com.google.javascript.rhino.Token
- NAMED_TYPE - com.google.javascript.rhino.Token
- namedAnonFunctionMap - Variable in class com.google.javascript.jscomp.Result
- 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.
- namedType(String) - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
-
Splits a '.' separated qualified name into a tree of type segments.
- NamedType - Class in com.google.javascript.rhino.jstype
-
A
NamedType
is a named reference to some other type. - NameGenerator - Interface in com.google.javascript.jscomp
-
A class that generates unique JavaScript variable/property names.
- nameNode() - Method in class com.google.javascript.jscomp.modules.Export
-
Node that this export originates from.
- nameNode() - Method in class com.google.javascript.jscomp.modules.Import
-
Returns the name node for source information.
- NamePosition() - Constructor for class com.google.javascript.rhino.JSDocInfo.NamePosition
- namespace() - Method in class com.google.javascript.jscomp.modules.Module
-
Map of exported identifiers to originating binding.
- namespace() - Method in class com.google.javascript.jscomp.NodeUtil.GoogRequire
- namespace(ImmutableMap<String, Binding>) - Method in class com.google.javascript.jscomp.modules.Module.Builder
- NAMESPACE - com.google.javascript.jscomp.parsing.parser.TokenType
- NAMESPACE - com.google.javascript.rhino.Token
- NAMESPACE - Static variable in class com.google.javascript.jscomp.modules.Export
-
The
Export.exportName()
of goog.module default exports, e.g. - NAMESPACE_ELEMENTS - com.google.javascript.rhino.Token
- NAMESPACE_IMPORT_CANNOT_USE_STAR - Static variable in class com.google.javascript.jscomp.modules.EsModuleProcessor
- nameSpaceImportIdentifier - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ImportDeclarationTree
- NativeColorId - Enum in com.google.javascript.jscomp.colors
-
All color representing native JavaScript objects that have special behavior during optimizations.
- ne(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
"!="
- NE - com.google.javascript.rhino.Token
- needsFix() - Method in class com.google.javascript.jscomp.lint.CheckProvidesSorted
-
Returns whether the provides need to be fixed, i.e., whether they are *not* already canonical.
- needsFix() - Method in class com.google.javascript.jscomp.lint.CheckRequiresSorted
-
Returns whether the imports need to be fixed, i.e., whether they are *not* already canonical.
- needsManagement() - Method in class com.google.javascript.jscomp.DependencyOptions
-
Returns whether dependency management is enabled.
- needsTranspilationFrom(FeatureSet) - Method in class com.google.javascript.jscomp.CompilerOptions
- needsTranspilationOf(FeatureSet.Feature) - Method in class com.google.javascript.jscomp.CompilerOptions
- neg(Node) - Static method in class com.google.javascript.rhino.IR
- NEG - com.google.javascript.rhino.Token
- nestedModules() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
- nestedModulesBuilder() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata.Builder
- NEW - com.google.javascript.jscomp.parsing.parser.Keywords
- NEW - com.google.javascript.jscomp.parsing.parser.TokenType
- NEW - com.google.javascript.rhino.Token
- NEW_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- NEW_PRIMITIVE_OBJECT - Static variable in class com.google.javascript.jscomp.lint.CheckPrimitiveAsObject
- NEW_TARGET - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- NEW_TARGET - com.google.javascript.rhino.Token
- NEW_TARGET_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- newBigInt(BigInteger) - Static method in class com.google.javascript.rhino.Node
- 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.
- newDeclaration(Node, Node, Token) - Static method in class com.google.javascript.jscomp.NodeUtil
- NewExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
- NewExpressionTree(SourceRange, ParseTree, ArgumentListTree, boolean) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.NewExpressionTree
- newId() - Method in class com.google.javascript.jscomp.IdGenerator
-
Creates a new id for stubbing a method.
- 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
- newOptionalParameterFrom(FunctionType.Parameter) - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
-
Copies the parameter specification from the given parameter, but makes sure it's optional.
- newParameterFrom(FunctionType.Parameter) - Method in class com.google.javascript.rhino.jstype.FunctionParamBuilder
-
Copies the parameter specification from the given parameter.
- 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.
- newQNameDeclaration(AbstractCompiler, String, Node, JSDocInfo, Token) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Creates a node representing a qualified name.
- newReverseTraversal(FixedPointGraphTraversal.EdgeCallback<NodeT, EdgeT>) - Static method in class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
-
Helper method for creating new traversals that traverse from child to parent.
- newString(Token, String) - Static method in class com.google.javascript.rhino.Node
- newString(Token, String, int, int) - Static method in class com.google.javascript.rhino.Node
- newString(String) - Static method in class com.google.javascript.rhino.Node
- newString(String, int, int) - Static method in class com.google.javascript.rhino.Node
- newSubGraph() - Method in interface com.google.javascript.jscomp.graph.AdjacencyGraph
-
Returns an empty SubGraph for this Graph.
- newSubGraph() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph
- newSubGraph() - Method in class com.google.javascript.jscomp.graph.LinkedUndirectedGraph
- 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
- newTemplateLitString(String, String) - Static method in class com.google.javascript.rhino.Node
- newTraversal(FixedPointGraphTraversal.EdgeCallback<NodeT, EdgeT>) - Static method in class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
-
Helper method for creating new traversals that traverse from parent to child.
- newUndefinedNode(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Create a node for an empty result expression: "void 0"
- next() - Method in interface com.google.debugging.sourcemap.Base64VLQ.CharIterator
- nextConvention - Variable in class com.google.javascript.jscomp.CodingConventions.Proxy
- nextPreciserScopeKnowingConditionOutcome(Node, FlowScope, Outcome) - 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_DEFAULT_EXPORT - Static variable in class com.google.javascript.jscomp.lint.CheckEs6Modules
- NO_MATCH - com.google.javascript.jscomp.TypeMatchingStrategy.MatchResult
- NO_OBJECT_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- NO_RESOLVED_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- NO_SUBSTITUTION_TEMPLATE - com.google.javascript.jscomp.parsing.parser.TokenType
- NO_TRANSPILE - com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
For languageOut only.
- NO_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- 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, int, int) - Constructor for class com.google.javascript.rhino.Node
- Node(Token, Node) - Constructor for class com.google.javascript.rhino.Node
- Node(Token, Node, int, int) - 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 - com.google.javascript.jscomp.deps.ModuleLoader.ResolutionMode
-
Uses the node module resolution algorithm.
- 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 invocation 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, ModuleLoader.PathEscaper) - Constructor for class com.google.javascript.jscomp.deps.NodeModuleResolver
- NodeModuleResolver.Factory - Class in com.google.javascript.jscomp.deps
-
Factory for
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, 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 a global script, goog.provide file, goog.module, goog.loadModule, ES module or CommonJS module is entered or exited.
- NodeTraversal.AbstractPostOrderCallback - Class in com.google.javascript.jscomp
-
Abstract callback to visit all nodes in postorder.
- NodeTraversal.AbstractPostOrderCallbackInterface - Interface 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.ChangeScopeRootCallback - Interface in com.google.javascript.jscomp
-
Callback for passes that iterate over a list of change scope roots (FUNCTIONs and SCRIPTs)
- NodeTraversal.ExternsSkippingCallback - Class in com.google.javascript.jscomp
-
Abstract callback to visit all non-extern nodes in postorder.
- 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.GoogRequire - Class in com.google.javascript.jscomp
-
Represents a goog.require'd namespace and property inside a module.
- NodeUtil.ValueType - Enum in com.google.javascript.jscomp
- NodeUtil.Visitor - Interface in com.google.javascript.jscomp
-
Interface for use with the visit method.
- NominalTypeBuilder - Class in com.google.javascript.rhino
-
Builder interface for declaring properties on class-like (nominal) types.
- NominalTypeBuilder(FunctionType, ObjectType) - Constructor for class com.google.javascript.rhino.NominalTypeBuilder
- NON_DECLARATION_STATEMENT_IN_RECORD - Static variable in class com.google.javascript.jscomp.lint.CheckInterfaces
- NON_HALTING_ERROR_MSG - Static variable in class com.google.javascript.jscomp.graph.FixedPointGraphTraversal
- NON_STANDARD_JSDOC - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- NON_STATIC_INITIALIZER_STRING_VALUE_IN_ENUM - Static variable in class com.google.javascript.jscomp.lint.CheckEnums
- none() - Static method in class com.google.javascript.jscomp.DependencyOptions
-
Returns a
DependencyOptions
using theDependencyOptions.DependencyMode.NONE
mode. - NONE - com.google.javascript.jscomp.CompilerInput.ModuleType
- NONE - com.google.javascript.jscomp.CompilerOptions.Es6ModuleTranspilation
-
Do not touch any Es6 module feature.
- NONE - com.google.javascript.jscomp.CompilerOptions.InstrumentOption
- NONE - com.google.javascript.jscomp.CompilerOptions.IsolationMode
- NONE - com.google.javascript.jscomp.CompilerOptions.OutputJs
- NONE - com.google.javascript.jscomp.CompilerOptions.PropertyCollapseLevel
- NONE - com.google.javascript.jscomp.CompilerOptions.Reach
- NONE - com.google.javascript.jscomp.DependencyOptions.DependencyMode
-
All input files will be included in the compilation in the order they were specified in.
- NONE - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- NonJSDocComment - Class in com.google.javascript.rhino
-
Minimal class holding information about a nonJSDoc comment's source location and contents
- NonJSDocComment(SourcePosition, SourcePosition, String) - Constructor for class com.google.javascript.rhino.NonJSDocComment
- NONNULL - com.google.javascript.jscomp.ImplicitNullabilityCheck.Nullability
- NoObjectType - Class in com.google.javascript.rhino.jstype
-
The bottom Object type, representing the subclass of all objects.
- NoResolvedType - Class in com.google.javascript.rhino.jstype
-
An unresolved type that was forward declared.
- NORMAL - com.google.javascript.jscomp.CompilerOptions.OutputJs
- NORMAL - com.google.javascript.rhino.jstype.JSType.SubtypingMode
- NORMALIZE - Static variable in class com.google.javascript.jscomp.PassNames
- normalizeAllowlist(Set<String>) - Method in class com.google.javascript.jscomp.AllowlistWarningsGuard
-
Loads legacy warnings list from the set of strings.
- NORMALIZED - com.google.javascript.jscomp.AbstractCompiler.LifeCycleStage
- NORMALIZED_OBFUSCATED - com.google.javascript.jscomp.AbstractCompiler.LifeCycleStage
- not() - Method in enum com.google.javascript.jscomp.type.Outcome
-
Gets the
not
ofthis
. - not() - Method in enum com.google.javascript.rhino.jstype.TernaryValue
-
Gets the
not
ofthis
. - not() - Method in enum com.google.javascript.rhino.Outcome
-
Gets the
not
ofthis
. - 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 - com.google.javascript.rhino.Token
- NOT_A_CONSTRUCTOR - Static variable in class com.google.javascript.jscomp.TypeCheck
- NOT_EQUAL - com.google.javascript.jscomp.parsing.parser.TokenType
- NOT_EQUAL_EQUAL - com.google.javascript.jscomp.parsing.parser.TokenType
- 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 - com.google.javascript.jscomp.NodeUtil.ValueType
- NULL - com.google.javascript.jscomp.parsing.parser.Keywords
- NULL - com.google.javascript.jscomp.parsing.parser.TokenType
- NULL - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- NULL - com.google.javascript.rhino.Token
- NULL - Static variable in interface com.google.javascript.jscomp.transpile.Transpiler
-
Null implementation that does no transpilation at all.
- NULL_COALESCE_OP - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- NULL_DECODER - Static variable in class com.google.javascript.jscomp.ReplacedStringsDecoder
-
A null decoder that does no mapping.
- NULL_INSTANCE - Static variable in interface com.google.javascript.rhino.ErrorReporter
- NULL_MISSING_NULLABILITY_MODIFIER_JSDOC - Static variable in class com.google.javascript.jscomp.lint.CheckNullabilityModifiers
-
The diagnostic for a missing nullability modifier, where the value is clearly nullable.
- NULL_OR_VOID - com.google.javascript.jscomp.colors.NativeColorId
- NULL_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- NULL_VOID - com.google.javascript.rhino.jstype.JSTypeNative
-
(null, void)
- NULLABLE - com.google.javascript.jscomp.ImplicitNullabilityCheck.Nullability
- 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
- NULLABLE_TYPE - com.google.javascript.rhino.Token
- NULLISH - com.google.javascript.rhino.Outcome
- 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(double) - Static method in class com.google.javascript.rhino.IR
- NUMBER - com.google.javascript.jscomp.colors.NativeColorId
- NUMBER - com.google.javascript.jscomp.NodeUtil.ValueType
- NUMBER - com.google.javascript.jscomp.parsing.parser.TokenType
- NUMBER - com.google.javascript.rhino.Token
- NUMBER_OBJECT - com.google.javascript.jscomp.colors.NativeColorId
- NUMBER_OBJECT_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- NUMBER_OBJECT_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- NUMBER_STRING - com.google.javascript.rhino.jstype.JSTypeNative
-
(number,string)
- NUMBER_STRING_BOOLEAN - com.google.javascript.rhino.jstype.JSTypeNative
-
(number,string,boolean)
- NUMBER_STRING_SYMBOL - com.google.javascript.rhino.jstype.JSTypeNative
-
(number,string,symbol)
- NUMBER_SYMBOL - com.google.javascript.rhino.jstype.JSTypeNative
-
(number,symbol)
- NUMBER_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- NUMBER_TYPE - com.google.javascript.rhino.Token
- numberToString(double) - Static method in class com.google.javascript.rhino.dtoa.DToA
- numberType() - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
- NumberType - Class in com.google.javascript.rhino.jstype
-
Number type.
- numCapturingGroups() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Alternation
- numCapturingGroups() - Method in class com.google.javascript.jscomp.regex.RegExpTree.CapturingGroup
- numCapturingGroups() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Concatenation
- numCapturingGroups() - Method in class com.google.javascript.jscomp.regex.RegExpTree.LookaheadAssertion
- numCapturingGroups() - Method in class com.google.javascript.jscomp.regex.RegExpTree.LookbehindAssertion
- numCapturingGroups() - Method in class com.google.javascript.jscomp.regex.RegExpTree.NamedCaptureGroup
- numCapturingGroups() - Method in class com.google.javascript.jscomp.regex.RegExpTree
-
The number of capturing groups.
- numCapturingGroups() - Method in class com.google.javascript.jscomp.regex.RegExpTree.RegExpTreeAtom
- numCapturingGroups() - Method in class com.google.javascript.jscomp.regex.RegExpTree.Repetition
- NUMERIC_SEPARATOR - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
O
- OBJECT - com.google.javascript.jscomp.NodeUtil.ValueType
- OBJECT_DESTRUCTURING - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- OBJECT_ELEMENT_TEMPLATE - Static variable in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Deprecated.
- OBJECT_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- OBJECT_LITERAL_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- OBJECT_LITERALS_WITH_SPREAD - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- OBJECT_PATTERN - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- OBJECT_PATTERN - com.google.javascript.rhino.Token
- OBJECT_PATTERN_REST - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- OBJECT_PROTOTYPE - com.google.javascript.rhino.jstype.JSTypeNative
- OBJECT_REST - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- OBJECT_REST - com.google.javascript.rhino.Token
- OBJECT_SPREAD - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- OBJECT_SPREAD - com.google.javascript.rhino.Token
- OBJECT_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- objectlit(Node...) - Static method in class com.google.javascript.rhino.IR
- OBJECTLIT - com.google.javascript.rhino.Token
- ObjectLiteralExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
- ObjectLiteralExpressionTree(SourceRange, ImmutableList<ParseTree>, boolean) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ObjectLiteralExpressionTree
- objectPattern(Node...) - Static method in class com.google.javascript.rhino.IR
- 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
- objectRest(Node) - Static method in class com.google.javascript.rhino.IR
- ObjectRestTree - Class in com.google.javascript.jscomp.parsing.parser.trees
- ObjectRestTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ObjectRestTree
- objectSpread(Node) - Static method in class com.google.javascript.rhino.IR
- ObjectSpreadTree - Class in com.google.javascript.jscomp.parsing.parser.trees
- ObjectSpreadTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ObjectSpreadTree
- ObjectType - Class in com.google.javascript.rhino.jstype
-
Object type.
- OCTAL_LITERALS - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- of(boolean) - Static method in enum com.google.javascript.rhino.jstype.JSType.HasPropertyKind
- of(String) - Static method in class com.google.javascript.rhino.QualifiedName
- of(Function<Source, Source>) - Static method in interface com.google.javascript.jscomp.bundle.Source.Transformer
- OF - Static variable in class com.google.javascript.jscomp.parsing.parser.PredefinedName
- OFF - com.google.javascript.jscomp.CheckLevel
- OFF - com.google.javascript.jscomp.CheckLevelLegacy
- OFF - com.google.javascript.jscomp.CompilerOptions.DevMode
-
Don't do any extra checks.
- OFF - com.google.javascript.jscomp.CompilerOptions.ExtractPrototypeMemberDeclarationsMode
- OFF - com.google.javascript.jscomp.CompilerOptions.IncrementalCheckMode
-
Normal mode
- OFF - com.google.javascript.jscomp.CompilerOptions.J2clPassMode
-
J2clPass is disabled.
- OFF - com.google.javascript.jscomp.CompilerOptions.TracerMode
- OFF - com.google.javascript.jscomp.CompilerOptions.TweakProcessing
- OFF - com.google.javascript.jscomp.PropertyRenamingPolicy
-
Rename no properties.
- OFF - com.google.javascript.jscomp.VariableRenamingPolicy
-
Rename no variables.
- offset - Variable in class com.google.javascript.jscomp.parsing.parser.util.SourcePosition
- ON_EX - com.google.javascript.jscomp.ControlFlowGraph.Branch
-
Exception-handling code paths.
- ON_FALSE - com.google.javascript.jscomp.ControlFlowGraph.Branch
-
Edge is taken if the condition is false.
- ON_TRUE - com.google.javascript.jscomp.ControlFlowGraph.Branch
-
Edge is taken if the condition is true.
- OPEN_ANGLE - com.google.javascript.jscomp.parsing.parser.TokenType
- OPEN_CURLY - com.google.javascript.jscomp.parsing.parser.TokenType
- OPEN_PAREN - com.google.javascript.jscomp.parsing.parser.TokenType
- OPEN_SQUARE - com.google.javascript.jscomp.parsing.parser.TokenType
- openForDefinition() - Method in class com.google.javascript.rhino.jstype.JSTypeResolver
-
Allow new types to be created without eagerly resolving them.
- 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.OptionalCallExpressionTree
- operand - Variable in class com.google.javascript.jscomp.parsing.parser.trees.OptionalMemberExpressionTree
- operand - Variable in class com.google.javascript.jscomp.parsing.parser.trees.OptionalMemberLookupExpressionTree
- 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
- OPERATION - com.google.javascript.jscomp.parsing.TypeTransformationParser.OperationKind
- 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_CHAIN__CALL_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- OPT_CHAIN_MEMBER_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- OPT_CHAIN_MEMBER_LOOKUP_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- OPT_ES6_TYPED - Static variable in class com.google.javascript.rhino.Node
- OPTCHAIN_CALL - com.google.javascript.rhino.Token
- OPTCHAIN_GETELEM - com.google.javascript.rhino.Token
- OPTCHAIN_GETPROP - com.google.javascript.rhino.Token
- OPTIMIZE_ARGUMENTS_ARRAY - Static variable in class com.google.javascript.jscomp.PassNames
- OPTIMIZE_CALLS - Static variable in class com.google.javascript.jscomp.PassNames
- 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.
- OPTIONAL_CATCH_BINDING - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- OPTIONAL_CHAINING - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- OPTIONAL_PARAM_NOT_MARKED_OPTIONAL - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
- OPTIONAL_PARAMETER - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- OPTIONAL_PARAMETER - com.google.javascript.rhino.Token
- OptionalCallExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Creates a OptionalCallExpressionTree that represents a call expression within an optional chain.
- OptionalCallExpressionTree(SourceRange, ParseTree, ArgumentListTree, boolean, boolean) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.OptionalCallExpressionTree
- OptionalMemberExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Creates a OptionalMemberExpressionTree that represents a getprop expression within an optional chain.
- OptionalMemberExpressionTree(SourceRange, ParseTree, IdentifierToken, boolean) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.OptionalMemberExpressionTree
- OptionalMemberLookupExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
-
Creates a OptionalMemberExpressionTree that represents a getprop expression within an optional chain.
- OptionalMemberLookupExpressionTree(SourceRange, ParseTree, ParseTree, boolean) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.OptionalMemberLookupExpressionTree
- optionalParameter(Node.TypeDeclarationNode) - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
-
Represents a function parameter that is optional.
- options - Variable in class com.google.javascript.jscomp.PassConfig
- options() - Method in class com.google.javascript.jscomp.bundle.CompilerBasedTransformer.CompilerSupplier
- 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(TernaryValue) - Method in enum com.google.javascript.rhino.jstype.TernaryValue
-
Gets the
or
ofthis
andthat
. - or(Node, Node) - Static method in class com.google.javascript.rhino.IR
- OR - com.google.javascript.jscomp.parsing.parser.TokenType
- OR - com.google.javascript.rhino.Token
- original() - Method in class com.google.javascript.jscomp.transpile.TranspileResult
- originalCode() - Method in class com.google.javascript.jscomp.bundle.Source
-
The untransformed code from the original source file.
- ORIGINALNAME_PROP - Static variable in class com.google.javascript.rhino.Node
- originatingExport() - Method in class com.google.javascript.jscomp.modules.Binding
-
Returns the original export if this binding was created by an export.
- OTHER - com.google.javascript.jscomp.CodeGenerator.Context
- Outcome - Enum in com.google.javascript.jscomp.type
-
An enum for representing boolean outcomes.
- Outcome - Enum in com.google.javascript.rhino
-
An enum for representing truthiness and nullishness of outcomes.
- OUTPUT_MARKER - Static variable in class com.google.javascript.jscomp.CommandLineRunner
- outputFeatureSet - Variable in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
- outputTracerReport(PrintStream) - Method in class com.google.javascript.jscomp.PerformanceTracker
-
Prints a summary, which contains aggregate stats for all runs of each pass and a log, which contains stats for each individual run.
- overwriteDeclaredType(StaticScope, String, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Overrides a declared global type name.
- 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
- OwnedProperty(ObjectType, Property) - Constructor for class com.google.javascript.rhino.jstype.Property.OwnedProperty
P
- PACKAGE - com.google.javascript.jscomp.parsing.parser.Keywords
- PACKAGE - com.google.javascript.jscomp.parsing.parser.TokenType
- PACKAGE - com.google.javascript.rhino.JSDocInfo.Visibility
- PARAM_LIST - com.google.javascript.rhino.Token
- parameter - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertySetterTree
- parameter - Variable in class com.google.javascript.jscomp.parsing.parser.trees.SetAccessorTree
- Parameter() - Constructor for class com.google.javascript.rhino.jstype.FunctionType.Parameter
- PARAMETERIZED_TYPE - com.google.javascript.rhino.Token
- parameterizedType(Node.TypeDeclarationNode, Iterable<Node.TypeDeclarationNode>) - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
-
Represents a parameterized, or generic, type.
- parameters - Variable in class com.google.javascript.jscomp.parsing.parser.trees.FormalParameterListTree
- paramList(Node...) - Static method in class com.google.javascript.rhino.IR
- PAREN_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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
-
Parses input files without doing progress tracking that is part of a full compile.
- parse() - Method in class com.google.javascript.jscomp.parsing.JsDocInfoParser
-
Parses a
JSDocInfo
object. - parse(SourceMapObject, SourceMapSupplier) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
-
Parses the given contents containing a source map.
- 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(String) - Method in interface com.google.debugging.sourcemap.SourceMapConsumer
-
Parses the given contents containing a source map to provide initialize a class providing SourceMapping.
- parse(String) - Static method in class com.google.debugging.sourcemap.SourceMapConsumerFactory
- parse(String) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
-
Parses the given contents containing a source map.
- parse(String) - Static method in class com.google.debugging.sourcemap.SourceMapObjectParser
- parse(String, SourceMapSupplier) - Static method in class com.google.debugging.sourcemap.SourceMapConsumerFactory
- parse(String, String, JsFileFullParser.Reporter) - Static method in class com.google.javascript.jscomp.deps.JsFileFullParser
-
Parses a JavaScript file for dependencies and annotations.
- PARSE_ERROR - Static variable in class com.google.javascript.jscomp.deps.JsFileLineParser
- PARSE_INPUTS - Static variable in class com.google.javascript.jscomp.PassNames
- PARSE_RESULTS - Static variable in class com.google.javascript.rhino.Node
- PARSED_FROM_DEPS - com.google.javascript.jscomp.deps.DependencyInfo.Require.Type
-
Parsed from an existing Closure dependency file.
- parsedFromDeps(String) - Static method in class com.google.javascript.jscomp.deps.DependencyInfo.Require
- parseDocumentation() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Configures the builder to parse documentation.
- ParseException() - Constructor for exception com.google.javascript.jscomp.parsing.parser.util.LookaheadErrorReporter.ParseException
- parseFile(String) - Method in class com.google.javascript.jscomp.deps.DepsFileRegexParser
-
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.DepsFileRegexParser
-
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.JsFileRegexParser
-
Parses the given file and returns the dependency information that it contained.
- parseFileOverviewJsdoc(String) - Static method in class com.google.javascript.jscomp.parsing.JsDocInfoParser
- parseFileReader(String, Reader) - Method in class com.google.javascript.jscomp.deps.DepsFileRegexParser
-
Parses the file from the given reader and returns a list of dependency information that it contained.
- parseForCompilation() - Method in class com.google.javascript.jscomp.Compiler
-
Parses input files in preparation for compilation.
- parseInlineSourceMaps() - Method in class com.google.javascript.jscomp.parsing.Config
-
Whether to parse inline source maps (//# sourceMappingURL=data:...).
- 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. - parseJsDocCommentLine(String) - Method in class com.google.javascript.jscomp.deps.JsFileRegexParser
- parseJsonFilesFromInputStream() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
- parseLine(String) - Method in class com.google.javascript.jscomp.deps.DepsFileRegexParser
-
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.JsFileRegexParser
-
Parses a line of JavaScript, extracting goog.provide and goog.require information.
- parseModuleWrappers(List<String>, Iterable<JSModule>) - Static method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Parses module wrapper specifications.
- parseProgram() - Method in class com.google.javascript.jscomp.parsing.parser.Parser
- Parser - Class in com.google.javascript.jscomp.parsing.parser
-
Parses a javascript file.
- Parser(Parser.Config, ErrorReporter, SourceFile) - 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, int, boolean) - Constructor for class com.google.javascript.jscomp.parsing.parser.Parser
- 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:
- parseSyntheticCode(String) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Parses code for injecting.
- parseSyntheticCode(String) - Method in class com.google.javascript.jscomp.Compiler
- 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.
- PARSING - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- ParsingUtil - Class in com.google.javascript.jscomp.parsing
-
Utility functions for parsing that don't depend on the compiler.
- PARTIAL_ALIAS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- parts() - Method in class com.google.javascript.jscomp.JsMessage
-
Deprecated.use
JsMessage.getParts()
} instead - 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.PassConfigDelegate - Class in com.google.javascript.jscomp
-
An implementation of PassConfig that just proxies all its method calls into an inner class.
- PassConfigDelegate(PassConfig) - Constructor for class com.google.javascript.jscomp.PassConfig.PassConfigDelegate
- PassFactory - Class in com.google.javascript.jscomp
-
A factory for creating JSCompiler passes based on the Options injected.
- PassFactory.Builder - Class in com.google.javascript.jscomp
-
A builder for a
PassFactory
. - PassNames - Class in com.google.javascript.jscomp
-
If the name of a pass is used in more than one place in the source, it's good to create a symbolic name here.
- path() - Method in class com.google.javascript.jscomp.bundle.Source
-
The path of this source.
- path() - Method in class com.google.javascript.jscomp.modules.Module
-
Path of this module.
- path() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
- path() - Method in class com.google.javascript.jscomp.transpile.TranspileResult
- path(ModuleLoader.ModulePath) - Method in class com.google.javascript.jscomp.modules.Module.Builder
- path(ModuleLoader.ModulePath) - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata.Builder
- 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
- PEEPHOLE_OPTIMIZATIONS - Static variable in class com.google.javascript.jscomp.PassNames
- PERCENT - com.google.javascript.jscomp.parsing.parser.TokenType
- PERCENT_EQUAL - com.google.javascript.jscomp.parsing.parser.TokenType
- 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
- performPostCompilationTasks() - Method in class com.google.javascript.jscomp.Compiler
-
Performs all the bookkeeping required at the end of a compilation.
- PERIOD - com.google.javascript.jscomp.parsing.parser.TokenType
- PIPE - com.google.javascript.rhino.Token
- PLACEHOLDER1 - com.google.javascript.rhino.Token
- PLACEHOLDER2 - com.google.javascript.rhino.Token
- PLACEHOLDER3 - com.google.javascript.rhino.Token
- PlaceholderReference() - Constructor for class com.google.javascript.jscomp.JsMessage.PlaceholderReference
- placeholders() - Method in class com.google.javascript.jscomp.JsMessage
-
Gets a set of the registered placeholders in this message.
- plus(K, V) - Method in class com.google.javascript.rhino.HamtPMap
-
Returns a new map with the given key-value pair added.
- plus(K, V) - Method in interface com.google.javascript.rhino.PMap
-
Returns a new map with the given key-value pair added.
- PLUS - com.google.javascript.jscomp.parsing.parser.TokenType
- PLUS_EQUAL - com.google.javascript.jscomp.parsing.parser.TokenType
- PLUS_PLUS - com.google.javascript.jscomp.parsing.parser.TokenType
- PMap<K,V> - Interface in com.google.javascript.rhino
-
A minimal interface for null-hostile, persistent immutable maps.
- PMap.Reconciler<K,V> - Interface in com.google.javascript.rhino
- pointerToColor(TypePointer) - Method in class com.google.javascript.jscomp.serialization.ColorDeserializer
- POLYMER - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- PolymerExportPolicy - Enum in com.google.javascript.jscomp
-
How to handle exports/externs for Polymer properties and methods.
- popEdgeAnnotations() - Method in class com.google.javascript.jscomp.graph.Graph
-
Restores edges' annotation values to state before last
Graph.pushEdgeAnnotations()
. - popNodeAnnotations() - Method in class com.google.javascript.jscomp.graph.Graph
-
Restores nodes' annotation values to state before last
Graph.pushNodeAnnotations()
. - pos(Node) - Static method in class com.google.javascript.rhino.IR
- POS - com.google.javascript.rhino.Token
- POSSIBLE_VIOLATION - com.google.javascript.jscomp.ConformanceRules.ConformanceLevel
- 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
- POSTFIX - com.google.javascript.jscomp.parsing.parser.trees.UpdateExpressionTree.OperatorPosition
- POUND - com.google.javascript.jscomp.parsing.parser.TokenType
- precedence(Token) - Static method in class com.google.javascript.jscomp.NodeUtil
-
The comma operator has the lowest precedence, 0, followed by the assignment operators (
=
,&=
,+=
, etc.) which have precedence of 1, and so on. - PredefinedName - Class in com.google.javascript.jscomp.parsing.parser
-
The set of all non-keyword, non-reserved words used in javascript.
- PREFER_BACKTICKS_TO_AT_SIGN_CODE - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
- 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
- PREFIX - com.google.javascript.jscomp.parsing.parser.trees.UpdateExpressionTree.OperatorPosition
- PrefixLocationMapping(String, String) - Constructor for class com.google.javascript.jscomp.SourceMap.PrefixLocationMapping
- prefixReplacements - Variable in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
- preOrderIterable(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Same as
NodeUtil.preOrderIterable(Node, Predicate)
but iterates over all nodes in the tree without exception. - preOrderIterable(Node, Predicate<Node>) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Create an
Iterable
over the given node and all descendents. - 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.
- prepForBundleAndAppendTo(Appendable, CompilerInput, String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Performs any transformation needed on the given compiler input and appends it to the given output bundle.
- prepForBundleAndAppendTo(Appendable, CompilerInput, String) - Method in class com.google.javascript.jscomp.CommandLineRunner
- preserveTypeAnnotations - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Do not strip closure-style type annotations from code.
- PRETTY - com.google.javascript.jscomp.CodePrinter.Format
- PRETTY_PRINT - com.google.javascript.jscomp.CommandLineRunner.FormattingOption
- PRIMITIVE_OBJECT_DECLARATION - Static variable in class com.google.javascript.jscomp.lint.CheckPrimitiveAsObject
- print(JSDocInfo) - Method in class com.google.javascript.jscomp.JSDocInfoPrinter
- PRINT_INPUT_DELIMITER - com.google.javascript.jscomp.CommandLineRunner.FormattingOption
- 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.ant.AntErrorManager
- println(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.BasicErrorManager
-
Deprecated.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
-
Deprecated.
- println(CheckLevel, JSError) - Method in class com.google.javascript.refactoring.FixingErrorManager
- PrintStreamErrorManager - Class in com.google.javascript.jscomp
-
Deprecated., Please use the {#SortingErrorManger} with a {#PrintStreamErrorReportGenerator} instead.
- PrintStreamErrorManager(MessageFormatter, PrintStream) - Constructor for class com.google.javascript.jscomp.PrintStreamErrorManager
-
Deprecated.Creates an error manager.
- PrintStreamErrorManager(PrintStream) - Constructor for class com.google.javascript.jscomp.PrintStreamErrorManager
-
Deprecated.Creates an instance with a source-less error formatter.
- PrintStreamErrorReportGenerator - Class in com.google.javascript.jscomp
-
An error report generator that prints errors and warnings to the print stream provided.
- PrintStreamErrorReportGenerator(MessageFormatter, PrintStream, int) - Constructor for class com.google.javascript.jscomp.PrintStreamErrorReportGenerator
-
Creates an error report generator.
- printSummary() - Method in class com.google.javascript.jscomp.ant.AntErrorManager
- printSummary() - Method in class com.google.javascript.jscomp.BasicErrorManager
-
Deprecated.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
-
Deprecated.
- printSummary() - Method in class com.google.javascript.refactoring.FixingErrorManager
- PRINTTYPE - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- PRIVATE - com.google.javascript.jscomp.parsing.parser.Keywords
- PRIVATE - com.google.javascript.jscomp.parsing.parser.TokenType
- PRIVATE - com.google.javascript.rhino.JSDocInfo.Visibility
- process(ModuleMetadataMap.ModuleMetadata, ModuleLoader.ModulePath, Node) - Method in class com.google.javascript.jscomp.modules.EsModuleProcessor
- process(Node) - Method in class com.google.javascript.jscomp.CrossChunkReferenceCollector
- process(Node) - Method in class com.google.javascript.jscomp.FindModuleDependencies
- process(Node) - Method in class com.google.javascript.jscomp.ReferenceCollectingCallback
- process(Node, Node) - Method in class com.google.javascript.jscomp.AstValidator
- process(Node, Node) - Method in class com.google.javascript.jscomp.CheckConformance
- process(Node, Node) - Method in class com.google.javascript.jscomp.CheckMissingRequires
- process(Node, Node) - Method in class com.google.javascript.jscomp.CheckTypeImportCodeReferences
- 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.ControlFlowAnalysis
- process(Node, Node) - Method in class com.google.javascript.jscomp.CrossChunkMethodMotion
- process(Node, Node) - Method in class com.google.javascript.jscomp.CrossChunkReferenceCollector
-
Convenience method for running this pass over a tree with this class as a callback.
- 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.disambiguate.AmbiguateProperties
- process(Node, Node) - Method in class com.google.javascript.jscomp.disambiguate.DisambiguateProperties
- process(Node, Node) - Method in class com.google.javascript.jscomp.disambiguate.DisambiguateProperties2
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6CheckModule
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6ConvertSuper
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6ExtractClasses
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6ForOfConverter
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6NormalizeShorthandProperties
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6RelativizeImportPaths
- 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.Es6RewriteBlockScopedFunctionDeclaration
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteClass
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteClassExtendsExpressions
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteDestructuring
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteModules
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteModulesToCommonJsModules
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteRestAndSpread
- process(Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteScriptsToModules
- 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.Es7RewriteExponentialOperator
- 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.GatherGetterAndSetterProperties
- process(Node, Node) - Method in class com.google.javascript.jscomp.GatherModuleMetadata
- process(Node, Node) - Method in class com.google.javascript.jscomp.GenerateExports
- process(Node, Node) - Method in class com.google.javascript.jscomp.ijs.ConvertToTypedInterface
- process(Node, Node) - Method in class com.google.javascript.jscomp.ImplicitNullabilityCheck
- process(Node, Node) - Method in class com.google.javascript.jscomp.InjectTranspilationRuntimeLibraries
- process(Node, Node) - Method in class com.google.javascript.jscomp.instrumentation.CoverageInstrumentationPass
- process(Node, Node) - Method in class com.google.javascript.jscomp.J2clAssertRemovalPass
- 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.J2clPass
- process(Node, Node) - Method in class com.google.javascript.jscomp.J2clPropertyInlinerPass
- process(Node, Node) - Method in class com.google.javascript.jscomp.J2clUtilGetDefineRewriterPass
- process(Node, Node) - Method in class com.google.javascript.jscomp.JsMessageVisitor
- process(Node, Node) - Method in class com.google.javascript.jscomp.LateEs6ToEs3Converter
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckArrayWithGoogObject
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckConstantCaseNames
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckDefaultExportOfGoogModule
- 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.CheckEs6ModuleFileStructure
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckEs6Modules
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckExtraRequires
- 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.CheckNoMutatedEs6Exports
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckNullabilityModifiers
- 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.CheckUnusedLabels
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckUselessBlocks
- process(Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckVar
- process(Node, Node) - Method in class com.google.javascript.jscomp.MarkUntranspilableFeaturesAsRemoved
- process(Node, Node) - Method in class com.google.javascript.jscomp.modules.ModuleMapCreator
- process(Node, Node) - Method in class com.google.javascript.jscomp.ProcessCommonJSModules
- 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, Node) - Method in class com.google.javascript.jscomp.RewriteAsyncFunctions
- process(Node, Node) - Method in class com.google.javascript.jscomp.RewriteAsyncIteration
- process(Node, Node) - Method in class com.google.javascript.jscomp.RewriteGoogJsImports
- 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.RewriteNullishCoalesceOperator
- process(Node, Node) - Method in class com.google.javascript.jscomp.RewriteObjectSpread
- process(Node, Node) - Method in class com.google.javascript.jscomp.RewritePolyfills
- process(Node, Node) - Method in class com.google.javascript.jscomp.serialization.ConvertTypesToColors
- process(Node, Node) - Method in class com.google.javascript.jscomp.SyncCompilerFeatures
- 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(AbstractCompiler) - 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.
- 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.examples.GoogBindToArrow
- 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. - PRODUCTION - com.google.javascript.jscomp.CompilerOptions.InstrumentOption
- PROGRAM - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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
- PROMISE_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- PROMISE_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- propdef(Node, Node) - Static method in class com.google.javascript.rhino.IR
- propertiesKeepOriginalName() - Method in class com.google.javascript.jscomp.colors.Color
- property - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyDefinitionTree
- property - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyGetterTree
- property - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertyMethodTree
- property - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComputedPropertySetterTree
- property() - Method in class com.google.javascript.jscomp.NodeUtil.GoogRequire
- Property - Class in com.google.javascript.rhino.jstype
-
A property slot of an object.
- PROPERTY_NAME_ASSIGNMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- Property.OwnedProperty - Class in com.google.javascript.rhino.jstype
-
A property instance associated with particular owner type.
- 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.resources.GwtProperties
- PropertyRenamingDiagnostics - Class in com.google.javascript.jscomp
-
Shared diagnotic type related to property renaming.
- PropertyRenamingPolicy - Enum in com.google.javascript.jscomp
-
Policies to determine how properties should be renamed.
- PROPTYPE - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- PROTECTED - com.google.javascript.jscomp.parsing.parser.Keywords
- PROTECTED - com.google.javascript.jscomp.parsing.parser.TokenType
- PROTECTED - com.google.javascript.rhino.JSDocInfo.Visibility
- 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
. - prototypeOrInstance() - Method in class com.google.javascript.rhino.NominalTypeBuilder
-
Returns the type of the prototype object (OTI).
- 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.
- provideGoog - Variable in class com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo
- provides - Variable in class com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo
- PROVIDES_NOT_SORTED - Static variable in class com.google.javascript.jscomp.lint.CheckProvidesSorted
- 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.
- PRUNE - com.google.javascript.jscomp.DependencyOptions.DependencyMode
-
Input files that are transitive dependencies of the entry points will be included in the compilation in dependency order.
- PRUNE_LEGACY - com.google.javascript.jscomp.DependencyOptions.DependencyMode
-
Input files that are transitive dependencies of the entry points will be included in the compilation in dependency order.
- pruneForEntryPoints(Iterable<ModuleIdentifier>) - Static method in class com.google.javascript.jscomp.DependencyOptions
-
Returns a
DependencyOptions
using theDependencyOptions.DependencyMode.PRUNE
mode with the given entry points. - pruneLegacyForEntryPoints(Iterable<ModuleIdentifier>) - Static method in class com.google.javascript.jscomp.DependencyOptions
-
Deprecated.Prefer
DependencyOptions.pruneForEntryPoints(Iterable)
with a complete list of entry points. - PUBLIC - com.google.javascript.jscomp.parsing.parser.Keywords
- PUBLIC - com.google.javascript.jscomp.parsing.parser.TokenType
- PUBLIC - com.google.javascript.rhino.JSDocInfo.Visibility
- pushEdgeAnnotations() - Method in class com.google.javascript.jscomp.graph.Graph
-
Pushes edges' annotation values.
- pushNodeAnnotations() - Method in class com.google.javascript.jscomp.graph.Graph
-
Pushes nodes' annotation values.
- putBooleanProp(Node.Prop, boolean) - Method in class com.google.javascript.rhino.Node
- putIntProp(Node.Prop, int) - Method in class com.google.javascript.rhino.Node
- putProp(Node.Prop, Object) - Method in class com.google.javascript.rhino.Node
Q
- QMARK - com.google.javascript.rhino.Token
- QualifiedName - Class in com.google.javascript.rhino
-
Abstraction over a qualified name.
- QUESTION - com.google.javascript.jscomp.parsing.parser.TokenType
- QUESTION_DOT - com.google.javascript.jscomp.parsing.parser.TokenType
- QUESTION_QUESTION - com.google.javascript.jscomp.parsing.parser.TokenType
- QUIET - com.google.javascript.jscomp.WarningLevel
- QUOTED_PROP - Static variable in class com.google.javascript.rhino.Node
- quotedStringKey(String, Node) - Static method in class com.google.javascript.rhino.IR
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 - com.google.javascript.jscomp.AbstractCompiler.LifeCycleStage
- RAW_SIZE - com.google.javascript.jscomp.CompilerOptions.TracerMode
- RAWTYPEOF - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- REACHABLE - Static variable in class com.google.javascript.jscomp.graph.GraphReachability
- REASSIGNED_CONSTANT_CASE_NAME - Static variable in class com.google.javascript.jscomp.lint.CheckConstantCaseNames
- rebuildInputsFromModules() - Method in class com.google.javascript.jscomp.Compiler
-
Rebuilds the internal input map 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
- reconcile(PMap<K, V>, PMap.Reconciler<K, V>) - Method in class com.google.javascript.rhino.HamtPMap
- reconcile(PMap<K, V>, PMap.Reconciler<K, V>) - Method in interface com.google.javascript.rhino.PMap
-
Performs a reconcile operation to merge
this
andthat
. - reconcileOptionsWithGuards() - Method in class com.google.javascript.jscomp.Compiler
-
When the CompilerOptions and its WarningsGuard overlap, reconcile any discrepancies.
- RECORD - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- RECORD_TYPE - com.google.javascript.rhino.Token
- recordAbstract() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordAlternateMessageId(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records an ID for an alternate message to be used if this message is not yet translated.
- 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.
- recordClosurePrimitiveId(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records an identifier for a Closure Primitive.
- 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 itsJSDocInfo.isConsistentIdGenerator()
flag set totrue
. - recordConstancy() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordConstructor() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordCustomElement() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that this method is to be exposed as a customElement.
- recordDefineType(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records the type of a define.
- recordDeprecated() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordDeprecationReason(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records the deprecation reason.
- recordDescription(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a description giving context for translation (i18n).
- recordDict() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordEnumParameterType(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a parameter type to an enum.
- recordExport() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordExpose() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordExtendedInterface(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records an extended interface type.
- recordExterns() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordFileOverview(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a fileoverview description.
- recordFinality() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- 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 itsJSDocInfo.usesImplicitMatch()
flag set totrue
. - recordInlineType() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordInterface() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordLends(JSTypeExpression) - 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 itsJSDocInfo.isStableIdGenerator()
flag set totrue
. - recordMeaning(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a meaning giving context for translation (i18n).
- recordMixinClass() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that this method is to be exposed as a mixinClass.
- recordMixinFunction() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that this method is to be exposed as a mixinFunction.
- recordModifies(Set<String>) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records the list of modifies warnings.
- recordMutable() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordNgInject(boolean) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that we'd like to add
$inject
property inferred from parameters. - recordNoCollapse() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordNoCompile() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordNoInline() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordNoSideEffects() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that the
JSDocInfo
being built should have itsJSDocInfo.isNoSideEffects()
flag set totrue
. - 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.
- recordPolymer() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that this method is to be exposed as a polymer element.
- 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 itsJSDocInfo.isStableIdGenerator()
flag set totrue
. - recordStruct() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordSuppressions(Set<String>) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records the list of suppressed warnings, possibly adding to the set of already configured warnings.
- recordTemplateTypeName(String) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a template type name.
- recordTemplateTypeName(String, JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- 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(LinkedHashMap<String, Node.TypeDeclarationNode>) - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
-
Represents a structural type.
- RecordType - Class in com.google.javascript.rhino.jstype
-
A record (structural) type.
- RecordTypeBuilder - Class in com.google.javascript.rhino.jstype
-
A builder for record types.
- RecordTypeBuilder(JSTypeRegistry) - Constructor for class com.google.javascript.rhino.jstype.RecordTypeBuilder
- recordTypedef(JSTypeExpression) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that the
JSDocInfo
being built should be populated with atypedef
'd type. - recordTypeSummary() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- recordTypeTransformation(String, Node) - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records a type transformation expression together with its template type name.
- recordUnrestricted() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
-
Records that the
JSDocInfo
being built should have itsJSDocInfo.makesUnrestricted()
flag set totrue
. - 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. - REDUNDANT_NULLABILITY_MODIFIER_JSDOC - Static variable in class com.google.javascript.jscomp.lint.CheckNullabilityModifiers
-
The diagnostic for a redundant nullability modifier.
- RefactoringDriver - Class in com.google.javascript.refactoring
-
Primary driver of a refactoring.
- RefactoringDriver.Builder - Class in com.google.javascript.refactoring
- RefactoringUtils - Class in com.google.javascript.refactoring
-
Utility methods for refactoring Java code.
- 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 - Class in com.google.javascript.jscomp
-
Represents a single declaration or reference to a variable.
- 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.
- ReferenceCollection - Class in com.google.javascript.jscomp
-
A collection of references.
- ReferenceCollection() - Constructor for class com.google.javascript.jscomp.ReferenceCollection
- ReferenceMap - Interface in com.google.javascript.jscomp
-
Maps
Var
s to their references. - REFLECTED_OBJECT - Static variable in class com.google.javascript.rhino.Node
- regexp(Node) - Static method in class com.google.javascript.rhino.IR
- regexp(Node, Node) - Static method in class com.google.javascript.rhino.IR
- REGEXP - com.google.javascript.rhino.Token
- REGEXP_FLAG_S - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- REGEXP_FLAG_U - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- REGEXP_FLAG_Y - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- REGEXP_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- REGEXP_LOOKBEHIND - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- REGEXP_NAMED_GROUPS - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- REGEXP_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- REGEXP_UNICODE_PROPERTY_ESCAPE - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- RegExpTree - Class in com.google.javascript.jscomp.regex
-
An AST for JavaScript regular expressions.
- RegExpTree() - Constructor for class com.google.javascript.jscomp.regex.RegExpTree
- RegExpTree.Alternation - Class in com.google.javascript.jscomp.regex
-
Represents the possibilities ["foo", "bar" ] for a RegExp /foo|bar/
- RegExpTree.Anchor - Class in com.google.javascript.jscomp.regex
-
Represents an anchor, namely ^ or $.
- RegExpTree.BackReference - Class in com.google.javascript.jscomp.regex
-
Represents a reference to a previous group such as \1 or \2
- RegExpTree.CapturingGroup - Class in com.google.javascript.jscomp.regex
-
Represents a capturing group such as (asdf)
- RegExpTree.Charset - Class in com.google.javascript.jscomp.regex
-
Represents a set of possible characters structured as [a-zA-Z] or [^a-zA-Z]
- RegExpTree.Concatenation - Class in com.google.javascript.jscomp.regex
-
Represents a series of nodes chained one after another such as (?:...)[a-z]*(...)
- RegExpTree.Empty - Class in com.google.javascript.jscomp.regex
-
Represents an empty portion of a RegExp such as the middle of "||"
- RegExpTree.LookaheadAssertion - Class in com.google.javascript.jscomp.regex
-
Represents a lookahead assertion such as (?=...) or (?!...)
- RegExpTree.LookbehindAssertion - Class in com.google.javascript.jscomp.regex
-
Represents a lookbehind assertion such as
(?<=...)
or(?<!...)
- RegExpTree.NamedBackReference - Class in com.google.javascript.jscomp.regex
-
Represents a reference to a previous named group
- RegExpTree.NamedCaptureGroup - Class in com.google.javascript.jscomp.regex
-
Represents a named capture group
- RegExpTree.RegExpTreeAtom - Class in com.google.javascript.jscomp.regex
-
Represents a node that never has children such as an anchor or charset.
- RegExpTree.Repetition - Class in com.google.javascript.jscomp.regex
-
Represents a repeating item such as ...+, ...*, or ...{0,1}
- RegExpTree.Text - Class in com.google.javascript.jscomp.regex
-
Represents a run of non-special characters such as "foobar"
- RegExpTree.UnicodePropertyEscape - Class in com.google.javascript.jscomp.regex
-
Represents a Unicode Property Escape such as in /\p{Script=Greek}/u
- RegExpTree.WordBoundary - Class in com.google.javascript.jscomp.regex
-
Represents \b or \B
- RegExpTreeAtom() - Constructor for class com.google.javascript.jscomp.regex.RegExpTree.RegExpTreeAtom
- Region - Interface in com.google.javascript.jscomp
-
Source code region.
- REGION - com.google.javascript.jscomp.SourceExcerptProvider.SourceExcerpt
-
Region excerpt.
- registerClosureModule(String, Node, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Ensures that a type annotation pointing to a Closure modules is correctly resolved.
- registerInterfaceAlias(NamedType, ObjectType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Record that
aliasingType
is defined to be an alias fororiginalInterface
. - registerInvalidatingNative(NativeType) - Method in class com.google.javascript.rhino.serialization.TypePoolCreator
- registerLegacyClosureModule(String) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Ensures that a type annotation pointing to a Closure modules is correctly resolved.
- registerPropertyOnType(String, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Tells the type system that
owner
may have a property namedpropertyName
. - registerTemplateTypeNamesInScope(Iterable<TemplateType>, Node) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Registers template types on the given scope root.
- REGULAR_EXPRESSION - com.google.javascript.jscomp.parsing.parser.TokenType
- RELATIVE - com.google.javascript.jscomp.deps.ModuleLoader.PathResolver
- RELATIVIZE_IMPORT_PATHS - com.google.javascript.jscomp.CompilerOptions.Es6ModuleTranspilation
-
Rewrite import paths to resolved, relative paths only.
- RELAX - com.google.javascript.jscomp.JsMessage.Style
- remove(CompilerInput) - Method in class com.google.javascript.jscomp.JSModule
-
Removes an input from this module.
- REMOVE_UNREACHABLE_CODE - Static variable in class com.google.javascript.jscomp.PassNames
- REMOVE_UNUSED_CODE - Static variable in class com.google.javascript.jscomp.PassNames
- removeAll() - Method in class com.google.javascript.jscomp.JSModule
-
Removes all of the inputs from this module.
- removeByName(String) - Method in class com.google.javascript.jscomp.JSModule
-
Removes any input with the given name.
- removeCast(Node, AbstractCompiler) - Method in class com.google.javascript.refactoring.SuggestedFix.Builder
-
Removes a cast from the given node.
- removeChild(Node) - Method in class com.google.javascript.rhino.Node
-
Detach a child from its parent and siblings.
- removeChild(Node, Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Safely remove children while maintaining a valid node structure.
- 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
- removeExport() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- removeExtension(String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Removes an extension by name if present.
- removeExternInput(InputId) - Method in class com.google.javascript.jscomp.Compiler
-
Removes an input file from AST.
- removeFirstChild() - Method in class com.google.javascript.rhino.Node
-
Removes the first child of Node.
- 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.
- removeName(Node) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Set the given function/class node to an empty name
- removeNestedChangeScopeNodes(List<Node>) - Static method in class com.google.javascript.jscomp.NodeUtil
-
Removes any scope nodes from the provided list that are nested within some other scope node also in the list.
- removeProp(Node.Prop) - 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
- removeType(StaticScope, 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
- 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.
- REPLACE_ID_GENERATORS - Static variable in class com.google.javascript.jscomp.PassNames
- REPLACE_MESSAGES - Static variable in class com.google.javascript.jscomp.PassNames
- 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.
- replaceNamesWithUnknownType(Set<String>) - Method in class com.google.javascript.rhino.JSTypeExpression
-
Replaces given names in this type expression with unknown
- 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(boolean, String, String, int, int) - Method in interface com.google.javascript.jscomp.deps.JsFileFullParser.Reporter
- report(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.AllowlistWarningsGuard.AllowlistBuilder
- report(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.Compiler
- report(CheckLevel, JSError) - Method in interface com.google.javascript.jscomp.ErrorHandler
- report(CheckLevel, JSError) - Method in interface com.google.javascript.jscomp.ErrorManager
-
Reports an error.
- report(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.SortingErrorManager
- report(CheckLevel, JSError) - Method in class com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager
- report(CheckLevel, JSError) - Method in class com.google.javascript.refactoring.FixingErrorManager
- report(JSError) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Report an error or warning.
- report(JSError) - Method in class com.google.javascript.jscomp.Compiler
- report(Node, ConformanceRules.ConformanceResult) - Method in class com.google.javascript.jscomp.ConformanceRules.AbstractRule
-
Report a conformance warning for the given node.
- report(Node, DiagnosticType, String...) - Method in class com.google.javascript.jscomp.NodeTraversal
-
Reports a diagnostic (error or warning)
- REPORT_UNKNOWN_TYPES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- reportChangeToChangeScope(Node) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Mark modifications in a scope that is different than the Compiler.currentScope use this (eg, InlineVariables and many others)
- reportChangeToChangeScope(Node) - Method in class com.google.javascript.jscomp.Compiler
- reportChangeToEnclosingScope(Node) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Passes that make modifications in a scope that is different than the Compiler.currentScope use this (eg, InlineVariables and many others)
- reportChangeToEnclosingScope(Node) - Method in class com.google.javascript.jscomp.Compiler
- reportCodeChange() - Method in class com.google.javascript.jscomp.NodeTraversal
- reportCodeChange(Node) - Method in class com.google.javascript.jscomp.NodeTraversal
- 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
- reportError(SourcePosition, String, Object...) - Method in class com.google.javascript.jscomp.parsing.parser.util.ErrorReporter
- reportFunctionDeleted(Node) - Method in class com.google.javascript.jscomp.Compiler
- 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
- reportWarning(SourcePosition, String, Object...) - Method in class com.google.javascript.jscomp.parsing.parser.util.ErrorReporter
- Require() - Constructor for class com.google.javascript.jscomp.deps.DependencyInfo.Require
- RequireFileoverviewVisibility(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.RequireFileoverviewVisibility
- requires - Variable in class com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo
- REQUIRES_NOT_SORTED - Static variable in class com.google.javascript.jscomp.lint.CheckRequiresSorted
- requiresCss - Variable in class com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo
- 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() - Method in interface com.google.debugging.sourcemap.SourceMapGenerator
-
Resets the source map for reuse.
- reset() - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Resets the source map for reuse.
- reset() - Method in class com.google.javascript.jscomp.SourceMap
- reset(Set<String>, String, char[]) - Method in class com.google.javascript.jscomp.DefaultNameGenerator
- reset(Set<String>, String, char[]) - Method in interface com.google.javascript.jscomp.NameGenerator
-
Reconfigures this NameGenerator, and resets it to the initial state.
- 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.DefaultNameGenerator
-
Note that the history of what characters are most used in the program (set through calls to 'favor') is not deleted.
- reset(Set<String>, String, char[], char[]) - Method in interface com.google.javascript.jscomp.NameGenerator
-
Reconfigures this NameGenerator, and resets it to the initial state.
- reset(Set<String>, String, char[], char[]) - Method in class com.google.javascript.jscomp.RandomNameGenerator
- resetAndIntitializeSourceMap() - Method in class com.google.javascript.jscomp.Compiler
- 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(Export) - Method in interface com.google.javascript.jscomp.modules.ModuleRequestResolver
-
Returns the module that this export references, if it exists in the compilation.
- resolve(Import) - Method in interface com.google.javascript.jscomp.modules.ModuleRequestResolver
-
Returns the module that this import references, if it exists in the compilation.
- resolve(ErrorReporter) - Method in class com.google.javascript.rhino.jstype.JSType
-
Resolve this type in the given scope.
- resolve(String) - Method in class com.google.javascript.jscomp.deps.ModuleLoader
-
Resolves a path into a
ModuleLoader.ModulePath
. - RESOLVE_TYPES - Static variable in class com.google.javascript.jscomp.PassNames
- 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.BrowserModuleResolver
- resolveJsModule(String, String, String, int, int) - Method in class com.google.javascript.jscomp.deps.BrowserWithTransformedPrefixesModuleResolver
- 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
- resolveJsModule(String, String, String, int, int) - Method in class com.google.javascript.jscomp.deps.WebpackModuleResolver
- 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.
- resolveModuleAsPath(String, String) - Method in class com.google.javascript.jscomp.deps.BrowserWithTransformedPrefixesModuleResolver
- resolveModuleAsPath(String, String) - Method in class com.google.javascript.jscomp.deps.ModuleResolver
- resourceExists(Class<?>, String) - Static method in class com.google.javascript.jscomp.resources.ResourceLoader
- resourceList(Class<?>) - Static method in class com.google.javascript.jscomp.resources.ResourceLoader
- ResourceLoader - Class in com.google.javascript.jscomp.resources
-
Utility class that handles resource loading.
- ResourceLoader() - Constructor for class com.google.javascript.jscomp.resources.ResourceLoader
- REST_PARAMETER_TYPE - com.google.javascript.rhino.Token
- REST_PARAMETERS - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- restoreContents(ObjectInputStream) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Restores the derived state.
- restoreFrom(SourceFile) - Method in class com.google.javascript.jscomp.SourceFile
- restoreState(InputStream) - Method in class com.google.javascript.jscomp.Compiler
- restrictByNotNull() - 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 type.
- restrictByNotNull() - Method in class com.google.javascript.rhino.jstype.NullType
- restrictByNotNull() - Method in class com.google.javascript.rhino.jstype.UnionType
- 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
- restrictByNotUndefined() - Method in class com.google.javascript.rhino.jstype.JSType
-
If this is a union type, returns a union type that does not include the undefined type.
- restrictByNotUndefined() - Method in class com.google.javascript.rhino.jstype.UnionType
- restrictByNotUndefined() - Method in class com.google.javascript.rhino.jstype.VoidType
- Result - Class in com.google.javascript.jscomp
-
Compilation results
- Result(ImmutableList<JSError>, ImmutableList<JSError>, VariableMap, VariableMap, VariableMap, SourceMap, String) - Constructor for class com.google.javascript.jscomp.Result
-
Deprecated.
- retrieveAndResetParsedJSDocInfo() - Method in class com.google.javascript.jscomp.parsing.JsDocInfoParser
- RETURN - com.google.javascript.jscomp.parsing.parser.Keywords
- RETURN - com.google.javascript.jscomp.parsing.parser.TokenType
- RETURN - com.google.javascript.rhino.Token
- RETURN_STATEMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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
- ReverseAbstractInterpreter - Interface in com.google.javascript.jscomp.type
-
This interface defines what reversed abstract interpreters provide.
- REWRITE_COMMON_JS_MODULES - Static variable in class com.google.javascript.jscomp.PassNames
- REWRITE_FUNCTION_EXPRESSIONS - Static variable in class com.google.javascript.jscomp.PassNames
- REWRITE_SCRIPTS_TO_ES6_MODULES - Static variable in class com.google.javascript.jscomp.PassNames
- RewriteAsyncFunctions - Class in com.google.javascript.jscomp
-
Converts async functions to valid ES6 generator functions code.
- RewriteAsyncIteration - Class in com.google.javascript.jscomp
-
Converts async generator functions into a function returning a new $jscomp.AsyncGenWrapper around the original block and awaits/yields converted to yields of ActionRecords.
- rewriteFunctionExpressions - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Reduces the size of common function expressions.
- rewriteGlobalDeclarationsForTryCatchWrapping - Variable in class com.google.javascript.jscomp.CompilerOptions
-
Move top-level function declarations to the top
- RewriteGoogJsImports - Class in com.google.javascript.jscomp
-
Looks for references to Closure's goog.js file and globalizes.
- RewriteGoogJsImports(AbstractCompiler, RewriteGoogJsImports.Mode, ModuleMap) - Constructor for class com.google.javascript.jscomp.RewriteGoogJsImports
- RewriteGoogJsImports.Mode - Enum in com.google.javascript.jscomp
-
Possible traversal modes - either linting or linting+rewriting.
- 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.
- RewriteNullishCoalesceOperator - Class in com.google.javascript.jscomp
-
Replaces the ES2020 `??` operator with conditional (?:).
- RewriteNullishCoalesceOperator(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.RewriteNullishCoalesceOperator
- RewriteObjectSpread - Class in com.google.javascript.jscomp
-
Converts object spread to valid ES2017 code.
- RewriteObjectSpread(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.RewriteObjectSpread
- RewritePolyfills - Class in com.google.javascript.jscomp
-
Injects polyfill libraries to ensure that ES6+ library functions are available.
- RewritePolyfills(AbstractCompiler, boolean, boolean) - 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
- RIGHT_SHIFT - com.google.javascript.jscomp.parsing.parser.TokenType
- RIGHT_SHIFT_EQUAL - com.google.javascript.jscomp.parsing.parser.TokenType
- root(Node...) - Static method in class com.google.javascript.rhino.IR
- ROOT - com.google.javascript.rhino.Token
- rootNode() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
-
AST node that represents the root of this module.
- rootNode(Node) - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata.Builder
- RSH - com.google.javascript.rhino.Token
- run() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Runs the Compiler and calls System.exit() with the exit status of the compiler.
- RUN_IJS_CHECKS_LATE - com.google.javascript.jscomp.CompilerOptions.IncrementalCheckMode
-
The compiler should run the same checks as used during type-only interface generation, but run them after typechecking to give better error messages.
- runMode() - Method in class com.google.javascript.jscomp.parsing.Config
-
Whether to keep going after encountering a parse error.
- runs - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
- runtime - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
- 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.
- runtime(String) - Method in class com.google.javascript.jscomp.bundle.CompilerBasedTransformer.CompilerSupplier
- runtime(String) - Method in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompilerSupplier
- RUNTIME_TYPE_CHECK - Static variable in class com.google.javascript.jscomp.PassNames
- runtimes() - Method in class com.google.javascript.jscomp.bundle.Source
-
Any runtime libraries necessary for this source.
S
- save(String) - Method in class com.google.javascript.jscomp.VariableMap
-
Saves the variable map to a file.
- saveContents(ObjectOutputStream) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Saves the derived state.
- saveState(OutputStream) - Method in class com.google.javascript.jscomp.Compiler
- Scanner - Class in com.google.javascript.jscomp.parsing.parser
-
Scans javascript source code into tokens.
- 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(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.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.
- script() - Static method in class com.google.javascript.rhino.IR
- script(Node...) - Static method in class com.google.javascript.rhino.IR
- script(List<Node>) - Static method in class com.google.javascript.rhino.IR
- SCRIPT - com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleType
- SCRIPT - com.google.javascript.rhino.Token
- ScriptMetadata - Class in com.google.javascript.refactoring
-
A summary of a script for use during fixes.
- 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.
- SEMI_COLON - com.google.javascript.jscomp.parsing.parser.TokenType
- SENTINEL - com.google.javascript.jscomp.CompilerOptions.OutputJs
- SerializationOptions - Enum in com.google.javascript.rhino.serialization
-
Congiguration options for serialization time.
- 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
- SET_ACCESSOR - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- SetAccessorTree - Class in com.google.javascript.jscomp.parsing.parser.trees
- SetAccessorTree(SourceRange, Token, boolean, FormalParameterListTree, 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
- setAlternateId(String) - Method in class com.google.javascript.jscomp.JsMessage.Builder
-
Sets the alternate message ID, to be used if the primary ID is not yet translated.
- 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.ant.CompileTask
- 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.LinkedDiGraphEdge
- setAnnotation(Annotation) - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDiGraphNode
- setAnnotations(ImmutableMap<String, Annotation>) - Method in class com.google.javascript.jscomp.parsing.Config.Builder
- setAnonymousFunctionNameMap(VariableMap) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Sets the naming map for anonymous functions
- setAnonymousFunctionNameMap(VariableMap) - Method in class com.google.javascript.jscomp.Compiler
- 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
- 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). - setAssumeGettersArePure(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setAssumeStaticInheritanceRequired(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- 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?
- setBadRewriteModulesBeforeTypecheckingThatWeWantToGetRidOf(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Whether to enable the bad module rewriting before typechecking that we want to get rid of
- setBigInt(BigInteger) - Method in class com.google.javascript.rhino.Node
-
Can only be called when
getType() == Token.BIGINT
- setBound(JSType) - Method in class com.google.javascript.rhino.jstype.TemplateType
- setBrokenClosureRequiresLevel(CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Deprecated.
- setBrowserFeaturesetYear(Integer) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Indicates target browser's year
- setBrowserFeaturesetYear(Integer) - Method in class com.google.javascript.jscomp.CompilerOptions
- setBrowserResolverPrefixReplacements(ImmutableMap<String, String>) - Method in class com.google.javascript.jscomp.CompilerOptions
- 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
- 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
-
Deprecated.
- 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
- setChromePass(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setChunksToPrintAfterEachPassRegexList(List<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
- setClassName(String) - Method in class com.google.javascript.jscomp.colors.DebugInfo.Builder
- setClosurePass(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setCoalesceVariableNames(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setCode(Supplier<String>) - Method in class com.google.javascript.jscomp.bundle.Source.Builder
- setCode(String) - Method in class com.google.javascript.jscomp.bundle.Source.Builder
- 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
-
Deprecated.
- setCollapsePropertiesLevel(CompilerOptions.PropertyCollapseLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
- setCollapseVariableDeclarations(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setColor(Color) - Method in class com.google.javascript.rhino.Node
- setColorFromTypeCast() - Method in class com.google.javascript.rhino.Node
-
Indicate that this node's color comes from a type assertion.
- setColorize(boolean) - Method in class com.google.javascript.jscomp.AbstractMessageFormatter
- setColorizeErrorOutput(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setColorRegistry(ColorRegistry) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Sets the color registry
- setColorRegistry(ColorRegistry) - Method in class com.google.javascript.jscomp.Compiler
- setCommonJSModulePathPrefix(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets a path prefix for CommonJS modules (maps to
CompilerOptions.setModuleRoots(List)
). - setCompilationLevel(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set the compilation level.
- 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.
- setConformanceRemoveRegexFromPath(Optional<Pattern>) - Method in class com.google.javascript.jscomp.CompilerOptions
- setConstructor(boolean) - Method in class com.google.javascript.jscomp.colors.SingletonColorFields.Builder
- setContinueAfterErrors(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setContinueSavedCompilationFileName(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Set the compiler to resume a saved compilation state from a file.
- 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.
- setCrossChunkCodeMotion(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setCrossChunkCodeMotionNoStubMethods(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setCrossChunkMethodMotion(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setCssNames(Map<String, Integer>) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Sets the css names found during compilation.
- setCssNames(Map<String, Integer>) - Method in class com.google.javascript.jscomp.Compiler
- setCssRenamingMap(CssRenamingMap) - Method in class com.google.javascript.jscomp.CompilerOptions
- setCssRenamingSkiplist(Set<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
- setCssRenamingWhitelist(Set<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Deprecated.
- setDartPass(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setDeadAssignmentElimination(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setDebug(boolean) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Enable debugging options.
- setDebugInfo(DebugInfo) - Method in class com.google.javascript.jscomp.colors.SingletonColorFields.Builder
- setDebugLogDirectory(Path) - Method in class com.google.javascript.jscomp.CompilerOptions
- setDebugName(String) - Method in class com.google.javascript.jscomp.colors.SingletonColorFields.Builder
- setDebugOptionsForCompilationLevel(CompilerOptions) - Method in enum com.google.javascript.jscomp.CompilationLevel
- setDeclaredConstantVar(boolean) - Method in class com.google.javascript.rhino.Node
-
Sets this variable to be a declared constant.
- 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.
- setDefineName(String) - Method in class com.google.javascript.rhino.Node
-
Sets the goog.define name for a NAME or GETPROP node.
- 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. - setDeleted(boolean) - Method in class com.google.javascript.rhino.Node
- setDependencyInfo(DependencyInfo) - Method in class com.google.javascript.jscomp.bundle.Source.Builder
- setDependencyOptions(DependencyOptions) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Sets the dependency management options.
- setDependencyOptions(DependencyOptions) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the dependency management options.
- 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
- setDevirtualizeMethods(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setDevMode(CompilerOptions.DevMode) - Method in class com.google.javascript.jscomp.CompilerOptions
- setDict() - Method in class com.google.javascript.rhino.jstype.FunctionType
- setDirectives(Set<String>) - Method in class com.google.javascript.rhino.Node
-
Sets the ES5 directives on this node.
- setDisambiguateProperties(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setDisambiguationSupertypes(ImmutableList<Color>) - Method in class com.google.javascript.jscomp.colors.SingletonColorFields.Builder
- 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
- setEnableModuleRewriting(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Experimental option to disable all Closure and ES module rewriting
- setEncoding(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set input file encoding
- setEndsAsLineComment(boolean) - Method in class com.google.javascript.rhino.NonJSDocComment
- setEnvironment(CompilerOptions.Environment) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Set which set of builtin externs to use.
- setEnvironment(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set the environment which determines the builtin extern set.
- setErrorFormat(AbstractCommandLineRunner.CommandLineConfig.ErrorFormatOption) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
- 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.
- setErrorHandler(ErrorHandler) - Method in class com.google.javascript.jscomp.deps.ModuleLoader
- setErrorHandler(ErrorHandler) - Method in class com.google.javascript.jscomp.deps.ModuleResolver
- setErrorManager(ErrorManager) - Method in class com.google.javascript.jscomp.Compiler
-
Sets the error manager.
- setEs6ModuleTranspilation(CompilerOptions.Es6ModuleTranspilation) - Method in class com.google.javascript.jscomp.CompilerOptions
- setEstimatedSize(int) - Method in class com.google.javascript.jscomp.bundle.Source.Builder
- setExitCodeReceiver(Function<Integer, Void>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
- setExplicitUnrestricted() - Method in class com.google.javascript.rhino.jstype.FunctionType
- 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
- 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
- setFeatureSet(FeatureSet) - Method in class com.google.javascript.jscomp.PassFactory.Builder
-
Set the features that are allowed to be in the AST when this pass runs.
- setFeatureSetForChecks() - Method in class com.google.javascript.jscomp.PassFactory.Builder
-
Record that the pass will support all of the features required for checks passes.
- setFeatureSetForOptimizations() - Method in class com.google.javascript.jscomp.PassFactory.Builder
-
Record that the pass will support all of the features required for optimization passes.
- setFilename(String) - Method in class com.google.javascript.jscomp.colors.DebugInfo.Builder
- setFilesToPrintAfterEachPassRegexList(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.
- setForceRecompile(boolean) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set force recompile option
- 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.
- setFunctionName(String) - Method in class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec.Builder
- setGatherCssNames(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setGenerateExports(boolean) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set generateExports option
- setGenerateExports(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setGeneratePseudoNames(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- 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 subtree contains YIELD nodes.
- setGeneratorSafe(boolean) - Method in class com.google.javascript.rhino.Node
- setGeneratorTarget(String) - Method in class com.google.javascript.jscomp.AllowlistWarningsGuard.AllowlistBuilder
-
Fill in instructions on how to generate this allowlist.
- setGoogModule(boolean) - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo.Builder
- setGroup(String) - Method in class com.google.javascript.jscomp.ant.Warning
- setHasExternsAnnotation(boolean) - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo.Builder
- setHasFullParseDependencyInfo(boolean) - Method in class com.google.javascript.jscomp.CompilerInput
- setHasNoCompileAnnotation(boolean) - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo.Builder
- setHideWarningsFor(List<String>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Sets the paths for which warnings will be hidden.
- setId(String) - Method in class com.google.javascript.jscomp.colors.SingletonColorFields.Builder
- setIdGeneratorMap(String) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Sets the id generator for cross-module motion.
- setIdGeneratorMap(String) - Method in class com.google.javascript.jscomp.Compiler
- setIdGenerators(Map<String, RenamingMap>) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the id generators to replace.
- setIdGenerators(Set<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the id generators to replace.
- setIdGeneratorsMap(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
A previous map of ids (serialized to a string by a previous compile).
- 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.JsFileRegexParser
-
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
- setInferredConstantVar(boolean) - Method in class com.google.javascript.rhino.Node
-
Sets this variable to be an inferred constant.
- setInferTypes(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
If true, enables type inference.
- setInlineConstantVars(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setInlineFunctions(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Deprecated.
- setInlineFunctions(CompilerOptions.Reach) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Set the function inlining policy for the compiler.
- setInlineLocalVariables(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setInlineProperties(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Set the function inlining policy for the compiler.
- setInlineVariables(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setInlineVariables(CompilerOptions.Reach) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Set the variable inlining policy for the compiler.
- 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
- setInstanceColor(Color) - Method in class com.google.javascript.jscomp.colors.SingletonColorFields.Builder
- setInstrumentationMapping(VariableMap) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Sets the mapping for instrumentation parameter encoding.
- setInstrumentationMapping(VariableMap) - Method in class com.google.javascript.jscomp.Compiler
- setInstrumentationMappingFile(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
- setInstrumentForCoverageOnly(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setInstrumentForCoverageOption(CompilerOptions.InstrumentOption) - Method in class com.google.javascript.jscomp.CompilerOptions
- setInternalFactory(Function<AbstractCompiler, ? extends CompilerPass>) - Method in class com.google.javascript.jscomp.PassFactory.Builder
- setInvalidating(boolean) - Method in class com.google.javascript.jscomp.colors.SingletonColorFields.Builder
- 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.
- 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.
- setIsInline(boolean) - Method in class com.google.javascript.rhino.NonJSDocComment
- setIsolatePolyfills(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets whether to isolate polyfills from the global scope.
- setIsOptionalChainStart(boolean) - Method in class com.google.javascript.rhino.Node
-
Sets whether this node is the start of an optional chain.
- setIsParenthesized(boolean) - Method in class com.google.javascript.rhino.Node
-
Sets whether this node is inside parentheses.
- 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.
- setIsTrailing(boolean) - Method in class com.google.javascript.rhino.NonJSDocComment
- setItem(T) - Method in class com.google.javascript.rhino.SourcePosition
-
Sets the item that this source position references.
- setJ2clMinifierEnabled(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setJ2clMinifierPruningManifest(String) - Method in class com.google.javascript.jscomp.CompilerOptions
- setJ2clPass(CompilerOptions.J2clPassMode) - Method in class com.google.javascript.jscomp.CompilerOptions
- setJscompDevMode(CompilerOptions.DevMode) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Turns on extra validity 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. - setJsDocParsingMode(Config.JsDocParsing) - Method in class com.google.javascript.jscomp.parsing.Config.Builder
- setJsModuleType(CompilerInput.ModuleType) - Method in class com.google.javascript.jscomp.CompilerInput
- setJsonStreamMode(CompilerOptions.JsonStreamMode) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
- setJsonWarningsFile(String) - 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
- setJSTypeBeforeCast(JSType) - Method in class com.google.javascript.rhino.Node
-
Sets the type of this node before casting.
- setKey(String) - Method in class com.google.javascript.jscomp.JsMessage.Builder
- setKind(StaticSourceFile.SourceKind) - Method in class com.google.javascript.jscomp.SourceFile
-
Sets the source kind.
- 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.
- setLanguageIn(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set the language to which input sources conform.
- setLanguageMode(Config.LanguageMode) - Method in class com.google.javascript.jscomp.parsing.Config.Builder
- setLanguageOut(CompilerOptions.LanguageMode) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets ECMAScript version to use for the output.
- setLanguageOut(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set the language to which output sources conform.
- setLength(int) - Method in class com.google.javascript.rhino.Node
- setLengthForTree(int) - Method in class com.google.javascript.rhino.Node
-
Useful to set length of a transpiled node tree to map back to the length of original node.
- setLevel(CheckLevel) - Method in class com.google.javascript.jscomp.ant.Warning
- 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
- setLoadFlags(ImmutableMap<String, String>) - Method in class com.google.javascript.jscomp.bundle.Source.Builder
- setLoadFlags(Map<String, String>) - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo.Builder
- 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.
- setManageDependencies(boolean) - Method in class com.google.javascript.jscomp.ant.CompileTask
- 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
- setMaxFunctionSizeAfterInlining(int) - Method in class com.google.javascript.jscomp.CompilerOptions
- setMaxOptimizationLoopIterations(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(JSModule) - Method in class com.google.javascript.jscomp.CompilerInput
-
Sets the module to which the input belongs.
- setModule(List<String>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
A JavaScript module specification.
- setModuleLoader(ModuleLoader) - Method in class com.google.javascript.jscomp.deps.JsFileRegexParser
-
Sets a list of "module root" URIs, which allow relativizing filenames for modules.
- setModuleMap(ModuleMap) - Method in class com.google.javascript.jscomp.AbstractCompiler
- setModuleMap(ModuleMap) - Method in class com.google.javascript.jscomp.Compiler
- setModuleMetadataMap(ModuleMetadataMap) - Method in class com.google.javascript.jscomp.AbstractCompiler
- setModuleMetadataMap(ModuleMetadataMap) - Method in class com.google.javascript.jscomp.Compiler
- setModuleOutputFiles(List<String>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
The output file name for a JavaScript chunk (optional).
- 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.
- setModulesToPrintAfterEachPassRegexList(List<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Deprecated.
- setModuleWrapper(List<String>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
An output wrapper for a JavaScript module (optional).
- setMoveFunctionDeclarations(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Deprecated.
- 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(IdentifierToken) - Method in class com.google.javascript.jscomp.parsing.parser.trees.FunctionDeclarationTree.Builder
-
Optional function name.
- setName(String) - Method in class com.google.javascript.jscomp.JSModule
-
Sets the module name.
- setName(String) - Method in class com.google.javascript.jscomp.PassFactory.Builder
- setNameGenerator(NameGenerator) - Method in class com.google.javascript.jscomp.CompilerOptions
- setNativeColorId(NativeColorId) - Method in class com.google.javascript.jscomp.colors.SingletonColorFields.Builder
- setNewTypeInference(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Deprecated.This is a no-op.
- setNode(Node) - Method in class com.google.javascript.rhino.jstype.Property
- setNonJSDocComment(NonJSDocComment) - Method in class com.google.javascript.rhino.Node
-
Sets the NonJSDoc comment attached to this node.
- setNote(String) - Method in class com.google.javascript.jscomp.AllowlistWarningsGuard.AllowlistBuilder
-
A note to include at the top of the allowlist file.
- setNumParallelThreads(int) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the level of parallelism for compilation passes that can exploit multi-threading.
- setOptimizeArgumentsArray(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setOptimizeCalls(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
. - setOptions(CompilerOptions) - Method in class com.google.javascript.jscomp.bundle.CompilerBasedTransformer.CompilerSupplier
- setOptions(CompilerOptions) - Method in class com.google.javascript.jscomp.bundle.CoverageInstrumenter.CompilerSupplier
- 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
- setOriginalCode(String) - Method in class com.google.javascript.jscomp.bundle.Source.Builder
- setOriginalName(String) - Method in class com.google.javascript.rhino.Node
- setOriginalPath(String) - Method in class com.google.javascript.jscomp.SourceFile
- setOutput(File) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set output file.
- 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.
- setOutputEncoding(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set output file encoding
- setOutputFeatureSet(FeatureSet) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the features that allowed to appear in the output.
- setOutputJs(CompilerOptions.OutputJs) - Method in class com.google.javascript.jscomp.CompilerOptions
- 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%
- setOutputWrapper(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set output wrapper.
- setOutputWrapperFile(File) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set output wrapper file.
- setPackageJsonEntryNames(List<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
- setParamIndex(int) - Method in class com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec.Builder
- setParentChunkCanSeeSymbolsDeclaredInChildren(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setParseInlineSourceMaps(boolean) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
- setParseInlineSourceMaps(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setParseInlineSourceMaps(boolean) - Method in class com.google.javascript.jscomp.parsing.Config.Builder
- 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
- setPath(Path) - Method in class com.google.javascript.jscomp.bundle.Source.Builder
- setPathEscaper(ModuleLoader.PathEscaper) - Method in class com.google.javascript.jscomp.CompilerOptions
- setPolymerExportPolicy(PolymerExportPolicy) - Method in class com.google.javascript.jscomp.CompilerOptions
- setPolymerVersion(Integer) - Method in class com.google.javascript.jscomp.CompilerOptions
- setPosition(SourcePosition) - Method in class com.google.javascript.jscomp.parsing.parser.Scanner
- 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.ant.CompileTask
-
Normally, when there are an equal number of single and double quotes in a string, the compiler will use double quotes.
- 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<? extends SourceMap.LocationMapping>) - Method in class com.google.javascript.jscomp.SourceMap
- setPreserveClosurePrimitives(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Preserve closure primitives.
- setPreserveDetailedSourceInfo(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setPreserveNonJSDocComments(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setPreserveTypeAnnotations(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setPrettyPrint(boolean) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set pretty print formatting option
- setPrettyPrint(boolean) - Method in class com.google.javascript.jscomp.CodePrinter.Builder
-
Sets whether pretty printing should be used.
- setPrettyPrint(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- 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.ant.CompileTask
-
Set print input delimiter formatting option
- 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.
- setProductionInstrumentationArrayName(String) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the name for the global array which is used by PRODUCTION instrumentation.
- setProductName(String) - Method in class com.google.javascript.jscomp.AllowlistWarningsGuard.AllowlistBuilder
-
Fill in your product name to get a fun message!
- setPropertiesKeepOriginalName(boolean) - Method in class com.google.javascript.jscomp.colors.SingletonColorFields.Builder
- 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
- setPropertyMap(VariableMap) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Sets the property renaming map
- setPropertyMap(VariableMap) - Method in class com.google.javascript.jscomp.Compiler
- 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.
- setPrototype(Color) - Method in class com.google.javascript.jscomp.colors.SingletonColorFields.Builder
- setPrototypeBasedOn(ObjectType) - Method in class com.google.javascript.rhino.jstype.FunctionType
-
Sets the prototype, creating the prototype object from the given base type.
- setProvides(String...) - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo.Builder
- setProvides(Collection<String>) - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo.Builder
- 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
- 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
- setRemoveJ2clAsserts(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setRemoveUnusedClassProperties(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setRemoveUnusedPrototypeProperties(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
- setRenamePrefixNamespaceAssumeCrossChunkNames(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Useful for tests to avoid having to declare two chunks
- setRenamingPolicy(VariableRenamingPolicy, PropertyRenamingPolicy) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the variable and property renaming policies for the compiler, in a way that clears warnings about the renaming policy being uninitialized from flags.
- setReplaceIdGenerators(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setReplaceMessagesWithChromeI18n(boolean, String) - Method in class com.google.javascript.jscomp.CompilerOptions
- setReplaceProperties(boolean) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Whether to replace
@define
lines with properties - setReplacePropertiesPrefix(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set the replacement property prefix.
- setReplaceStringsConfiguration(String, List<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the functions whose debug strings to replace.
- setReplaceStringsFunctionDescriptions(List<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
- setReplaceStringsInputMap(VariableMap) - Method in class com.google.javascript.jscomp.CompilerOptions
- setReplaceStringsPlaceholderToken(String) - Method in class com.google.javascript.jscomp.CompilerOptions
- setReplaceStringsReservedStrings(Set<String>) - Method in class com.google.javascript.jscomp.CompilerOptions
- setRequires(DependencyInfo.Require...) - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo.Builder
- setRequires(Collection<DependencyInfo.Require>) - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo.Builder
- setReserveRawExports(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setResolveSourceMapAnnotations(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setRewriteFunctionExpressions(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setRewriteGlobalDeclarationsForTryCatchWrapping(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setRewritePolyfills(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets whether to rewrite polyfills.
- setRunInFixedPointLoop(boolean) - Method in class com.google.javascript.jscomp.PassFactory.Builder
- setRunMode(Config.RunMode) - Method in class com.google.javascript.jscomp.parsing.Config.Builder
- setRunOptions(CompilerOptions) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Sets options based on the configurations set flags API.
- setRuntimes(ImmutableSet<String>) - Method in class com.google.javascript.jscomp.bundle.Source.Builder
- setRuntimeTypeCheck(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setRuntimeTypeCheckLogFunction(String) - Method in class com.google.javascript.jscomp.CompilerOptions
- setSaveAfterChecksFileName(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Set the compiler to perform the first phase and save the intermediate result to a file.
- 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.
- setShorthandProperty(boolean) - Method in class com.google.javascript.rhino.Node
-
Sets the isShorthandProperty annotation.
- setShouldUnsafelyPreserveTypesForDebugging(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Skips the RemoveTypes pass so that JSTypes may be viewed on the AST post-compilation.
- 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
- 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
-
Deprecated.
- setSmartNameRemoval(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- 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(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.
- setSourceMap(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.JsonFileSpec
- setSourceMap(String) - Method in class com.google.javascript.jscomp.bundle.Source.Builder
- 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
- setSourceMapFormat(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
- setSourceMapIncludeSourcesContent(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- setSourceMapInputFiles(Map<String, String>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
- setSourceMapLocationMapping(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
- setSourceMapLocationMappings(List<? extends SourceMap.LocationMapping>) - Method in class com.google.javascript.jscomp.CompilerOptions
- setSourceMapLocationMappings(List<SourceMap.LocationMapping>) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
The source map location mappings to use, if generated.
- setSourceMapOutputFile(File) - Method in class com.google.javascript.jscomp.ant.CompileTask
- setSourceMapOutputPath(String) - Method in class com.google.javascript.jscomp.CompilerOptions
- setSourceMappingUrl(String) - Method in class com.google.javascript.jscomp.bundle.Source.Builder
- setSourceName(String) - Method in class com.google.javascript.jscomp.JsMessage.Builder
- setSourceRoot(String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
A prefix to be added to the beginning of each sourceName passed to
SourceMapGeneratorV3.addMapping(java.lang.String, java.lang.String, com.google.debugging.sourcemap.FilePosition, com.google.debugging.sourcemap.FilePosition, com.google.debugging.sourcemap.FilePosition)
. - setSourceUrl(String) - Method in class com.google.javascript.jscomp.bundle.Source.Builder
- setStartingPosition(int, int) - Method in interface com.google.debugging.sourcemap.SourceMapGenerator
-
Sets the source code that exists in the buffer for which the generated code is being generated.
- setStartingPosition(int, int) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Sets the source code that exists in the buffer for which the generated code is being generated.
- setStartingPosition(int, int) - Method in class com.google.javascript.jscomp.SourceMap
- 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
- setStaticSourceFileFrom(Node) - Method in class com.google.javascript.rhino.Node
- setStrictMode(Config.StrictMode) - Method in class com.google.javascript.jscomp.parsing.Config.Builder
- setStrictModeInput(boolean) - Method in class com.google.javascript.jscomp.ant.CompileTask
- 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.
- setStringMap(VariableMap) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Sets the string replacement map
- setStringMap(VariableMap) - Method in class com.google.javascript.jscomp.Compiler
- 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
-
Deprecated.
- setSuppressionNames(Iterable<String>) - Method in class com.google.javascript.jscomp.parsing.Config.Builder
- setSyntheticBlockEndMarker(String) - Method in class com.google.javascript.jscomp.CompilerOptions
- setSyntheticBlockStartMarker(String) - Method in class com.google.javascript.jscomp.CompilerOptions
- setTagAsStrict(boolean) - Method in class com.google.javascript.jscomp.CodePrinter.Builder
-
Set whether the output should be tags as ECMASCRIPT 5 Strict.
- setTagAsTypeSummary(boolean) - Method in class com.google.javascript.jscomp.CodePrinter.Builder
-
Set whether the output should be tagged as an .i.js file.
- SETTER - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- SETTER_DEF - com.google.javascript.rhino.Token
- 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.CompilerOptions
- setTracerOutput(Path) - Method in class com.google.javascript.jscomp.CompilerOptions
- setTrailingComma(boolean) - Method in class com.google.javascript.rhino.Node
-
Indicates that there was a trailing comma in this list
- 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.
- setTypeBasedOptimizationOptions(CompilerOptions) - Method in enum com.google.javascript.jscomp.CompilationLevel
-
Enable additional optimizations that use type information.
- setTypedefTypeProp(JSType) - Method in class com.google.javascript.rhino.Node
-
If this node represents a typedef declaration, the associated JSType
- 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.SortingErrorManager
- setTypedPercent(double) - Method in class com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager
- setTypeMatchingStrategy(TypeMatchingStrategy) - Method in class com.google.javascript.refactoring.RefasterJsScanner
-
Sets the type matching strategy to use when matching templates.
- setTypeRegistry(JSTypeRegistry) - Method in class com.google.javascript.jscomp.CodePrinter.Builder
- setTypeRequires(String...) - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo.Builder
- setTypeRequires(Collection<String>) - Method in class com.google.javascript.jscomp.deps.SimpleDependencyInfo.Builder
- setTypeValidationEnabled(boolean) - Method in class com.google.javascript.jscomp.AstValidator
-
Enable or disable validation of type information.
- setUnusedParameter(boolean) - Method in class com.google.javascript.rhino.Node
- setUseGraphBasedDisambiguator(boolean) - Method in class com.google.javascript.jscomp.CompilerOptions
- 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.TemplateType
- setVariableMap(VariableMap) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Sets the variable renaming map
- setVariableMap(VariableMap) - Method in class com.google.javascript.jscomp.Compiler
- 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
- setWarning(String) - Method in class com.google.javascript.jscomp.ant.CompileTask
-
Set the warning level.
- 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(CompilerOptions, String, CheckLevel) - Method in class com.google.javascript.jscomp.DiagnosticGroups
-
Adds warning levels by name.
- setWarningLevel(DiagnosticGroup, CheckLevel) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Configure the given type of warning to the given level.
- setWarningsAllowlistFile(String) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig
-
Sets a allowlist file that suppresses warnings.
- setWarningsGuard(ComposeWarningsGuard) - Method in class com.google.javascript.jscomp.CompilerOptions
- 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 interface com.google.debugging.sourcemap.SourceMapGenerator
-
Sets the prefix used for wrapping the generated source file before it is written.
- setWrapperPrefix(String) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
-
Sets the prefix used for wrapping the generated source file before it is written.
- setWrapperPrefix(String) - Method in class com.google.javascript.jscomp.SourceMap
- setXidHashFunction(Xid.HashFunction) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Sets the hash function to use for Xid
- setYieldAll(boolean) - Method in class com.google.javascript.rhino.Node
-
Sets whether this node is a generator node.
- SHEBANG - com.google.javascript.jscomp.parsing.parser.trees.Comment.Type
- sheq(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
"==="
- SHEQ - com.google.javascript.rhino.Token
- shne(Node, Node) - Static method in class com.google.javascript.rhino.IR
-
"!=="
- SHNE - com.google.javascript.rhino.Token
- SHORTHAND_ASSIGNMENT_IN_ENUM - Static variable in class com.google.javascript.jscomp.lint.CheckEnums
- shouldAmbiguateProperties() - Method in class com.google.javascript.jscomp.CompilerOptions
- shouldCollapseProperties() - Method in class com.google.javascript.jscomp.CompilerOptions
-
Deprecated.use getPropertyCollapseLevel
- shouldColorizeErrorOutput() - Method in class com.google.javascript.jscomp.CompilerOptions
- shouldDisambiguateProperties() - Method in class com.google.javascript.jscomp.CompilerOptions
- shouldDropMoochers() - Method in class com.google.javascript.jscomp.DependencyOptions
-
Returns whether moochers should be dropped.
- shouldEmitUseStrict() - Method in class com.google.javascript.jscomp.CompilerOptions
-
Whether the output should contain a 'use strict' directive.
- shouldExportLocalPropertyDefinitions() - Method in class com.google.javascript.jscomp.CompilerOptions
- shouldGenerateMapPerModule(B) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Returns true if and only if a source map file should be generated for each module, as opposed to one unified map.
- shouldGenerateTypedExterns() - Method in class com.google.javascript.jscomp.CompilerOptions
- shouldInlineProperties() - Method in class com.google.javascript.jscomp.CompilerOptions
- shouldParseDocumentation() - Method in class com.google.javascript.rhino.JSDocInfoBuilder
- shouldPreserveGoogLibraryPrimitives() - Method in class com.google.javascript.jscomp.CompilerOptions
-
Do not process goog.
- shouldPreserveGoogModule() - Method in class com.google.javascript.jscomp.CompilerOptions
- 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
- shouldPrune() - Method in class com.google.javascript.jscomp.DependencyOptions
-
Returns whether files should be pruned.
- shouldQuoteKeywordProperties() - Method in class com.google.javascript.jscomp.CompilerOptions
- shouldReportConformanceViolation(Requirement, Optional<Requirement.WhitelistEntry>, JSError) - Method in interface com.google.javascript.jscomp.ErrorManager
-
Return true if the conformance violation should be reported.
- shouldReportConformanceViolation(Requirement, Optional<Requirement.WhitelistEntry>, JSError) - Method in class com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager
- shouldRunCompiler() - Method in class com.google.javascript.jscomp.CommandLineRunner
- shouldRunCrossChunkCodeMotion() - Method in class com.google.javascript.jscomp.CompilerOptions
- shouldRunCrossChunkMethodMotion() - Method in class com.google.javascript.jscomp.CompilerOptions
- shouldRunTypeSummaryChecksLate() - Method in class com.google.javascript.jscomp.CompilerOptions
- shouldSkipDepsFile(SourceFile) - Method in class com.google.javascript.jscomp.deps.DepsGenerator
-
Returns whether we should ignore dependency info in the given deps file.
- shouldSort() - Method in class com.google.javascript.jscomp.DependencyOptions
-
Returns whether files should be sorted.
- shouldStrip() - Method in enum com.google.javascript.jscomp.CompilerOptions.TweakProcessing
- shouldTraverse(NodeTraversal, Node, ModuleMetadataMap.ModuleMetadata, Node) - Method in class com.google.javascript.jscomp.CheckMissingRequires
- shouldTraverse(NodeTraversal, Node, ModuleMetadataMap.ModuleMetadata, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractModuleCallback
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.CheckConformance
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.ControlFlowAnalysis
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.ControlFlowGraph.AbstractCfgNodeTraversalCallback
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.CrossChunkReferenceCollector
- 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.Es6RewriteClass
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteDestructuring
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteModules
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteScriptsToModules
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es7RewriteExponentialOperator
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.FindModuleDependencies
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.LateEs6ToEs3Converter
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckConstantCaseNames
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckDefaultExportOfGoogModule
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckEs6ModuleFileStructure
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckEs6Modules
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckNoMutatedEs6Exports
- 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.CheckProvidesSorted
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckRequiresSorted
- 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.modules.EsModuleProcessor
- 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.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 preorder (before its children) and decides whether its children should be traversed.
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.ExternsSkippingCallback
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.ProcessCommonJSModules
- 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.RewriteAsyncIteration
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.RewriteNullishCoalesceOperator
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.RewriteObjectSpread
- shouldTraverse(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.TypeCheck
- shouldUnsafelyPreserveTypesForDebugging() - Method in class com.google.javascript.jscomp.CompilerOptions
- shouldUseGraphBasedDisambiguator() - Method in class com.google.javascript.jscomp.CompilerOptions
- shouldUseTypesForLocalOptimization() - Method in class com.google.javascript.jscomp.CompilerOptions
- 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.
- SideEffectFlags() - Constructor for class com.google.javascript.rhino.Node.SideEffectFlags
- SideEffectFlags(int) - Constructor for class com.google.javascript.rhino.Node.SideEffectFlags
- SIMPLE_OPTIMIZATIONS - com.google.javascript.jscomp.CompilationLevel
-
SIMPLE_OPTIMIZATIONS performs transformations to the input JS that do not require any changes to JS that depend on the input JS.
- SimpleDependencyInfo - Class in com.google.javascript.jscomp.deps
-
A class to hold JS dependency information for a single .js file.
- SimpleDependencyInfo() - Constructor for class com.google.javascript.jscomp.deps.SimpleDependencyInfo
- SimpleDependencyInfo.Builder - Class in com.google.javascript.jscomp.deps
-
Builder for constructing instances of SimpleDependencyInfo.
- SimpleErrorReporter - Class in com.google.javascript.rhino
-
A simple
ErrorReporter
that collects warnings and errors and makes them accessible viaSimpleErrorReporter.errors
andSimpleErrorReporter.warnings
. - SimpleErrorReporter() - Constructor for class com.google.javascript.rhino.SimpleErrorReporter
- 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> - 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
. - 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, StaticSourceFile.SourceKind) - Constructor for class com.google.javascript.rhino.SimpleSourceFile
- simplify(String) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Alternation
- simplify(String) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Anchor
- simplify(String) - Method in class com.google.javascript.jscomp.regex.RegExpTree.BackReference
- simplify(String) - Method in class com.google.javascript.jscomp.regex.RegExpTree.CapturingGroup
- simplify(String) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Charset
- simplify(String) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Concatenation
- simplify(String) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Empty
- simplify(String) - Method in class com.google.javascript.jscomp.regex.RegExpTree.LookaheadAssertion
- simplify(String) - Method in class com.google.javascript.jscomp.regex.RegExpTree.LookbehindAssertion
- simplify(String) - Method in class com.google.javascript.jscomp.regex.RegExpTree.NamedBackReference
- simplify(String) - Method in class com.google.javascript.jscomp.regex.RegExpTree.NamedCaptureGroup
- simplify(String) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Repetition
- 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.
- simplify(String) - Method in class com.google.javascript.jscomp.regex.RegExpTree.Text
- simplify(String) - Method in class com.google.javascript.jscomp.regex.RegExpTree.UnicodePropertyEscape
- simplify(String) - Method in class com.google.javascript.jscomp.regex.RegExpTree.WordBoundary
- SINGLE_QUOTES - com.google.javascript.jscomp.CommandLineRunner.FormattingOption
- SINGLELINE - com.google.javascript.jscomp.ErrorFormat
- SingletonColorFields - Class in com.google.javascript.jscomp.colors
-
Fields present on a color representing a primitive or object.
- SingletonColorFields() - Constructor for class com.google.javascript.jscomp.colors.SingletonColorFields
- SingletonColorFields.Builder - Class in com.google.javascript.jscomp.colors
-
Builder for a singleton color.
- size - Variable in class com.google.javascript.jscomp.PerformanceTracker.Stats
- size() - Method in class com.google.javascript.rhino.jstype.TemplateTypeMap
- SKIP_DEBUG_INFO - com.google.javascript.rhino.serialization.SerializationOptions
- skipAllCompilerPasses() - Method in class com.google.javascript.jscomp.CompilerOptions
-
Skip all possible passes, to make the compiler as fast as possible.
- SLASH - com.google.javascript.jscomp.parsing.parser.TokenType
- SLASH_EQUAL - com.google.javascript.jscomp.parsing.parser.TokenType
- SLASH_V - Static variable in class com.google.javascript.rhino.Node
- SLOPPY - com.google.javascript.jscomp.parsing.Config.StrictMode
- 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
- SORT_ONLY - com.google.javascript.jscomp.DependencyOptions.DependencyMode
-
All input files will be included in the compilation in dependency order.
- 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
- SortingErrorManager - Class in com.google.javascript.jscomp
-
A customizable error manager that sorts all errors and warnings reported to it, and has customizable output through the
SortingErrorManager.ErrorReportGenerator
interface. - SortingErrorManager(Set<SortingErrorManager.ErrorReportGenerator>) - Constructor for class com.google.javascript.jscomp.SortingErrorManager
- SortingErrorManager.ErrorReportGenerator - Interface in com.google.javascript.jscomp
-
Strategy for customizing the output format of the error report
- sortInputsByDeps(AbstractCompiler) - Method in class com.google.javascript.jscomp.JSModule
-
Puts the JS files into a topologically sorted order by their dependencies.
- sortOnly() - Static method in class com.google.javascript.jscomp.DependencyOptions
-
Returns a
DependencyOptions
using theDependencyOptions.DependencyMode.SORT_ONLY
mode. - source - Variable in class com.google.javascript.jscomp.bundle.CompilerBasedTransformer.CompileResult
- source - Variable in class com.google.javascript.jscomp.parsing.parser.util.SourcePosition
- source - Variable in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompileResult
- Source - Class in com.google.javascript.jscomp.bundle
-
An abstract representation of a source file.
- Source() - Constructor for class com.google.javascript.jscomp.bundle.Source
- Source.Builder - Class in com.google.javascript.jscomp.bundle
-
Builder for Source instances.
- Source.Transformer - Interface in com.google.javascript.jscomp.bundle
-
An automorphic transformation on sources.
- 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 - Class in com.google.javascript.jscomp.parsing.parser
-
A source file.
- SourceFile - Class in com.google.javascript.jscomp
-
An abstract representation of a source file that provides access to language-neutral features.
- SourceFile - Interface in com.google.javascript.jscomp.deps
-
An interface for representing source files for the Compilation Service.
- SourceFile(String, StaticSourceFile.SourceKind) - Constructor for class com.google.javascript.jscomp.SourceFile
-
Construct a new abstract source file.
- SourceFile(String, String) - Constructor for class com.google.javascript.jscomp.parsing.parser.SourceFile
- 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
. - SOURCELESS - com.google.javascript.jscomp.ErrorFormat
- sourceMap - Variable in class com.google.javascript.jscomp.bundle.CompilerBasedTransformer.CompileResult
- sourceMap - Variable in class com.google.javascript.jscomp.Result
- sourceMap - Variable in class com.google.javascript.jscomp.transpile.BaseTranspiler.CompileResult
- sourceMap() - Method in class com.google.javascript.jscomp.bundle.Source
-
The text of any source map applicable to this file.
- sourceMap() - Method in class com.google.javascript.jscomp.transpile.TranspileResult
- SourceMap - Class in com.google.javascript.jscomp
-
Collects information mapping the generated (compiled) source back to its original source for debugging purposes.
- SourceMap.DetailLevel - Enum in com.google.javascript.jscomp
-
Source maps can be very large different levels of detail can be specified.
- SourceMap.Format - Enum in com.google.javascript.jscomp
-
An enumeration of available source map formats
- SourceMap.LocationMapping - Interface in com.google.javascript.jscomp
-
Function that mape a "destination" location to use within the source map.
- SourceMap.PrefixLocationMapping - Class in com.google.javascript.jscomp
-
Simple
SourceMap.LocationMapping
that strips a prefix from a location. - SourceMapConsumer - Interface in com.google.debugging.sourcemap
-
A SourceMapConsumer is a SourceMapping provide that can parse from a raw string.
- SourceMapConsumerFactory - Class in com.google.debugging.sourcemap
-
Detect and parse the provided source map.
- SourceMapConsumerV3 - Class in com.google.debugging.sourcemap
-
Class for parsing version 3 of the SourceMap format, as produced by the Closure Compiler, etc.
- SourceMapConsumerV3() - Constructor for class com.google.debugging.sourcemap.SourceMapConsumerV3
- SourceMapConsumerV3.EntryVisitor - Interface in com.google.debugging.sourcemap
- sourceMapDetailLevel - Variable in class com.google.javascript.jscomp.CompilerOptions
-
The detail level for the generated source map.
- sourceMapFormat - Variable in class com.google.javascript.jscomp.CompilerOptions
-
The source map file format
- SourceMapFormat - Enum in com.google.debugging.sourcemap
-
A list of currently support SourceMap format revisions.
- SourceMapGenerator - Interface in com.google.debugging.sourcemap
-
Collects information mapping the generated (compiled) source back to its original source for debugging purposes
- SourceMapGeneratorFactory - Class in com.google.debugging.sourcemap
- SourceMapGeneratorV3 - Class in com.google.debugging.sourcemap
-
Collects information mapping the generated (compiled) source back to its original source for debugging purposes.
- SourceMapGeneratorV3() - Constructor for class com.google.debugging.sourcemap.SourceMapGeneratorV3
- SourceMapGeneratorV3.ExtensionMergeAction - Interface in com.google.debugging.sourcemap
-
This interface provides the merging strategy when an extension conflict appears because of merging two source maps on method
SourceMapGeneratorV3.mergeMapSection(int, int, java.lang.String)
. - SourceMapInput - Class in com.google.javascript.jscomp
-
A lazy-loaded SourceMapConsumerV3 instance.
- SourceMapInput(SourceFile) - Constructor for class com.google.javascript.jscomp.SourceMapInput
- sourceMapLocationMappings - Variable in class com.google.javascript.jscomp.CompilerOptions
- SourceMapObject - Class in com.google.debugging.sourcemap
-
Wraps a JsonObject to provide a V3 source map.
- SourceMapObjectParser - Class in com.google.debugging.sourcemap
-
Java implementation of the source map parser.
- sourceMapOutputPath - Variable in class com.google.javascript.jscomp.CompilerOptions
-
The output path for the source map.
- SourceMapParseException - Exception in com.google.debugging.sourcemap
-
Throw if an invalid or unknown source map is encountered.
- SourceMapParseException(String) - Constructor for exception com.google.debugging.sourcemap.SourceMapParseException
- SourceMapping - Interface in com.google.debugging.sourcemap
-
Interface for provide a way of mapping (line, column) positions back to positions in the original (uncompiled) source code.
- SourceMappingReversable - Interface in com.google.debugging.sourcemap
-
A SourceMappingReversable is a SourceMapping that can provide the reverse (source → target) source mapping.
- sourceMappingUrl() - Method in class com.google.javascript.jscomp.bundle.Source
-
The URL for a source map associated with this file.
- SourceMapResolver - Class in com.google.javascript.jscomp
-
Utility class for resolving source maps and files referenced in source maps.
- SourceMapResolver() - Constructor for class com.google.javascript.jscomp.SourceMapResolver
- SourceMapSection - Class in com.google.debugging.sourcemap
-
A class representing a partial source map.
- SourceMapSection(String, int, int) - Constructor for class com.google.debugging.sourcemap.SourceMapSection
-
Deprecated.
- SourceMapSection.SectionType - Enum in com.google.debugging.sourcemap
- SourceMapSupplier - Interface in com.google.debugging.sourcemap
-
A class for mapping source map names to the actual contents.
- sourceMapURL - Variable in class com.google.javascript.jscomp.parsing.ParserRunner.ParseResult
- sourceName - Variable in class com.google.javascript.jscomp.JsAst.RhinoError
- sourceNode - Variable in class com.google.javascript.jscomp.graph.GraphReachability.EdgeTuple
- sourceNode() - Method in class com.google.javascript.jscomp.modules.Binding
-
The AST node to use for source location when rewriting.
- SourcePosition - Class in com.google.javascript.jscomp.parsing.parser.util
-
A position in a source string - includes offset, line and column.
- 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
- SourcePosition(SourceFile, int, int, int) - Constructor for class com.google.javascript.jscomp.parsing.parser.util.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
- sourceUrl() - Method in class com.google.javascript.jscomp.bundle.Source
-
The source URL associated with this file.
- splitDeclaration(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6SplitVariableDeclarations
- SPREAD_EXPRESSIONS - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- srcref(Node) - Method in class com.google.javascript.rhino.Node
- srcrefTree(Node) - Method in class com.google.javascript.rhino.Node
- STABLE - com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
Use stable features.
- STABLE_IN - Static variable in enum com.google.javascript.jscomp.CompilerOptions.LanguageMode
- STABLE_OUT - Static variable in enum com.google.javascript.jscomp.CompilerOptions.LanguageMode
- stage1Passes() - Method in class com.google.javascript.jscomp.Compiler
-
Perform compiler passes for stage 1 of compilation.
- stage2Passes() - Method in class com.google.javascript.jscomp.Compiler
-
Perform compiler passes for stage 2 of compilation.
- STANDARD - com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig.ErrorFormatOption
- StandardUnionFind<E> - Class in com.google.javascript.jscomp.graph
-
A Union-Find implementation.
- StandardUnionFind() - Constructor for class com.google.javascript.jscomp.graph.StandardUnionFind
-
Creates an empty UnionFind structure.
- StandardUnionFind(UnionFind<E>) - Constructor for class com.google.javascript.jscomp.graph.StandardUnionFind
-
Creates an UnionFind structure being a copy of other structure.
- STAR - com.google.javascript.jscomp.parsing.parser.TokenType
- STAR - com.google.javascript.rhino.Token
- STAR_EQUAL - com.google.javascript.jscomp.parsing.parser.TokenType
- STAR_STAR - com.google.javascript.jscomp.parsing.parser.TokenType
- STAR_STAR_EQUAL - com.google.javascript.jscomp.parsing.parser.TokenType
- start - Variable in class com.google.javascript.jscomp.parsing.parser.util.SourceRange
- START - com.google.javascript.jscomp.CompilerOptions.DevMode
-
After the initial parse
- START_AND_END - com.google.javascript.jscomp.CompilerOptions.DevMode
-
At the start and at the end of all optimizations.
- START_OF_ARROW_FN_BODY - com.google.javascript.jscomp.CodeGenerator.Context
- START_OF_ARROW_FN_IN_FOR_INIT - com.google.javascript.jscomp.CodeGenerator.Context
- START_OF_EXPR - com.google.javascript.jscomp.CodeGenerator.Context
- startOptChainCall(Node, Node...) - Static method in class com.google.javascript.rhino.IR
- startOptChainGetelem(Node, Node) - Static method in class com.google.javascript.rhino.IR
- startOptChainGetprop(Node, Node) - Static method in class com.google.javascript.rhino.IR
- statement - Variable in class com.google.javascript.jscomp.parsing.parser.trees.LabelledStatementTree
- STATEMENT - com.google.javascript.jscomp.CodeGenerator.Context
- 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 - com.google.javascript.jscomp.parsing.parser.Keywords
- STATIC - com.google.javascript.jscomp.parsing.parser.TokenType
- STATIC_MEMBER - Static variable in class com.google.javascript.rhino.Node
- StaticRef - Interface in com.google.javascript.rhino
-
The
StaticRef
tells us all the ways that aStaticSlot
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 aStaticScope
. - StaticSourceFile - Interface in com.google.javascript.rhino
-
The
StaticSourceFile
contains information about a compiler input. - StaticSourceFile.SourceKind - Enum in com.google.javascript.rhino
-
Source kinds.
- StaticSymbolTable<S extends StaticSlot,R extends StaticRef> - Interface in com.google.javascript.rhino
-
Lookup references by the symbols that they refer to.
- StaticTypedRef - Interface in com.google.javascript.rhino.jstype
-
The
StaticTypedRef
tells us all the ways that aStaticTypedSlot
is used in a program. - StaticTypedScope - 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 - Interface in com.google.javascript.rhino.jstype
-
The
StaticTypedSlot
interface must be implemented by variables that can appear as members of aStaticTypedScope
. - STOP_AFTER_ERROR - com.google.javascript.jscomp.parsing.Config.RunMode
- STREQ - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- STRICT - com.google.javascript.jscomp.parsing.Config.StrictMode
- STRICT - com.google.javascript.jscomp.WarningsGuard.Priority
- STRICT_CHECK_TYPES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- STRICT_INEXISTENT_PROPERTY - Static variable in class com.google.javascript.jscomp.TypeCheck
- STRICT_INEXISTENT_UNION_PROPERTY - Static variable in class com.google.javascript.jscomp.TypeCheck
- STRICT_MISSING_PROPERTIES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- STRICT_MISSING_REQUIRE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- STRICT_MODULE_CHECKS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- STRICT_MODULE_DEP_CHECK - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- STRICT_NULLABILITY - com.google.javascript.jscomp.TypeMatchingStrategy
-
Matches type or any subtype.
- STRICT_PRIMITIVE_OPERATORS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- STRICT_REQUIRES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- StrictBanUnresolvedType(AbstractCompiler, Requirement) - Constructor for class com.google.javascript.jscomp.ConformanceRules.StrictBanUnresolvedType
- STRICTER_MISSING_REQUIRE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- strictMode() - Method in class com.google.javascript.jscomp.parsing.Config
-
Whether to assume input is strict mode compliant.
- StrictWarningsGuard - Class in com.google.javascript.jscomp
-
All warnings should be reported as errors.
- StrictWarningsGuard() - Constructor for class com.google.javascript.jscomp.StrictWarningsGuard
- string(String) - Static method in class com.google.javascript.rhino.IR
- STRING - com.google.javascript.jscomp.colors.NativeColorId
- STRING - com.google.javascript.jscomp.NodeUtil.ValueType
- STRING - com.google.javascript.jscomp.parsing.parser.TokenType
- STRING - com.google.javascript.rhino.Token
- STRING_CONTINUATION - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- STRING_KEY - com.google.javascript.rhino.Token
- STRING_OBJECT - com.google.javascript.jscomp.colors.NativeColorId
- STRING_OBJECT_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- STRING_OBJECT_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- STRING_PREDICATE - com.google.javascript.jscomp.parsing.TypeTransformationParser.OperationKind
- STRING_SYMBOL - com.google.javascript.rhino.jstype.JSTypeNative
-
(string,symbol)
- STRING_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- STRING_TYPE - com.google.javascript.rhino.Token
- stringKey(String) - Static method in class com.google.javascript.rhino.IR
- stringKey(String, Node) - Static method in class com.google.javascript.rhino.IR
- StringLiteralToken - Class in com.google.javascript.jscomp.parsing.parser
-
A single or double quoted JavaScript string literal.
- StringLiteralToken(String, SourceRange, boolean) - Constructor for class com.google.javascript.jscomp.parsing.parser.StringLiteralToken
- stringMap - Variable in class com.google.javascript.jscomp.Result
- StringPosition() - Constructor for class com.google.javascript.rhino.JSDocInfo.StringPosition
- stringType() - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
- StringType - Class in com.google.javascript.rhino.jstype
-
String type.
- STRIP - com.google.javascript.jscomp.CompilerOptions.TweakProcessing
- STRIP_SIDE_EFFECT_PROTECTION - Static variable in class com.google.javascript.jscomp.PassNames
- 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
- STRONG - com.google.javascript.rhino.StaticSourceFile.SourceKind
-
A file whose contents are necessary both for type checking and emitting code.
- STRONG_MODULE_NAME - Static variable in class com.google.javascript.jscomp.JSModule
- stronglyRequiredGoogNamespaces() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
-
Closure namespaces this file strongly requires, i.e., arguments to goog.require calls.
- stronglyRequiredGoogNamespacesBuilder() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata.Builder
- STUB_DECLARATIONS - Static variable in class com.google.javascript.jscomp.CrossChunkMethodMotion
- sub(Node, Node) - Static method in class com.google.javascript.rhino.IR
- SUB - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- SUB - com.google.javascript.rhino.Token
- 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
- subtractNullOrVoid() - Method in class com.google.javascript.jscomp.colors.Color
- SUBTYPES - com.google.javascript.jscomp.TypeMatchingStrategy
-
Matches type or any subtype.
- 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.
- SUPER - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- SUPER - com.google.javascript.jscomp.parsing.parser.Keywords
- SUPER - com.google.javascript.jscomp.parsing.parser.TokenType
- SUPER - com.google.javascript.rhino.Token
- SUPER_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- superClass - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ClassDeclarationTree
- superClass() - Method in class com.google.javascript.rhino.NominalTypeBuilder
-
Returns a NominalTypeBuilder for this type's superclass.
- SuperExpressionTree - Class in com.google.javascript.jscomp.parsing.parser.trees
- SuperExpressionTree(SourceRange) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.SuperExpressionTree
- superNode() - Static method in class com.google.javascript.rhino.IR
- SUPPRESS_BY_ALLOWLIST - com.google.javascript.jscomp.WarningsGuard.Priority
- SUPPRESS_DOC - com.google.javascript.jscomp.WarningsGuard.Priority
- suppressionNames() - Method in class com.google.javascript.jscomp.parsing.Config
-
Set of recognized names in a
@suppress
tag. - SUSPICIOUS_CODE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- SUSPICIOUS_EXPORTS_ASSIGNMENT - Static variable in class com.google.javascript.jscomp.ProcessCommonJSModules
- SWITCH - com.google.javascript.jscomp.parsing.parser.Keywords
- SWITCH - com.google.javascript.jscomp.parsing.parser.TokenType
- SWITCH - com.google.javascript.rhino.Token
- SWITCH_STATEMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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 - com.google.javascript.jscomp.colors.NativeColorId
- SYMBOL_OBJECT - com.google.javascript.jscomp.colors.NativeColorId
- SYMBOL_OBJECT_FUNCTION_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- SYMBOL_OBJECT_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- SYMBOL_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- SYMBOLS - com.google.javascript.jscomp.SourceMap.DetailLevel
- SymbolTable - Class in com.google.javascript.jscomp
-
A symbol table for people that want to use Closure Compiler as an indexer.
- SymbolTable.Reference - Class in com.google.javascript.jscomp
-
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
- SymbolType - Class in com.google.javascript.rhino.jstype
-
Symbol type.
- SYN_BLOCK - com.google.javascript.jscomp.ControlFlowGraph.Branch
-
Possible folded-away template
- SyncCompilerFeatures - Class in com.google.javascript.jscomp
-
Sets compiler feature set to features used in the externs and sources
- SyntacticScopeCreator - 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.
- SyntacticScopeCreator(AbstractCompiler) - Constructor for class com.google.javascript.jscomp.SyntacticScopeCreator
- SyntacticScopeCreator(AbstractCompiler, SyntacticScopeCreator.ScopeFactory) - Constructor for class com.google.javascript.jscomp.SyntacticScopeCreator
- SyntacticScopeCreator.ScopeFactory - Interface in com.google.javascript.jscomp
-
A simple API for injecting the use of alternative Scope classes
- 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
- tagAsStrict() - Method in class com.google.javascript.jscomp.CodeGenerator
-
Insert a ECMASCRIPT 5 strict annotation.
- TAGGED_TEMPLATELIT - com.google.javascript.rhino.Token
- tailExpression - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComprehensionTree
- TEMPLATE_HEAD - com.google.javascript.jscomp.parsing.parser.TokenType
- TEMPLATE_LITERAL_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- TEMPLATE_LITERAL_PORTION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- TEMPLATE_LITERALS - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- TEMPLATE_MIDDLE - com.google.javascript.jscomp.parsing.parser.TokenType
- TEMPLATE_SUBSTITUTION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- TEMPLATE_TAIL - com.google.javascript.jscomp.parsing.parser.TokenType
- TemplateAstMatcher - Class in com.google.javascript.jscomp
-
A matcher that can take an arbitrary AST and use it as a template to find matches in another.
- TemplateAstMatcher(AbstractCompiler, Node, 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.
- TEMPLATELIT - com.google.javascript.rhino.Token
- TEMPLATELIT_STRING - com.google.javascript.rhino.Token
- TEMPLATELIT_SUB - com.google.javascript.rhino.Token
- 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
- TemplateLiteralToken - Class in com.google.javascript.jscomp.parsing.parser
-
A token representing a javascript template literal substring.
- TemplateLiteralToken(TokenType, String, String, SourcePosition, SourceRange) - Constructor for class com.google.javascript.jscomp.parsing.parser.TemplateLiteralToken
- 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
-
A placeholder type, used as keys in
TemplateTypeMap
s. - 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.
- TEMPLATETYPEOF - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- TemplateTypeReplacer - Class in com.google.javascript.rhino.jstype
-
Specializes
TemplatizedType
s according to provided bindings. - 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.BigIntType
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.BooleanType
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.EnumElementType
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.EnumType
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.JSType
-
Compares
this
andthat
. - testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.NullType
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.NumberType
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.ObjectType
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.StringType
- testForEquality(JSType) - Method in class com.google.javascript.rhino.jstype.SymbolType
- 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
- testonly - Variable in class com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo
- THENABLE_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- THIS - com.google.javascript.jscomp.parsing.parser.Keywords
- THIS - com.google.javascript.jscomp.parsing.parser.TokenType
- THIS - com.google.javascript.rhino.Token
- THIS_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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
- THROW - com.google.javascript.jscomp.parsing.parser.Keywords
- THROW - com.google.javascript.jscomp.parsing.parser.TokenType
- THROW - com.google.javascript.rhino.Token
- THROW_STATEMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- throwNode(Node) - Static method in class com.google.javascript.rhino.IR
- THROWS - Static variable in class com.google.javascript.rhino.Node.SideEffectFlags
- ThrowStatementTree - Class in com.google.javascript.jscomp.parsing.parser.trees
- ThrowStatementTree(SourceRange, ParseTree) - Constructor for class com.google.javascript.jscomp.parsing.parser.trees.ThrowStatementTree
- TILDE - com.google.javascript.jscomp.parsing.parser.TokenType
- TIMING_ONLY - com.google.javascript.jscomp.CompilerOptions.TracerMode
- to(FeatureSet) - Static method in class com.google.javascript.jscomp.transpile.BaseTranspiler
- to(FeatureSet, String) - Static method in class com.google.javascript.jscomp.transpile.BaseTranspiler
- TO_COMMON_JS_LIKE_MODULES - com.google.javascript.jscomp.CompilerOptions.Es6ModuleTranspilation
-
Rewrite to common js like modules for bundling.
- toAnnotationString(JSType.Nullability) - Method in class com.google.javascript.rhino.jstype.JSType
- toBase64(int) - Static method in class com.google.debugging.sourcemap.Base64
- toBoolean(boolean) - Method in enum com.google.javascript.rhino.jstype.TernaryValue
-
Converts
this
ternary value to boolean. - toBuilder() - Method in class com.google.javascript.jscomp.bundle.Source
-
Copies the data from this source to a new builder.
- toBuilder() - Method in class com.google.javascript.jscomp.deps.DependencyInfo.Require
- toBuilder() - Method in class com.google.javascript.jscomp.modules.Module
-
Returns this module in builder form.
- toBuilder() - Method in class com.google.javascript.jscomp.PassFactory
- toBytes() - Method in class com.google.javascript.jscomp.VariableMap
-
Serializes the variable map to a byte array.
- toDebugString() - Method in class com.google.javascript.jscomp.SymbolTable
- toDot(GraphvizGraph) - Static method in class com.google.javascript.jscomp.DotFormatter
-
Outputs a string in DOT format that presents the graph.
- toDot(Node) - Static method in class com.google.javascript.jscomp.DotFormatter
-
Converts an AST to dot representation.
- toEs5() - Static method in class com.google.javascript.jscomp.bundle.Transpiler
-
Recommended transpiler.
- toEs5() - Static method in class com.google.javascript.jscomp.transpile.TranspilerBuilder
-
Returns a new TranspilerBuilder that transpiles down to ES5.
- toFeatureSet() - Method in enum com.google.javascript.jscomp.CompilerOptions.LanguageMode
- toFormatter(SourceExcerptProvider, boolean) - Method in enum com.google.javascript.jscomp.ErrorFormat
-
Convert to a concrete formatter.
- Token - Class in com.google.javascript.jscomp.parsing.parser
-
A Token in a javascript file.
- Token - Enum in com.google.javascript.rhino
-
This class implements the JavaScript scanner.
- Token(TokenType, SourceRange) - Constructor for class com.google.javascript.jscomp.parsing.parser.Token
- TokenStream - Class in com.google.javascript.rhino
-
This class implements the JavaScript scanner.
- TokenStream() - Constructor for class com.google.javascript.rhino.TokenStream
- TokenType - Enum in com.google.javascript.jscomp.parsing.parser
- TokenUtil - Class in com.google.javascript.rhino
-
Helper methods for parsing JavaScript.
- TokenUtil() - Constructor for class com.google.javascript.rhino.TokenUtil
- toMaybeEnumElementType() - Method in class com.google.javascript.rhino.jstype.EnumElementType
- toMaybeEnumElementType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Downcasts this to an EnumElementType, or returns null if this is not an EnumElementType.
- toMaybeEnumElementType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
- toMaybeEnumType() - Method in class com.google.javascript.rhino.jstype.EnumType
- toMaybeEnumType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Downcasts this to an EnumType, or returns null if this is not an EnumType.
- toMaybeEnumType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
- toMaybeFunctionType() - Method in class com.google.javascript.rhino.jstype.FunctionType
- toMaybeFunctionType() - Method in class com.google.javascript.rhino.jstype.JSType
-
Downcasts this to a FunctionType, or returns null if this is not a function.
- toMaybeFunctionType() - Method in class com.google.javascript.rhino.jstype.NoObjectType
- toMaybeFunctionType() - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
- toMaybeFunctionType(JSType) - Static method in class com.google.javascript.rhino.jstype.JSType
-
Null-safe version of toMaybeFunctionType().
- 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.rhino.jstype.JSType
- 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.
- 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_OBJECT - com.google.javascript.jscomp.colors.NativeColorId
- toSource() - 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(Compiler.CodeBuilder, int, Node) - Method in class com.google.javascript.jscomp.Compiler
-
Writes out JS code from a root node.
- toSource(JSModule) - Method in class com.google.javascript.jscomp.Compiler
-
Converts the parse tree for a module back to JS code.
- toSource(Node) - Method in class com.google.javascript.jscomp.AbstractCompiler
-
Prints a node to source code.
- 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.debugging.sourcemap.FilePosition
- toString() - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner.FlagEntry
- toString() - Method in class com.google.javascript.jscomp.AbstractScope
- 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.deps.ModuleLoader.ModulePath
- 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.LinkedDiGraphEdge
- toString() - Method in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDiGraphNode
- 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 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.TemplateLiteralToken
- 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.Reference
- toString() - Method in class com.google.javascript.jscomp.ReferenceCollection
- toString() - Method in class com.google.javascript.jscomp.regex.RegExpTree
- toString() - Method in class com.google.javascript.jscomp.SourceFile
- toString() - Method in class com.google.javascript.jscomp.SourceMap.PrefixLocationMapping
- 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.SuggestedFix
- toString() - Method in class com.google.javascript.rhino.HamtPMap
- 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() - Method in class com.google.javascript.rhino.SimpleSourceFile
- toString(boolean, boolean, boolean) - Method in class com.google.javascript.rhino.Node
- toStringTree() - Method in class com.google.javascript.rhino.Node
- toStringVerbose() - Method in class com.google.javascript.rhino.JSDocInfo
- toTernaryValue() - Method in enum com.google.javascript.rhino.jstype.BooleanLiteralSet
-
Converts to a TernaryValue.
- tracker - Variable in class com.google.javascript.jscomp.Compiler
- tracksAstManifest() - Method in class com.google.javascript.jscomp.PerformanceTracker
- 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
- TRAILING_COMMA - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- TRAILING_COMMA_IN_PARAM_LIST - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- transform(Source) - Method in class com.google.javascript.jscomp.bundle.CachedTransformer
- transform(Source) - Method in class com.google.javascript.jscomp.bundle.CompilerBasedTransformer
- transform(Source) - Method in interface com.google.javascript.jscomp.bundle.Source.Transformer
-
The main transformation method.
- 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
- transformed - Variable in class com.google.javascript.jscomp.bundle.CompilerBasedTransformer.CompileResult
- transformed(Result) - Method in class com.google.javascript.jscomp.bundle.CompilerBasedTransformer.CompilerSupplier
- transformed(Result) - Method in class com.google.javascript.jscomp.bundle.CoverageInstrumenter.CompilerSupplier
- TranspilationException - Exception in com.google.javascript.jscomp.bundle
-
An unchecked exception thrown when transpilation fails due to one or more errors in the input script.
- TranspilationException(SourceExcerptProvider, ImmutableList<JSError>, ImmutableList<JSError>) - Constructor for exception com.google.javascript.jscomp.bundle.TranspilationException
- TranspilationException(Exception) - Constructor for exception com.google.javascript.jscomp.bundle.TranspilationException
- TranspilationPasses - Class in com.google.javascript.jscomp
-
Provides a single place to manage transpilation passes.
- transpile(URI, String) - Method in class com.google.javascript.jscomp.transpile.BaseTranspiler
- transpile(URI, String) - Method in class com.google.javascript.jscomp.transpile.CachingTranspiler
- transpile(URI, 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 - Class in com.google.javascript.jscomp.bundle
-
A source transformer for lowering JS language versions.
- Transpiler - Interface in com.google.javascript.jscomp.transpile
-
Common interface for a transpiler.
- Transpiler(CompilerBasedTransformer.CompilerSupplier, String) - Constructor for class com.google.javascript.jscomp.bundle.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(URI, String, String, String) - Constructor for class com.google.javascript.jscomp.transpile.TranspileResult
- traverse(AbstractCompiler, Node, NodeTraversal.Callback) - Static method in class com.google.javascript.jscomp.NodeTraversal
-
Traverses using the SyntacticScopeCreator
- traverse(Node) - Method in class com.google.javascript.jscomp.NodeTraversal
-
Traverses a parse tree recursively.
- traverseChangedFunctions(AbstractCompiler, NodeTraversal.ChangeScopeRootCallback) - 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
- traverseFunctionOutOfBand(Node, AbstractScope<?, ?>) - Method in class com.google.javascript.jscomp.NodeTraversal
-
Traverse a function out-of-band of normal traversal.
- traversePostOrder(AbstractCompiler, Node, NodeTraversal.AbstractPostOrderCallbackInterface) - Static method in class com.google.javascript.jscomp.NodeTraversal
-
Traverses in post order.
- traverseRoots(AbstractCompiler, NodeTraversal.Callback, Node, Node) - Static method in class com.google.javascript.jscomp.NodeTraversal
- traverseScopeRoots(AbstractCompiler, Node, List<Node>, NodeTraversal.Callback, boolean) - Static method in class com.google.javascript.jscomp.NodeTraversal
-
Traverses *just* the contents of provided scope nodes (and optionally scopes nested within them) but will fall back on traversing the entire AST from root if a null scope nodes list is provided.
- traverseScopeRoots(AbstractCompiler, Node, List<Node>, NodeTraversal.Callback, NodeTraversal.ChangeScopeRootCallback, boolean) - Static method in class com.google.javascript.jscomp.NodeTraversal
-
Traverses *just* the contents of provided scope nodes (and optionally scopes nested within them) but will fall back on traversing the entire AST from root if a null scope nodes list is provided.
- TRUE - com.google.javascript.jscomp.parsing.parser.Keywords
- TRUE - com.google.javascript.jscomp.parsing.parser.TokenType
- TRUE - com.google.javascript.jscomp.type.Outcome
-
Represents truthy values.
- TRUE - com.google.javascript.rhino.jstype.BooleanLiteralSet
- TRUE - com.google.javascript.rhino.jstype.TernaryValue
-
true
- TRUE - com.google.javascript.rhino.Outcome
-
Represents truthy values.
- TRUE - com.google.javascript.rhino.Token
- trueNode() - Static method in class com.google.javascript.rhino.IR
- TRUTHY - com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec.AssertionKind
- TRY - com.google.javascript.jscomp.parsing.parser.Keywords
- TRY - com.google.javascript.jscomp.parsing.parser.TokenType
- TRY - com.google.javascript.rhino.Token
- TRY_STATEMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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, boolean) - 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
- TS_UNSUPPORTED - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
- tsIsAllowlisted() - Method in class com.google.javascript.jscomp.ConformanceRules.AbstractRule
- tsIsAllowlisted() - Method in class com.google.javascript.jscomp.ConformanceRules.BanUnknownTypedClassPropsReferences
- TWEAKS - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- type - Variable in enum com.google.javascript.jscomp.parsing.parser.Keywords
- type - Variable in class com.google.javascript.jscomp.parsing.parser.Token
- type - Variable in class com.google.javascript.jscomp.parsing.parser.trees.Comment
- type - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ComprehensionTree
- type - Variable in class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
- TYPE - com.google.javascript.jscomp.parsing.parser.TokenType
- TYPE - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- TYPE_ALIAS - com.google.javascript.rhino.Token
- TYPE_ANNOTATION - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- TYPE_CONSTRUCTOR - com.google.javascript.jscomp.parsing.TypeTransformationParser.OperationKind
- TYPE_IMPORT_CODE_REFERENCE - Static variable in class com.google.javascript.jscomp.CheckTypeImportCodeReferences
- TYPE_IMPORT_CODE_REFERENCES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- TYPE_INVALIDATION - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- TYPE_PREDICATE - com.google.javascript.jscomp.parsing.TypeTransformationParser.OperationKind
- typeA - Variable in class com.google.javascript.rhino.jstype.JSType.TypePair
- typeB - Variable in class com.google.javascript.rhino.jstype.JSType.TypePair
- TypeCheck - Class in com.google.javascript.jscomp
-
Checks the types of JS expressions against any declared type information.
- TypeCheck(AbstractCompiler, ReverseAbstractInterpreter, JSTypeRegistry) - Constructor for class com.google.javascript.jscomp.TypeCheck
- TypeCheck(AbstractCompiler, ReverseAbstractInterpreter, JSTypeRegistry, TypedScope, TypedScopeCreator) - Constructor for class com.google.javascript.jscomp.TypeCheck
- typed() - Method in class com.google.javascript.jscomp.AbstractScope
- typed() - Method in class com.google.javascript.jscomp.TypedScope
- TYPED - com.google.javascript.jscomp.CodePrinter.Format
- 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, String) - 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
- TypedScope - Class in com.google.javascript.jscomp
-
TypedScope contains information about variables and their types.
- TypedVar - Class in com.google.javascript.jscomp
-
AbstractVar
subclass for use withTypedScope
. - TYPEEXPR - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- TypeMatchingStrategy - Enum in com.google.javascript.jscomp
-
The different strategies for matching the
JSType
of nodes. - TypeMatchingStrategy.MatchResult - Enum in com.google.javascript.jscomp
-
The result of comparing two different
JSType
instances. - TypeMismatch - Class in com.google.javascript.jscomp
-
Signals that the first type and the second type have been used interchangeably.
- TypeMismatch() - Constructor for class com.google.javascript.jscomp.TypeMismatch
- typeof(Node) - Static method in class com.google.javascript.rhino.IR
- TYPEOF - com.google.javascript.jscomp.parsing.parser.Keywords
- TYPEOF - com.google.javascript.jscomp.parsing.parser.TokenType
- TYPEOF - com.google.javascript.rhino.Token
- TYPEOFVAR - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- TypePair(JSType, JSType) - Constructor for class com.google.javascript.rhino.jstype.JSType.TypePair
- TypePoolCreator<T> - Class in com.google.javascript.rhino.serialization
-
Class that aids in building a pool of serialized types
- TypePosition() - Constructor for class com.google.javascript.rhino.JSDocInfo.TypePosition
- typeRequires - Variable in class com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo
- TYPES_ONLY - com.google.javascript.jscomp.parsing.Config.JsDocParsing
- TYPESCRIPT - Static variable in class com.google.javascript.jscomp.parsing.parser.FeatureSet
- typeToPointer(T, Supplier<Type>) - Method in class com.google.javascript.rhino.serialization.TypePoolCreator
-
Returns the type-pointer for the given AST-type, adding it to the type-pool if not present.
- 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
- TYPEVAR_PREDICATE - com.google.javascript.jscomp.parsing.TypeTransformationParser.OperationKind
U
- UNARY_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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
- UNCOND - com.google.javascript.jscomp.ControlFlowGraph.Branch
-
Unconditional branch.
- UNDEFINED_NAMES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- UNDEFINED_TYPE - com.google.javascript.rhino.Token
- 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
- UNDERSCORE_DIAGNOSTICS - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
- UNDETERMINED - com.google.javascript.jscomp.NodeUtil.ValueType
- 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.
- UNESCAPED_UNICODE_LINE_OR_PARAGRAPH_SEP - com.google.javascript.jscomp.parsing.parser.FeatureSet.Feature
- UNEXPECTED_DESTRUCTURING_REST_PARAMETER - Static variable in class com.google.javascript.jscomp.Es6RewriteDestructuring
- union() - Method in class com.google.javascript.jscomp.colors.Color
- 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(E, E) - Method in class com.google.javascript.jscomp.graph.StandardUnionFind
- union(E, E) - Method in interface com.google.javascript.jscomp.graph.UnionFind
-
Unions the equivalence classes of
a
andb
and returns the representative of the resulting equivalence class. - UNION - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- UNION_TYPE - com.google.javascript.rhino.Token
- UnionFind<E> - Interface in com.google.javascript.jscomp.graph
-
Union-Find is a classical algorithm used to find connected components in graph theory.
- unionType(Node.TypeDeclarationNode...) - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
- 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 - Class in com.google.javascript.rhino.jstype
-
A type that may be any one of a set of types, and thus has the intersection of the properties of those types.
- UnionType.Builder - Class in com.google.javascript.rhino.jstype
-
Implements type unioning logic, since
UnionType
s only actually need to perform unioning operations when being (re)built. - UniqueIdSupplier - Class in com.google.javascript.jscomp
-
Generates unique String Ids when requested via a compiler instance.
- UNKNOWN - com.google.javascript.jscomp.colors.NativeColorId
- UNKNOWN - com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo.ModuleType
- UNKNOWN - com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
- UNKNOWN - com.google.javascript.rhino.jstype.JSTypeRegistry.PropDefinitionKind
- UNKNOWN - com.google.javascript.rhino.jstype.TernaryValue
-
unknown
, it represents lack of knowledge about whether this value istrue
orfalse
. - UNKNOWN_DEFINES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- UNKNOWN_REQUIRE_ENSURE - Static variable in class com.google.javascript.jscomp.ProcessCommonJSModules
- UNKNOWN_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- UnknownFormatConversionException - Exception in com.google.javascript.jscomp.parsing.parser.util.format
- UnknownFormatConversionException(String) - Constructor for exception com.google.javascript.jscomp.parsing.parser.util.format.UnknownFormatConversionException
- UnknownType - Class in com.google.javascript.rhino.jstype
-
The
Unknown
type. - UNNECESSARY_ESCAPE - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- UNRECOGNIZED_TYPE_ERROR - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- unregisterPropertyOnType(String, JSType) - Method in class com.google.javascript.rhino.jstype.JSTypeRegistry
-
Removes the index's reference to a property on the given type (if it is currently registered).
- unresolvedModule(UnresolvedModule) - Method in class com.google.javascript.jscomp.modules.Module.Builder
- UNSIGNED_RIGHT_SHIFT - com.google.javascript.jscomp.parsing.parser.TokenType
- UNSIGNED_RIGHT_SHIFT_EQUAL - com.google.javascript.jscomp.parsing.parser.TokenType
- UNSTRANSPILABLE_FEATURES - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- UNSUPPORTED - com.google.javascript.jscomp.CompilerOptions.LanguageMode
-
For testing only.
- UNSUPPORTED - com.google.javascript.jscomp.parsing.Config.LanguageMode
- UNTRANSPILABLE_FEATURE_PRESENT - Static variable in class com.google.javascript.jscomp.MarkUntranspilableFeaturesAsRemoved
- untyped() - Method in class com.google.javascript.jscomp.AbstractScope
- untyped() - Method in class com.google.javascript.jscomp.Scope
- 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
- update(AbstractCompiler, Node, Node) - Static method in class com.google.javascript.jscomp.GatherGetterAndSetterProperties
-
Gathers all getters and setters in the AST.
- UPDATE_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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.
- URL - com.google.debugging.sourcemap.SourceMapSection.SectionType
- URSH - com.google.javascript.rhino.Token
- USE_GLOBAL_TEMP - com.google.javascript.jscomp.CompilerOptions.ExtractPrototypeMemberDeclarationsMode
- USE_IIFE - com.google.javascript.jscomp.CompilerOptions.ExtractPrototypeMemberDeclarationsMode
- 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
- usesClosure() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
-
Whether this file uses Closure Library at all.
- usesClosure(boolean) - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata.Builder
- usesImplicitMatch() - Method in class com.google.javascript.rhino.JSDocInfo
-
Returns whether the
@record
annotation is present on thisJSDocInfo
. - useSourceInfoFrom(Node) - Method in class com.google.javascript.rhino.Node
-
Overwrite all the source information in this node with that of
other
. - useSourceInfoFromForTree(Node) - Method in class com.google.javascript.rhino.Node
-
Overwrite all the source information in this node and its subtree with that of
other
. - useSourceInfoIfMissingFrom(Node) - Method in class com.google.javascript.rhino.Node
-
Overwrite all the source information in this node with that of
other
iff the source info is missing. - useSourceInfoIfMissingFromForTree(Node) - Method in class com.google.javascript.rhino.Node
-
Overwrite all the source information in this node and its subtree with that of
other
iff the source info is missing. - UTF8_BOM_CODE - Static variable in class com.google.javascript.jscomp.CommandLineRunner
- Util - Class in com.google.debugging.sourcemap
V
- V3 - com.google.debugging.sourcemap.SourceMapFormat
-
V3: A nice compact format
- V3 - com.google.javascript.jscomp.SourceMap.Format
- validate(boolean) - Method in interface com.google.debugging.sourcemap.SourceMapGenerator
-
Whether to perform additional validation on the source map.
- validate(boolean) - Method in class com.google.debugging.sourcemap.SourceMapGeneratorV3
- validate(boolean) - Method in class com.google.javascript.jscomp.SourceMap
- validateBrowserFeaturesetYearFlag(Integer) - Method in class com.google.javascript.jscomp.AbstractCommandLineRunner
-
Validates whether --browser_featureset_year input value is legal
- validateBrowserFeaturesetYearOption(Integer) - Method in class com.google.javascript.jscomp.CompilerOptions
-
Validates whether browser featureset year option is legal
- 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
-
Validates a statement node and its children.
- validateStatements(Node) - Method in class com.google.javascript.jscomp.AstValidator
- value - Variable in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDiGraphEdge
- value - Variable in class com.google.javascript.jscomp.graph.LinkedDirectedGraph.LinkedDiGraphNode
- 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_TYPES - com.google.javascript.rhino.jstype.JSTypeNative
-
(number,string,boolean,symbol)
- valueOf() - Method in class com.google.javascript.rhino.Node.SideEffectFlags
- valueOf(String) - Static method in enum com.google.debugging.sourcemap.SourceMapFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.debugging.sourcemap.SourceMapSection.SectionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig.ErrorFormatOption
-
Returns the enum constant of this type with the specified name.
- 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.AbstractCompiler.LifeCycleStage
-
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.AssertionFunctionSpec.AssertionKind
-
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.colors.NativeColorId
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CommandLineRunner.FormattingOption
-
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.CompilerInput.ModuleType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CompilerOptions.DevMode
-
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.Es6ModuleTranspilation
-
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.InstrumentOption
-
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.OutputJs
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.CompilerOptions.PropertyCollapseLevel
-
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.DependencyOptions.DependencyMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.deps.DependencyInfo.Require.Type
-
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.JsFileFullParser.FileInfo.ModuleType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.deps.ModuleLoader.PathEscaper
-
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.ImplicitNullabilityCheck.Nullability
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.instrumentation.CoverageInstrumentationPass.CoverageReach
-
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.lint.CheckProvidesSorted.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.lint.CheckRequiresSorted.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.NodeUtil.ValueType
-
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.PolymerExportPolicy
-
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.RewriteGoogJsImports.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.ShowByPathWarningsGuard.ShowType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.SourceExcerptProvider.SourceExcerpt
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.SourceMap.DetailLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.SourceMap.Format
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.type.Outcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.jscomp.TypeMatchingStrategy.MatchResult
-
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.ClosurePrimitive
-
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.HasPropertyKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.rhino.jstype.JSType.Nullability
-
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.JSTypeRegistry.PropDefinitionKind
-
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(String) - Static method in enum com.google.javascript.rhino.Outcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.rhino.serialization.SerializationOptions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.javascript.rhino.StaticSourceFile.SourceKind
-
Returns the enum constant of this type with the specified name.
- 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.debugging.sourcemap.SourceMapFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.debugging.sourcemap.SourceMapSection.SectionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig.ErrorFormatOption
-
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.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.AbstractCompiler.LifeCycleStage
-
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.AssertionFunctionSpec.AssertionKind
-
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.colors.NativeColorId
-
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.CommandLineRunner.FormattingOption
-
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.CompilerInput.ModuleType
-
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.DevMode
-
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.Es6ModuleTranspilation
-
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.InstrumentOption
-
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.OutputJs
-
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.PropertyCollapseLevel
-
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.DependencyOptions.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.deps.DependencyInfo.Require.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.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.JsFileFullParser.FileInfo.ModuleType
-
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.PathEscaper
-
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.ImplicitNullabilityCheck.Nullability
-
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.instrumentation.CoverageInstrumentationPass.CoverageReach
-
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.lint.CheckProvidesSorted.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.lint.CheckRequiresSorted.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.modules.ModuleMetadataMap.ModuleType
-
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.NodeUtil.ValueType
-
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.PolymerExportPolicy
-
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.RewriteGoogJsImports.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.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.type.Outcome
-
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.MatchResult
-
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.ClosurePrimitive
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class com.google.javascript.rhino.HamtPMap
-
Returns an iterable for a (possibly null) tree.
- 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.HasPropertyKind
-
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.Nullability
-
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.JSTypeRegistry.PropDefinitionKind
-
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.Outcome
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in interface com.google.javascript.rhino.PMap
-
Returns an iterable for the values in this map.
- values() - Static method in enum com.google.javascript.rhino.serialization.SerializationOptions
-
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.StaticSourceFile.SourceKind
-
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(Node) - Static method in class com.google.javascript.rhino.IR
- var(Node, Node) - Static method in class com.google.javascript.rhino.IR
- Var - Class in com.google.javascript.jscomp
-
Used by
Scope
to store information about variables. - VAR - com.google.javascript.jscomp.parsing.parser.Keywords
- VAR - com.google.javascript.jscomp.parsing.parser.TokenType
- VAR - com.google.javascript.rhino.Token
- VAR - Static variable in class com.google.javascript.jscomp.lint.CheckVar
- VARIABLE_DECLARATION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- VARIABLE_DECLARATION_LIST - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- VARIABLE_STATEMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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) - 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.
- VariableMap(Map<String, String>) - Constructor for class com.google.javascript.jscomp.VariableMap
- 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
- VERBOSE - com.google.javascript.jscomp.WarningLevel
- version() - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Returns a string representation suitable for use in polyfill definition files and encoding in depgraph and deps.js files.
- versionForDebugging() - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Returns a string representation useful for debugging.
- VIOLATED_MODULE_DEP - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- VIOLATION - com.google.javascript.jscomp.ConformanceRules.ConformanceLevel
- 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 - Variable in class com.google.javascript.jscomp.deps.JsFileFullParser.FileInfo
- VISIBILITY - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- visit(NodeTraversal, Node, ModuleMetadataMap.ModuleMetadata, Node) - Method in class com.google.javascript.jscomp.CheckMissingRequires
- visit(NodeTraversal, Node, ModuleMetadataMap.ModuleMetadata, Node) - Method in class com.google.javascript.jscomp.ClosureCheckModule
- visit(NodeTraversal, Node, ModuleMetadataMap.ModuleMetadata, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractModuleCallback
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.CheckConformance
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.CheckTypeImportCodeReferences
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.ChromePass
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.ControlFlowAnalysis
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.CrossChunkReferenceCollector
-
For each node, update the block stack and reference collection as appropriate.
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.DartSuperAccessorsPass
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6CheckModule
- 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.Es6ForOfConverter
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6NormalizeShorthandProperties
- 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.Es6RewriteBlockScopedFunctionDeclaration
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteClass
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteClassExtendsExpressions
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteDestructuring
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteModules
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6RewriteRestAndSpread
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es6SplitVariableDeclarations
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.Es7RewriteExponentialOperator
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.FindModuleDependencies
- 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.InjectTranspilationRuntimeLibraries
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.instrumentation.BranchCoverageInstrumentationCallback
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.J2clAssertRemovalPass
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.J2clChecksPass
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.J2clUtilGetDefineRewriterPass
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.JsMessageVisitor
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.LateEs6ToEs3Converter
- 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.CheckConstantCaseNames
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckDefaultExportOfGoogModule
- 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.CheckEs6Modules
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckExtraRequires
- 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.CheckNoMutatedEs6Exports
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckNullabilityModifiers
- 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.CheckProvidesSorted
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.lint.CheckRequiresSorted
- 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.lint.CheckVar
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.MarkUntranspilableFeaturesAsRemoved
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.modules.EsModuleProcessor
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.NodeTraversal.AbstractModuleCallback
- visit(NodeTraversal, Node, Node) - Method in interface com.google.javascript.jscomp.NodeTraversal.AbstractPostOrderCallbackInterface
- 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).
- 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.RewriteAsyncIteration
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.RewriteJsonToModule
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.RewriteNullishCoalesceOperator
- visit(NodeTraversal, Node, Node) - Method in class com.google.javascript.jscomp.RewriteObjectSpread
- 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.BigIntType
- 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.SymbolType
- visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.TemplateType
- visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.TemplatizedType
- visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.UnionType
- visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.UnknownType
- visit(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.VoidType
- visit(Node) - Method in interface com.google.javascript.jscomp.NodeUtil.Visitor
- visit(String, String, FilePosition, FilePosition, FilePosition) - Method in interface com.google.debugging.sourcemap.SourceMapConsumerV3.EntryVisitor
- visitMappings(SourceMapConsumerV3.EntryVisitor) - Method in class com.google.debugging.sourcemap.SourceMapConsumerV3
- Visitor<T> - Interface in com.google.javascript.rhino.jstype
-
A vistor for
JSType
s. - Visitor.WithDefaultCase<T> - Class in com.google.javascript.rhino.jstype
-
A type visitor with a default behaviour.
- visitPostOrder(Node, NodeUtil.Visitor) - Static method in class com.google.javascript.jscomp.NodeUtil
-
A post-order traversal, calling Visitor.visit for each decendent.
- visitPostOrder(Node, NodeUtil.Visitor, Predicate<Node>) - Static method in class com.google.javascript.jscomp.NodeUtil
-
A post-order traversal, calling Visitor.visit for each node in the tree.
- 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 node in the tree.
- visitReferenceType(Visitor<T>) - Method in class com.google.javascript.rhino.jstype.ProxyObjectType
- VOID - com.google.javascript.jscomp.NodeUtil.ValueType
- VOID - com.google.javascript.jscomp.parsing.parser.Keywords
- VOID - com.google.javascript.jscomp.parsing.parser.TokenType
- VOID - com.google.javascript.rhino.Token
- VOID_TYPE - com.google.javascript.rhino.jstype.JSTypeNative
- VOID_TYPE - com.google.javascript.rhino.Token
- voidNode(Node) - Static method in class com.google.javascript.rhino.IR
- voidType() - Static method in class com.google.javascript.rhino.TypeDeclarationsIR
- VoidType - Class in com.google.javascript.rhino.jstype
-
Void type whose only element is the
undefined
value.
W
- warning(String, String) - Static method in class com.google.javascript.jscomp.DiagnosticType
-
Create a DiagnosticType at level CheckLevel.WARNING
- warning(String, String, int, int) - Method in interface com.google.javascript.rhino.ErrorReporter
-
Report a warning.
- warning(String, String, int, int) - Method in class com.google.javascript.rhino.SimpleErrorReporter
- Warning - Class in com.google.javascript.jscomp.ant
-
Simple representation of a warning flag in Ant
- Warning() - Constructor for class com.google.javascript.jscomp.ant.Warning
- WARNING - com.google.javascript.jscomp.CheckLevel
- WARNING - com.google.javascript.jscomp.CheckLevelLegacy
- 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
- warnings() - Method in exception com.google.javascript.jscomp.bundle.TranspilationException
- 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
- WEAK - com.google.javascript.rhino.StaticSourceFile.SourceKind
-
A file whose contents are necessary for type checking only.
- WEAK_MODULE_NAME - Static variable in class com.google.javascript.jscomp.JSModule
- WEAKDEP - com.google.javascript.jscomp.AbstractCommandLineRunner.JsSourceType
- weaklyRequiredGoogNamespaces() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata
-
Closure namespaces this file weakly requires, i.e., arguments to goog.requireType calls.
- weaklyRequiredGoogNamespacesBuilder() - Method in class com.google.javascript.jscomp.modules.ModuleMetadataMap.ModuleMetadata.Builder
- WEBPACK - com.google.javascript.jscomp.deps.ModuleLoader.ResolutionMode
-
Uses a lookup map provided by webpack to locate modules from a numeric id used during import
- WebpackModuleResolver - Class in com.google.javascript.jscomp.deps
-
Resolution algorithm for Webpack.
- WebpackModuleResolver(ImmutableSet<String>, ImmutableList<String>, Map<String, String>, ErrorHandler, ModuleLoader.PathEscaper) - Constructor for class com.google.javascript.jscomp.deps.WebpackModuleResolver
- WebpackModuleResolver.Factory - Class in com.google.javascript.jscomp.deps
-
Uses a lookup map provided by webpack to locate modules from a numeric id used during import
- WHEN_IN_SRCS - com.google.javascript.jscomp.deps.DepsGenerator.InclusionStrategy
- WHILE - com.google.javascript.jscomp.parsing.parser.Keywords
- WHILE - com.google.javascript.jscomp.parsing.parser.TokenType
- WHILE - com.google.javascript.rhino.Token
- WHILE_STATEMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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
- WHITESPACE_ONLY - com.google.javascript.jscomp.CompilationLevel
-
WHITESPACE_ONLY removes comments and extra whitespace in the input JS.
- 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.
- wildcardExcludedGroups - Static variable in class com.google.javascript.jscomp.DiagnosticGroups
- with(FeatureSet) - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Returns a feature set combining all the features from
this
andnewFeatures
. - with(FeatureSet.Feature) - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Returns a feature set combining all the features from
this
andfeature
. - with(FeatureSet.Feature...) - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Returns a feature set combining all the features from
this
andnewFeatures
. - with(Set<FeatureSet.Feature>) - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Returns a feature set combining all the features from
this
andnewFeatures
. - WITH - com.google.javascript.jscomp.parsing.parser.Keywords
- WITH - com.google.javascript.jscomp.parsing.parser.TokenType
- WITH - com.google.javascript.rhino.Token
- WITH_STATEMENT - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- withBrowserResolverPrefixReplacements(ImmutableMap<String, String>) - Method in class com.google.javascript.jscomp.Linter.Builder
- withCharset(Charset) - Method in class com.google.javascript.jscomp.SourceFile.Builder
-
Set the charset to use when reading from an input stream or file.
- withClosurePrimitiveId(ClosurePrimitive) - Method in class com.google.javascript.rhino.jstype.FunctionType.Builder
-
Sets the
ClosurePrimitive
corresponding to this function - withCompilerOptions(CompilerOptions) - Method in class com.google.javascript.refactoring.RefactoringDriver.Builder
- withConstructorTemplateKeys(Iterable<TemplateType>) - Method in class com.google.javascript.rhino.jstype.FunctionType.Builder
-
Specifies a subset of the template keys that only apply to the constructor, and should be removed from the instance type.
- WithDefaultCase() - Constructor for class com.google.javascript.rhino.jstype.Visitor.WithDefaultCase
- withEs6ModuleTranspiler(Transpiler) - Method in class com.google.javascript.jscomp.deps.ClosureBundler
- withInferredReturnType(JSType) - Method in class com.google.javascript.rhino.jstype.FunctionType.Builder
-
Sets an inferred return type.
- withIsAbstract(boolean) - Method in class com.google.javascript.rhino.jstype.FunctionType.Builder
-
Mark abstract method.
- withKind(StaticSourceFile.SourceKind) - Method in class com.google.javascript.jscomp.SourceFile.Builder
-
Set the source kind.
- withModuleResolutionMode(ModuleLoader.ResolutionMode) - Method in class com.google.javascript.jscomp.Linter.Builder
- withName(String) - Method in class com.google.javascript.rhino.jstype.FunctionType.Builder
-
Set the name of the function type.
- withOriginalPath(String) - Method in class com.google.javascript.jscomp.SourceFile.Builder
- without(FeatureSet) - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
- without(FeatureSet.Feature, FeatureSet.Feature...) - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
- withoutSource() - Static method in class com.google.javascript.jscomp.LightweightMessageFormatter
- withoutTypes() - Method in class com.google.javascript.jscomp.parsing.parser.FeatureSet
- withParameters() - Method in class com.google.javascript.rhino.jstype.FunctionType.Builder
-
Set the function to take zero parameters.
- withParameters(List<FunctionType.Parameter>) - Method in class com.google.javascript.rhino.jstype.FunctionType.Builder
-
Set the parameters of the function type.
- withPath(String) - Method in class com.google.javascript.jscomp.deps.ClosureBundler
- withPrototypeBasedOn(ObjectType) - Method in class com.google.javascript.rhino.jstype.FunctionType.Builder
-
Set the prototype property of a constructor.
- withReturnType(JSType) - Method in class com.google.javascript.rhino.jstype.FunctionType.Builder
-
Set the return type.
- withReturnType(JSType, boolean) - Method in class com.google.javascript.rhino.jstype.FunctionType.Builder
-
Set the return type and whether it's inferred.
- withSourceNode(Node) - Method in class com.google.javascript.rhino.jstype.FunctionType.Builder
-
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
- withSymbol(String) - Method in class com.google.javascript.jscomp.deps.DependencyInfo.Require
- withSyntacticScope(StaticTypedScope) - Method in interface com.google.javascript.jscomp.type.FlowScope
-
Returns a flow scope with the given syntactic scope, which may be required to be a specific subclass, such as TypedScope.
- withTemplateKeys(ImmutableList<TemplateType>) - Method in class com.google.javascript.rhino.jstype.FunctionType.Builder
-
Set the template name.
- withTemplateKeys(TemplateType...) - Method in class com.google.javascript.rhino.jstype.FunctionType.Builder
-
Set the template name.
- withTranspiler(Transpiler) - Method in class com.google.javascript.jscomp.deps.ClosureBundler
- withTranspilers(Transpiler, Transpiler) - Method in class com.google.javascript.jscomp.deps.ClosureBundler
- withTypeOfThis(JSType) - Method in class com.google.javascript.rhino.jstype.FunctionType.Builder
-
Set the "this" type.
- WIZ_PASS - Static variable in class com.google.javascript.jscomp.PassNames
- writeAddDependency(Appendable, DependencyInfo) - Static method in class com.google.javascript.jscomp.deps.DependencyInfo.Util
-
Prints a goog.addDependency call for a single DependencyInfo.
- writeAllowlist(File) - Method in class com.google.javascript.jscomp.AllowlistWarningsGuard.AllowlistBuilder
-
Writes the warnings collected in a format that the AllowlistWarningsGuard can read back later.
- writeInvalidationsInto(Multimap<JSType, Node>) - Method in class com.google.javascript.jscomp.InvalidatingTypes.Builder
- WRONG_NUMBER_OF_PARAMS - Static variable in class com.google.javascript.jscomp.lint.CheckJSDocStyle
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
ofthis
andthat
. - XtbMessageBundle - Class in com.google.javascript.jscomp
-
A MessageBundle that parses messages from an XML Translation Bundle (XTB) file.
- XtbMessageBundle(InputStream, String) - Constructor for class com.google.javascript.jscomp.XtbMessageBundle
-
Creates an instance and initializes it with the messages in an XTB file.
- XtbMessageBundle(InputStream, String, boolean) - Constructor for class com.google.javascript.jscomp.XtbMessageBundle
Y
- yield() - Static method in class com.google.javascript.rhino.IR
- yield(Node) - Static method in class com.google.javascript.rhino.IR
- YIELD - com.google.javascript.jscomp.parsing.parser.Keywords
- YIELD - com.google.javascript.jscomp.parsing.parser.TokenType
- YIELD - com.google.javascript.rhino.Token
- YIELD_ALL - Static variable in class com.google.javascript.rhino.Node
- YIELD_EXPRESSION - com.google.javascript.jscomp.parsing.parser.trees.ParseTreeType
- 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
All Classes All Packages