class_body
{ "{"
field_declaration (+25 nodes collapsed)
field_declaration (+25 nodes collapsed)
field_declaration
modifiers
static "static"
final "final"
type_identifier "String"
variable_declarator
identifier "SUSPICIOUS_COMMENT_WARNING"
= "="
binary_expression
string_literal
" "\""
string_fragment "Non-JSDoc comment has annotations. "
" "\""
+ "+"
string_literal
" "\""
string_fragment "Did you mean to start it with '/**'?"
" "\""
; ";"
field_declaration
modifiers
static "static"
final "final"
type_identifier "String"
variable_declarator
identifier "MISPLACED_TYPE_ANNOTATION"
= "="
string_literal
" "\""
string_fragment "Type annotations are not allowed here. Are you missing paren"...
" "\""
; ";"
field_declaration (+31 nodes collapsed)
field_declaration
modifiers
private "private"
final "final"
type_identifier "String"
variable_declarator
identifier "sourceString"
; ";"
field_declaration
modifiers
private "private"
final "final"
type_identifier "StaticSourceFile"
variable_declarator
identifier "sourceFile"
; ";"
field_declaration
modifiers
private "private"
final "final"
type_identifier "String"
variable_declarator
identifier "sourceName"
; ";"
field_declaration
modifiers
private "private"
final "final"
type_identifier "Config"
variable_declarator
identifier "config"
; ";"
field_declaration
modifiers
private "private"
final "final"
type_identifier "ErrorReporter"
variable_declarator
identifier "errorReporter"
; ";"
field_declaration
modifiers
private "private"
final "final"
type_identifier "TransformDispatcher"
variable_declarator
identifier "transformDispatcher"
; ";"
field_declaration (+26 nodes collapsed)
field_declaration (+57 nodes collapsed)
field_declaration (+102 nodes collapsed)
field_declaration
modifiers
private "private"
final "final"
generic_type
type_identifier "Set"
type_arguments
< "<"
type_identifier "String"
> ">"
variable_declarator
identifier "reservedKeywords"
; ";"
field_declaration (+21 nodes collapsed)
line_comment "// @license text gets appended onto the fileLevelJsDocBuilde"...
line_comment "// and stored in JSDocInfo for placeholder node."
field_declaration
type_identifier "Node"
variable_declarator
identifier "rootNodeJsDocHolder"
= "="
object_creation_expression
new "new"
type_identifier "Node"
argument_list
( "("
field_access
identifier "Token"
. "."
identifier "SCRIPT"
) ")"
; ";"
field_declaration
scoped_type_identifier
type_identifier "Node"
. "."
type_identifier "FileLevelJsDocBuilder"
variable_declarator
identifier "fileLevelJsDocBuilder"
= "="
method_invocation
identifier "rootNodeJsDocHolder"
. "."
identifier "getJsDocBuilderForNode"
argument_list
( "("
) ")"
; ";"
field_declaration
type_identifier "JSDocInfo"
variable_declarator
identifier "fileOverviewInfo"
= "="
null_literal "null"
; ";"
line_comment "// Use a template node for properties set on all nodes to mi"...
line_comment "// memory footprint associated with these."
field_declaration
modifiers
private "private"
final "final"
type_identifier "Node"
variable_declarator
identifier "templateNode"
; ";"
line_comment "// TODO(johnlenz): Consider creating a template pool for ORI"...
constructor_declaration (+185 nodes collapsed)
line_comment "// Create a template node to use as a source of common attri"...
line_comment "// the prop structure to be shared among all the node from t"...
line_comment "// This reduces the cost of these properties to O(nodes) to "...
method_declaration (+42 nodes collapsed)
method_declaration (+193 nodes collapsed)
method_declaration (+158 nodes collapsed)
method_declaration (+154 nodes collapsed)
block_comment "/**\n * Check to see if the given block comment looks like "...
method_declaration
modifiers
private "private"
void_type "void"
identifier "handleBlockComment"
formal_parameters
( "("
formal_parameter
type_identifier "Comment"
identifier "comment"
) ")"
block
{ "{"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
binary_expression
method_invocation
method_invocation all 2:1
identifier "comment" all 2:1
. "." all 2:1
identifier "getValue" all 2:1
argument_list all 2:1
( "(" all 2:1
) ")" all 2:1
. "."
identifier "indexOf"
argument_list
( "("
string_literal
" "\""
string_fragment "/* @"
" "\""
) ")"
!= "!="
unary_expression
- "-"
decimal_integer_literal "1"
|| "||"
binary_expression
method_invocation
method_invocation all 2:1
identifier "comment" all 2:1
. "." all 2:1
identifier "getValue" all 2:1
argument_list all 2:1
( "(" all 2:1
) ")" all 2:1
. "."
identifier "indexOf"
argument_list
( "("
string_literal
" "\""
escape_sequence "\\n"
string_fragment " * @"
" "\""
) ")"
!= "!="
unary_expression
- "-"
decimal_integer_literal "1"
) ")"
block (+29 nodes collapsed)
} "}"
block_comment "/**\n * @return true if the jsDocParser represents a fileov"...
method_declaration (+52 nodes collapsed)
method_declaration (+50 nodes collapsed)
method_declaration (+126 nodes collapsed)
method_declaration (+600 nodes collapsed)
method_declaration (+75 nodes collapsed)
method_declaration (+75 nodes collapsed)
method_declaration (+91 nodes collapsed)
method_declaration (+93 nodes collapsed)
block_comment "/**\n * Parameter NAMEs are special, because they can have "...
method_declaration (+101 nodes collapsed)
method_declaration (+80 nodes collapsed)
method_declaration (+87 nodes collapsed)
method_declaration (+68 nodes collapsed)
method_declaration (+104 nodes collapsed)
block_comment "/**\n * Creates a JsDocInfoParser and parses the JsDoc stri"...
method_declaration (+147 nodes collapsed)
block_comment "/**\n * Parses inline type info.\n */"
method_declaration (+124 nodes collapsed)
line_comment "// Set the length on the node if we're in IDE mode."
method_declaration (+46 nodes collapsed)
method_declaration (+66 nodes collapsed)
method_declaration (+25 nodes collapsed)
class_declaration (+6077 nodes collapsed)
method_declaration (+2648 nodes collapsed)
line_comment "// Simple helper to create nodes and set the initial node pr"...
method_declaration (+32 nodes collapsed)
method_declaration (+38 nodes collapsed)
method_declaration (+44 nodes collapsed)
method_declaration (+50 nodes collapsed)
method_declaration (+32 nodes collapsed)
method_declaration (+39 nodes collapsed)
method_declaration (+32 nodes collapsed)
} "}"