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/function-8
---
- AstError:
    token:
      start_position:
        bytes: 14
        line: 1
        character: 15
      end_position:
        bytes: 15
        line: 1
        character: 16
      token_type:
        type: Number
        text: "3"
    additional: "expected name after `:`"
- AstError:
    token:
      start_position:
        bytes: 14
        line: 1
        character: 15
      end_position:
        bytes: 15
        line: 1
        character: 16
      token_type:
        type: Number
        text: "3"
    additional: "unexpected token, this needs to be a statement"
- AstError:
    token:
      start_position:
        bytes: 15
        line: 1
        character: 16
      end_position:
        bytes: 16
        line: 1
        character: 17
      token_type:
        type: Symbol
        symbol: (
    additional: "expected an expression after `(`"
- AstError:
    token:
      start_position:
        bytes: 16
        line: 1
        character: 17
      end_position:
        bytes: 17
        line: 1
        character: 18
      token_type:
        type: Symbol
        symbol: )
    additional: "unexpected token, this needs to be a statement"