class_body
{ "{"
class_declaration (+56 nodes collapsed)
line_comment "// I don't really care about unchecked warnings in this clas"...
class_declaration (+3507 nodes collapsed)
block_comment "/**\n * Set of options that can be used with the --formatti"...
enum_declaration (+114 nodes collapsed)
field_declaration
modifiers
private "private"
final "final"
type_identifier "Flags"
variable_declarator
identifier "flags"
= "="
object_creation_expression
new "new"
type_identifier "Flags"
argument_list
( "("
) ")"
; ";"
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "isConfigValid"
= "="
false "false"
; ";"
block_comment "/**\n * Create a new command-line runner. You should only n"...
constructor_declaration (+36 nodes collapsed)
constructor_declaration (+44 nodes collapsed)
block_comment "/**\n * Split strings into tokens delimited by whitespace, "...
method_declaration (+132 nodes collapsed)
method_declaration (+231 nodes collapsed)
method_declaration (+246 nodes collapsed)
method_declaration (+869 nodes collapsed)
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
protected "protected"
type_identifier "CompilerOptions"
identifier "createOptions"
formal_parameters
( "("
) ")"
block
{ "{"
local_variable_declaration
type_identifier "CompilerOptions"
variable_declarator
identifier "options"
= "="
object_creation_expression
new "new"
type_identifier "CompilerOptions"
argument_list
( "("
) ")"
; ";"
if_statement (+46 nodes collapsed)
expression_statement
method_invocation
identifier "options"
. "."
identifier "setExtraAnnotationNames"
argument_list
( "("
field_access
identifier "flags"
. "."
identifier "extraAnnotationName"
) ")"
; ";"
local_variable_declaration
type_identifier "CompilationLevel"
variable_declarator
identifier "level"
= "="
field_access
identifier "flags"
. "."
identifier "compilationLevel"
; ";"
expression_statement
method_invocation
identifier "level"
. "."
identifier "setOptionsForCompilationLevel"
argument_list
( "("
identifier "options"
) ")"
; ";"
if_statement (+22 nodes collapsed)
if_statement (+22 nodes collapsed)
if_statement (+25 nodes collapsed)
local_variable_declaration
type_identifier "WarningLevel"
variable_declarator
identifier "wLevel"
= "="
field_access
identifier "flags"
. "."
identifier "warningLevel"
; ";"
expression_statement
method_invocation
identifier "wLevel"
. "."
identifier "setOptionsForWarningLevel"
argument_list
( "("
identifier "options"
) ")"
; ";"
enhanced_for_statement (+24 nodes collapsed)
expression_statement
assignment_expression
field_access
identifier "options"
. "."
identifier "closurePass"
= "="
field_access
identifier "flags"
. "."
identifier "processClosurePrimitives"
; ";"
expression_statement (+21 nodes collapsed)
expression_statement
assignment_expression
field_access
identifier "options"
. "."
identifier "angularPass"
= "="
field_access
identifier "flags"
. "."
identifier "angularPass"
; ";"
if_statement
if "if"
parenthesized_expression
( "("
unary_expression
! "!"
method_invocation
field_access
identifier "flags"
. "."
identifier "translationsFile"
. "."
identifier "isEmpty"
argument_list
( "("
) ")"
) ")"
block (+63 nodes collapsed)
else "else"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
field_access
identifier "CompilationLevel"
. "."
identifier "ADVANCED_OPTIMIZATIONS"
== "=="
identifier "level"
) ")"
block
{ "{"
line_comment "// In SIMPLE or WHITESPACE mode, if the user hasn't specifie"...
line_comment "// translations file, they might reasonably try to write the"...
line_comment "// implementation of goog.getMsg that makes the substitution"...
line_comment "// run-time."
line_comment "//"
line_comment "// In ADVANCED mode, goog.getMsg is going to be renamed anyw"...
line_comment "// so we might as well inline it. But shut off the i18n warn"...
line_comment "// because the user didn't really ask for i18n."
expression_statement
assignment_expression
field_access
identifier "options"
. "."
identifier "messageBundle"
= "="
object_creation_expression
new "new"
type_identifier "EmptyMessageBundle"
argument_list
( "("
) ")"
; ";"
} "}"
return_statement
return "return"
identifier "options"
; ";"
} "}"
method_declaration (+28 nodes collapsed)
method_declaration (+99 nodes collapsed)
line_comment "// The externs expected in externs.zip, in sorted order."
field_declaration (+236 nodes collapsed)
block_comment "/**\n * @return a mutable list\n * @throws IOException\n "...
method_declaration (+302 nodes collapsed)
block_comment "/**\n * @return Whether the configuration is valid.\n */"
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "shouldRunCompiler"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "isConfigValid"
; ";"
} "}"
block_comment "/**\n * Runs the Compiler. Exits cleanly in the event of an"...
method_declaration (+72 nodes collapsed)
} "}"