--- source: full-moon/tests/pass_cases.rs assertion_line: 52 expression: ast.nodes() input_file: full-moon/tests/cases/pass/numeric-for-loop --- stmts: - - NumericFor: for_token: leading_trivia: [] token: start_position: bytes: 0 line: 1 character: 1 end_position: bytes: 3 line: 1 character: 4 token_type: type: Symbol symbol: for trailing_trivia: - start_position: bytes: 3 line: 1 character: 4 end_position: bytes: 4 line: 1 character: 5 token_type: type: Whitespace characters: " " index_variable: leading_trivia: [] token: start_position: bytes: 4 line: 1 character: 5 end_position: bytes: 9 line: 1 character: 10 token_type: type: Identifier identifier: index trailing_trivia: - start_position: bytes: 9 line: 1 character: 10 end_position: bytes: 10 line: 1 character: 11 token_type: type: Whitespace characters: " " equal_token: leading_trivia: [] token: start_position: bytes: 10 line: 1 character: 11 end_position: bytes: 11 line: 1 character: 12 token_type: type: Symbol symbol: "=" trailing_trivia: - start_position: bytes: 11 line: 1 character: 12 end_position: bytes: 12 line: 1 character: 13 token_type: type: Whitespace characters: " " start: Number: leading_trivia: [] token: start_position: bytes: 12 line: 1 character: 13 end_position: bytes: 13 line: 1 character: 14 token_type: type: Number text: "1" trailing_trivia: [] start_end_comma: leading_trivia: [] token: start_position: bytes: 13 line: 1 character: 14 end_position: bytes: 14 line: 1 character: 15 token_type: type: Symbol symbol: "," trailing_trivia: - start_position: bytes: 14 line: 1 character: 15 end_position: bytes: 15 line: 1 character: 16 token_type: type: Whitespace characters: " " end: Number: leading_trivia: [] token: start_position: bytes: 15 line: 1 character: 16 end_position: bytes: 17 line: 1 character: 18 token_type: type: Number text: "10" trailing_trivia: - start_position: bytes: 17 line: 1 character: 18 end_position: bytes: 18 line: 1 character: 19 token_type: type: Whitespace characters: " " end_step_comma: ~ step: ~ do_token: leading_trivia: [] token: start_position: bytes: 18 line: 1 character: 19 end_position: bytes: 20 line: 1 character: 21 token_type: type: Symbol symbol: do trailing_trivia: - start_position: bytes: 20 line: 1 character: 21 end_position: bytes: 21 line: 1 character: 22 token_type: type: Whitespace characters: " " block: stmts: - - FunctionCall: prefix: Name: leading_trivia: [] token: start_position: bytes: 21 line: 1 character: 22 end_position: bytes: 25 line: 1 character: 26 token_type: type: Identifier identifier: call trailing_trivia: [] suffixes: - Call: AnonymousCall: Parentheses: parentheses: tokens: - leading_trivia: [] token: start_position: bytes: 25 line: 1 character: 26 end_position: bytes: 26 line: 1 character: 27 token_type: type: Symbol symbol: ( trailing_trivia: [] - leading_trivia: [] token: start_position: bytes: 31 line: 1 character: 32 end_position: bytes: 32 line: 1 character: 33 token_type: type: Symbol symbol: ) trailing_trivia: - start_position: bytes: 32 line: 1 character: 33 end_position: bytes: 33 line: 1 character: 34 token_type: type: Whitespace characters: " " arguments: pairs: - End: Var: Name: leading_trivia: [] token: start_position: bytes: 26 line: 1 character: 27 end_position: bytes: 31 line: 1 character: 32 token_type: type: Identifier identifier: index trailing_trivia: [] - ~ end_token: leading_trivia: [] token: start_position: bytes: 33 line: 1 character: 34 end_position: bytes: 36 line: 1 character: 37 token_type: type: Symbol symbol: end trailing_trivia: - start_position: bytes: 36 line: 1 character: 37 end_position: bytes: 37 line: 1 character: 37 token_type: type: Whitespace characters: "\n" - ~ - - NumericFor: for_token: leading_trivia: [] token: start_position: bytes: 37 line: 2 character: 1 end_position: bytes: 40 line: 2 character: 4 token_type: type: Symbol symbol: for trailing_trivia: - start_position: bytes: 40 line: 2 character: 4 end_position: bytes: 41 line: 2 character: 5 token_type: type: Whitespace characters: " " index_variable: leading_trivia: [] token: start_position: bytes: 41 line: 2 character: 5 end_position: bytes: 42 line: 2 character: 6 token_type: type: Identifier identifier: _ trailing_trivia: - start_position: bytes: 42 line: 2 character: 6 end_position: bytes: 43 line: 2 character: 7 token_type: type: Whitespace characters: " " equal_token: leading_trivia: [] token: start_position: bytes: 43 line: 2 character: 7 end_position: bytes: 44 line: 2 character: 8 token_type: type: Symbol symbol: "=" trailing_trivia: - start_position: bytes: 44 line: 2 character: 8 end_position: bytes: 45 line: 2 character: 9 token_type: type: Whitespace characters: " " start: Var: Name: leading_trivia: [] token: start_position: bytes: 45 line: 2 character: 9 end_position: bytes: 50 line: 2 character: 14 token_type: type: Identifier identifier: start trailing_trivia: [] start_end_comma: leading_trivia: [] token: start_position: bytes: 50 line: 2 character: 14 end_position: bytes: 51 line: 2 character: 15 token_type: type: Symbol symbol: "," trailing_trivia: - start_position: bytes: 51 line: 2 character: 15 end_position: bytes: 52 line: 2 character: 16 token_type: type: Whitespace characters: " " end: Var: Name: leading_trivia: [] token: start_position: bytes: 52 line: 2 character: 16 end_position: bytes: 57 line: 2 character: 21 token_type: type: Identifier identifier: final trailing_trivia: - start_position: bytes: 57 line: 2 character: 21 end_position: bytes: 58 line: 2 character: 22 token_type: type: Whitespace characters: " " end_step_comma: ~ step: ~ do_token: leading_trivia: [] token: start_position: bytes: 58 line: 2 character: 22 end_position: bytes: 60 line: 2 character: 24 token_type: type: Symbol symbol: do trailing_trivia: - start_position: bytes: 60 line: 2 character: 24 end_position: bytes: 61 line: 2 character: 25 token_type: type: Whitespace characters: " " block: stmts: [] end_token: leading_trivia: [] token: start_position: bytes: 61 line: 2 character: 25 end_position: bytes: 64 line: 2 character: 28 token_type: type: Symbol symbol: end trailing_trivia: - start_position: bytes: 64 line: 2 character: 28 end_position: bytes: 65 line: 2 character: 28 token_type: type: Whitespace characters: "\n" - ~ - - NumericFor: for_token: leading_trivia: [] token: start_position: bytes: 65 line: 3 character: 1 end_position: bytes: 68 line: 3 character: 4 token_type: type: Symbol symbol: for trailing_trivia: - start_position: bytes: 68 line: 3 character: 4 end_position: bytes: 69 line: 3 character: 5 token_type: type: Whitespace characters: " " index_variable: leading_trivia: [] token: start_position: bytes: 69 line: 3 character: 5 end_position: bytes: 70 line: 3 character: 6 token_type: type: Identifier identifier: _ trailing_trivia: - start_position: bytes: 70 line: 3 character: 6 end_position: bytes: 71 line: 3 character: 7 token_type: type: Whitespace characters: " " equal_token: leading_trivia: [] token: start_position: bytes: 71 line: 3 character: 7 end_position: bytes: 72 line: 3 character: 8 token_type: type: Symbol symbol: "=" trailing_trivia: - start_position: bytes: 72 line: 3 character: 8 end_position: bytes: 73 line: 3 character: 9 token_type: type: Whitespace characters: " " start: Number: leading_trivia: [] token: start_position: bytes: 73 line: 3 character: 9 end_position: bytes: 74 line: 3 character: 10 token_type: type: Number text: "1" trailing_trivia: [] start_end_comma: leading_trivia: [] token: start_position: bytes: 74 line: 3 character: 10 end_position: bytes: 75 line: 3 character: 11 token_type: type: Symbol symbol: "," trailing_trivia: - start_position: bytes: 75 line: 3 character: 11 end_position: bytes: 76 line: 3 character: 12 token_type: type: Whitespace characters: " " end: Number: leading_trivia: [] token: start_position: bytes: 76 line: 3 character: 12 end_position: bytes: 78 line: 3 character: 14 token_type: type: Number text: "10" trailing_trivia: [] end_step_comma: leading_trivia: [] token: start_position: bytes: 78 line: 3 character: 14 end_position: bytes: 79 line: 3 character: 15 token_type: type: Symbol symbol: "," trailing_trivia: - start_position: bytes: 79 line: 3 character: 15 end_position: bytes: 80 line: 3 character: 16 token_type: type: Whitespace characters: " " step: Number: leading_trivia: [] token: start_position: bytes: 80 line: 3 character: 16 end_position: bytes: 81 line: 3 character: 17 token_type: type: Number text: "2" trailing_trivia: - start_position: bytes: 81 line: 3 character: 17 end_position: bytes: 82 line: 3 character: 18 token_type: type: Whitespace characters: " " do_token: leading_trivia: [] token: start_position: bytes: 82 line: 3 character: 18 end_position: bytes: 84 line: 3 character: 20 token_type: type: Symbol symbol: do trailing_trivia: - start_position: bytes: 84 line: 3 character: 20 end_position: bytes: 85 line: 3 character: 21 token_type: type: Whitespace characters: " " block: stmts: [] end_token: leading_trivia: [] token: start_position: bytes: 85 line: 3 character: 21 end_position: bytes: 88 line: 3 character: 24 token_type: type: Symbol symbol: end trailing_trivia: [] - ~