List<E> paths
boolean include
int priority
CheckLevel level
CodingConvention nextConvention
boolean emitUseStrict
Ignored for non-strict output language modes.
CompilerOptions.LanguageMode languageIn
CompilerOptions.LanguageMode languageOut
CompilerOptions.Environment environment
boolean skipTranspilationAndCrash
boolean inferConsts
boolean assumeStrictThis
boolean allowHotswapReplaceScript
boolean preserveDetailedSourceInfo
boolean continueAfterErrors
CompilerOptions.IncrementalCheckMode incrementalCheckMode
Config.JsDocParsing parseJsDocDocumentation
boolean inferTypes
boolean useNewTypeInference
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 skipNonTranspilationPasses
com.google.javascript.jscomp.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
CompilerOptions.DisposalCheckingPolicy checkEventfulObjectDisposalPolicy
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
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 preserveGoogProvidesAndRequires
boolean angularPass
Integer polymerVersion
boolean chromePass
boolean dartPass
CompilerOptions.J2clPassMode j2clPassMode
boolean removeAbstractMethods
boolean removeSuperMethods
boolean removeClosureAsserts
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 preserveTypeAnnotations
boolean prettyPrint
boolean lineBreak
boolean preferLineBreakAtEndOfFile
boolean printInputDelimiter
String inputDelimiter
boolean quoteKeywordProperties
boolean preferSingleQuotes
boolean trustedStrings
boolean printSourceAfterEachPass
List<E> filesToPrintAfterEachPass
String reportPath
CompilerOptions.TracerMode tracer
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
List<E> sourceMapLocationMappings
boolean sourceMapIncludeSourcesContent
boolean useDebugLog
Charset outputCharset
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
boolean isStrictModeInput
Ignored for language modes that do not support strict mode.
ModuleLoader.ResolutionMode moduleResolutionMode
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
String part
DiagnosticGroup group
CheckLevel level
String key
MessageFormat format
CheckLevel defaultLevel
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
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
String fileName
Node root
FeatureSet features
com.google.common.collect.ImmutableList<E> errors
com.google.common.collect.ImmutableList<E> warnings
Map<K,V> cssNames
VariableMap variableMap
VariableMap propertyMap
VariableMap anonymousFunctionNameMap
VariableMap stringMap
com.google.javascript.jscomp.FunctionNames functionNames
String idGeneratorMap
LinkedHashSet<E> firstChars
LinkedHashSet<E> nonFirstChars
Random random
Set<E> reservedNames
String prefix
int nameCount
List<E> shuffledFirst
List<E> shuffledNonFirst
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
com.google.protobuf.UnknownFieldSet unknownFields
int bitField0_
Object errorMessage_
com.google.protobuf.LazyStringList whitelist_
com.google.protobuf.LazyStringList whitelistRegexp_
com.google.protobuf.LazyStringList onlyApplyTo_
com.google.protobuf.LazyStringList onlyApplyToRegexp_
Requirement.Type type_
com.google.protobuf.LazyStringList value_
Object javaClass_
Object ruleId_
Object extends_
boolean reportLooseTypeViolations_
byte memoizedIsInitialized
int memoizedSerializedSize
ByPathWarningsGuard warningsGuard
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
int number
boolean unsupported
boolean es6Modules
boolean typeScript
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
Token token
Node next
Node previous
Node first
com.google.javascript.rhino.Node.PropListItem propListHead
int sourcePosition
int length
TypeI typei
Node parent
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
Set<E> forwardDeclaredTypes
Map<K,V> typesIndexedByProperty
JSType sentinelObjectLiteral
boolean optimizePropertyIndex
Set<E> propertiesOfSupertypesInUnions
Set<E> droppedPropertiesOfUnions
Map<K,V> eachRefTypeIndexedByProperty
Map<K,V> greatestSubtypeByProperty
com.google.common.collect.Multimap<K,V> interfaceToImplementors
com.google.common.collect.Multimap<K,V> unresolvedNamedTypes
com.google.common.collect.Multimap<K,V> resolvedNamedTypes
Map<K,V> templateTypes
TemplateTypeMap emptyTemplateTypeMap
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
com.google.common.collect.ImmutableList<E> templateTypes
TemplateTypeMapReplacer replacer
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.