class_body
{ "{"
block_comment "/** holder for flattened tokens */"
field_declaration
modifiers
private "private"
type_identifier "ArrayList"
variable_declarator
identifier "tokens"
= "="
object_creation_expression
new "new"
type_identifier "ArrayList"
argument_list
( "("
) ")"
; ";"
block_comment "/** specifies if bursting should continue */"
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "eatTheRest"
; ";"
block_comment "/** holder for the current option */"
field_declaration
modifiers
private "private"
type_identifier "Option"
variable_declarator
identifier "currentOption"
; ";"
block_comment "/** the command line Options */"
field_declaration
modifiers
private "private"
type_identifier "Options"
variable_declarator
identifier "options"
; ";"
block_comment "/**\n * <p>Resets the members to their original state i.e"...
method_declaration (+32 nodes collapsed)
block_comment "/**\n * <p>An implementation of {@link Parser}'s abstract"...
method_declaration (+418 nodes collapsed)
block_comment "/**\n * <p>Adds the remaining tokens to the processed tok"...
method_declaration (+54 nodes collapsed)
block_comment "/**\n * <p>If there is a current option and it can have a"...
method_declaration (+128 nodes collapsed)
block_comment "/**\n * <p>If it is a hyphen then add the hyphen directly"...
method_declaration (+24 nodes collapsed)
block_comment "/**\n * <p>If an {@link Option} exists for <code>token</c"...
method_declaration (+79 nodes collapsed)
block_comment "/**\n * <p>Breaks <code>token</code> into its constituent"...
method_declaration
modifiers
protected "protected"
void_type "void"
identifier "burstToken"
formal_parameters
( "("
formal_parameter
type_identifier "String"
identifier "token"
, ","
formal_parameter
boolean_type "boolean"
identifier "stopAtNonOption"
) ")"
block
{ "{"
local_variable_declaration
integral_type
int "int"
variable_declarator
identifier "tokenLength"
= "="
method_invocation
identifier "token"
. "."
identifier "length"
argument_list
( "("
) ")"
; ";"
for_statement
for "for"
( "("
local_variable_declaration
integral_type
int "int"
variable_declarator
identifier "i"
= "="
decimal_integer_literal "1"
; ";"
binary_expression
identifier "i"
< "<"
identifier "tokenLength"
; ";"
update_expression
identifier "i"
++ "++"
) ")"
block
{ "{"
local_variable_declaration (+21 nodes collapsed)
local_variable_declaration
boolean_type "boolean"
variable_declarator
identifier "hasOption"
= "="
method_invocation
identifier "options"
. "."
identifier "hasOption"
argument_list
( "("
identifier "ch"
) ")"
; ";"
if_statement
if "if"
parenthesized_expression
( "("
identifier "hasOption"
) ")"
block (+91 nodes collapsed)
else "else"
if_statement
if "if"
parenthesized_expression
( "("
identifier "stopAtNonOption"
) ")"
block
{ "{"
expression_statement
method_invocation
identifier "process"
argument_list
( "("
method_invocation
identifier "token"
. "."
identifier "substring"
argument_list
( "("
identifier "i"
) ")"
) ")"
; ";"
} "}"
else "else"
block
{ "{"
expression_statement
method_invocation
identifier "tokens"
. "."
identifier "add"
argument_list
( "("
binary_expression
string_literal
" "\""
string_fragment "-"
" "\""
+ "+"
identifier "ch"
) ")"
; ";"
} "}"
} "}"
} "}"
} "}"