---
source: full-moon/tests/fail_cases.rs
expression: tokens

---
- start_position:
    bytes: 0
    line: 1
    character: 1
  end_position:
    bytes: 52
    line: 1
    character: 53
  token_type:
    type: SingleLineComment
    comment: " goto is NOT permitted as an identifier in Lua5.2+"
- start_position:
    bytes: 52
    line: 1
    character: 53
  end_position:
    bytes: 53
    line: 1
    character: 53
  token_type:
    type: Whitespace
    characters: "\n"
- start_position:
    bytes: 53
    line: 2
    character: 1
  end_position:
    bytes: 57
    line: 2
    character: 5
  token_type:
    type: Identifier
    identifier: self
- start_position:
    bytes: 57
    line: 2
    character: 5
  end_position:
    bytes: 58
    line: 2
    character: 6
  token_type:
    type: Symbol
    symbol: "."
- start_position:
    bytes: 58
    line: 2
    character: 6
  end_position:
    bytes: 62
    line: 2
    character: 10
  token_type:
    type: Symbol
    symbol: goto
- start_position:
    bytes: 62
    line: 2
    character: 10
  end_position:
    bytes: 63
    line: 2
    character: 11
  token_type:
    type: Symbol
    symbol: (
- start_position:
    bytes: 63
    line: 2
    character: 11
  end_position:
    bytes: 68
    line: 2
    character: 16
  token_type:
    type: StringLiteral
    literal: foo
    quote_type: Double
- start_position:
    bytes: 68
    line: 2
    character: 16
  end_position:
    bytes: 69
    line: 2
    character: 17
  token_type:
    type: Symbol
    symbol: )
- start_position:
    bytes: 69
    line: 2
    character: 17
  end_position:
    bytes: 69
    line: 2
    character: 17
  token_type:
    type: Eof

