full_moon 2.2.0

A lossless Lua parser
Documentation
---
source: full-moon/tests/fail_cases.rs
assertion_line: 27
expression: result.ast
input_file: full-moon/tests/cases/fail/parser/table-8
---
nodes:
  stmts: []
  last_stmt:
    - Return:
        token:
          leading_trivia: []
          token:
            start_position:
              bytes: 0
              line: 1
              character: 1
            end_position:
              bytes: 6
              line: 1
              character: 7
            token_type:
              type: Symbol
              symbol: return
          trailing_trivia:
            - start_position:
                bytes: 6
                line: 1
                character: 7
              end_position:
                bytes: 7
                line: 1
                character: 8
              token_type:
                type: Whitespace
                characters: " "
        returns:
          pairs:
            - End:
                TableConstructor:
                  braces:
                    tokens:
                      - 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: 9
                            token_type:
                              type: Whitespace
                              characters: "\n"
                      - leading_trivia: []
                        token:
                          start_position:
                            bytes: 0
                            line: 1
                            character: 1
                          end_position:
                            bytes: 1
                            line: 1
                            character: 2
                          token_type:
                            type: Symbol
                            symbol: "}"
                        trailing_trivia: []
                  fields:
                    pairs: []
    - ~
eof:
  leading_trivia: []
  token:
    start_position:
      bytes: 19
      line: 3
      character: 2
    end_position:
      bytes: 19
      line: 3
      character: 2
    token_type:
      type: Eof
  trailing_trivia: []