block
{ "{"
expression_statement (+22 nodes collapsed)
expression_statement
method_invocation
identifier "removeDuplicateDeclarations"
argument_list
( "("
identifier "root"
) ")"
; ";"
if_statement (+48 nodes collapsed)
line_comment "// It is important that removeDuplicateDeclarations runs aft"...
line_comment "// MakeDeclaredNamesUnique in order for catch block exceptio"...
line_comment "// handled properly. Specifically, catch block exception nam"...
line_comment "// only valid within the catch block, but our currect Scope "...
line_comment "// has no concept of this and includes it in the containing "...
line_comment "// (or global scope). MakeDeclaredNamesUnique makes the catc"...
line_comment "// names unique so that removeDuplicateDeclarations() will p"...
line_comment "// cases where a function scope variable conflict with a exc"...
line_comment "// function f() {"
line_comment "// try {throw 0;} catch(e) {e; /* catch scope 'e'*/}"
line_comment "// var e = 1; // f scope 'e'"
line_comment "// }"
line_comment "// otherwise 'var e = 1' would be rewritten as 'e = 1'."
line_comment "// TODO(johnlenz): Introduce a seperate scope for catch node"...
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"
) ")"
; ";"
} "}"