Serialized Form


Package com.google.debugging.sourcemap

Class com.google.debugging.sourcemap.SourceMapParseException extends Exception implements Serializable


Package com.google.debugging.sourcemap.proto

Class com.google.debugging.sourcemap.proto.Mapping.LineMapping extends com.google.protobuf.GeneratedMessage implements Serializable

serialVersionUID: 0L

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Throws:
ObjectStreamException
Serialized Fields

bitField0_

int bitField0_

lineNumber_

int lineNumber_

columnPosition_

int columnPosition_

originalMapping_

Mapping.OriginalMapping originalMapping_

memoizedIsInitialized

byte memoizedIsInitialized

memoizedSerializedSize

int memoizedSerializedSize

Class com.google.debugging.sourcemap.proto.Mapping.OriginalMapping extends com.google.protobuf.GeneratedMessage implements Serializable

serialVersionUID: 0L

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Throws:
ObjectStreamException
Serialized Fields

bitField0_

int bitField0_

originalFile_

Object originalFile_

lineNumber_

int lineNumber_

columnPosition_

int columnPosition_

identifier_

Object identifier_

memoizedIsInitialized

byte memoizedIsInitialized

memoizedSerializedSize

int memoizedSerializedSize

Package com.google.javascript.jscomp

Class com.google.javascript.jscomp.AbstractCommandLineRunner.FlagUsageException extends Exception implements Serializable

serialVersionUID: 1L

Class com.google.javascript.jscomp.ClosureCodingConvention extends CodingConventions.Proxy implements Serializable

serialVersionUID: 1L

Serialized Fields

propertyTestFunctions

Set<E> propertyTestFunctions

Class com.google.javascript.jscomp.CodingConventions.Proxy extends Object implements Serializable

Serialized Fields

nextConvention

CodingConvention nextConvention

Class com.google.javascript.jscomp.Compiler.IntermediateState extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

externsRoot

Node externsRoot

jsRoot

Node jsRoot

externs

List<E> externs

inputs

List<E> inputs

modules

List<E> modules

passConfigState

com.google.javascript.jscomp.PassConfig.State passConfigState

typeRegistry

JSTypeRegistry typeRegistry

lifeCycleStage

com.google.javascript.jscomp.AbstractCompiler.LifeCycleStage lifeCycleStage

injectedLibraries

Map<K,V> injectedLibraries

Class com.google.javascript.jscomp.CompilerInput extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

module

JSModule module

id

InputId id

ast

SourceAst ast

provides

Set<E> provides

requires

Set<E> requires

generatedDependencyInfoFromSource

boolean generatedDependencyInfoFromSource

Class com.google.javascript.jscomp.CompilerOptions extends Object implements Serializable

serialVersionUID: 7L

Serialized Fields

manageClosureDependencies

boolean manageClosureDependencies

languageIn

CompilerOptions.LanguageMode languageIn
The JavaScript language version accepted.


languageOut

CompilerOptions.LanguageMode languageOut
The JavaScript language version that should be produced. Currently, this is always the same as CompilerOptions.languageIn.


acceptConstKeyword

