--- source: full-moon/tests/pass_cases.rs assertion_line: 52 expression: ast.nodes() input_file: full-moon/tests/lua52_cases/pass/goto-1 --- 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: 5 line: 1 character: 6 token_type: type: Identifier identifier: i trailing_trivia: [] equal_token: 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: [] start: Number: leading_trivia: [] token: start_position: bytes: 6 line: 1 character: 7 end_position: bytes: 7 line: 1 character: 8 token_type: type: Number text: "1" trailing_trivia: [] start_end_comma: leading_trivia: [] token: start_position: bytes: 7 line: 1 character: 8 end_position: bytes: 8 line: 1 character: 9 token_type: type: Symbol symbol: "," trailing_trivia: - start_position: bytes: 8 line: 1 character: 9 end_position: bytes: 9 line: 1 character: 10 token_type: type: Whitespace characters: " " end: Number: leading_trivia: [] token: start_position: bytes: 9 line: 1 character: 10 end_position: bytes: 11 line: 1 character: 12 token_type: type: Number text: "10" trailing_trivia: - start_position: bytes: 11 line: 1 character: 12 end_position: bytes: 12 line: 1 character: 13 token_type: type: Whitespace characters: " " end_step_comma: ~ step: ~ do_token: leading_trivia: [] token: start_position: bytes: 12 line: 1 character: 13 end_position: bytes: 14 line: 1 character: 15 token_type: type: Symbol symbol: do trailing_trivia: - start_position: bytes: 14 line: 1 character: 15 end_position: bytes: 15 line: 1 character: 15 token_type: type: Whitespace characters: "\n" block: stmts: - - If: if_token: leading_trivia: - start_position: bytes: 15 line: 2 character: 1 end_position: bytes: 16 line: 2 character: 2 token_type: type: Whitespace characters: "\t" token: start_position: bytes: 16 line: 2 character: 2 end_position: bytes: 18 line: 2 character: 4 token_type: type: Symbol symbol: if trailing_trivia: - start_position: bytes: 18 line: 2 character: 4 end_position: bytes: 19 line: 2 character: 5 token_type: type: Whitespace characters: " " condition: BinaryOperator: lhs: Var: Name: leading_trivia: [] token: start_position: bytes: 19 line: 2 character: 5 end_position: bytes: 20 line: 2 character: 6 token_type: type: Identifier identifier: i trailing_trivia: - start_position: bytes: 20 line: 2 character: 6 end_position: bytes: 21 line: 2 character: 7 token_type: type: Whitespace characters: " " binop: TwoEqual: leading_trivia: [] token: start_position: bytes: 21 line: 2 character: 7 end_position: bytes: 23 line: 2 character: 9 token_type: type: Symbol symbol: "==" trailing_trivia: - start_position: bytes: 23 line: 2 character: 9 end_position: bytes: 24 line: 2 character: 10 token_type: type: Whitespace characters: " " rhs: Number: leading_trivia: [] token: start_position: bytes: 24 line: 2 character: 10 end_position: bytes: 25 line: 2 character: 11 token_type: type: Number text: "5" trailing_trivia: - start_position: bytes: 25 line: 2 character: 11 end_position: bytes: 26 line: 2 character: 12 token_type: type: Whitespace characters: " " then_token: leading_trivia: [] token: start_position: bytes: 26 line: 2 character: 12 end_position: bytes: 30 line: 2 character: 16 token_type: type: Symbol symbol: then trailing_trivia: - start_position: bytes: 30 line: 2 character: 16 end_position: bytes: 31 line: 2 character: 16 token_type: type: Whitespace characters: "\n" block: stmts: - - Goto: goto_token: leading_trivia: - start_position: bytes: 31 line: 3 character: 1 end_position: bytes: 33 line: 3 character: 3 token_type: type: Whitespace characters: "\t\t" token: start_position: bytes: 33 line: 3 character: 3 end_position: bytes: 37 line: 3 character: 7 token_type: type: Symbol symbol: goto trailing_trivia: - start_position: bytes: 37 line: 3 character: 7 end_position: bytes: 38 line: 3 character: 8 token_type: type: Whitespace characters: " " label_name: leading_trivia: [] token: start_position: bytes: 38 line: 3 character: 8 end_position: bytes: 42 line: 3 character: 12 token_type: type: Identifier identifier: done trailing_trivia: - start_position: bytes: 42 line: 3 character: 12 end_position: bytes: 43 line: 3 character: 12 token_type: type: Whitespace characters: "\n" - ~ else_if: ~ else_token: ~ else: ~ end_token: leading_trivia: - start_position: bytes: 43 line: 4 character: 1 end_position: bytes: 44 line: 4 character: 2 token_type: type: Whitespace characters: "\t" token: start_position: bytes: 44 line: 4 character: 2 end_position: bytes: 47 line: 4 character: 5 token_type: type: Symbol symbol: end trailing_trivia: - start_position: bytes: 47 line: 4 character: 5 end_position: bytes: 48 line: 4 character: 5 token_type: type: Whitespace characters: "\n" - ~ end_token: leading_trivia: [] token: start_position: bytes: 48 line: 5 character: 1 end_position: bytes: 51 line: 5 character: 4 token_type: type: Symbol symbol: end trailing_trivia: - start_position: bytes: 51 line: 5 character: 4 end_position: bytes: 52 line: 5 character: 4 token_type: type: Whitespace characters: "\n" - ~ - - Label: left_colons: leading_trivia: [] token: start_position: bytes: 52 line: 6 character: 1 end_position: bytes: 54 line: 6 character: 3 token_type: type: Symbol symbol: "::" trailing_trivia: [] name: leading_trivia: [] token: start_position: bytes: 54 line: 6 character: 3 end_position: bytes: 58 line: 6 character: 7 token_type: type: Identifier identifier: done trailing_trivia: [] right_colons: leading_trivia: [] token: start_position: bytes: 58 line: 6 character: 7 end_position: bytes: 60 line: 6 character: 9 token_type: type: Symbol symbol: "::" trailing_trivia: [] - ~