---
source: full-moon/tests/pass_cases.rs
expression: ast.nodes()
---
stmts:
  - - LocalAssignment:
        local_token:
          leading_trivia:
            - start_position:
                bytes: 0
                line: 1
                character: 1
              end_position:
                bytes: 57
                line: 1
                character: 58
              token_type:
                type: SingleLineComment
                comment: " ULL/LL ending for both decimal, hexidecimal and binary"
            - start_position:
                bytes: 57
                line: 1
                character: 58
              end_position:
                bytes: 58
                line: 1
                character: 58
              token_type:
                type: Whitespace
                characters: "\n"
          token:
            start_position:
              bytes: 58
              line: 2
              character: 1
            end_position:
              bytes: 63
              line: 2
              character: 6
            token_type:
              type: Symbol
              symbol: local
          trailing_trivia:
            - start_position:
                bytes: 63
                line: 2
                character: 6
              end_position:
                bytes: 64
                line: 2
                character: 7
              token_type:
                type: Whitespace
                characters: " "
        name_list:
          pairs:
            - End:
                leading_trivia: []
                token:
                  start_position:
                    bytes: 64
                    line: 2
                    character: 7
                  end_position:
                    bytes: 65
                    line: 2
                    character: 8
                  token_type:
                    type: Identifier
                    identifier: a
                trailing_trivia:
                  - start_position:
                      bytes: 65
                      line: 2
                      character: 8
                    end_position:
                      bytes: 66
                      line: 2
                      character: 9
                    token_type:
                      type: Whitespace
                      characters: " "
        equal_token:
          leading_trivia: []
          token:
            start_position:
              bytes: 66
              line: 2
              character: 9
            end_position:
              bytes: 67
              line: 2
              character: 10
            token_type:
              type: Symbol
              symbol: "="
          trailing_trivia:
            - start_position:
                bytes: 67
                line: 2
                character: 10
              end_position:
                bytes: 68
                line: 2
                character: 11
              token_type:
                type: Whitespace
                characters: " "
        expr_list:
          pairs:
            - End:
                Number:
                  leading_trivia: []
                  token:
                    start_position:
                      bytes: 68
                      line: 2
                      character: 11
                    end_position:
                      bytes: 72
                      line: 2
                      character: 15
                    token_type:
                      type: Number
                      text: 42LL
                  trailing_trivia:
                    - start_position:
                        bytes: 72
                        line: 2
                        character: 15
                      end_position:
                        bytes: 73
                        line: 2
                        character: 15
                      token_type:
                        type: Whitespace
                        characters: "\n"
    - ~
  - - LocalAssignment:
        local_token:
          leading_trivia: []
          token:
            start_position:
              bytes: 73
              line: 3
              character: 1
            end_position:
              bytes: 78
              line: 3
              character: 6
            token_type:
              type: Symbol
              symbol: local
          trailing_trivia:
            - start_position:
                bytes: 78
                line: 3
                character: 6
              end_position:
                bytes: 79
                line: 3
                character: 7
              token_type:
                type: Whitespace
                characters: " "
        name_list:
          pairs:
            - End:
                leading_trivia: []
                token:
                  start_position:
                    bytes: 79
                    line: 3
                    character: 7
                  end_position:
                    bytes: 80
                    line: 3
                    character: 8
                  token_type:
                    type: Identifier
                    identifier: b
                trailing_trivia:
                  - start_position:
                      bytes: 80
                      line: 3
                      character: 8
                    end_position:
                      bytes: 81
                      line: 3
                      character: 9
                    token_type:
                      type: Whitespace
                      characters: " "
        equal_token:
          leading_trivia: []
          token:
            start_position:
              bytes: 81
              line: 3
              character: 9
            end_position:
              bytes: 82
              line: 3
              character: 10
            token_type:
              type: Symbol
              symbol: "="
          trailing_trivia:
            - start_position:
                bytes: 82
                line: 3
                character: 10
              end_position:
                bytes: 83
                line: 3
                character: 11
              token_type:
                type: Whitespace
                characters: " "
        expr_list:
          pairs:
            - End:
                Number:
                  leading_trivia: []
                  token:
                    start_position:
                      bytes: 83
                      line: 3
                      character: 11
                    end_position:
                      bytes: 88
                      line: 3
                      character: 16
                    token_type:
                      type: Number
                      text: 42ULL
                  trailing_trivia:
                    - start_position:
                        bytes: 88
                        line: 3
                        character: 16
                      end_position:
                        bytes: 89
                        line: 3
                        character: 16
                      token_type:
                        type: Whitespace
                        characters: "\n"
    - ~
  - - LocalAssignment:
        local_token:
          leading_trivia:
            - start_position:
                bytes: 89
                line: 4
                character: 1
              end_position:
                bytes: 90
                line: 4
                character: 1
              token_type:
                type: Whitespace
                characters: "\n"
          token:
            start_position:
              bytes: 90
              line: 5
              character: 1
            end_position:
              bytes: 95
              line: 5
              character: 6
            token_type:
              type: Symbol
              symbol: local
          trailing_trivia:
            - start_position:
                bytes: 95
                line: 5
                character: 6
              end_position:
                bytes: 96
                line: 5
                character: 7
              token_type:
                type: Whitespace
                characters: " "
        name_list:
          pairs:
            - End:
                leading_trivia: []
                token:
                  start_position:
                    bytes: 96
                    line: 5
                    character: 7
                  end_position:
                    bytes: 97
                    line: 5
                    character: 8
                  token_type:
                    type: Identifier
                    identifier: c
                trailing_trivia:
                  - start_position:
                      bytes: 97
                      line: 5
                      character: 8
                    end_position:
                      bytes: 98
                      line: 5
                      character: 9
                    token_type:
                      type: Whitespace
                      characters: " "
        equal_token:
          leading_trivia: []
          token:
            start_position:
              bytes: 98
              line: 5
              character: 9
            end_position:
              bytes: 99
              line: 5
              character: 10
            token_type:
              type: Symbol
              symbol: "="
          trailing_trivia:
            - start_position:
                bytes: 99
                line: 5
                character: 10
              end_position:
                bytes: 100
                line: 5
                character: 11
              token_type:
                type: Whitespace
                characters: " "
        expr_list:
          pairs:
            - End:
                Number:
                  leading_trivia: []
                  token:
                    start_position:
                      bytes: 100
                      line: 5
                      character: 11
                    end_position:
                      bytes: 106
                      line: 5
                      character: 17
                    token_type:
                      type: Number
                      text: "0x2aLL"
                  trailing_trivia:
                    - start_position:
                        bytes: 106
                        line: 5
                        character: 17
                      end_position:
                        bytes: 107
                        line: 5
                        character: 17
                      token_type:
                        type: Whitespace
                        characters: "\n"
    - ~
  - - LocalAssignment:
        local_token:
          leading_trivia:
            - start_position:
                bytes: 107
                line: 6
                character: 1
              end_position:
                bytes: 108
                line: 6
                character: 1
              token_type:
                type: Whitespace
                characters: "\n"
          token:
            start_position:
              bytes: 108
              line: 7
              character: 1
            end_position:
              bytes: 113
              line: 7
              character: 6
            token_type:
              type: Symbol
              symbol: local
          trailing_trivia:
            - start_position:
                bytes: 113
                line: 7
                character: 6
              end_position:
                bytes: 114
                line: 7
                character: 7
              token_type:
                type: Whitespace
                characters: " "
        name_list:
          pairs:
            - End:
                leading_trivia: []
                token:
                  start_position:
                    bytes: 114
                    line: 7
                    character: 7
                  end_position:
                    bytes: 115
                    line: 7
                    character: 8
                  token_type:
                    type: Identifier
                    identifier: d
                trailing_trivia:
                  - start_position:
                      bytes: 115
                      line: 7
                      character: 8
                    end_position:
                      bytes: 116
                      line: 7
                      character: 9
                    token_type:
                      type: Whitespace
                      characters: " "
        equal_token:
          leading_trivia: []
          token:
            start_position:
              bytes: 116
              line: 7
              character: 9
            end_position:
              bytes: 117
              line: 7
              character: 10
            token_type:
              type: Symbol
              symbol: "="
          trailing_trivia:
            - start_position:
                bytes: 117
                line: 7
                character: 10
              end_position:
                bytes: 118
                line: 7
                character: 11
              token_type:
                type: Whitespace
                characters: " "
        expr_list:
          pairs:
            - End:
                Number:
                  leading_trivia: []
                  token:
                    start_position:
                      bytes: 118
                      line: 7
                      character: 11
                    end_position:
                      bytes: 128
                      line: 7
                      character: 21
                    token_type:
                      type: Number
                      text: 0b101010LL
                  trailing_trivia:
                    - start_position:
                        bytes: 128
                        line: 7
                        character: 21
                      end_position:
                        bytes: 129
                        line: 7
                        character: 21
                      token_type:
                        type: Whitespace
                        characters: "\n"
    - ~
  - - LocalAssignment:
        local_token:
          leading_trivia:
            - start_position:
                bytes: 129
                line: 8
                character: 1
              end_position:
                bytes: 130
                line: 8
                character: 1
              token_type:
                type: Whitespace
                characters: "\n"
            - start_position:
                bytes: 130
                line: 9
                character: 1
              end_position:
                bytes: 150
                line: 9
                character: 21
              token_type:
                type: SingleLineComment
                comment: " imaginary numbers"
            - start_position:
                bytes: 150
                line: 9
                character: 21
              end_position:
                bytes: 151
                line: 9
                character: 21
              token_type:
                type: Whitespace
                characters: "\n"
          token:
            start_position:
              bytes: 151
              line: 10
              character: 1
            end_position:
              bytes: 156
              line: 10
              character: 6
            token_type:
              type: Symbol
              symbol: local
          trailing_trivia:
            - start_position:
                bytes: 156
                line: 10
                character: 6
              end_position:
                bytes: 157
                line: 10
                character: 7
              token_type:
                type: Whitespace
                characters: " "
        name_list:
          pairs:
            - End:
                leading_trivia: []
                token:
                  start_position:
                    bytes: 157
                    line: 10
                    character: 7
                  end_position:
                    bytes: 158
                    line: 10
                    character: 8
                  token_type:
                    type: Identifier
                    identifier: e
                trailing_trivia:
                  - start_position:
                      bytes: 158
                      line: 10
                      character: 8
                    end_position:
                      bytes: 159
                      line: 10
                      character: 9
                    token_type:
                      type: Whitespace
                      characters: " "
        equal_token:
          leading_trivia: []
          token:
            start_position:
              bytes: 159
              line: 10
              character: 9
            end_position:
              bytes: 160
              line: 10
              character: 10
            token_type:
              type: Symbol
              symbol: "="
          trailing_trivia:
            - start_position:
                bytes: 160
                line: 10
                character: 10
              end_position:
                bytes: 161
                line: 10
                character: 11
              token_type:
                type: Whitespace
                characters: " "
        expr_list:
          pairs:
            - End:
                Number:
                  leading_trivia: []
                  token:
                    start_position:
                      bytes: 161
                      line: 10
                      character: 11
                    end_position:
                      bytes: 166
                      line: 10
                      character: 16
                    token_type:
                      type: Number
                      text: 12.5i
                  trailing_trivia:
                    - start_position:
                        bytes: 166
                        line: 10
                        character: 16
                      end_position:
                        bytes: 167
                        line: 10
                        character: 16
                      token_type:
                        type: Whitespace
                        characters: "\n"
    - ~
  - - LocalAssignment:
        local_token:
          leading_trivia: []
          token:
            start_position:
              bytes: 167
              line: 11
              character: 1
            end_position:
              bytes: 172
              line: 11
              character: 6
            token_type:
              type: Symbol
              symbol: local
          trailing_trivia:
            - start_position:
                bytes: 172
                line: 11
                character: 6
              end_position:
                bytes: 173
                line: 11
                character: 7
              token_type:
                type: Whitespace
                characters: " "
        name_list:
          pairs:
            - End:
                leading_trivia: []
                token:
                  start_position:
                    bytes: 173
                    line: 11
                    character: 7
                  end_position:
                    bytes: 174
                    line: 11
                    character: 8
                  token_type:
                    type: Identifier
                    identifier: f
                trailing_trivia:
                  - start_position:
                      bytes: 174
                      line: 11
                      character: 8
                    end_position:
                      bytes: 175
                      line: 11
                      character: 9
                    token_type:
                      type: Whitespace
                      characters: " "
        equal_token:
          leading_trivia: []
          token:
            start_position:
              bytes: 175
              line: 11
              character: 9
            end_position:
              bytes: 176
              line: 11
              character: 10
            token_type:
              type: Symbol
              symbol: "="
          trailing_trivia:
            - start_position:
                bytes: 176
                line: 11
                character: 10
              end_position:
                bytes: 177
                line: 11
                character: 11
              token_type:
                type: Whitespace
                characters: " "
        expr_list:
          pairs:
            - End:
                Number:
                  leading_trivia: []
                  token:
                    start_position:
                      bytes: 177
                      line: 11
                      character: 11
                    end_position:
                      bytes: 182
                      line: 11
                      character: 16
                    token_type:
                      type: Number
                      text: 12.5I
                  trailing_trivia:
                    - start_position:
                        bytes: 182
                        line: 11
                        character: 16
                      end_position:
                        bytes: 183
                        line: 11
                        character: 16
                      token_type:
                        type: Whitespace
                        characters: "\n"
    - ~

