class_body
{ "{"
class_declaration (+2007 nodes collapsed)
block_comment "/**\n * Set of options that can be used with the --formatti"...
enum_declaration (+94 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)
method_declaration (+657 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
( "("
) ")"
; ";"
expression_statement
method_invocation
identifier "options"
. "."
identifier "setCodingConvention"
argument_list
( "("
object_creation_expression
new "new"
type_identifier "ClosureCodingConvention"
argument_list
( "("
) ")"
) ")"
; ";"
local_variable_declaration
type_identifier "CompilationLevel"
variable_declarator
identifier "level"
= "="
field_access
identifier "flags"
. "."
identifier "compilation_level"
; ";"
expression_statement
method_invocation
identifier "level"
. "."
identifier "setOptionsForCompilationLevel"
argument_list
( "("
identifier "options"
) ")"
; ";"
if_statement (+22 nodes collapsed)
local_variable_declaration
type_identifier "WarningLevel"
variable_declarator
identifier "wLevel"
= "="
field_access
identifier "flags"
. "."
identifier "warning_level"
; ";"
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 "process_closure_primitives"
; ";"
expression_statement
method_invocation
identifier "initOptionsFromFlags"
argument_list
( "("
identifier "options"
) ")"
; ";"
return_statement
return "return"
identifier "options"
; ";"
} "}"
method_declaration (+28 nodes collapsed)
method_declaration (+94 nodes collapsed)
line_comment "// The externs expected in externs.zip, in sorted order."
field_declaration (+206 nodes collapsed)
block_comment "/**\n * @return a mutable list\n * @throws IOException\n "...
method_declaration (+253 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)
} "}"