DefinitionTree { definitions: [ Function( FunctionDefinition { comments: CommentGroup { comments: [], }, attributes: [], function: Keyword { value: "function", position: 0, }, name: Identifier { position: 9, value: "foo", }, templates: None, parameters: FunctionLikeParameterListDefinition { comments: CommentGroup { comments: [], }, left_parenthesis: 12, parameters: CommaSeparated { inner: [], commas: [], }, right_parenthesis: 13, }, return_type: FunctionLikeReturnTypeDefinition { colon: 14, type_definition: Void( Keyword { value: "void", position: 16, }, ), }, body: BlockStatement { comments: CommentGroup { comments: [], }, left_brace: 21, statements: [ For( ForStatement { comments: CommentGroup { comments: [], }, for: Keyword { value: "for", position: 27, }, iterator: Parenthesized { left_parenthesis: 31, initializations: CommaSeparated { inner: [ AssignmentOperation( Assignment { comments: CommentGroup { comments: [], }, left: Variable( Variable { position: 32, name: "$i", }, ), equals: 35, right: Literal( Integer( LiteralInteger { comments: CommentGroup { comments: [], }, value: "0", position: 37, }, ), ), }, ), AssignmentOperation( Assignment { comments: CommentGroup { comments: [], }, left: Variable( Variable { position: 40, name: "$i", }, ), equals: 43, right: Literal( Integer( LiteralInteger { comments: CommentGroup { comments: [], }, value: "1", position: 45, }, ), ), }, ), ], commas: [ 38, ], }, initializations_semicolon: 46, conditions: CommaSeparated { inner: [], commas: [], }, conditions_semicolon: 47, loop: CommaSeparated { inner: [], commas: [], }, right_parenthesis: 48, }, block: BlockStatement { comments: CommentGroup { comments: [], }, left_brace: 50, statements: [], right_brace: 65, }, }, ), ], right_brace: 67, }, }, ), ], eof: 69, }