class_body
{ "{"
field_declaration
modifiers
private "private"
final "final"
type_identifier "AbstractCompiler"
variable_declarator
identifier "compiler"
; ";"
field_declaration
modifiers
private "private"
final "final"
boolean_type "boolean"
variable_declarator
identifier "assertOnChange"
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
boolean_type "boolean"
variable_declarator
identifier "CONVERT_WHILE_TO_FOR"
= "="
true "true"
; ";"
field_declaration
modifiers
static "static"
final "final"
boolean_type "boolean"
variable_declarator
identifier "MAKE_LOCAL_NAMES_UNIQUE"
= "="
true "true"
; ";"
constructor_declaration (+33 nodes collapsed)
method_declaration (+49 nodes collapsed)
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
void_type "void"
identifier "process"
formal_parameters
( "("
formal_parameter
type_identifier "Node"
identifier "externs"
, ","
formal_parameter
type_identifier "Node"
identifier "root"
) ")"
block
{ "{"
expression_statement
method_invocation
identifier "NodeTraversal"
. "."
identifier "traverse"
argument_list
( "("
identifier "compiler"
, ","
identifier "root"
, ","
this "this"
) ")"
; ";"
if_statement (+48 nodes collapsed)
expression_statement
method_invocation
identifier "removeDuplicateDeclarations"
argument_list
( "("
identifier "root"
) ")"
; ";"
expression_statement
method_invocation
object_creation_expression
new "new"
type_identifier "PropogateConstantAnnotations"
argument_list
( "("
identifier "compiler"
, ","
identifier "assertOnChange"
) ")"
. "."
identifier "process"
argument_list
( "("
identifier "externs"
, ","
identifier "root"
) ")"
; ";"
} "}"
method_declaration (+41 nodes collapsed)
class_declaration (+372 nodes collapsed)
block_comment "/**\n * Walk the AST tree and verify that constant names ar"...
class_declaration (+585 nodes collapsed)
method_declaration (+139 nodes collapsed)
block_comment "/**\n * Do normalizations that introduce new siblings or pa"...
method_declaration (+157 nodes collapsed)
line_comment "// TODO(johnlenz): Move this to NodeTypeNormalizer once the "...
line_comment "// fixed."
block_comment "/**\n * Limit the number of special cases where LABELs need"...
method_declaration (+163 nodes collapsed)
block_comment "/**\n * Bring the initializers out of FOR loops. These nee"...
method_declaration (+298 nodes collapsed)
block_comment "/**\n * Split a var node such as:\n * var a, b;\n * int"...
method_declaration (+216 nodes collapsed)
block_comment "/**\n * Move all the functions that are valid at the execut"...
method_declaration (+218 nodes collapsed)
block_comment "/**\n * @param after The child node to insert the newChild "...
method_declaration (+64 nodes collapsed)
block_comment "/**\n * Remove duplicate VAR declarations.\n */"
method_declaration (+73 nodes collapsed)
block_comment "/**\n * ScopeCreator duplicate declaration handler.\n */"
class_declaration (+359 nodes collapsed)
block_comment "/**\n * A simple class that causes scope to be created.\n "...
class_declaration (+117 nodes collapsed)
} "}"