DefinitionTree { definitions: [ Function( FunctionDefinition { comments: CommentGroup { comments: [], }, attributes: [], function: Keyword { value: "function", position: 0, }, name: Identifier { position: 9, value: "main", }, templates: None, parameters: FunctionLikeParameterListDefinition { comments: CommentGroup { comments: [], }, left_parenthesis: 13, parameters: CommaSeparated { inner: [], commas: [], }, right_parenthesis: 14, }, return_type: FunctionLikeReturnTypeDefinition { colon: 15, type_definition: Void( Keyword { value: "void", position: 17, }, ), }, body: BlockStatement { comments: CommentGroup { comments: [], }, left_brace: 22, statements: [ If( IfStatement { comments: CommentGroup { comments: [], }, if: Keyword { value: "if", position: 28, }, conditions: CommaSeparated { inner: [ Parenthesized( ParenthesizedExpression { comments: CommentGroup { comments: [], }, left_parenthesis: 30, expression: Variable( Variable { position: 31, name: "$foo", }, ), right_parenthesis: 35, }, ), ], commas: [], }, block: BlockStatement { comments: CommentGroup { comments: [], }, left_brace: 37, statements: [ Return( Explicit { comments: CommentGroup { comments: [], }, return: Keyword { value: "return", position: 39, }, expression: Some( Variable( Variable { position: 46, name: "$foo", }, ), ), semicolon: 50, }, ), ], right_brace: 52, }, elseifs: [], else: Some( IfElseStatement { comments: CommentGroup { comments: [], }, else: Keyword { value: "else", position: 54, }, block: Block( BlockStatement { comments: CommentGroup { comments: [], }, left_brace: 59, statements: [ Return( Explicit { comments: CommentGroup { comments: [], }, return: Keyword { value: "return", position: 61, }, expression: Some( Variable( Variable { position: 68, name: "$foo", }, ), ), semicolon: 72, }, ), ], right_brace: 74, }, ), }, ), }, ), ], right_brace: 76, }, }, ), ], eof: 78, }