--- source: full-moon/tests/fail_cases.rs expression: result.ast() --- nodes: stmts: - - FunctionCall: prefix: Name: leading_trivia: [] token: start_position: bytes: 0 line: 1 character: 1 end_position: bytes: 5 line: 1 character: 6 token_type: type: Identifier identifier: print trailing_trivia: [] suffixes: - Call: AnonymousCall: Parentheses: parentheses: tokens: - leading_trivia: [] token: start_position: bytes: 5 line: 1 character: 6 end_position: bytes: 6 line: 1 character: 7 token_type: type: Symbol symbol: ( trailing_trivia: [] - leading_trivia: [] token: start_position: bytes: 9 line: 1 character: 10 end_position: bytes: 10 line: 1 character: 11 token_type: type: Symbol symbol: ) trailing_trivia: - start_position: bytes: 10 line: 1 character: 11 end_position: bytes: 11 line: 1 character: 11 token_type: type: Whitespace characters: "\n" arguments: pairs: - End: String: leading_trivia: [] token: start_position: bytes: 6 line: 1 character: 7 end_position: bytes: 9 line: 1 character: 10 token_type: type: StringLiteral literal: "1" quote_type: Double trailing_trivia: [] - ~ - - FunctionCall: prefix: Name: leading_trivia: [] token: start_position: bytes: 59 line: 3 character: 1 end_position: bytes: 64 line: 3 character: 6 token_type: type: Identifier identifier: print trailing_trivia: [] suffixes: - Call: AnonymousCall: Parentheses: parentheses: tokens: - leading_trivia: [] token: start_position: bytes: 64 line: 3 character: 6 end_position: bytes: 65 line: 3 character: 7 token_type: type: Symbol symbol: ( trailing_trivia: [] - leading_trivia: [] token: start_position: bytes: 68 line: 3 character: 10 end_position: bytes: 69 line: 3 character: 11 token_type: type: Symbol symbol: ) trailing_trivia: - start_position: bytes: 69 line: 3 character: 11 end_position: bytes: 70 line: 3 character: 11 token_type: type: Whitespace characters: "\n" arguments: pairs: - End: String: leading_trivia: [] token: start_position: bytes: 65 line: 3 character: 7 end_position: bytes: 68 line: 3 character: 10 token_type: type: StringLiteral literal: "2" quote_type: Double trailing_trivia: [] - ~ last_stmt: - Break: leading_trivia: [] token: start_position: bytes: 11 line: 2 character: 1 end_position: bytes: 16 line: 2 character: 6 token_type: type: Symbol symbol: break trailing_trivia: - start_position: bytes: 16 line: 2 character: 6 end_position: bytes: 17 line: 2 character: 7 token_type: type: Whitespace characters: " " - start_position: bytes: 17 line: 2 character: 7 end_position: bytes: 58 line: 2 character: 48 token_type: type: SingleLineComment comment: " this can be replaced with break/return" - start_position: bytes: 58 line: 2 character: 48 end_position: bytes: 59 line: 2 character: 48 token_type: type: Whitespace characters: "\n" - ~ eof: leading_trivia: [] token: start_position: bytes: 70 line: 4 character: 1 end_position: bytes: 70 line: 4 character: 1 token_type: type: Eof trailing_trivia: []