class_body
{ "{"
field_declaration
modifiers
final "final"
static "static"
integral_type
byte "byte"
variable_declarator
identifier "BYTE_LF"
= "="
cast_expression
( "("
integral_type
byte "byte"
) ")"
character_literal "'\\n'"
; ";"
line_comment "// This is the main input-code lookup table, fetched eagerly"
field_declaration (+22 nodes collapsed)
line_comment "// Latin1 encoding is not supported, but we do use 8-bit sub"...
line_comment "// pre-processing task, to simplify first pass, keep it fast"...
field_declaration (+22 nodes collapsed)
line_comment "// White-space processing is done all the time, pre-fetch as"...
field_declaration (+22 nodes collapsed)
block_comment "/*\n /****************************************************"...
block_comment "/**\n * Codec used for data binding when (if) requested; "...
field_declaration
modifiers
protected "protected"
type_identifier "ObjectCodec"
variable_declarator
identifier "_objectCodec"
; ";"
block_comment "/**\n * Symbol table that contains field names encountere"...
field_declaration
modifiers
final "final"
protected "protected"
type_identifier "BytesToNameCanonicalizer"
variable_declarator
identifier "_symbols"
; ";"
block_comment "/*\n /****************************************************"...
block_comment "/**\n * Temporary buffer used for name parsing.\n */"
field_declaration (+21 nodes collapsed)
block_comment "/**\n * Flag that indicates that the current token has no"...
field_declaration
modifiers
protected "protected"
boolean_type "boolean"
variable_declarator
identifier "_tokenIncomplete"
= "="
false "false"
; ";"
block_comment "/**\n * Temporary storage for partially parsed name bytes"...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "_quad1"
; ";"
block_comment "/*\n /****************************************************"...
field_declaration
modifiers
protected "protected"
type_identifier "InputStream"
variable_declarator
identifier "_inputStream"
; ";"
block_comment "/*\n /****************************************************"...
block_comment "/**\n * Current buffer from which data is read; generally"...
field_declaration
modifiers
protected "protected"
array_type
integral_type
byte "byte"
dimensions
[ "["
] "]"
variable_declarator
identifier "_inputBuffer"
; ";"
block_comment "/**\n * Flag that indicates whether the input buffer is r"...
field_declaration
modifiers
protected "protected"
boolean_type "boolean"
variable_declarator
identifier "_bufferRecyclable"
; ";"
block_comment "/*\n /****************************************************"...
constructor_declaration
modifiers
public "public"
identifier "UTF8StreamJsonParser"
formal_parameters (+46 nodes collapsed)
constructor_body
{ "{"
explicit_constructor_invocation
super "super"
argument_list
( "("
identifier "ctxt"
, ","
identifier "features"
) ")"
; ";"
expression_statement
assignment_expression
identifier "_inputStream"
= "="
identifier "in"
; ";"
expression_statement
assignment_expression
identifier "_objectCodec"
= "="
identifier "codec"
; ";"
expression_statement
assignment_expression
identifier "_symbols"
= "="
identifier "sym"
; ";"
expression_statement
assignment_expression
identifier "_inputBuffer"
= "="
identifier "inputBuffer"
; ";"
expression_statement
assignment_expression
identifier "_inputPtr"
= "="
identifier "start"
; ";"
expression_statement
assignment_expression
identifier "_inputEnd"
= "="
identifier "end"
; ";"
line_comment "// If we have offset, need to omit that from byte offset, so"...
expression_statement
assignment_expression
identifier "_bufferRecyclable"
= "="
identifier "bufferRecyclable"
; ";"
} "}"
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
type_identifier "ObjectCodec"
identifier "getCodec"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "_objectCodec"
; ";"
} "}"
method_declaration (+23 nodes collapsed)
block_comment "/*\n /****************************************************"...
method_declaration (+75 nodes collapsed)
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
type_identifier "Object"
identifier "getInputSource"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "_inputStream"
; ";"
} "}"
block_comment "/*\n /****************************************************"...
method_declaration (+142 nodes collapsed)
block_comment "/**\n * Helper method that will try to load at least spec"...
method_declaration (+224 nodes collapsed)
method_declaration (+71 nodes collapsed)
block_comment "/**\n * Method called to release internal buffers owned b"...
method_declaration (+85 nodes collapsed)
block_comment "/*\n /****************************************************"...
method_declaration (+76 nodes collapsed)
line_comment "// // // Let's override default impls for improved performan"...
line_comment "// @since 2.1"
method_declaration (+78 nodes collapsed)
line_comment "// @since 2.1"
method_declaration (+81 nodes collapsed)
method_declaration (+101 nodes collapsed)
method_declaration (+242 nodes collapsed)
method_declaration (+139 nodes collapsed)
method_declaration (+114 nodes collapsed)
method_declaration (+225 nodes collapsed)
method_declaration (+134 nodes collapsed)
method_declaration (+979 nodes collapsed)
line_comment "// As per [Issue#108], must ensure we call the right method"
method_declaration (+53 nodes collapsed)
line_comment "// As per [Issue#108], must ensure we call the right method"
method_declaration (+59 nodes collapsed)
block_comment "/*\n /****************************************************"...
block_comment "/**\n * @return Next token from the stream, if any found,"...
method_declaration (+774 nodes collapsed)
method_declaration (+331 nodes collapsed)
method_declaration (+104 nodes collapsed)
block_comment "/*\n /****************************************************"...
method_declaration (+599 nodes collapsed)
method_declaration (+460 nodes collapsed)
method_declaration (+431 nodes collapsed)
method_declaration (+200 nodes collapsed)
method_declaration (+181 nodes collapsed)
method_declaration (+181 nodes collapsed)
method_declaration (+221 nodes collapsed)
block_comment "/*\n /****************************************************"...
block_comment "/**\n * Initial parsing method for number values. It need"...
method_declaration (+460 nodes collapsed)
block_comment "/**\n * Method called to handle parsing when input is spl"...
method_declaration (+291 nodes collapsed)
block_comment "/**\n * Method called when we have seen one zero, and wan"...
method_declaration (+213 nodes collapsed)
method_declaration (+702 nodes collapsed)
block_comment "/**\n * Method called to ensure that a root-value is foll"...
method_declaration (+90 nodes collapsed)
block_comment "/*\n /****************************************************"...
method_declaration (+501 nodes collapsed)
method_declaration (+395 nodes collapsed)
method_declaration (+481 nodes collapsed)
block_comment "/**\n * Method called when not even first 8 bytes are gua"...
method_declaration (+111 nodes collapsed)
method_declaration (+46 nodes collapsed)
method_declaration (+61 nodes collapsed)
block_comment "/**\n * Slower parsing method which is generally branched"...
method_declaration (+685 nodes collapsed)
block_comment "/**\n * Method called when we see non-white space charact"...
method_declaration (+455 nodes collapsed)
block_comment "/* Parsing to support [JACKSON-173]. Plenty of duplicated co"...
method_declaration (+779 nodes collapsed)
block_comment "/*\n /****************************************************"...
method_declaration (+79 nodes collapsed)
method_declaration (+96 nodes collapsed)
method_declaration (+129 nodes collapsed)
block_comment "/**\n * This is the main workhorse method used when we ta"...
method_declaration (+933 nodes collapsed)
block_comment "/*\n /****************************************************"...
method_declaration (+256 nodes collapsed)
method_declaration (+595 nodes collapsed)
block_comment "/**\n * Method called to skim through rest of unparsed St"...
method_declaration (+330 nodes collapsed)
block_comment "/**\n * Method for handling cases where first non-space c"...
method_declaration (+314 nodes collapsed)
method_declaration (+620 nodes collapsed)
block_comment "/**\n * Method called if expected numeric value (due to l"...
method_declaration (+237 nodes collapsed)
method_declaration (+243 nodes collapsed)
block_comment "/*\n /****************************************************"...
method_declaration (+288 nodes collapsed)
method_declaration (+257 nodes collapsed)
block_comment "/**\n * Helper method for matching and skipping a colon c"...
method_declaration (+469 nodes collapsed)
method_declaration (+153 nodes collapsed)
method_declaration (+284 nodes collapsed)
method_declaration (+49 nodes collapsed)
block_comment "/**\n * Method for skipping contents of an input line; us"...
method_declaration (+233 nodes collapsed)
method_declaration (+345 nodes collapsed)
method_declaration (+382 nodes collapsed)
block_comment "/*\n /****************************************************"...
method_declaration (+114 nodes collapsed)
method_declaration (+210 nodes collapsed)
method_declaration (+172 nodes collapsed)
block_comment "/**\n * @return Character value <b>minus 0x10000</c>; thi"...
method_declaration (+297 nodes collapsed)
method_declaration (+86 nodes collapsed)
block_comment "/* Alas, can't heavily optimize skipping, since we still hav"...
method_declaration (+154 nodes collapsed)
method_declaration (+222 nodes collapsed)
block_comment "/*\n /****************************************************"...
block_comment "/**\n * We actually need to check the character value her"...
method_declaration (+66 nodes collapsed)
method_declaration (+47 nodes collapsed)
block_comment "/*\n /****************************************************"...
method_declaration (+30 nodes collapsed)
method_declaration (+165 nodes collapsed)
method_declaration (+47 nodes collapsed)
method_declaration (+39 nodes collapsed)
method_declaration (+39 nodes collapsed)
method_declaration (+37 nodes collapsed)
method_declaration (+72 nodes collapsed)
block_comment "/*\n /****************************************************"...
block_comment "/**\n * Efficient handling for incremental parsing of bas"...
method_declaration (+772 nodes collapsed)
} "}"