boolean acceptConstKeyword
Whether the compiler accepts the `const' keyword.


assumeStrictThis

boolean assumeStrictThis
Whether the compiler should assume that a function's "this" value never needs coercion (for example in non-strict "null" or "undefined" will be coerced to the global "this" and primitives to objects).


ideMode

boolean ideMode
Configures the compiler for use as an IDE backend. In this mode:


inferTypes

boolean inferTypes
Even if checkTypes is disabled, clients might want to still infer types. This is mostly used when ideMode is enabled.


skipAllPasses

boolean skipAllPasses
Configures the compiler to skip as many passes as possible.


nameAnonymousFunctionsOnly

boolean nameAnonymousFunctionsOnly
If true, name anonymous functions only. All others passes will be skipped.


devMode

com.google.javascript.jscomp.CompilerOptions.DevMode devMode
Configures the compiler to run expensive sanity checks after every pass. Only intended for internal development.


dependencyOptions

DependencyOptions dependencyOptions

checkSymbols

boolean checkSymbols
Checks that all symbols are defined


aggressiveVarCheck

CheckLevel aggressiveVarCheck

checkSuspiciousCode

boolean checkSuspiciousCode
Checks for suspicious statements that have no effect


checkControlStructures

boolean checkControlStructures
Checks for invalid control structures


checkTypes

boolean checkTypes
Checks types on expressions


tightenTypes

boolean tightenTypes

reportMissingOverride

CheckLevel reportMissingOverride

reportUnknownTypes

CheckLevel reportUnknownTypes

checkRequires

CheckLevel checkRequires
Checks for missing goog.require() calls


checkProvides

CheckLevel checkProvides

checkGlobalNamesLevel

CheckLevel checkGlobalNamesLevel

brokenClosureRequiresLevel

CheckLevel brokenClosureRequiresLevel

checkGlobalThisLevel

CheckLevel checkGlobalThisLevel

checkMissingGetCssNameLevel

CheckLevel checkMissingGetCssNameLevel

checkMissingGetCssNameBlacklist

String checkMissingGetCssNameBlacklist
Regex of string literals that may only appear in goog.getCssName arguments.


checkCaja

boolean checkCaja
Checks that the synctactic restrictions of Caja are met.


extraAnnotationNames

Set<E> extraAnnotationNames
A set of extra annotation names which are accepted and silently ignored when encountered in a source file. Defaults to null which has the same effect as specifying an empty set.


foldConstants

boolean foldConstants
Folds constants (e.g. (2 + 3) to 5)


deadAssignmentElimination

boolean deadAssignmentElimination
Remove assignments to values that can not be referenced


inlineConstantVars

boolean inlineConstantVars
Inlines constants (symbols that are all CAPS)


inlineFunctions

boolean inlineFunctions
Inlines short functions


inlineLocalFunctions

boolean inlineLocalFunctions
Enhanced function inlining


assumeClosuresOnlyCaptureReferences

boolean assumeClosuresOnlyCaptureReferences

crossModuleCodeMotion

boolean crossModuleCodeMotion
Move code to a deeper module


coalesceVariableNames

boolean coalesceVariableNames
Merge two variables together as one.


crossModuleMethodMotion

boolean crossModuleMethodMotion
Move methds to a deeper module


inlineGetters

boolean inlineGetters
Inlines trivial getters


inlineVariables

boolean inlineVariables
Inlines variables


inlineLocalVariables

boolean inlineLocalVariables
Inlines variables


flowSensitiveInlineVariables

boolean flowSensitiveInlineVariables

smartNameRemoval

boolean smartNameRemoval
Removes code associated with unused global names


removeDeadCode

boolean removeDeadCode
Removes code that will never execute


checkUnreachableCode

CheckLevel checkUnreachableCode

checkMissingReturn

CheckLevel checkMissingReturn

extractPrototypeMemberDeclarations

boolean extractPrototypeMemberDeclarations
Extracts common prototype member declarations


removeUnusedPrototypeProperties

boolean removeUnusedPrototypeProperties
Removes unused member prototypes


removeUnusedPrototypePropertiesInExterns

boolean removeUnusedPrototypePropertiesInExterns
Tells AnalyzePrototypeProperties it can remove externed props.


removeUnusedVars

boolean removeUnusedVars
Removes unused variables


removeUnusedLocalVars

boolean removeUnusedLocalVars
Removes unused variables in local scope.


aliasExternals

boolean aliasExternals
Adds variable aliases for externals to reduce code size


aliasableGlobals

String aliasableGlobals

unaliasableGlobals

String unaliasableGlobals

collapseVariableDeclarations

boolean collapseVariableDeclarations
Collapses multiple variable declarations into one


groupVariableDeclarations

boolean groupVariableDeclarations
Group multiple variable declarations into one


collapseAnonymousFunctions

boolean collapseAnonymousFunctions
Collapses anonymous function declarations into named function declarations


aliasableStrings

Set<E> aliasableStrings
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.


aliasStringsBlacklist

String aliasStringsBlacklist
A blacklist in the form of a regular expression to block strings that contains certain words from being aliased. If the value is the empty string, no words are blacklisted.


aliasAllStrings

boolean aliasAllStrings
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)


outputJsStringUsage

boolean outputJsStringUsage
Print string usage as part of the compilation log.


convertToDottedProperties

boolean convertToDottedProperties
Converts quoted property accesses to dot syntax (a['b'] -> a.b)


rewriteFunctionExpressions

boolean rewriteFunctionExpressions
Reduces the size of common function expressions.


optimizeParameters

boolean optimizeParameters
Remove unused and constant parameters.


optimizeReturns

boolean optimizeReturns
Remove unused return values.


optimizeCalls

boolean optimizeCalls
Remove unused parameters from call sites.


optimizeArgumentsArray

boolean optimizeArgumentsArray
Provide formal names for elements of arguments array.


chainCalls

boolean chainCalls
Chains calls to functions that return this.


variableRenaming

VariableRenamingPolicy variableRenaming
Controls which variables get renamed.


propertyRenaming

PropertyRenamingPolicy propertyRenaming
Controls which properties get renamed.


propertyAffinity

boolean propertyAffinity
Should we use affinity information when generating property names.


labelRenaming

boolean labelRenaming
Controls label renaming.


reserveRawExports

boolean reserveRawExports
Reserve property names on the global this object.


shadowVariables

boolean shadowVariables
Should shadow variable names in outer scope.


generatePseudoNames

boolean generatePseudoNames
Generate pseudo names for variables and properties for debugging purposes.


renamePrefix

String renamePrefix
Specifies a prefix for all globals


renamePrefixNamespace

String renamePrefixNamespace
Specifies the name of an object that will be used to store all non-extern globals.


aliasKeywords

boolean aliasKeywords
Aliases true, false, and null to variables with shorter names.


collapseProperties

boolean collapseProperties
Flattens multi-level property names (e.g. a$b = x)


collapseObjectLiterals

boolean collapseObjectLiterals
Split object literals into individual variables when possible.


collapsePropertiesOnExternTypes

boolean collapsePropertiesOnExternTypes
Flattens multi-level property names on extern types (e.g. String$f = x)


devirtualizePrototypeMethods

boolean devirtualizePrototypeMethods
Devirtualize prototype method by rewriting them to be static calls that take the this pointer as their first argument


computeFunctionSideEffects

boolean computeFunctionSideEffects
Use @nosideeffects annotations, function bodies and name graph to determine if calls have side effects. Requires --check_types.


debugFunctionSideEffectsPath

String debugFunctionSideEffectsPath
Where to save debug report for compute function side effects.


disambiguateProperties

boolean disambiguateProperties
Rename properties to disambiguate between unrelated fields based on type information.


ambiguateProperties

boolean ambiguateProperties
Rename unrelated properties to the same name to reduce code size.


anonymousFunctionNaming

AnonymousFunctionNamingPolicy anonymousFunctionNaming
Give anonymous functions names for easier debugging


inputVariableMapSerialized

byte[] inputVariableMapSerialized
Serialized input variable renaming map.


inputPropertyMapSerialized

byte[] inputPropertyMapSerialized
Serialized input property renaming map.


exportTestFunctions

boolean exportTestFunctions
Whether to export test functions.


specializeInitialModule

boolean specializeInitialModule

runtimeTypeCheck

boolean runtimeTypeCheck
Inserts runtime type assertions for debugging.


runtimeTypeCheckLogFunction

String runtimeTypeCheckLogFunction
A JS function to be used for logging runtime type assertion failures. It will be passed the warning as a string and the faulty expression as arguments.


codingConvention

CodingConvention codingConvention
A CodingConvention to use during the compile.


ignoreCajaProperties

boolean ignoreCajaProperties

syntheticBlockStartMarker

String syntheticBlockStartMarker

syntheticBlockEndMarker

String syntheticBlockEndMarker

locale

String locale
Compiling locale


markAsCompiled

boolean markAsCompiled
Sets the special "COMPILED" value to true


removeTryCatchFinally

boolean removeTryCatchFinally
Removes try...catch...finally blocks for easier debugging


closurePass

boolean closurePass
Processes goog.provide() and goog.require() calls


jqueryPass

boolean jqueryPass
Processes jQuery aliases


rewriteNewDateGoogNow

boolean rewriteNewDateGoogNow
Rewrite new Date(goog.now()) to new Date().


removeAbstractMethods

boolean removeAbstractMethods
Remove goog.abstractMethod assignments.


removeClosureAsserts

boolean removeClosureAsserts
Remove goog.asserts calls.


gatherCssNames

boolean gatherCssNames
Gather CSS names (requires closurePass)


stripTypes

Set<E> stripTypes
Names of types to strip


stripNameSuffixes

Set<E> stripNameSuffixes
Name suffixes that determine which variables and properties to strip


stripNamePrefixes

Set<E> stripNamePrefixes
Name prefixes that determine which variables and properties to strip


stripTypePrefixes

Set<E> stripTypePrefixes
Qualified type name prefixes that determine which types to strip


markNoSideEffectCalls

boolean markNoSideEffectCalls
Mark no side effect calls


defineReplacements

Map<K,V> defineReplacements
Replacements for @defines. Will be Boolean, Numbers, or Strings


tweakProcessing

CompilerOptions.TweakProcessing tweakProcessing
What kind of processing to do for goog.tweak functions.


tweakReplacements

Map<K,V> tweakReplacements
Replacements for tweaks. Will be Boolean, Numbers, or Strings


moveFunctionDeclarations

boolean moveFunctionDeclarations
Move top level function declarations to the top


instrumentationTemplate

String instrumentationTemplate
Instrumentation template to use with #recordFunctionInformation


appNameStr

String appNameStr

recordFunctionInformation

boolean recordFunctionInformation
Record function information


generateExports

boolean generateExports

cssRenamingMap

CssRenamingMap cssRenamingMap
Map used in the renaming of CSS class names.


processObjectPropertyString

boolean processObjectPropertyString
Process instances of goog.testing.ObjectPropertyString.


replaceIdGenerators

boolean replaceIdGenerators
Replace id generators


idGenerators

Set<E> idGenerators
Id generators to replace.


replaceStringsFunctionDescriptions

List<E> replaceStringsFunctionDescriptions
Configuration strings


replaceStringsPlaceholderToken

String replaceStringsPlaceholderToken

replaceStringsReservedStrings

Set<E> replaceStringsReservedStrings

propertyInvalidationErrors

Map<K,V> propertyInvalidationErrors
List of properties that we report invalidation errors for.


transformAMDToCJSModules

boolean transformAMDToCJSModules
Transform AMD to Common JS modules.


processCommonJSModules

boolean processCommonJSModules
Rewrite Common JS modules so that they can be concatenated together.


commonJSModulePathPrefix

String commonJSModulePathPrefix
Common JS module prefix.


prettyPrint

boolean prettyPrint
Output in pretty indented format


lineBreak

boolean lineBreak
Line break the output a bit more aggressively


preferLineBreakAtEndOfFile

boolean preferLineBreakAtEndOfFile
Prefer line breaks at end of file


printInputDelimiter

boolean printInputDelimiter
Prints a separator comment before each js script


inputDelimiter

String inputDelimiter
The string to use as the separator for printInputDelimiter


reportPath

String reportPath

tracer

CompilerOptions.TracerMode tracer

colorizeErrorOutput

boolean colorizeErrorOutput

errorFormat

ErrorFormat errorFormat

warningsGuard

ComposeWarningsGuard warningsGuard

summaryDetailLevel

int summaryDetailLevel

lineLengthThreshold

int lineLengthThreshold

externExports

boolean externExports
Whether the exports should be made available via Result after compilation. This is implicitly true if CompilerOptions.externExportsPath is set.


externExportsPath

String externExportsPath
The output path for the created externs file.


nameReferenceReportPath

String nameReferenceReportPath

nameReferenceGraphPath

String nameReferenceGraphPath

sourceMapOutputPath

String sourceMapOutputPath
The output path for the source map.


sourceMapDetailLevel

SourceMap.DetailLevel sourceMapDetailLevel
The detail level for the generated source map.


sourceMapFormat

SourceMap.Format sourceMapFormat
The source map file format


sourceMapLocationMappings

List<E> sourceMapLocationMappings

outputCharset

String outputCharset
Charset to use when generating code. If null, then output ASCII. This needs to be a string because CompilerOptions is serializable.


looseTypes

boolean looseTypes
Whether the named objects types included 'undefined' by default.


protectHiddenSideEffects

boolean protectHiddenSideEffects
When set, assume that apparently side-effect free code is meaningful.

Class com.google.javascript.jscomp.ComposeWarningsGuard extends WarningsGuard implements Serializable

serialVersionUID: 1L

Serialized Fields

orderOfAddition

Map<K,V> orderOfAddition

numberOfAdds

int numberOfAdds

guardComparator

Comparator<T> guardComparator

guards

TreeSet<E> guards

Class com.google.javascript.jscomp.DependencyOptions extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

sortDependencies

boolean sortDependencies

pruneDependencies

boolean pruneDependencies

dropMoochers

boolean dropMoochers

entryPoints

Set<E> entryPoints

Class com.google.javascript.jscomp.DiagnosticGroup extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

types

Set<E> types

name

String name

Class com.google.javascript.jscomp.DiagnosticGroupWarningsGuard extends WarningsGuard implements Serializable

serialVersionUID: 1L

Serialized Fields

group

DiagnosticGroup group

level

CheckLevel level

Class com.google.javascript.jscomp.DiagnosticType extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

key

String key
The error type. Used as the BugPattern and BugInstance types by BugBot's XML


format

MessageFormat format
The default way to format errors


defaultLevel

CheckLevel defaultLevel
Default level


level

CheckLevel level
Reporting level, initially the defaultLevel but may be changed.

Class com.google.javascript.jscomp.FunctionInformationMap extends com.google.protobuf.GeneratedMessage implements Serializable

serialVersionUID: 0L

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Throws:
ObjectStreamException
Serialized Fields

entry_

List<E> entry_

module_

List<E> module_

memoizedIsInitialized

byte memoizedIsInitialized

memoizedSerializedSize

int memoizedSerializedSize

Class com.google.javascript.jscomp.FunctionInformationMap.Entry extends com.google.protobuf.GeneratedMessage implements Serializable

serialVersionUID: 0L

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Throws:
ObjectStreamException
Serialized Fields

bitField0_

int bitField0_

id_

int id_

sourceName_

Object sourceName_

lineNumber_

int lineNumber_

moduleName_

Object moduleName_

size_

int size_

name_

Object name_

compiledSource_

Object compiledSource_

memoizedIsInitialized

byte memoizedIsInitialized

memoizedSerializedSize

int memoizedSerializedSize

Class com.google.javascript.jscomp.FunctionInformationMap.Module extends com.google.protobuf.GeneratedMessage implements Serializable

serialVersionUID: 0L

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Throws:
ObjectStreamException
Serialized Fields

bitField0_

int bitField0_

name_

Object name_

compiledSource_

Object compiledSource_

memoizedIsInitialized

byte memoizedIsInitialized

memoizedSerializedSize

int memoizedSerializedSize

Class com.google.javascript.jscomp.GoogleCodingConvention extends CodingConventions.Proxy implements Serializable

serialVersionUID: 1L

Class com.google.javascript.jscomp.Instrumentation extends com.google.protobuf.GeneratedMessage implements Serializable

serialVersionUID: 0L

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Throws:
ObjectStreamException
Serialized Fields

bitField0_

int bitField0_

reportDefined_

Object reportDefined_

reportCall_

Object reportCall_

reportExit_

Object reportExit_

declarationToRemove_

com.google.protobuf.LazyStringList declarationToRemove_

init_

com.google.protobuf.LazyStringList init_

appNameSetter_

Object appNameSetter_

memoizedIsInitialized

byte memoizedIsInitialized

memoizedSerializedSize

int memoizedSerializedSize

Class com.google.javascript.jscomp.JqueryCodingConvention extends CodingConventions.Proxy implements Serializable

serialVersionUID: 1L

Serialized Fields

propertyTestFunctions

Set<E> propertyTestFunctions

prototypeAliases

Set<E> prototypeAliases

Class com.google.javascript.jscomp.JsAst extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

fileName

String fileName

root

Node root

Class com.google.javascript.jscomp.JSModule extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

name

String name
Module name


inputs

List<E> inputs
Source code inputs


deps

List<E> deps
Modules that this module depends on


depth

int depth

Class com.google.javascript.jscomp.JSModuleGraph.ModuleDependenceException extends IllegalArgumentException implements Serializable

serialVersionUID: 1L

Serialized Fields

module

JSModule module

dependentModule

JSModule dependentModule

Class com.google.javascript.jscomp.JSSourceFile extends SourceFile implements Serializable

serialVersionUID: 1L

Serialized Fields

referenced

SourceFile referenced

Class com.google.javascript.jscomp.ShowByPathWarningsGuard extends WarningsGuard implements Serializable

serialVersionUID: 1L

Serialized Fields

paths

String[] paths

showType

ShowByPathWarningsGuard.ShowType showType

Class com.google.javascript.jscomp.SourceFile extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

fileName

String fileName

isExternFile

boolean isExternFile

originalPath

String originalPath

lineOffsets

int[] lineOffsets

lastOffset

int lastOffset

lastLine

int lastLine

code

String code

Class com.google.javascript.jscomp.StrictWarningsGuard extends WarningsGuard implements Serializable

serialVersionUID: 1L

Class com.google.javascript.jscomp.SymbolTable.Symbol extends SimpleSlot implements Serializable

Serialized Fields

references

Map<K,V> references

scope

SymbolTable.SymbolScope scope

propertyScope

SymbolTable.SymbolScope propertyScope

declaration

SymbolTable.Reference declaration

docInfo

JSDocInfo docInfo

docScope

SymbolTable.SymbolScope docScope

Class com.google.javascript.jscomp.SyntheticAst extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

inputId

InputId inputId

sourceFile

SourceFile sourceFile

root

Node root

Class com.google.javascript.jscomp.WarningsGuard extends Object implements Serializable

Class com.google.javascript.jscomp.WhitelistWarningsGuard extends WarningsGuard implements Serializable

Serialized Fields

whiteList

Set<E> whiteList
The set of white-listed warnings, same format as formatWarning.


Package com.google.javascript.jscomp.deps

Class com.google.javascript.jscomp.deps.SortedDependencies.CircularDependencyException extends Exception implements Serializable

Class com.google.javascript.jscomp.deps.SortedDependencies.MissingProvideException extends Exception implements Serializable


Package com.google.javascript.jscomp.graph

Class com.google.javascript.jscomp.graph.StandardUnionFind extends Object implements Serializable

serialVersionUID: -1L

Serialized Fields

elmap

Map<K,V> elmap
All values with the same root node are in the same equivalence set.


Package com.google.javascript.jscomp.jsonml

Class com.google.javascript.jscomp.jsonml.JsonMLAst extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

jsonml

JsonML jsonml

root

Node root

sourceFile

SourceFile sourceFile

inputId

InputId inputId

Package com.google.javascript.rhino

Class com.google.javascript.rhino.InputId extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

id

String id

Class com.google.javascript.rhino.JSDocInfo extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

info

com.google.javascript.rhino.JSDocInfo.LazilyInitializedInfo info

documentation

com.google.javascript.rhino.JSDocInfo.LazilyInitializedDocumentation documentation

associatedNode

Node associatedNode

visibility

JSDocInfo.Visibility visibility

bitset

int bitset
The JSDocInfo.isConstant(), JSDocInfo.isConstructor(), JSDocInfo.isInterface(), JSDocInfo.isHidden() and JSDocInfo.shouldPreserveTry() flags as well as whether the JSDocInfo.type field stores a value for JSDocInfo.getType(), JSDocInfo.getReturnType() or JSDocInfo.getEnumParameterType().

See Also:
JSDocInfo.setFlag(boolean, int), JSDocInfo.getFlag(int), JSDocInfo.setType(JSTypeExpression, int), JSDocInfo.getType(int)

type

JSTypeExpression type
The type for JSDocInfo.getType(), JSDocInfo.getReturnType() or JSDocInfo.getEnumParameterType(). The knowledge of which one is recorded is stored in the JSDocInfo.bitset field.

See Also:
JSDocInfo.setType(JSTypeExpression, int), JSDocInfo.getType(int)

thisType

JSTypeExpression thisType
The type for JSDocInfo.getThisType().


includeDocumentation

boolean includeDocumentation
Whether to include documentation.

See Also:
JSDocInfo.LazilyInitializedDocumentation

Class com.google.javascript.rhino.JSTypeExpression extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

root

Node root
The root of the AST.


sourceName

String sourceName
The source name where the type expression appears.

Class com.google.javascript.rhino.Node extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

type

int type

next

Node next

first

Node first

last

Node last

propListHead

com.google.javascript.rhino.Node.PropListItem propListHead
Linked list of properties. Since vast majority of nodes would have no more then 2 properties, linked list saves memory and provides fast lookup. If this does not holds, propListHead can be replaced by UintMap.


sourcePosition

int sourcePosition
Source position of this node. The position is encoded with the column number in the low 12 bits of the integer, and the line number in the rest. Create some handy constants so we can change this size if we want.


jsType

JSType jsType

parent

Node parent

Package com.google.javascript.rhino.jstype

Class com.google.javascript.rhino.jstype.AllType extends JSType implements Serializable

serialVersionUID: 1L

Class com.google.javascript.rhino.jstype.BooleanType extends com.google.javascript.rhino.jstype.ValueType implements Serializable

serialVersionUID: 1L

Class com.google.javascript.rhino.jstype.EnumElementType extends ObjectType implements Serializable

serialVersionUID: 1L

Serialized Fields

primitiveType

JSType primitiveType
The primitive type this enum element type wraps. For instance, in the following code defining the LOCAL_CODES enum
var LOCAL_CODES = {A: 3, B: 9, C: 8}
the primitive type of the the constants is number.


primitiveObjectType

ObjectType primitiveObjectType

name

String name

Class com.google.javascript.rhino.jstype.EnumType extends com.google.javascript.rhino.jstype.PrototypeObjectType implements Serializable

serialVersionUID: 1L

Serialized Fields

source

Node source
The object literal or alias which this type represents. It may be null.


elementsType

EnumElementType elementsType

elements

Set<E> elements

Class com.google.javascript.rhino.jstype.FunctionType extends com.google.javascript.rhino.jstype.PrototypeObjectType implements Serializable

serialVersionUID: 1L

Serialized Fields

call

com.google.javascript.rhino.jstype.ArrowType call
[[Call]] property.


prototypeSlot

ObjectType.Property prototypeSlot
The 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.


kind

com.google.javascript.rhino.jstype.FunctionType.Kind kind
Whether a function is a constructor, an interface, or just an ordinary function.


typeOfThis

ObjectType typeOfThis
The type of this in the scope of this function.


source

Node source
The function node which this type represents. It may be null.


implementedInterfaces

List<E> implementedInterfaces
The interfaces directly implemented by this function (for constructors) It is only relevant for constructors. May not be null.


extendedInterfaces

List<E> extendedInterfaces
The interfaces directly extendeded by this function (for interfaces) It is only relevant for constructors. May not be null.


subTypes

List<E> subTypes
The types which are subtypes of this function. It is only relevant for constructors and may be null.


templateTypeName

String templateTypeName
The template type name. May be null.

Class com.google.javascript.rhino.jstype.JSType extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

resolved

boolean resolved

resolveResult

JSType resolveResult

registry

JSTypeRegistry registry

Class com.google.javascript.rhino.jstype.JSTypeRegistry extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

nativeTypes

JSType[] nativeTypes

namesToTypes

Map<K,V> namesToTypes

namespaces

Set<E> namespaces

nonNullableTypeNames

Set<E> nonNullableTypeNames

forwardDeclaredTypes

Set<E> forwardDeclaredTypes

typesIndexedByProperty

Map<K,V> typesIndexedByProperty

eachRefTypeIndexedByProperty

Map<K,V> eachRefTypeIndexedByProperty

greatestSubtypeByProperty

Map<K,V> greatestSubtypeByProperty

interfaceToImplementors

com.google.common.collect.Multimap<K,V> interfaceToImplementors

unresolvedNamedTypes

com.google.common.collect.Multimap<K,V> unresolvedNamedTypes

resolvedNamedTypes

com.google.common.collect.Multimap<K,V> resolvedNamedTypes

lastGeneration

boolean lastGeneration

templateTypeName

String templateTypeName

templateType

TemplateType templateType

tolerateUndefinedValues

boolean tolerateUndefinedValues

resolveMode

JSTypeRegistry.ResolveMode resolveMode

Class com.google.javascript.rhino.jstype.NoObjectType extends FunctionType implements Serializable

serialVersionUID: 1L

Class com.google.javascript.rhino.jstype.NoType extends NoObjectType implements Serializable

serialVersionUID: 1L

Class com.google.javascript.rhino.jstype.NullType extends com.google.javascript.rhino.jstype.ValueType implements Serializable

serialVersionUID: 1L

Class com.google.javascript.rhino.jstype.NumberType extends com.google.javascript.rhino.jstype.ValueType implements Serializable

serialVersionUID: 1L

Class com.google.javascript.rhino.jstype.ObjectType extends JSType implements Serializable

Serialized Fields

visited

boolean visited

docInfo

JSDocInfo docInfo

unknown

boolean unknown

Class com.google.javascript.rhino.jstype.ObjectType.Property extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

name

String name
Property's name.


type

JSType type
Property's type.


inferred

boolean inferred
Whether the property's type is inferred.


propertyNode

Node propertyNode
The node corresponding to this property, e.g., a GETPROP node that declares this property.


docInfo

JSDocInfo docInfo
The JSDocInfo for this property.

Class com.google.javascript.rhino.jstype.SimpleSlot extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

name

String name

type

JSType type

inferred

boolean inferred

Class com.google.javascript.rhino.jstype.StringType extends com.google.javascript.rhino.jstype.ValueType implements Serializable

serialVersionUID: 1L

Class com.google.javascript.rhino.jstype.TemplateType extends com.google.javascript.rhino.jstype.ProxyObjectType implements Serializable

serialVersionUID: 1L

Serialized Fields

name

String name

Class com.google.javascript.rhino.jstype.UnionType extends JSType implements Serializable

serialVersionUID: 1L

Serialized Fields

alternates

Collection<E> alternates

hashcode

int hashcode

Class com.google.javascript.rhino.jstype.UnknownType extends ObjectType implements Serializable

serialVersionUID: 1L

Serialized Fields

isChecked

boolean isChecked

Class com.google.javascript.rhino.jstype.VoidType extends com.google.javascript.rhino.jstype.ValueType implements Serializable

serialVersionUID: 1L