class_body
{ "{"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
long "long"
variable_declarator
identifier "serialVersionUID"
= "="
unary_expression
- "-"
decimal_integer_literal "2362048321261811743L"
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
type_identifier "String"
variable_declarator
identifier "DUMMY_PATTERN"
= "="
string_literal
" "\""
" "\""
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
type_identifier "String"
variable_declarator
identifier "ESCAPED_QUOTE"
= "="
string_literal
" "\""
string_fragment "''"
" "\""
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
char "char"
variable_declarator
identifier "START_FMT"
= "="
character_literal "','"
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
char "char"
variable_declarator
identifier "END_FE"
= "="
character_literal "'}'"
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
char "char"
variable_declarator
identifier "START_FE"
= "="
character_literal "'{'"
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
char "char"
variable_declarator
identifier "QUOTE"
= "="
character_literal "'\\''"
; ";"
field_declaration
modifiers
private "private"
type_identifier "String"
variable_declarator
identifier "toPattern"
; ";"
field_declaration
modifiers
private "private"
type_identifier "Map"
variable_declarator
identifier "registry"
; ";"
block_comment "/**\n * Create a new ExtendedMessageFormat for the defaul"...
constructor_declaration (+28 nodes collapsed)
block_comment "/**\n * Create a new ExtendedMessageFormat.\n * \n "...
constructor_declaration (+28 nodes collapsed)
block_comment "/**\n * Create a new ExtendedMessageFormat for the defaul"...
constructor_declaration (+34 nodes collapsed)
block_comment "/**\n * Create a new ExtendedMessageFormat.\n * \n "...
constructor_declaration (+53 nodes collapsed)
block_comment "/**\n * {@inheritDoc}\n */"
method_declaration
modifiers
public "public"
type_identifier "String"
identifier "toPattern"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "toPattern"
; ";"
} "}"
block_comment "/**\n * Apply the specified pattern.\n * \n * @para"...
method_declaration (+665 nodes collapsed)
block_comment "/**\n * {@inheritDoc}\n * @throws UnsupportedOperation"...
method_declaration (+28 nodes collapsed)
block_comment "/**\n * {@inheritDoc}\n * @throws UnsupportedOperation"...
method_declaration (+28 nodes collapsed)
block_comment "/**\n * {@inheritDoc}\n * @throws UnsupportedOperation"...
method_declaration (+27 nodes collapsed)
block_comment "/**\n * {@inheritDoc}\n * @throws UnsupportedOperation"...
method_declaration (+27 nodes collapsed)
block_comment "/**\n * Get a custom format from a format description.\n "...
method_declaration (+163 nodes collapsed)
block_comment "/**\n * Read the argument index from the current format e"...
method_declaration (+349 nodes collapsed)
block_comment "/**\n * Parse the format component of a format element.\n "...
method_declaration (+210 nodes collapsed)
block_comment "/**\n * Insert formats back into the pattern for toPatter"...
method_declaration (+316 nodes collapsed)
block_comment "/**\n * Consume whitespace from the current parse positio"...
method_declaration (+122 nodes collapsed)
block_comment "/**\n * Convenience method to advance parse position by 1"...
method_declaration (+37 nodes collapsed)
block_comment "/**\n * Consume a quoted string, adding it to <code>appen"...
method_declaration
modifiers
private "private"
type_identifier "StringBuffer"
identifier "appendQuotedString"
formal_parameters
( "("
formal_parameter
type_identifier "String"
identifier "pattern"
, ","
formal_parameter
type_identifier "ParsePosition"
identifier "pos"
, ","
formal_parameter
type_identifier "StringBuffer"
identifier "appendTo"
, ","
formal_parameter
boolean_type "boolean"
identifier "escapingOn"
) ")"
block
{ "{"
local_variable_declaration
integral_type
int "int"
variable_declarator
identifier "start"
= "="
method_invocation
identifier "pos"
. "."
identifier "getIndex"
argument_list
( "("
) ")"
; ";"
local_variable_declaration
array_type
integral_type
char "char"
dimensions
[ "["
] "]"
variable_declarator
identifier "c"
= "="
method_invocation
identifier "pattern"
. "."
identifier "toCharArray"
argument_list
( "("
) ")"
; ";"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
identifier "escapingOn"
&& "&&"
binary_expression
array_access
identifier "c"
[ "["
identifier "start"
] "]"
== "=="
identifier "QUOTE"
) ")"
block
{ "{"
return_statement
return "return"
ternary_expression
binary_expression
identifier "appendTo"
== "=="
null_literal "null"
? "?"
null_literal "null"
: ":"
method_invocation
identifier "appendTo"
. "."
identifier "append"
argument_list
( "("
identifier "QUOTE"
) ")"
; ";"
} "}"
local_variable_declaration
integral_type
int "int"
variable_declarator
identifier "lastHold"
= "="
identifier "start"
; ";"
for_statement (+201 nodes collapsed)
throw_statement
throw "throw"
object_creation_expression
new "new"
type_identifier "IllegalArgumentException"
argument_list
( "("
binary_expression
string_literal
" "\""
string_fragment "Unterminated quoted string at position "
" "\""
+ "+"
identifier "start"
) ")"
; ";"
} "}"
block_comment "/**\n * Consume quoted string only\n * \n * @param "...
method_declaration (+36 nodes collapsed)
block_comment "/**\n * Learn whether the specified Collection contains n"...
method_declaration (+96 nodes collapsed)
} "}"