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-8

---
- 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: 13
    line: 1
    character: 14
  token_type:
    type: Identifier
    identifier: name
- start_position:
    bytes: 13
    line: 1
    character: 14
  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: Number
    text: "3"
- start_position:
    bytes: 15
    line: 1
    character: 16
  end_position:
    bytes: 16
    line: 1
    character: 17
  token_type:
    type: Symbol
    symbol: (
- start_position:
    bytes: 16
    line: 1
    character: 17
  end_position:
    bytes: 17
    line: 1
    character: 18
  token_type:
    type: Symbol
    symbol: )
- start_position:
    bytes: 17
    line: 1
    character: 18
  end_position:
    bytes: 18
    line: 1
    character: 19
  token_type:
    type: Whitespace
    characters: " "
- start_position:
    bytes: 18
    line: 1
    character: 19
  end_position:
    bytes: 21
    line: 1
    character: 22
  token_type:
    type: Symbol
    symbol: end
- start_position:
    bytes: 21
    line: 1
    character: 22
  end_position:
    bytes: 21
    line: 1
    character: 22
  token_type:
    type: Eof