--- source: full-moon/tests/pass_cases.rs assertion_line: 47 expression: ast.nodes() input_file: full-moon/tests/lua52_cases/pass/numbers --- stmts: - - LocalAssignment: local_token: leading_trivia: - start_position: bytes: 0 line: 1 character: 1 end_position: bytes: 25 line: 1 character: 26 token_type: type: SingleLineComment comment: " fractional hexadecimal" - start_position: bytes: 25 line: 1 character: 26 end_position: bytes: 26 line: 1 character: 26 token_type: type: Whitespace characters: "\n" token: start_position: bytes: 26 line: 2 character: 1 end_position: bytes: 31 line: 2 character: 6 token_type: type: Symbol symbol: local trailing_trivia: - start_position: bytes: 31 line: 2 character: 6 end_position: bytes: 32 line: 2 character: 7 token_type: type: Whitespace characters: " " name_list: pairs: - End: leading_trivia: [] token: start_position: bytes: 32 line: 2 character: 7 end_position: bytes: 33 line: 2 character: 8 token_type: type: Identifier identifier: a trailing_trivia: - start_position: bytes: 33 line: 2 character: 8 end_position: bytes: 34 line: 2 character: 9 token_type: type: Whitespace characters: " " equal_token: leading_trivia: [] token: start_position: bytes: 34 line: 2 character: 9 end_position: bytes: 35 line: 2 character: 10 token_type: type: Symbol symbol: "=" trailing_trivia: - start_position: bytes: 35 line: 2 character: 10 end_position: bytes: 36 line: 2 character: 11 token_type: type: Whitespace characters: " " expr_list: pairs: - End: Number: leading_trivia: [] token: start_position: bytes: 36 line: 2 character: 11 end_position: bytes: 42 line: 2 character: 17 token_type: type: Number text: "0x0.1E" trailing_trivia: - start_position: bytes: 42 line: 2 character: 17 end_position: bytes: 43 line: 2 character: 17 token_type: type: Whitespace characters: "\n" - ~ - - LocalAssignment: local_token: leading_trivia: - start_position: bytes: 43 line: 3 character: 1 end_position: bytes: 44 line: 3 character: 1 token_type: type: Whitespace characters: "\n" - start_position: bytes: 44 line: 4 character: 1 end_position: bytes: 77 line: 4 character: 34 token_type: type: SingleLineComment comment: " binary exponent in hexadecimal" - start_position: bytes: 77 line: 4 character: 34 end_position: bytes: 78 line: 4 character: 34 token_type: type: Whitespace characters: "\n" token: start_position: bytes: 78 line: 5 character: 1 end_position: bytes: 83 line: 5 character: 6 token_type: type: Symbol symbol: local trailing_trivia: - start_position: bytes: 83 line: 5 character: 6 end_position: bytes: 84 line: 5 character: 7 token_type: type: Whitespace characters: " " name_list: pairs: - End: leading_trivia: [] token: start_position: bytes: 84 line: 5 character: 7 end_position: bytes: 85 line: 5 character: 8 token_type: type: Identifier identifier: b trailing_trivia: - start_position: bytes: 85 line: 5 character: 8 end_position: bytes: 86 line: 5 character: 9 token_type: type: Whitespace characters: " " equal_token: leading_trivia: [] token: start_position: bytes: 86 line: 5 character: 9 end_position: bytes: 87 line: 5 character: 10 token_type: type: Symbol symbol: "=" trailing_trivia: - start_position: bytes: 87 line: 5 character: 10 end_position: bytes: 88 line: 5 character: 11 token_type: type: Whitespace characters: " " expr_list: pairs: - End: Number: leading_trivia: [] token: start_position: bytes: 88 line: 5 character: 11 end_position: bytes: 96 line: 5 character: 19 token_type: type: Number text: "0xA23p-4" trailing_trivia: - start_position: bytes: 96 line: 5 character: 19 end_position: bytes: 97 line: 5 character: 19 token_type: type: Whitespace characters: "\n" - ~ - - LocalAssignment: local_token: leading_trivia: - start_position: bytes: 97 line: 6 character: 1 end_position: bytes: 98 line: 6 character: 1 token_type: type: Whitespace characters: "\n" - start_position: bytes: 98 line: 7 character: 1 end_position: bytes: 118 line: 7 character: 21 token_type: type: SingleLineComment comment: " a mixture of both" - start_position: bytes: 118 line: 7 character: 21 end_position: bytes: 119 line: 7 character: 21 token_type: type: Whitespace characters: "\n" token: start_position: bytes: 119 line: 8 character: 1 end_position: bytes: 124 line: 8 character: 6 token_type: type: Symbol symbol: local trailing_trivia: - start_position: bytes: 124 line: 8 character: 6 end_position: bytes: 125 line: 8 character: 7 token_type: type: Whitespace characters: " " name_list: pairs: - End: leading_trivia: [] token: start_position: bytes: 125 line: 8 character: 7 end_position: bytes: 126 line: 8 character: 8 token_type: type: Identifier identifier: c trailing_trivia: - start_position: bytes: 126 line: 8 character: 8 end_position: bytes: 127 line: 8 character: 9 token_type: type: Whitespace characters: " " equal_token: leading_trivia: [] token: start_position: bytes: 127 line: 8 character: 9 end_position: bytes: 128 line: 8 character: 10 token_type: type: Symbol symbol: "=" trailing_trivia: - start_position: bytes: 128 line: 8 character: 10 end_position: bytes: 129 line: 8 character: 11 token_type: type: Whitespace characters: " " expr_list: pairs: - End: Number: leading_trivia: [] token: start_position: bytes: 129 line: 8 character: 11 end_position: bytes: 149 line: 8 character: 31 token_type: type: Number text: 0X1.921FB54442D18P+1 trailing_trivia: - start_position: bytes: 149 line: 8 character: 31 end_position: bytes: 150 line: 8 character: 31 token_type: type: Whitespace characters: "\n" - ~