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
@GwtIncompatible(value="ObjectInputStream") private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
@GwtIncompatible(value="ObjectOutputStream") private void writeObject(ObjectOutputStream out) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
com.google.common.base.Optional<T> emitUseStrict
CompilerOptions.LanguageMode languageIn
CompilerOptions.LanguageMode languageOut
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 useNewTypeInference
boolean runOTIafterNTI
boolean reportOTIErrorsUnderNTI
CompilerOptions.useNewTypeInference
is true, where we normally disable OTI errors.
If you want both NTI and OTI errors in this case, set to true.
E.g. if using using a warnings guard to filter NTI or OTI warnings in new or legacy code,
respectively.
This will be removed when NTI entirely replaces OTI.boolean typeCheckEs6Natively
LateEs6ToEs3Converter
pass
and Es6RewriteBlockScopedDeclaration
pass, which has the potential to break builds.
This option should eventually be turned on by default and removed.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
String checkMissingGetCssNameBlacklist
Set<E> extraAnnotationNames
boolean legacyCodeCompile
int numParallelThreads
boolean aggressiveFusion
boolean foldConstants
boolean deadAssignmentElimination
boolean inlineConstantVars
boolean inlineFunctions
int maxFunctionSizeAfterInlining
boolean inlineLocalFunctions
boolean assumeClosuresOnlyCaptureReferences
boolean inlineProperties
boolean crossModuleCodeMotion
boolean crossModuleCodeMotionNoStubMethods
boolean parentModuleCanSeeSymbolsDeclaredInChildren
boolean coalesceVariableNames
boolean crossModuleMethodMotion
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
Set<E> aliasableStrings
String aliasStringsBlacklist
boolean aliasAllStrings
boolean outputJsStringUsage
boolean convertToDottedProperties
boolean rewriteFunctionExpressions
boolean optimizeParameters
boolean optimizeReturns
boolean optimizeCalls
boolean optimizeArgumentsArray
boolean chainCalls
boolean useTypesForLocalOptimization
boolean useSizeHeuristicToStopOptimizationLoop
int optimizationLoopMaxIterations
VariableRenamingPolicy variableRenaming
PropertyRenamingPolicy propertyRenaming
boolean labelRenaming
boolean reserveRawExports
boolean shadowVariables
boolean preferStableNames
boolean generatePseudoNames
String renamePrefix
String renamePrefixNamespace
boolean renamePrefixNamespaceAssumeCrossModuleNames
boolean collapseProperties
boolean collapseObjectLiterals
boolean devirtualizePrototypeMethods
boolean computeFunctionSideEffects
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
String tcProjectId
boolean runtimeTypeCheck
String runtimeTypeCheckLogFunction
CodingConvention codingConvention
String syntheticBlockStartMarker
String syntheticBlockEndMarker
String locale
boolean markAsCompiled
boolean closurePass
boolean preserveClosurePrimitives
boolean angularPass
Integer polymerVersion
boolean chromePass
boolean dartPass
CompilerOptions.J2clPassMode j2clPassMode
boolean removeAbstractMethods
boolean removeSuperMethods
boolean removeClosureAsserts
boolean removeJ2clAsserts
boolean gatherCssNames
Set<E> stripTypes
Set<E> stripNameSuffixes
Set<E> stripNamePrefixes
Set<E> stripTypePrefixes
boolean markNoSideEffectCalls
Map<K,V> defineReplacements
CompilerOptions.TweakProcessing tweakProcessing
Map<K,V> tweakReplacements
boolean moveFunctionDeclarations
Instrumentation instrumentationTemplate
String appNameStr
boolean recordFunctionInformation
boolean checksOnly
com.google.javascript.jscomp.CompilerOptions.OutputJs outputJs
boolean generateExports
boolean generateExportsAfterTypeChecking
boolean exportLocalPropertyDefinitions
CssRenamingMap cssRenamingMap
Set<E> cssRenamingWhitelist
boolean processObjectPropertyString
boolean replaceIdGenerators
com.google.common.collect.ImmutableMap<K,V> idGenerators
Xid.HashFunction xidHashFunction
String idGeneratorsMapSerialized
List<E> replaceStringsFunctionDescriptions
String replaceStringsPlaceholderToken
Set<E> replaceStringsReservedStrings
VariableMap replaceStringsInputMap
Map<K,V> propertyInvalidationErrors
boolean transformAMDToCJSModules
boolean processCommonJSModules
List<E> moduleRoots
boolean rewritePolyfills
List<E> forceLibraryInjection
boolean preventLibraryInjection
boolean assumeForwardDeclaredForMissingTypes
boolean preserveTypeAnnotations
boolean prettyPrint
boolean lineBreak
boolean preferLineBreakAtEndOfFile
boolean printInputDelimiter
String inputDelimiter
boolean quoteKeywordProperties
boolean preferSingleQuotes
boolean trustedStrings
boolean printSourceAfterEachPass
List<E> filesToPrintAfterEachPassRegexList
String reportPath
CompilerOptions.TracerMode tracer
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.String externExportsPath
String sourceMapOutputPath
SourceMap.DetailLevel sourceMapDetailLevel
SourceMap.Format sourceMapFormat
boolean parseInlineSourceMaps
boolean applyInputSourceMaps
boolean resolveSourceMapAnnotations
List<E> sourceMapLocationMappings
boolean sourceMapIncludeSourcesContent
boolean useDebugLog
boolean enforceAccessControlCodingConventions
boolean protectHiddenSideEffects
boolean instrumentForCoverage
boolean instrumentBranchCoverage
String instrumentationTemplateFile
com.google.common.collect.ImmutableList<E> conformanceConfigs
boolean wrapGoogModulesForWhitespaceOnly
CompilationLevel.WHITESPACE_ONLY
mode, when using goog.module.boolean printConfig
com.google.common.base.Optional<T> isStrictModeInput
ModuleLoader.ResolutionMode moduleResolutionMode
List<E> packageJsonEntryNames
com.google.common.collect.ImmutableSet<E> types
String name
String part
DiagnosticGroup group
CheckLevel level
String key
MessageFormat format
CheckLevel level
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
com.google.protobuf.UnknownFieldSet unknownFields
int bitField0_
int id_
Object sourceName_
int lineNumber_
Object moduleName_
int size_
Object name_
Object compiledSource_
byte memoizedIsInitialized
int memoizedSerializedSize
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
@GwtIncompatible(value="ObjectInputStream") private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
List<E> scopes
com.google.javascript.jscomp.NTIScope globalScope
List<E> mismatches
List<E> implicitInterfaceUses
JSTypeCreatorFromJSDoc typeParser
Map<K,V> anonFunNames
UniqueNameGenerator varNameGen
Map<K,V> castTypes
Map<K,V> declaredObjLitProps
JSTypes commonTypes
Set<E> unknownTypeNames
Set<E> allPropertyNames
Set<E> externPropertyNames
Collection<E> rawNominalTypes
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
com.google.protobuf.UnknownFieldSet unknownFields
int bitField0_
Object reportDefined_
Object reportCall_
Object reportExit_
com.google.protobuf.LazyStringList declarationToRemove_
com.google.protobuf.LazyStringList init_
Object appNameSetter_
byte memoizedIsInitialized
int memoizedSerializedSize
@GwtIncompatible(value="ObjectinputStream") private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
InputId inputId
SourceFile sourceFile
String fileName
Node root
FeatureSet features
com.google.common.collect.ImmutableList<E> errors
com.google.common.collect.ImmutableList<E> warnings
DiagnosticType type
String description
String sourceName
Node node
int lineNumber
CheckLevel level
CheckLevel defaultLevel
int charno
JSModule[] modules
BitSet[] selfPlusTransitiveDeps
int[] subtreeSize
List<E> modulesByDepth
modulesByDepth.get(3)
is a list of the modules at
depth 3, for example.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
com.google.common.collect.ImmutableSet<E> firstChars
com.google.common.collect.ImmutableSet<E> nonFirstChars
Random random
com.google.common.collect.ImmutableSet<E> reservedNames
String prefix
int nameCount
String shuffledFirst
com.google.common.collect.ImmutableList<E> shuffledNonFirst
Node nameNode
com.google.javascript.jscomp.BasicBlock basicBlock
Scope scope
InputId inputId
int bitField0_
Object errorMessage_
com.google.protobuf.LazyStringList whitelist_
com.google.protobuf.LazyStringList whitelistRegexp_
com.google.protobuf.LazyStringList onlyApplyTo_
com.google.protobuf.LazyStringList onlyApplyToRegexp_
int type_
com.google.protobuf.LazyStringList value_
Object javaClass_
Object ruleId_
Object extends_
boolean reportLooseTypeViolations_
byte memoizedIsInitialized
ByPathWarningsGuard warningsGuard
@GwtIncompatible(value="ObjectInputStream") private void readObject(ObjectInputStream in) throws Exception
Exception
SourceFile sourceFile
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 not necessarily authoritative.SymbolTable.SymbolScope docScope
InputId inputId
SourceFile sourceFile
Node root
Map<K,V> vars
TypedScope parent
boolean isBottom
com.google.javascript.jscomp.TypedScope.TypeResolver typeResolver
TypedScope scope
JSType type
boolean markedEscaped
boolean markedAssignedExactlyOnce
boolean typeInferred
String name
Node nameNode
CompilerInput input
int index
Scope scope
com.google.common.collect.ImmutableList<E> provides
com.google.common.collect.ImmutableList<E> requires
com.google.common.collect.ImmutableMap<K,V> loadFlags
String srcPathRelativeToClosure
String pathOfDefiningFile
List<E> requiredFormals
List<E> optionalFormals
JSType restFormals
JSType returnType
JSType nominalType
JSType receiverType
TypeParameters typeParameters
JSTypes commonTypes
boolean isAbstract
com.google.javascript.jscomp.newtypes.EnumType.State state
JSTypeExpression typeExpr
JSType declaredType
JSType enumPropType
com.google.common.collect.ImmutableSet<E> props
DeclaredTypeRegistry scope
JSTypes commonTypes
com.google.common.collect.ImmutableList<E> requiredFormals
com.google.common.collect.ImmutableList<E> optionalFormals
JSType restFormals
JSType returnType
boolean isLoose
boolean isAbstract
com.google.common.collect.ImmutableMap<K,V> outerVarPreconditions
JSType nominalType
JSType receiverType
TypeParameters typeParameters
JSTypes commonTypes
CodingConvention convention
UniqueNameGenerator nameGen
JSTypes commonTypes
com.google.common.base.Function<F,T> recordPropertyName
int howmanyTypeVars
Set<E> warnings
Map<K,V> unknownTypeNames
JSTypeCreatorFromJSDoc.FunctionAndSlotType qmarkFunctionDeclared
JSType slotType
DeclaredFunctionType functionType
JSType BOOLEAN
JSType BOTTOM
JSType FALSE_TYPE
JSType FALSY
JSType NULL
JSType NUMBER
JSType STRING
JSType TOP
JSType TOP_SCALAR
JSType TRUE_TYPE
JSType TRUTHY
JSType UNDEFINED
JSType UNKNOWN
com.google.javascript.jscomp.newtypes.ObjectType topObjectType
com.google.javascript.jscomp.newtypes.PersistentMap<K,V> BOTTOM_PROPERTY_MAP
JSType topObject
com.google.javascript.jscomp.newtypes.ObjectType looseTopObject
JSType topStruct
JSType topDict
com.google.javascript.jscomp.newtypes.ObjectType bottomObject
FunctionType QMARK_FUNCTION
FunctionType BOTTOM_FUNCTION
FunctionType TOP_FUNCTION
FunctionType LOOSE_TOP_FUNCTION
Map<K,V> MAP_TO_UNKNOWN
JSType NUMBER_OR_STRING
JSType UNDEFINED_OR_BOOLEAN
JSType UNDEFINED_OR_NUMBER
JSType UNDEFINED_OR_STRING
JSType NULL_OR_UNDEFINED
JSType NULL_OR_BOOLEAN
JSType NULL_OR_NUMBER
JSType NULL_OR_STRING
JSType numberInstance
JSType booleanInstance
JSType stringInstance
com.google.javascript.jscomp.newtypes.ObjectType numberInstanceObjtype
com.google.javascript.jscomp.newtypes.ObjectType booleanInstanceObjtype
com.google.javascript.jscomp.newtypes.ObjectType stringInstanceObjtype
JSType numberOrNumber
JSType stringOrString
JSType anyNumOrStr
JSType globalThis
JSType regexpInstance
RawNominalType arrayType
RawNominalType builtinObject
RawNominalType literalObject
RawNominalType builtinFunction
RawNominalType arguments
RawNominalType iObject
RawNominalType iArrayLike
RawNominalType iterable
RawNominalType iterator
RawNominalType iIterableResult
RawNominalType iTemplateArray
RawNominalType generator
boolean allowMethodsAsFunctions
boolean looseSubtypingForLooseObjects
boolean bivariantArrayGenerics
NominalType window
com.google.common.collect.ImmutableMap<K,V> typeMap
RawNominalType rawType
int mask
@GwtIncompatible(value="ObjectInputStream") private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
boolean isFrozen
com.google.javascript.jscomp.newtypes.PersistentMap<K,V> instanceProps
com.google.javascript.jscomp.newtypes.PersistentMap<K,V> protoProps
com.google.javascript.jscomp.newtypes.PersistentMap<K,V> randomProps
NominalType superclass
com.google.common.collect.ImmutableSet<E> interfaces
com.google.javascript.jscomp.newtypes.RawNominalType.Kind kind
boolean isAbstractClass
com.google.common.collect.ImmutableSet<E> allProps
NominalType wrappedAsNominal
JSType wrappedAsJSType
JSType wrappedAsNullableJSType
com.google.common.collect.ImmutableList<E> typeParameters
ObjectKind objectKind
FunctionType ctorFn
JSType protoObject
Node defSite
com.google.javascript.jscomp.newtypes.Typedef.State state
JSTypeExpression typeExpr
JSType type
com.google.common.collect.ImmutableMap<K,V> typeParams
int count
com.google.common.collect.ImmutableSet<E> features
String templateJs
TypeMatchingStrategy typeMatchingStrategy
Defaults to TypeMatchingStrategy.SUBTYPES
.
com.google.common.collect.ImmutableList<E> templates
com.google.javascript.refactoring.RefasterJsScanner.RefasterJsTemplate matchedTemplate
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
@GwtIncompatible(value="ObjectInputStream") private void readObject(ObjectInputStream in) throws Exception
Exception
@GwtIncompatible(value="ObjectOutputStream") private void writeObject(ObjectOutputStream out) throws Exception
Exception
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
String name
EnumType enumType
EnumElementType elementsType
Set<E> elements
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
.List<E> subTypes
null
.boolean resolved
JSType resolveResult
TemplateTypeMap templateTypeMap
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 arrayElementTemplateKey
Array<T>
JSType[] nativeTypes
Map<K,V> namesToTypes
Set<E> nonNullableTypeNames
Map<K,V> typesIndexedByProperty
JSType sentinelObjectLiteral
boolean optimizePropertyIndex
Set<E> propertiesOfSupertypesInUnions
Set<E> droppedPropertiesOfUnions
Map<K,V> greatestSubtypeByProperty
com.google.common.collect.Multimap<K,V> unresolvedNamedTypes
com.google.common.collect.Multimap<K,V> resolvedNamedTypes
Map<K,V> templateTypes
TemplateTypeMap emptyTemplateTypeMap
String reference
String sourceName
int lineno
int charno
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.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
String name
JSType type
boolean inferred
Node propertyNode
JSDocInfo docInfo
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
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(ObjectInputStream in) throws Exception
Exception
com.google.common.collect.ImmutableList<E> templateTypes
com.google.common.collect.ImmutableList<E> alternatesWithoutStucturalTyping
com.google.common.collect.ImmutableList<E> alternates
int hashcode
JSTypeRegistry registry
List<E> alternates
boolean containsVoidType
boolean isAllType
boolean isNativeUnknownType
boolean areAllUnknownsChecked
int maxUnionSize
int functionTypePosition
JSType result
boolean isChecked
Copyright © 2009-2017 Google. All Rights Reserved.