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/numeric-for-5
---
- AstError:
    token:
      start_position:
        bytes: 0
        line: 1
        character: 1
      end_position:
        bytes: 3
        line: 1
        character: 4
      token_type:
        type: Symbol
        symbol: for
    additional: "expected name after `for`"
- AstError:
    token:
      start_position:
        bytes: 10
        line: 1
        character: 11
      end_position:
        bytes: 11
        line: 1
        character: 12
      token_type:
        type: Symbol
        symbol: "="
    additional: "expected either a variable name or `function`"
- AstError:
    token:
      start_position:
        bytes: 10
        line: 1
        character: 11
      end_position:
        bytes: 11
        line: 1
        character: 12
      token_type:
        type: Symbol
        symbol: "="
    additional: "unexpected token, this needs to be a statement"