class_body
{ "{"
block_comment "/**\n * Creates a parser for the given {@link File}.\n "...
method_declaration (+72 nodes collapsed)
block_comment "/**\n * Creates a parser for the given {@link String}.\n "...
method_declaration (+72 nodes collapsed)
block_comment "/**\n * Creates a parser for the given URL.\n *\n *"...
method_declaration (+117 nodes collapsed)
line_comment "// the following objects are shared to reduce garbage"
field_declaration
modifiers
private "private"
final "final"
type_identifier "CSVFormat"
variable_declarator
identifier "format"
; ";"
block_comment "/** A mapping of column names to column indices */"
field_declaration
modifiers
private "private"
final "final"
generic_type
type_identifier "Map"
type_arguments
< "<"
type_identifier "String"
, ","
type_identifier "Integer"
> ">"
variable_declarator
identifier "headerMap"
; ";"
field_declaration
modifiers
private "private"
final "final"
type_identifier "Lexer"
variable_declarator
identifier "lexer"
; ";"
block_comment "/** A record buffer for getRecord(). Grows as necessary and "...
field_declaration (+25 nodes collapsed)
field_declaration
modifiers
private "private"
integral_type
long "long"
variable_declarator
identifier "recordNumber"
; ";"
field_declaration
modifiers
private "private"
final "final"
type_identifier "Token"
variable_declarator
identifier "reusableToken"
= "="
object_creation_expression
new "new"
type_identifier "Token"
argument_list
( "("
) ")"
; ";"
block_comment "/**\n * Customized CSV parser using the given {@link CSVF"...
constructor_declaration (+110 nodes collapsed)
method_declaration (+104 nodes collapsed)
block_comment "/**\n * Closes resources.\n *\n * @throws IOExcepti"...
method_declaration (+41 nodes collapsed)
block_comment "/**\n * Returns the current line number in the input stre"...
method_declaration (+25 nodes collapsed)
block_comment "/**\n * Returns a copy of the header map that iterates in"...
method_declaration
modifiers
public "public"
generic_type
type_identifier "Map"
type_arguments
< "<"
type_identifier "String"
, ","
type_identifier "Integer"
> ">"
identifier "getHeaderMap"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
object_creation_expression
new "new"
generic_type
type_identifier "LinkedHashMap"
type_arguments
< "<"
type_identifier "String"
, ","
type_identifier "Integer"
> ">"
argument_list
( "("
field_access
this "this"
. "."
identifier "headerMap"
) ")"
; ";"
} "}"
block_comment "/**\n * Returns the current record number in the input st"...
method_declaration
modifiers
public "public"
integral_type
long "long"
identifier "getRecordNumber"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "recordNumber"
; ";"
} "}"
block_comment "/**\n * Parses the CSV input according to the given forma"...
method_declaration (+86 nodes collapsed)
block_comment "/**\n * Initializes the name to index mapping if the form"...
method_declaration (+256 nodes collapsed)
method_declaration (+24 nodes collapsed)
block_comment "/**\n * Returns an iterator on the records.\n *\n *"...
method_declaration (+301 nodes collapsed)
block_comment "/**\n * Parses the next record from the current point in "...
method_declaration (+383 nodes collapsed)
} "}"