java.lang.String name
Node nameNode
CompilerInput input
int index
com.google.javascript.jscomp.AbstractScope<S extends com.google.javascript.jscomp.AbstractScope<S,V>,V extends AbstractVar<S,V>> scope
java.util.List<E> paths
boolean include
int priority
CheckLevel level
com.google.common.collect.ImmutableSet<E> indirectlyDeclaredProperties
com.google.common.collect.ImmutableSet<E> indirectlyDeclaredProperties
com.google.common.collect.ImmutableSet<E> propertyTestFunctions
CodingConvention nextConvention
JSModule module
InputId id
SourceAst ast
DependencyInfo dependencyInfo
java.util.List<E> extraRequires
java.util.List<E> extraProvides
java.util.List<E> orderedRequires
java.util.List<E> dynamicRequires
boolean hasFullParseDependencyInfo
CompilerInput.ModuleType jsModuleType
@GwtIncompatible(value="ObjectInputStream") private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
@GwtIncompatible(value="ObjectOutputStream") private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
com.google.common.base.Optional<T> emitUseStrict
CompilerOptions.LanguageMode languageIn
com.google.common.base.Optional<T> outputFeatureSet
com.google.common.base.Optional<T> languageOutIsDefaultStrict
boolean skipUnsupportedPasses
At the moment, this should only ever be set to false for testing.
CompilerOptions.Environment environment
boolean instrumentForCoverageOnly
boolean inferConsts
boolean assumeStrictThis
boolean allowHotswapReplaceScript
boolean preserveDetailedSourceInfo
boolean continueAfterErrors
CompilerOptions.IncrementalCheckMode incrementalCheckMode
Config.JsDocParsing parseJsDocDocumentation
boolean printExterns
boolean inferTypes
boolean skipNonTranspilationPasses
CompilerOptions.DevMode devMode
boolean checkDeterminism
DependencyOptions dependencyOptions
MessageBundle messageBundle
boolean checkSymbols
boolean checkSuspiciousCode
boolean checkTypes
CheckLevel checkGlobalNamesLevel
CheckLevel brokenClosureRequiresLevel
CheckLevel checkGlobalThisLevel
CheckLevel checkMissingGetCssNameLevel
java.lang.String checkMissingGetCssNameBlacklist
java.util.Set<E> extraAnnotationNames
boolean legacyCodeCompile
int numParallelThreads
boolean aggressiveFusion
boolean foldConstants
boolean deadAssignmentElimination
boolean inlineConstantVars
int maxFunctionSizeAfterInlining
boolean assumeClosuresOnlyCaptureReferences
boolean inlineProperties
boolean crossChunkCodeMotion
boolean crossChunkCodeMotionNoStubMethods
boolean parentChunkCanSeeSymbolsDeclaredInChildren
boolean coalesceVariableNames
boolean crossChunkMethodMotion
boolean inlineGetters
boolean inlineVariables
boolean inlineLocalVariables
boolean flowSensitiveInlineVariables
boolean smartNameRemoval
boolean extraSmartNameRemoval
boolean removeDeadCode
CompilerOptions.ExtractPrototypeMemberDeclarationsMode extractPrototypeMemberDeclarations
boolean removeUnusedPrototypeProperties
boolean removeUnusedPrototypePropertiesInExterns
boolean removeUnusedClassProperties
boolean removeUnusedConstructorProperties
boolean removeUnusedVars
boolean removeUnusedLocalVars
boolean collapseVariableDeclarations
boolean collapseAnonymousFunctions
java.util.Set<E> aliasableStrings
java.lang.String aliasStringsBlacklist
boolean aliasAllStrings
boolean outputJsStringUsage
boolean convertToDottedProperties
boolean rewriteFunctionExpressions
boolean optimizeCalls
boolean optimizeArgumentsArray
boolean useTypesForLocalOptimization
boolean useSizeHeuristicToStopOptimizationLoop
int optimizationLoopMaxIterations
VariableRenamingPolicy variableRenaming
PropertyRenamingPolicy propertyRenaming
boolean labelRenaming
boolean reserveRawExports
boolean shadowVariables
boolean preferStableNames
boolean generatePseudoNames
java.lang.String renamePrefix
java.lang.String renamePrefixNamespace
boolean renamePrefixNamespaceAssumeCrossChunkNames
CompilerOptions.PropertyCollapseLevel collapsePropertiesLevel
boolean collapseObjectLiterals
boolean devirtualizePrototypeMethods
boolean computeFunctionSideEffects
java.lang.String debugFunctionSideEffectsPath
boolean disambiguatePrivateProperties
boolean disambiguateProperties
boolean ambiguateProperties
com.google.common.collect.ImmutableMap<K,V> inputSourceMaps
AnonymousFunctionNamingPolicy anonymousFunctionNaming
VariableMap inputAnonymousFunctionNamingMap
VariableMap inputVariableMap
During renaming, the compiler uses this map and the inputPropertyMap to try to preserve renaming mappings from a previous compilation. The application is delta encoding: keeping the diff between consecutive versions of one's code small. The compiler does NOT guarantee to respect these maps; projects should not use these maps to prevent renaming or to select particular names. Point questioners to this post: http://closuretools.blogspot.com/2011/01/property-by-any-other-name-part-3.html
VariableMap inputPropertyMap
boolean exportTestFunctions
boolean declaredGlobalExternsOnWindow
com.google.javascript.jscomp.NameGenerator nameGenerator
boolean replaceMessagesWithChromeI18n
java.lang.String tcProjectId
boolean runtimeTypeCheck
java.lang.String runtimeTypeCheckLogFunction
CodingConvention codingConvention
java.lang.String syntheticBlockStartMarker
java.lang.String syntheticBlockEndMarker
java.lang.String locale
boolean markAsCompiled
boolean closurePass
boolean preserveClosurePrimitives
boolean angularPass
java.lang.Integer polymerVersion
PolymerExportPolicy polymerExportPolicy
boolean chromePass
boolean dartPass
CompilerOptions.J2clPassMode j2clPassMode
boolean removeAbstractMethods
boolean removeClosureAsserts
boolean removeJ2clAsserts
boolean gatherCssNames
java.util.Set<E> stripTypes
java.util.Set<E> stripNameSuffixes
java.util.Set<E> stripNamePrefixes
java.util.Set<E> stripTypePrefixes
boolean markNoSideEffectCalls
java.util.Map<K,V> defineReplacements
CompilerOptions.TweakProcessing tweakProcessing
java.util.Map<K,V> tweakReplacements
boolean moveFunctionDeclarations
Instrumentation instrumentationTemplate
java.lang.String appNameStr
boolean recordFunctionInformation
boolean checksOnly
CompilerOptions.OutputJs outputJs
boolean generateExports
boolean generateExportsAfterTypeChecking
boolean exportLocalPropertyDefinitions
CssRenamingMap cssRenamingMap
java.util.Set<E> cssRenamingWhitelist
boolean processObjectPropertyString
boolean replaceIdGenerators
com.google.common.collect.ImmutableMap<K,V> idGenerators
Xid.HashFunction xidHashFunction
java.lang.String idGeneratorsMapSerialized
java.util.List<E> replaceStringsFunctionDescriptions
java.lang.String replaceStringsPlaceholderToken
java.util.Set<E> replaceStringsReservedStrings
VariableMap replaceStringsInputMap
java.util.Map<K,V> propertyInvalidationErrors
boolean transformAMDToCJSModules
boolean processCommonJSModules
java.util.List<E> moduleRoots
boolean rewritePolyfills
java.util.List<E> forceLibraryInjection
boolean preventLibraryInjection
boolean assumeForwardDeclaredForMissingTypes
boolean preserveTypeAnnotations
boolean prettyPrint
boolean lineBreak
boolean preferLineBreakAtEndOfFile
boolean printInputDelimiter
java.lang.String inputDelimiter
boolean quoteKeywordProperties
boolean preferSingleQuotes
boolean trustedStrings
boolean allowMethodCallDecomposing
boolean printSourceAfterEachPass
java.util.List<E> filesToPrintAfterEachPassRegexList
java.util.List<E> chunksToPrintAfterEachPassRegexList
CompilerOptions.TracerMode tracer
java.io.PrintStream tracerOutput
boolean colorizeErrorOutput
ErrorFormat errorFormat
ComposeWarningsGuard warningsGuard
int summaryDetailLevel
int lineLengthThreshold
boolean useOriginalNamesInOutput
boolean externExports
Result
after
compilation. This is implicitly true if CompilerOptions.externExportsPath
is set.java.lang.String externExportsPath
java.util.List<E> extraReportGenerators
java.lang.String sourceMapOutputPath
SourceMap.DetailLevel sourceMapDetailLevel
SourceMap.Format sourceMapFormat
boolean parseInlineSourceMaps
boolean applyInputSourceMaps
boolean resolveSourceMapAnnotations
java.util.List<E> sourceMapLocationMappings
boolean sourceMapIncludeSourcesContent
boolean enforceAccessControlCodingConventions
boolean protectHiddenSideEffects
boolean instrumentForCoverage
boolean instrumentBranchCoverage
java.lang.String instrumentationTemplateFile
com.google.common.collect.ImmutableList<E> conformanceConfigs
The first entry of this list is always the Global ConformanceConfig
boolean wrapGoogModulesForWhitespaceOnly
CompilationLevel.WHITESPACE_ONLY
mode, when using goog.module.boolean printConfig
com.google.common.base.Optional<T> isStrictModeInput
ModuleLoader.ResolutionMode moduleResolutionMode
com.google.common.collect.ImmutableMap<K,V> browserResolverPrefixReplacements
ModuleLoader.ResolutionMode.BROWSER_WITH_TRANSFORMED_PREFIXES
.ModuleLoader.PathEscaper pathEscaper
java.util.List<E> packageJsonEntryNames
CompilerOptions.Reach inlineFunctionsLevel
CompilerOptions.Es6ModuleTranspilation es6ModuleTranspilation
java.util.Map<K,V> orderOfAddition
int numberOfAdds
java.util.Comparator<T> guardComparator
boolean demoteErrors
java.util.TreeSet<E> guards
java.util.List<E> requirement_
byte memoizedIsInitialized
boolean sortDependencies
boolean pruneDependencies
boolean dropMoochers
java.util.Set<E> entryPoints
com.google.common.collect.ImmutableSet<E> types
java.lang.String name
java.lang.String part
DiagnosticGroup group
CheckLevel level
java.lang.String key
java.text.MessageFormat format
CheckLevel level
AbstractCompiler compiler
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
java.io.ObjectStreamException
com.google.protobuf.UnknownFieldSet unknownFields
java.util.List<E> entry_
java.util.List<E> module_
byte memoizedIsInitialized
int memoizedSerializedSize
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
java.io.ObjectStreamException
com.google.protobuf.UnknownFieldSet unknownFields
int bitField0_
int id_
java.lang.Object sourceName_
int lineNumber_
java.lang.Object moduleName_
int size_
java.lang.Object name_
java.lang.Object compiledSource_
byte memoizedIsInitialized
int memoizedSerializedSize
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
java.io.ObjectStreamException
com.google.protobuf.UnknownFieldSet unknownFields
int bitField0_
java.lang.Object name_
java.lang.Object compiledSource_
byte memoizedIsInitialized
int memoizedSerializedSize
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
java.io.ObjectStreamException
com.google.protobuf.UnknownFieldSet unknownFields
int bitField0_
java.lang.Object reportDefined_
java.lang.Object reportCall_
java.lang.Object reportExit_
com.google.protobuf.LazyStringList declarationToRemove_
com.google.protobuf.LazyStringList init_
java.lang.Object appNameSetter_
byte memoizedIsInitialized
int memoizedSerializedSize
@GwtIncompatible(value="ObjectinputStream") private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
InputId inputId
SourceFile sourceFile
java.lang.String fileName
Node root
FeatureSet features
com.google.common.collect.ImmutableList<E> errors
com.google.common.collect.ImmutableList<E> warnings
java.lang.String message
java.lang.String sourceName
int line
int lineOffset
DiagnosticType type
java.lang.String description
java.lang.String sourceName
Node node
int lineNumber
CheckLevel defaultLevel
int charno
java.lang.String name
java.util.List<E> inputs
java.util.List<E> deps
int depth
int index
JSModule[] modules
java.util.BitSet[] selfPlusTransitiveDeps
int[] subtreeSize
java.util.List<E> modulesByDepth
modulesByDepth.get(3)
is a list of the modules at
depth 3, for example.java.util.Map<K,V> dependencyMap
If the cache returns null, then the entry hasn't been filled in for that module.
NOTE: JSModule has identity semantics so this map implementation is safe
DependencyInfo delegate
JsAst ast
com.google.common.collect.ImmutableMap<K,V> loadFlags
java.lang.String name
java.lang.String closureNamespace
java.lang.String moduleName
com.google.common.collect.ImmutableSet<E> firstChars
com.google.common.collect.ImmutableSet<E> nonFirstChars
java.util.Random random
com.google.common.collect.ImmutableSet<E> reservedNames
java.lang.String prefix
int nameCount
java.lang.String shuffledFirst
com.google.common.collect.ImmutableList<E> shuffledNonFirst
Node nameNode
com.google.javascript.jscomp.BasicBlock basicBlock
Scope scope
InputId inputId
java.util.List<E> references
int bitField0_
java.lang.Object errorMessage_
com.google.protobuf.LazyStringList whitelist_
com.google.protobuf.LazyStringList whitelistRegexp_
java.util.List<E> whitelistEntry_
com.google.protobuf.LazyStringList onlyApplyTo_
com.google.protobuf.LazyStringList onlyApplyToRegexp_
int type_
com.google.protobuf.LazyStringList value_
int typeMatchingStrategy_
java.lang.Object javaClass_
java.lang.Object ruleId_
java.lang.Object extends_
boolean reportLooseTypeViolations_
int severity_
byte memoizedIsInitialized
int bitField0_
int reason_
com.google.protobuf.LazyStringList prefix_
com.google.protobuf.LazyStringList regexp_
byte memoizedIsInitialized
ByPathWarningsGuard warningsGuard
@GwtIncompatible(value="ObjectInputStream") private void readObject(java.io.ObjectInputStream in) throws java.lang.Exception
java.lang.Exception
java.lang.String fileName
StaticSourceFile.SourceKind kind
java.lang.String originalPath
SourceFile sourceFile
java.util.Map<K,V> references
SymbolTable.SymbolScope scope
SymbolTable.SymbolScope propertyScope
SymbolTable.Reference declaration
JSDocInfo docInfo
JSDocInfo.Visibility visibility
SymbolTable.Symbol.docInfo
, because the visibility stored in JSDocInfo is notSymbolTable.SymbolScope docScope
InputId inputId
SourceFile sourceFile
Node root
TypedScope parent
int depth
boolean isBottom
JSType type
boolean markedEscaped
boolean markedAssignedExactlyOnce
boolean typeInferred
java.util.Set<E> whitelist
formatWarning
.com.google.common.collect.ImmutableList<E> errors
com.google.common.collect.ImmutableList<E> warnings
java.util.Map<K,V> elmap
CheckLevel level
com.google.common.collect.ImmutableSet<E> features
java.lang.String templateJs
TypeMatchingStrategy typeMatchingStrategy
Defaults to TypeMatchingStrategy.SUBTYPES
.
java.util.LinkedHashMap<K,V> templates
com.google.common.collect.ImmutableList<E> matchedTemplates
@GwtIncompatible private void readObject(java.io.ObjectInputStream in) throws java.lang.ClassNotFoundException, java.io.IOException
java.lang.ClassNotFoundException
java.io.IOException
@GwtIncompatible private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException
java.lang.Object key
int hash
java.lang.Object value
int mask
HamtPMap<K,V>[] children
java.lang.String id
com.google.javascript.rhino.JSDocInfo.LazilyInitializedInfo info
com.google.javascript.rhino.JSDocInfo.LazilyInitializedDocumentation documentation
JSDocInfo.Visibility visibility
int bitset
JSDocInfo.isConstant()
, JSDocInfo.isConstructor()
, JSDocInfo.isInterface()
,
JSDocInfo.isHidden()
and other flags as well as
whether the JSDocInfo.type
field stores a value for JSDocInfo.getType()
,
JSDocInfo.getReturnType()
or JSDocInfo.getEnumParameterType()
.JSTypeExpression type
JSDocInfo.getType()
, JSDocInfo.getReturnType()
or
JSDocInfo.getEnumParameterType()
. The knowledge of which one is recorded is
stored in the JSDocInfo.bitset
field.JSTypeExpression thisType
JSDocInfo.getThisType()
.boolean inlineType
boolean includeDocumentation
JSDocInfo.LazilyInitializedDocumentation
int originalCommentPosition
Node root
java.lang.String sourceName
@GwtIncompatible(value="ObjectInputStream") private void readObject(java.io.ObjectInputStream in) throws java.lang.Exception
java.lang.Exception
@GwtIncompatible(value="ObjectOutputStream") private void writeObject(java.io.ObjectOutputStream out) throws java.lang.Exception
java.lang.Exception
java.lang.String str
JSType primitiveType
LOCAL_CODES
enum
var LOCAL_CODES = {A: 3, B: 9, C: 8}the primitive type of the the constants is
number
.ObjectType primitiveObjectType
java.lang.String name
EnumType enumType
EnumElementType elementsType
java.util.Set<E> elements
com.google.javascript.rhino.jstype.FunctionType.ConstructorAmbiguity constructorAmbiguity
com.google.javascript.rhino.jstype.ArrowType call
[[Call]]
property.Property prototypeSlot
prototype
property. This field is lazily initialized by #getPrototype()
.
The most important reason for lazily initializing this field is that there are cycles in the
native types graph, so some prototypes must temporarily be null
during the construction
of the graph.
If non-null, the type must be a PrototypeObjectType.
com.google.javascript.rhino.jstype.FunctionType.Kind kind
com.google.javascript.rhino.jstype.FunctionType.PropAccess propAccess
JSType typeOfThis
this
in the scope of this function.Node source
null
.boolean isStructuralInterface
boolean isAbstract
com.google.common.collect.ImmutableList<E> implementedInterfaces
null
.com.google.common.collect.ImmutableList<E> extendedInterfaces
null
.CyclicSerializableLinkedHashSet<T> knownSubtypeCtors
This field is only applicable to ctor functions.
boolean resolved
JSType resolveResult
TemplateTypeMap templateTypeMap
boolean hashCodeInProgress
boolean inTemplatedCheckVisit
JSTypeRegistry registry
TemplateType iObjectIndexTemplateKey
IObject<KEY, VALUE>
(plus the builtin Javascript Object).TemplateType iObjectElementTemplateKey
IObject<KEY, VALUE>
(plus the builtin Javascript Object).TemplateType iterableTemplate
Iterable<VALUE>
TemplateType iteratorTemplate
Iterator<VALUE>
TemplateType generatorTemplate
Generator<VALUE>
TemplateType iThenableTemplateKey
IThenable<VALUE>
TemplateType promiseTemplateKey
Promise<TYPE>
TemplateType arrayElementTemplateKey
Array<T>
JSType[] nativeTypes
com.google.common.collect.Table<R,C,V> scopedNameTable
Node nameTableGlobalRoot
java.util.Set<E> nonNullableTypeNames
java.util.Map<K,V> typesIndexedByProperty
JSType sentinelObjectLiteral
java.util.Set<E> propertiesOfSupertypesInUnions
java.util.Set<E> droppedPropertiesOfUnions
java.util.Map<K,V> greatestSubtypeByProperty
java.util.List<E> unresolvedNamedTypes
TemplateTypeMap emptyTemplateTypeMap
java.lang.String reference
java.lang.String sourceName
int lineno
int charno
java.util.List<E> propertyContinuations
com.google.common.collect.ImmutableList<E> templateTypes
null
if none. These are
ignored during resolution, for backwards compatibility with existing usage. This field is not
used for JSCompiler's type checking; it is only needed by Clutz.StaticTypedScope resolutionScope
java.lang.String referenceName
null
if none.com.google.common.collect.ImmutableList<E> templateTypes
null
if none.
This field is not used for JSCompiler's type checking; it is only needed by Clutz.boolean visited
JSDocInfo docInfo
boolean unknown
java.lang.String name
JSType type
boolean inferred
Node propertyNode
JSDocInfo docInfo
java.lang.String className
com.google.javascript.rhino.jstype.PropertyMap properties
boolean nativeType
boolean anonymousType
ObjectType implicitPrototypeFallback
FunctionType ownerFunction
boolean prettyPrint
JSType referencedType
ObjectType referencedObjType
boolean declared
boolean isFrozen
java.lang.String name
JSType type
boolean inferred
java.lang.String name
Node typeTransformation
com.google.common.collect.ImmutableList<E> templateKeys
com.google.common.collect.ImmutableList<E> templateValues
JSType[] resolvedTemplateValues
boolean inRecursiveEquivalenceCheck
JSTypeRegistry registry
@GwtIncompatible(value="ObjectInputStream") private void readObject(java.io.ObjectInputStream in) throws java.lang.Exception
java.lang.Exception
com.google.common.collect.ImmutableList<E> templateTypes
boolean isSpecializedOnlyWithUnknown
com.google.common.collect.ImmutableList<E> alternatesRetainingStructuralSubtypes
com.google.common.collect.ImmutableList<E> alternatesCollapsingStructuralSubtypes
JSTypeRegistry registry
boolean structuralSubtypesAreCollapsed
int maxUnionSize
java.util.List<E> alternates
boolean containsVoidType
boolean isAllType
boolean isNativeUnknownType
boolean areAllUnknownsChecked
int functionTypePosition
JSType result
boolean isChecked
Copyright © 2009-2018 Google. All Rights Reserved.