class_body
{ "{"
field_declaration
modifiers
static "static"
final "final"
type_identifier "String"
variable_declarator
identifier "SINGLETON_MODULE_NAME"
= "="
string_literal
" "\""
string_fragment "[singleton]"
" "\""
; ";"
field_declaration (+31 nodes collapsed)
field_declaration (+29 nodes collapsed)
field_declaration
type_identifier "CompilerOptions"
variable_declarator
identifier "options"
= "="
null_literal "null"
; ";"
field_declaration
modifiers
private "private"
type_identifier "PassConfig"
variable_declarator
identifier "passes"
= "="
null_literal "null"
; ";"
line_comment "// The externs inputs"
field_declaration
modifiers
private "private"
generic_type
type_identifier "List"
type_arguments
< "<"
type_identifier "CompilerInput"
> ">"
variable_declarator
identifier "externs"
; ";"
line_comment "// The JS source modules"
field_declaration
modifiers
private "private"
generic_type
type_identifier "List"
type_arguments
< "<"
type_identifier "JSModule"
> ">"
variable_declarator
identifier "modules"
; ";"
line_comment "// The graph of the JS source modules. Must be null if there"...
line_comment "// 2 modules, because we use this as a signal for which pass"...
field_declaration
modifiers
private "private"
type_identifier "JSModuleGraph"
variable_declarator
identifier "moduleGraph"
; ";"
line_comment "// The JS source inputs"
field_declaration
modifiers
private "private"
generic_type
type_identifier "List"
type_arguments
< "<"
type_identifier "CompilerInput"
> ">"
variable_declarator
identifier "inputs"
; ";"
line_comment "// error manager to which error management is delegated"
field_declaration
modifiers
private "private"
type_identifier "ErrorManager"
variable_declarator
identifier "errorManager"
; ";"
line_comment "// Warnings guard for filtering warnings."
field_declaration
modifiers
private "private"
type_identifier "WarningsGuard"
variable_declarator
identifier "warningsGuard"
; ";"
line_comment "// Compile-time injected libraries. The node points to the l"...
line_comment "// the library, so code can be inserted after."
field_declaration (+23 nodes collapsed)
line_comment "// Parse tree root nodes"
field_declaration
type_identifier "Node"
variable_declarator
identifier "externsRoot"
; ";"
field_declaration
type_identifier "Node"
variable_declarator
identifier "jsRoot"
; ";"
field_declaration
type_identifier "Node"
variable_declarator
identifier "externAndJsRoot"
; ";"
field_declaration
modifiers
private "private"
generic_type
type_identifier "Map"
type_arguments
< "<"
type_identifier "InputId"
, ","
type_identifier "CompilerInput"
> ">"
variable_declarator
identifier "inputsById"
; ";"
block_comment "/** The source code map */"
field_declaration
modifiers
private "private"
type_identifier "SourceMap"
variable_declarator
identifier "sourceMap"
; ";"
block_comment "/** The externs created from the exports. */"
field_declaration
modifiers
private "private"
type_identifier "String"
variable_declarator
identifier "externExports"
= "="
null_literal "null"
; ";"
block_comment "/**\n * Ids for function inlining so that each declared nam"...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "uniqueNameId"
= "="
decimal_integer_literal "0"
; ";"
block_comment "/** Whether to use threads. */"
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "useThreads"
= "="
true "true"
; ";"
block_comment "/**\n * Whether to assume there are references to the RegEx"...
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "hasRegExpGlobalReferences"
= "="
true "true"
; ";"
block_comment "/** The function information map */"
field_declaration
modifiers
private "private"
type_identifier "FunctionInformationMap"
variable_declarator
identifier "functionInformationMap"
; ";"
block_comment "/** Debugging information */"
field_declaration
modifiers
private "private"
final "final"
type_identifier "StringBuilder"
variable_declarator
identifier "debugLog"
= "="
object_creation_expression
new "new"
type_identifier "StringBuilder"
argument_list
( "("
) ")"
; ";"
block_comment "/** Detects Google-specific coding conventions. */"
field_declaration
type_identifier "CodingConvention"
variable_declarator
identifier "defaultCodingConvention"
= "="
object_creation_expression
new "new"
type_identifier "ClosureCodingConvention"
argument_list
( "("
) ")"
; ";"
field_declaration
modifiers
private "private"
type_identifier "JSTypeRegistry"
variable_declarator
identifier "typeRegistry"
; ";"
field_declaration
modifiers
private "private"
type_identifier "Config"
variable_declarator
identifier "parserConfig"
= "="
null_literal "null"
; ";"
field_declaration
modifiers
private "private"
type_identifier "ReverseAbstractInterpreter"
variable_declarator
identifier "abstractInterpreter"
; ";"
field_declaration
modifiers
private "private"
type_identifier "TypeValidator"
variable_declarator
identifier "typeValidator"
; ";"
field_declaration
modifiers
public "public"
type_identifier "PerformanceTracker"
variable_declarator
identifier "tracker"
; ";"
line_comment "// The oldErrorReporter exists so we can get errors from the"...
field_declaration (+29 nodes collapsed)
line_comment "// This error reporter gets the messages from the current Rh"...
field_declaration
modifiers
private "private"
final "final"
type_identifier "ErrorReporter"
variable_declarator
identifier "defaultErrorReporter"
= "="
method_invocation
identifier "RhinoErrorReporter"
. "."
identifier "forNewRhino"
argument_list
( "("
this "this"
) ")"
; ";"
block_comment "/** Error strings used for reporting JSErrors */"
field_declaration (+26 nodes collapsed)
field_declaration (+26 nodes collapsed)
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
long "long"
variable_declarator
identifier "COMPILER_STACK_SIZE"
= "="
decimal_integer_literal "1048576L"
; ";"
block_comment "/**\n * Logger for the whole com.google.javascript.jscomp d"...
field_declaration (+21 nodes collapsed)
field_declaration
modifiers
private "private"
final "final"
type_identifier "PrintStream"
variable_declarator
identifier "outStream"
; ";"
field_declaration
modifiers
private "private"
type_identifier "GlobalVarReferenceMap"
variable_declarator
identifier "globalRefMap"
= "="
null_literal "null"
; ";"
field_declaration
modifiers
private "private"
volatile "volatile"
floating_point_type
double "double"
variable_declarator
identifier "progress"
= "="
decimal_floating_point_literal "0.0"
; ";"
block_comment "/**\n * Creates a Compiler that reports errors and warnings"...
constructor_declaration (+21 nodes collapsed)
block_comment "/**\n * Creates n Compiler that reports errors and warnings"...
constructor_declaration (+27 nodes collapsed)
block_comment "/**\n * Creates a Compiler that uses a custom error manager"...
constructor_declaration (+27 nodes collapsed)
block_comment "/**\n * Sets the error manager.\n *\n * @param errorManag"...
method_declaration (+38 nodes collapsed)
block_comment "/**\n * Creates a message formatter instance corresponding "...
method_declaration (+40 nodes collapsed)
block_comment "/**\n * Initialize the compiler options. Only necessary if "...
method_declaration (+443 nodes collapsed)
block_comment "/**\n * Initializes the instance state needed for a compile"...
method_declaration (+64 nodes collapsed)
block_comment "/**\n * Initializes the instance state needed for a compile"...
method_declaration (+99 nodes collapsed)
block_comment "/**\n * Initializes the instance state needed for a compile"...
method_declaration (+64 nodes collapsed)
block_comment "/**\n * Initializes the instance state needed for a compile"...
method_declaration (+232 nodes collapsed)
block_comment "/**\n * Do any initialization that is dependent on the comp"...
method_declaration (+55 nodes collapsed)
method_declaration (+87 nodes collapsed)
field_declaration (+26 nodes collapsed)
field_declaration (+26 nodes collapsed)
block_comment "/**\n * Verifies that at least one module has been provided"...
method_declaration (+121 nodes collapsed)
block_comment "/**\n * Empty modules get an empty \"fill\" file, so that we "...
method_declaration (+30 nodes collapsed)
block_comment "/**\n * Fill any empty modules with a place holder file. It"...
method_declaration (+84 nodes collapsed)
block_comment "/**\n * Rebuilds the internal list of inputs by iterating o"...
method_declaration (+29 nodes collapsed)
block_comment "/**\n * Builds a single list of all module inputs. Verifies"...
method_declaration (+133 nodes collapsed)
field_declaration (+25 nodes collapsed)
field_declaration (+25 nodes collapsed)
block_comment "/**\n * Creates a map to make looking up an input by name f"...
method_declaration (+173 nodes collapsed)
method_declaration (+49 nodes collapsed)
method_declaration (+53 nodes collapsed)
method_declaration (+53 nodes collapsed)
block_comment "/**\n * Compiles a list of inputs.\n */"
method_declaration (+65 nodes collapsed)
block_comment "/**\n * Compiles a list of inputs.\n */"
method_declaration (+148 nodes collapsed)
block_comment "/**\n * Compiles a list of modules.\n */"
method_declaration (+65 nodes collapsed)
block_comment "/**\n * Compiles a list of modules.\n */"
method_declaration (+142 nodes collapsed)
method_declaration (+65 nodes collapsed)
block_comment "/**\n * Disable threads. This is for clients that run on Ap"...
method_declaration
modifiers
public "public"
void_type "void"
identifier "disableThreads"
formal_parameters
( "("
) ")"
block
{ "{"
expression_statement
assignment_expression
identifier "useThreads"
= "="
false "false"
; ";"
} "}"
method_declaration (+48 nodes collapsed)
method_declaration (+39 nodes collapsed)
method_declaration (+342 nodes collapsed)
method_declaration (+235 nodes collapsed)
method_declaration
modifiers
public "public"
void_type "void"
identifier "parse"
formal_parameters
( "("
) ")"
block
{ "{"
expression_statement
method_invocation
identifier "parseInputs"
argument_list
( "("
) ")"
; ";"
} "}"
method_declaration (+35 nodes collapsed)
block_comment "/**\n * Create the passes object. Clients should use setPas"...
method_declaration
type_identifier "PassConfig"
identifier "createPassConfigInternal"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
object_creation_expression
new "new"
type_identifier "DefaultPassConfig"
argument_list
( "("
identifier "options"
) ")"
; ";"
} "}"
block_comment "/**\n * @param passes The PassConfig to use with this Compi"...
method_declaration (+66 nodes collapsed)
block_comment "/**\n * Carry out any special checks or procedures that nee"...
method_declaration
boolean_type "boolean"
identifier "precheck"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
true "true"
; ";"
} "}"
method_declaration (+281 nodes collapsed)
method_declaration (+75 nodes collapsed)
method_declaration (+28 nodes collapsed)
field_declaration (+51 nodes collapsed)
method_declaration (+36 nodes collapsed)
method_declaration (+30 nodes collapsed)
block_comment "/**\n * Removes try/catch/finally statements for easier deb"...
method_declaration (+61 nodes collapsed)
block_comment "/**\n * Strips code for smaller compiled code. This is usef"...
method_declaration (+134 nodes collapsed)
block_comment "/**\n * Runs custom passes that are designated to run at a "...
method_declaration (+96 nodes collapsed)
field_declaration
modifiers
private "private"
type_identifier "Tracer"
variable_declarator
identifier "currentTracer"
= "="
null_literal "null"
; ";"
field_declaration
modifiers
private "private"
type_identifier "String"
variable_declarator
identifier "currentPassName"
= "="
null_literal "null"
; ";"
block_comment "/**\n * Marks the beginning of a pass.\n */"
method_declaration (+42 nodes collapsed)
block_comment "/**\n * Marks the end of a pass.\n */"
method_declaration (+63 nodes collapsed)
block_comment "/**\n * Returns a new tracer for the given pass name.\n */"
method_declaration (+84 nodes collapsed)
method_declaration (+60 nodes collapsed)
block_comment "/**\n * Returns the result of the compilation.\n */"
method_declaration (+95 nodes collapsed)
block_comment "/**\n * Returns an array constructed from errors + temporar"...
method_declaration (+23 nodes collapsed)
block_comment "/**\n * Returns the array of errors (never null).\n */"
method_declaration (+25 nodes collapsed)
block_comment "/**\n * Returns the array of warnings (never null).\n */"
method_declaration (+25 nodes collapsed)
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
type_identifier "Node"
identifier "getRoot"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "externAndJsRoot"
; ";"
} "}"
block_comment "/**\n * Creates a new id for making unique names.\n */"
method_declaration
modifiers
private "private"
integral_type
int "int"
identifier "nextUniqueNameId"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
update_expression
identifier "uniqueNameId"
++ "++"
; ";"
} "}"
block_comment "/**\n * Resets the unique name id counter\n */"
method_declaration
modifiers
marker_annotation
@ "@"
identifier "VisibleForTesting"
void_type "void"
identifier "resetUniqueNameId"
formal_parameters
( "("
) ")"
block
{ "{"
expression_statement
assignment_expression
identifier "uniqueNameId"
= "="
decimal_integer_literal "0"
; ";"
} "}"
method_declaration (+75 nodes collapsed)
method_declaration (+66 nodes collapsed)
line_comment "//----------------------------------------------------------"...
line_comment "// Inputs"
line_comment "//----------------------------------------------------------"...
line_comment "// TODO(nicksantos): Decide which parts of these belong in a"...
line_comment "// interface, and which ones should always be injected."
method_declaration (+28 nodes collapsed)
block_comment "/**\n * Removes an input file from AST.\n * @param id The "...
method_declaration (+125 nodes collapsed)
method_declaration (+132 nodes collapsed)
method_declaration (+41 nodes collapsed)
block_comment "/** Add a source input dynamically. Intended for incremental"...
method_declaration (+72 nodes collapsed)
block_comment "/**\n * Replace a source input dynamically. Intended for in"...
method_declaration (+320 nodes collapsed)
block_comment "/**\n * Add a new source input dynamically. Intended for in"...
method_declaration (+195 nodes collapsed)
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
type_identifier "JSModuleGraph"
identifier "getModuleGraph"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "moduleGraph"
; ";"
} "}"
block_comment "/**\n * Gets a module graph. This will always return a modu"...
method_declaration (+27 nodes collapsed)
method_declaration (+47 nodes collapsed)
method_declaration (+28 nodes collapsed)
method_declaration (+63 nodes collapsed)
method_declaration (+283 nodes collapsed)
method_declaration (+28 nodes collapsed)
method_declaration (+106 nodes collapsed)
method_declaration (+41 nodes collapsed)
line_comment "//----------------------------------------------------------"...
line_comment "// Parsing"
line_comment "//----------------------------------------------------------"...
block_comment "/**\n * Parses the externs and main inputs.\n *\n * @retu"...
method_declaration
type_identifier "Node"
identifier "parseInputs"
formal_parameters
( "("
) ")"
block
{ "{"
local_variable_declaration
boolean_type "boolean"
variable_declarator
identifier "devMode"
= "="
binary_expression
field_access
identifier "options"
. "."
identifier "devMode"
!= "!="
field_access
identifier "DevMode"
. "."
identifier "OFF"
; ";"
line_comment "// If old roots exist (we are parsing a second time), detach"...
line_comment "// individual file parse trees."
if_statement (+21 nodes collapsed)
if_statement (+21 nodes collapsed)
line_comment "// Parse main js sources."
expression_statement
assignment_expression
identifier "jsRoot"
= "="
method_invocation
identifier "IR"
. "."
identifier "block"
argument_list
( "("
) ")"
; ";"
expression_statement
method_invocation
identifier "jsRoot"
. "."
identifier "setIsSyntheticBlock"
argument_list
( "("
true "true"
) ")"
; ";"
expression_statement
assignment_expression
identifier "externsRoot"
= "="
method_invocation
identifier "IR"
. "."
identifier "block"
argument_list
( "("
) ")"
; ";"
expression_statement
method_invocation
identifier "externsRoot"
. "."
identifier "setIsSyntheticBlock"
argument_list
( "("
true "true"
) ")"
; ";"
expression_statement
assignment_expression
identifier "externAndJsRoot"
= "="
method_invocation
identifier "IR"
. "."
identifier "block"
argument_list
( "("
identifier "externsRoot"
, ","
identifier "jsRoot"
) ")"
; ";"
expression_statement
method_invocation
identifier "externAndJsRoot"
. "."
identifier "setIsSyntheticBlock"
argument_list
( "("
true "true"
) ")"
; ";"
if_statement (+49 nodes collapsed)
local_variable_declaration
type_identifier "Tracer"
variable_declarator
identifier "tracer"
= "="
method_invocation
identifier "newTracer"
argument_list
( "("
string_literal
" "\""
string_fragment "parseInputs"
" "\""
) ")"
; ";"
try_statement
try "try"
block
{ "{"
line_comment "// Parse externs sources."
enhanced_for_statement (+52 nodes collapsed)
line_comment "// Modules inferred in ProcessCommonJS pass."
if_statement (+25 nodes collapsed)
line_comment "// Check if inputs need to be rebuilt from modules."
local_variable_declaration
boolean_type "boolean"
variable_declarator
identifier "staleInputs"
= "="
false "false"
; ";"
line_comment "// Check if the sources need to be re-ordered."
if_statement
if "if"
parenthesized_expression
( "("
binary_expression any 2:1
binary_expression any 2:1
method_invocation
field_access
identifier "options"
. "."
identifier "dependencyOptions"
. "."
identifier "needsManagement"
argument_list
( "("
) ")"
&& "&&"
unary_expression
! "!"
field_access
identifier "options"
. "."
identifier "skipAllPasses"
&& "&&"
field_access
identifier "options"
. "."
identifier "closurePass"
) ")"
block (+200 nodes collapsed)
enhanced_for_statement (+180 nodes collapsed)
if_statement (+24 nodes collapsed)
line_comment "// Build the AST."
enhanced_for_statement (+153 nodes collapsed)
if_statement
if "if"
parenthesized_expression
( "("
method_invocation
identifier "hasErrors"
argument_list
( "("
) ")"
) ")"
block
{ "{"
return_statement
return "return"
null_literal "null"
; ";"
} "}"
return_statement
return "return"
identifier "externAndJsRoot"
; ";"
} "}"
finally_clause
finally "finally"
block
{ "{"
expression_statement
method_invocation
identifier "stopTracer"
argument_list
( "("
identifier "tracer"
, ","
string_literal
" "\""
string_fragment "parseInputs"
" "\""
) ")"
; ";"
} "}"
} "}"
block_comment "/**\n * Transforms AMD and CJS modules to something closure"...
method_declaration (+518 nodes collapsed)
method_declaration (+58 nodes collapsed)
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "syntheticCodeId"
= "="
decimal_integer_literal "0"
; ";"
method_declaration (+82 nodes collapsed)
block_comment "/**\n * Allow subclasses to override the default CompileOpt"...
method_declaration
modifiers
protected "protected"
type_identifier "CompilerOptions"
identifier "newCompilerOptions"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
object_creation_expression
new "new"
type_identifier "CompilerOptions"
argument_list
( "("
) ")"
; ";"
} "}"
method_declaration (+35 nodes collapsed)
method_declaration (+45 nodes collapsed)
method_declaration (+99 nodes collapsed)
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
type_identifier "ErrorReporter"
identifier "getDefaultErrorReporter"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "defaultErrorReporter"
; ";"
} "}"
line_comment "//----------------------------------------------------------"...
line_comment "// Convert back to source code"
line_comment "//----------------------------------------------------------"...
block_comment "/**\n * Converts the main parse tree back to js code.\n */"
method_declaration (+179 nodes collapsed)
block_comment "/**\n * Converts the parse tree for each input back to js c"...
method_declaration (+231 nodes collapsed)
block_comment "/**\n * Converts the parse tree for a module back to js cod"...
method_declaration (+220 nodes collapsed)
block_comment "/**\n * Converts the parse tree for each input in a module "...
method_declaration (+279 nodes collapsed)
block_comment "/**\n * Writes out js code from a root node. If printing in"...
method_declaration (+565 nodes collapsed)
block_comment "/**\n * Generates JavaScript source code for an AST, doesn'"...
method_declaration (+36 nodes collapsed)
block_comment "/**\n * Generates JavaScript source code for an AST.\n */"
method_declaration (+189 nodes collapsed)
block_comment "/**\n * Stores a buffer of text to which more can be append"...
class_declaration (+348 nodes collapsed)
line_comment "//----------------------------------------------------------"...
line_comment "// Optimizations"
line_comment "//----------------------------------------------------------"...
method_declaration (+116 nodes collapsed)
method_declaration (+25 nodes collapsed)
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
type_identifier "CssRenamingMap"
identifier "getCssRenamingMap"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
identifier "options"
. "."
identifier "cssRenamingMap"
; ";"
} "}"
block_comment "/**\n * Reprocesses the current defines over the AST. This"...
method_declaration (+42 nodes collapsed)
method_declaration (+34 nodes collapsed)
block_comment "/** Control Flow Analysis. */"
method_declaration (+90 nodes collapsed)
method_declaration (+58 nodes collapsed)
method_declaration (+41 nodes collapsed)
method_declaration (+88 nodes collapsed)
field_declaration (+21 nodes collapsed)
field_declaration (+25 nodes collapsed)
block_comment "/** Name of the synthetic input that holds synthesized exter"...
field_declaration
modifiers
static "static"
final "final"
type_identifier "String"
variable_declarator
identifier "SYNTHETIC_EXTERNS"
= "="
string_literal
" "\""
string_fragment "{SyntheticVarsDeclar}"
" "\""
; ";"
field_declaration
modifiers
private "private"
type_identifier "CompilerInput"
variable_declarator
identifier "synthesizedExternsInput"
= "="
null_literal "null"
; ";"
method_declaration (+26 nodes collapsed)
method_declaration (+26 nodes collapsed)
block_comment "/**\n * All passes should call reportCodeChange() when they"...
method_declaration (+34 nodes collapsed)
method_declaration (+45 nodes collapsed)
method_declaration (+21 nodes collapsed)
method_declaration (+47 nodes collapsed)
method_declaration (+21 nodes collapsed)
method_declaration (+21 nodes collapsed)
method_declaration (+159 nodes collapsed)
method_declaration (+21 nodes collapsed)
line_comment "//----------------------------------------------------------"...
line_comment "// Error reporting"
line_comment "//----------------------------------------------------------"...
block_comment "/**\n * The warning classes that are available from the com"...
method_declaration
modifiers
protected "protected"
type_identifier "DiagnosticGroups"
identifier "getDiagnosticGroups"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
object_creation_expression
new "new"
type_identifier "DiagnosticGroups"
argument_list
( "("
) ")"
; ";"
} "}"
method_declaration (+139 nodes collapsed)
method_declaration (+38 nodes collapsed)
block_comment "/**\n * Report an internal error.\n */"
method_declaration (+88 nodes collapsed)
block_comment "/**\n * Gets the number of errors.\n */"
method_declaration (+22 nodes collapsed)
block_comment "/**\n * Gets the number of warnings.\n */"
method_declaration (+22 nodes collapsed)
method_declaration (+33 nodes collapsed)
block_comment "/**\n * Consults the {@link ErrorManager} to see if we've e"...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "hasErrors"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
method_invocation
identifier "hasHaltingErrors"
argument_list
( "("
) ")"
; ";"
} "}"
block_comment "/** Called from the compiler passes, adds debug info */"
method_declaration (+46 nodes collapsed)
method_declaration (+74 nodes collapsed)
method_declaration (+77 nodes collapsed)
method_declaration (+77 nodes collapsed)
line_comment "//----------------------------------------------------------"...
line_comment "// Package-private helpers"
line_comment "//----------------------------------------------------------"...
method_declaration (+141 nodes collapsed)
method_declaration
modifiers
public "public"
type_identifier "SourceMap"
identifier "getSourceMap"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "sourceMap"
; ";"
} "}"
method_declaration (+26 nodes collapsed)
method_declaration (+26 nodes collapsed)
method_declaration
type_identifier "CompilerOptions"
identifier "getOptions"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "options"
; ";"
} "}"
method_declaration
type_identifier "FunctionInformationMap"
identifier "getFunctionalInformationMap"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "functionInformationMap"
; ";"
} "}"
block_comment "/**\n * Sets the logging level for the com.google.javascrip"...
method_declaration (+25 nodes collapsed)
block_comment "/** Gets the DOT graph of the AST generated at the end of co"...
method_declaration (+84 nodes collapsed)
method_declaration (+42 nodes collapsed)
method_declaration (+33 nodes collapsed)
block_comment "/**\n * Returns an unmodifiable view of the compiler inputs"...
method_declaration (+29 nodes collapsed)
block_comment "/**\n * Gets the externs in the order in which they are bei"...
method_declaration (+29 nodes collapsed)
block_comment "/**\n * Stores the internal compiler state just before opti"...
class_declaration (+124 nodes collapsed)
block_comment "/**\n * Returns the current internal state, excluding the i"...
method_declaration (+129 nodes collapsed)
block_comment "/**\n * Sets the internal state to the capture given. Note"...
method_declaration (+128 nodes collapsed)
method_declaration (+22 nodes collapsed)
method_declaration (+22 nodes collapsed)
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
boolean_type "boolean"
identifier "hasRegExpGlobalReferences"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "hasRegExpGlobalReferences"
; ";"
} "}"
method_declaration (+22 nodes collapsed)
method_declaration (+98 nodes collapsed)
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
type_identifier "GlobalVarReferenceMap"
identifier "getGlobalVarReferences"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "globalRefMap"
; ";"
} "}"
method_declaration (+40 nodes collapsed)
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
floating_point_type
double "double"
identifier "getProgress"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "progress"
; ";"
} "}"
method_declaration (+64 nodes collapsed)
block_comment "/**\n * Replaces one file in a hot-swap mode. The given JsA"...
method_declaration (+77 nodes collapsed)
block_comment "/**\n * Adds a new Script AST to the compile state. If a sc"...
method_declaration (+109 nodes collapsed)
method_declaration (+123 nodes collapsed)
block_comment "/**\n * Execute the passes from a PassConfig instance over "...
method_declaration (+51 nodes collapsed)
method_declaration (+82 nodes collapsed)
method_declaration (+25 nodes collapsed)
method_declaration (+35 nodes collapsed)
method_declaration (+187 nodes collapsed)
block_comment "/** Load a library as a resource */"
method_declaration (+120 nodes collapsed)
} "}"