full_moon 2.2.0

A lossless Lua parser
Documentation
---
source: full-moon/tests/fail_cases.rs
expression: result.errors
input_file: full-moon/tests/cases/fail/parser/local-function-5
---
- AstError:
    token:
      start_position:
        bytes: 15
        line: 1
        character: 16
      end_position:
        bytes: 17
        line: 1
        character: 18
      token_type:
        type: Symbol
        symbol: do
    additional: expected a function name
- AstError:
    token:
      start_position:
        bytes: 17
        line: 1
        character: 18
      end_position:
        bytes: 18
        line: 1
        character: 19
      token_type:
        type: Symbol
        symbol: (
    additional: "expected an expression after `(`"
- AstError:
    token:
      start_position:
        bytes: 18
        line: 1
        character: 19
      end_position:
        bytes: 19
        line: 1
        character: 20
      token_type:
        type: Symbol
        symbol: )
    additional: "unexpected token, this needs to be a statement"