full_moon 2.2.0

A lossless Lua parser
Documentation
---
source: full-moon/tests/fail_cases.rs
expression: tokens
input_file: full-moon/tests/cases/fail/parser/function-7

---
- start_position:
    bytes: 0
    line: 1
    character: 1
  end_position:
    bytes: 8
    line: 1
    character: 9
  token_type:
    type: Symbol
    symbol: function
- start_position:
    bytes: 8
    line: 1
    character: 9
  end_position:
    bytes: 9
    line: 1
    character: 10
  token_type:
    type: Whitespace
    characters: " "
- start_position:
    bytes: 9
    line: 1
    character: 10
  end_position:
    bytes: 10
    line: 1
    character: 11
  token_type:
    type: Identifier
    identifier: x
- start_position:
    bytes: 10
    line: 1
    character: 11
  end_position:
    bytes: 11
    line: 1
    character: 12
  token_type:
    type: Symbol
    symbol: (
- start_position:
    bytes: 11
    line: 1
    character: 12
  end_position:
    bytes: 14
    line: 1
    character: 15
  token_type:
    type: Symbol
    symbol: "..."
- start_position:
    bytes: 14
    line: 1
    character: 15
  end_position:
    bytes: 15
    line: 1
    character: 16
  token_type:
    type: Symbol
    symbol: ","
- start_position:
    bytes: 15
    line: 1
    character: 16
  end_position:
    bytes: 16
    line: 1
    character: 17
  token_type:
    type: Whitespace
    characters: " "
- start_position:
    bytes: 16
    line: 1
    character: 17
  end_position:
    bytes: 17
    line: 1
    character: 18
  token_type:
    type: Identifier
    identifier: a
- start_position:
    bytes: 17
    line: 1
    character: 18
  end_position:
    bytes: 18
    line: 1
    character: 19
  token_type:
    type: Symbol
    symbol: )
- start_position:
    bytes: 18
    line: 1
    character: 19
  end_position:
    bytes: 19
    line: 1
    character: 19
  token_type:
    type: Whitespace
    characters: "\n"
- start_position:
    bytes: 19
    line: 2
    character: 1
  end_position:
    bytes: 22
    line: 2
    character: 4
  token_type:
    type: Symbol
    symbol: end
- start_position:
    bytes: 22
    line: 2
    character: 4
  end_position:
    bytes: 22
    line: 2
    character: 4
  token_type:
    type: Eof