class_body
{ "{"
line_comment "// tag searches"
field_declaration (+32 nodes collapsed)
field_declaration (+62 nodes collapsed)
field_declaration (+32 nodes collapsed)
field_declaration (+27 nodes collapsed)
field_declaration (+32 nodes collapsed)
field_declaration (+32 nodes collapsed)
field_declaration (+62 nodes collapsed)
field_declaration (+417 nodes collapsed)
field_declaration
modifiers
private "private"
type_identifier "HtmlTreeBuilderState"
variable_declarator
identifier "state"
; ";"
line_comment "// the current state"
field_declaration
modifiers
private "private"
type_identifier "HtmlTreeBuilderState"
variable_declarator
identifier "originalState"
; ";"
line_comment "// original / marked state"
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "baseUriSetFromDoc"
= "="
false "false"
; ";"
field_declaration
modifiers
private "private"
type_identifier "Element"
variable_declarator
identifier "headElement"
; ";"
line_comment "// the current head element"
field_declaration
modifiers
private "private"
type_identifier "FormElement"
variable_declarator
identifier "formElement"
; ";"
line_comment "// the current form element"
field_declaration
modifiers
private "private"
type_identifier "Element"
variable_declarator
identifier "contextElement"
; ";"
line_comment "// fragment parse context -- could be null even if fragment "...
field_declaration (+24 nodes collapsed)
line_comment "// active (open) formatting elements"
field_declaration (+24 nodes collapsed)
line_comment "// chars in table to be shifted out"
field_declaration
modifiers
private "private"
scoped_type_identifier
type_identifier "Token"
. "."
type_identifier "EndTag"
variable_declarator
identifier "emptyEnd"
= "="
object_creation_expression
new "new"
scoped_type_identifier
type_identifier "Token"
. "."
type_identifier "EndTag"
argument_list
( "("
) ")"
; ";"
line_comment "// reused empty end tag"
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "framesetOk"
= "="
true "true"
; ";"
line_comment "// if ok to go into frameset"
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "fosterInserts"
= "="
false "false"
; ";"
line_comment "// if next inserts should be fostered"
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "fragmentParsing"
= "="
false "false"
; ";"
line_comment "// if parsing a fragment of html"
constructor_declaration
identifier "HtmlTreeBuilder"
formal_parameters
( "("
) ")"
constructor_body
{ "{"
} "}"
method_declaration (+54 nodes collapsed)
method_declaration (+488 nodes collapsed)
method_declaration (+39 nodes collapsed)
method_declaration (+35 nodes collapsed)
method_declaration (+21 nodes collapsed)
method_declaration
type_identifier "HtmlTreeBuilderState"
identifier "state"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "state"
; ";"
} "}"
method_declaration
void_type "void"
identifier "markInsertionMode"
formal_parameters
( "("
) ")"
block
{ "{"
expression_statement
assignment_expression
identifier "originalState"
= "="
identifier "state"
; ";"
} "}"
method_declaration
type_identifier "HtmlTreeBuilderState"
identifier "originalState"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "originalState"
; ";"
} "}"
method_declaration (+21 nodes collapsed)
method_declaration
boolean_type "boolean"
identifier "framesetOk"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "framesetOk"
; ";"
} "}"
method_declaration
type_identifier "Document"
identifier "getDocument"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "doc"
; ";"
} "}"
method_declaration
type_identifier "String"
identifier "getBaseUri"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "baseUri"
; ";"
} "}"
method_declaration (+81 nodes collapsed)
method_declaration
boolean_type "boolean"
identifier "isFragmentParsing"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "fragmentParsing"
; ";"
} "}"
method_declaration (+61 nodes collapsed)
method_declaration (+147 nodes collapsed)
method_declaration (+46 nodes collapsed)
method_declaration (+30 nodes collapsed)
method_declaration (+143 nodes collapsed)
method_declaration (+95 nodes collapsed)
method_declaration (+44 nodes collapsed)
method_declaration (+123 nodes collapsed)
method_declaration (+132 nodes collapsed)
method_declaration (+37 nodes collapsed)
method_declaration (+22 nodes collapsed)
method_declaration
generic_type
type_identifier "ArrayList"
type_arguments
< "<"
type_identifier "Element"
> ">"
identifier "getStack"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "stack"
; ";"
} "}"
method_declaration (+23 nodes collapsed)
method_declaration (+89 nodes collapsed)
method_declaration (+88 nodes collapsed)
method_declaration (+88 nodes collapsed)
method_declaration (+90 nodes collapsed)
method_declaration (+94 nodes collapsed)
method_declaration (+97 nodes collapsed)
method_declaration
void_type "void"
identifier "clearStackToTableContext"
formal_parameters
( "("
) ")"
block
{ "{"
expression_statement
method_invocation
identifier "clearStackToContext"
argument_list
( "("
string_literal
" "\""
string_fragment "table"
" "\""
) ")"
; ";"
} "}"
method_declaration (+30 nodes collapsed)
method_declaration
void_type "void"
identifier "clearStackToTableRowContext"
formal_parameters
( "("
) ")"
block
{ "{"
expression_statement
method_invocation
identifier "clearStackToContext"
argument_list
( "("
string_literal
" "\""
string_fragment "tr"
" "\""
) ")"
; ";"
} "}"
method_declaration (+116 nodes collapsed)
method_declaration (+97 nodes collapsed)
method_declaration (+61 nodes collapsed)
method_declaration (+28 nodes collapsed)
method_declaration (+69 nodes collapsed)
method_declaration
void_type "void"
identifier "resetInsertionMode"
formal_parameters
( "("
) ")"
block
{ "{"
local_variable_declaration
boolean_type "boolean"
variable_declarator
identifier "last"
= "="
false "false"
; ";"
for_statement
for "for"
( "("
local_variable_declaration
integral_type
int "int"
variable_declarator
identifier "pos"
= "="
binary_expression
method_invocation
identifier "stack"
. "."
identifier "size"
argument_list
( "("
) ")"
- "-"
decimal_integer_literal "1"
; ";"
binary_expression
identifier "pos"
>= ">="
decimal_integer_literal "0"
; ";"
update_expression
identifier "pos"
-- "--"
) ")"
block
{ "{"
local_variable_declaration
type_identifier "Element"
variable_declarator
identifier "node"
= "="
method_invocation
identifier "stack"
. "."
identifier "get"
argument_list
( "("
identifier "pos"
) ")"
; ";"
if_statement (+24 nodes collapsed)
local_variable_declaration
type_identifier "String"
variable_declarator
identifier "name"
= "="
method_invocation
identifier "node"
. "."
identifier "nodeName"
argument_list
( "("
) ")"
; ";"
if_statement
if "if"
parenthesized_expression
( "("
method_invocation
string_literal
" "\""
string_fragment "select"
" "\""
. "."
identifier "equals"
argument_list
( "("
identifier "name"
) ")"
) ")"
block
{ "{"
expression_statement
method_invocation
identifier "transition"
argument_list
( "("
field_access
identifier "HtmlTreeBuilderState"
. "."
identifier "InSelect"
) ")"
; ";"
break_statement
break "break"
; ";"
line_comment "// frag"
} "}"
else "else"
if_statement
if "if"
parenthesized_expression
( "("
parenthesized_expression
( "("
binary_expression
method_invocation
string_literal
" "\""
string_fragment "td"
" "\""
. "."
identifier "equals"
argument_list
( "("
identifier "name"
) ")"
|| "||"
binary_expression
method_invocation
string_literal
" "\""
string_fragment "td"
" "\""
. "."
identifier "equals"
argument_list
( "("
identifier "name"
) ")"
&& "&&"
unary_expression
! "!"
identifier "last"
) ")"
) ")"
block
{ "{"
expression_statement
method_invocation
identifier "transition"
argument_list
( "("
field_access
identifier "HtmlTreeBuilderState"
. "."
identifier "InCell"
) ")"
; ";"
break_statement
break "break"
; ";"
} "}"
else "else"
if_statement (+360 nodes collapsed)
} "}"
} "}"
line_comment "// todo: tidy up in specific scope methods"
field_declaration
modifiers
private "private"
array_type
type_identifier "String"
dimensions
[ "["
] "]"
variable_declarator
identifier "specificScopeTarget"
= "="
array_initializer
{ "{"
null_literal "null"
} "}"
; ";"
method_declaration (+53 nodes collapsed)
method_declaration (+173 nodes collapsed)
method_declaration (+29 nodes collapsed)
method_declaration (+23 nodes collapsed)
method_declaration (+35 nodes collapsed)
method_declaration (+23 nodes collapsed)
method_declaration (+23 nodes collapsed)
method_declaration (+25 nodes collapsed)
method_declaration (+127 nodes collapsed)
method_declaration (+21 nodes collapsed)
method_declaration
type_identifier "Element"
identifier "getHeadElement"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "headElement"
; ";"
} "}"
method_declaration
boolean_type "boolean"
identifier "isFosterInserts"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "fosterInserts"
; ";"
} "}"
method_declaration (+21 nodes collapsed)
method_declaration
type_identifier "FormElement"
identifier "getFormElement"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "formElement"
; ";"
} "}"
method_declaration (+21 nodes collapsed)
method_declaration (+25 nodes collapsed)
method_declaration
generic_type
type_identifier "List"
type_arguments
< "<"
type_identifier "String"
> ">"
identifier "getPendingTableCharacters"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "pendingTableCharacters"
; ";"
} "}"
method_declaration (+26 nodes collapsed)
block_comment "/**\n 11.2.5.2 Closing elements that have implied end tag"...
method_declaration (+75 nodes collapsed)
method_declaration
void_type "void"
identifier "generateImpliedEndTags"
formal_parameters
( "("
) ")"
block
{ "{"
expression_statement
method_invocation
identifier "generateImpliedEndTags"
argument_list
( "("
null_literal "null"
) ")"
; ";"
} "}"
method_declaration (+40 nodes collapsed)
method_declaration (+43 nodes collapsed)
method_declaration (+51 nodes collapsed)
line_comment "// active formatting elements"
method_declaration (+132 nodes collapsed)
method_declaration (+66 nodes collapsed)
method_declaration (+272 nodes collapsed)
method_declaration (+49 nodes collapsed)
method_declaration (+83 nodes collapsed)
method_declaration (+23 nodes collapsed)
method_declaration (+99 nodes collapsed)
method_declaration (+28 nodes collapsed)
method_declaration
void_type "void"
identifier "insertMarkerToFormattingElements"
formal_parameters
( "("
) ")"
block
{ "{"
expression_statement
method_invocation
identifier "formattingElements"
. "."
identifier "add"
argument_list
( "("
null_literal "null"
) ")"
; ";"
} "}"
method_declaration (+158 nodes collapsed)
method_declaration (+55 nodes collapsed)
} "}"