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

---
- start_position:
    bytes: 0
    line: 1
    character: 1
  end_position:
    bytes: 48
    line: 1
    character: 49
  token_type:
    type: SingleLineComment
    comment: " goto as an identifier is permitted in lua 5.1"
- start_position:
    bytes: 48
    line: 1
    character: 49
  end_position:
    bytes: 49
    line: 1
    character: 49
  token_type:
    type: Whitespace
    characters: "\n"
- start_position:
    bytes: 49
    line: 2
    character: 1
  end_position:
    bytes: 53
    line: 2
    character: 5
  token_type:
    type: Identifier
    identifier: self
- start_position:
    bytes: 53
    line: 2
    character: 5
  end_position:
    bytes: 54
    line: 2
    character: 6
  token_type:
    type: Symbol
    symbol: "."
- start_position:
    bytes: 54
    line: 2
    character: 6
  end_position:
    bytes: 58
    line: 2
    character: 10
  token_type:
    type: Identifier
    identifier: goto
- start_position:
    bytes: 58
    line: 2
    character: 10
  end_position:
    bytes: 59
    line: 2
    character: 11
  token_type:
    type: Symbol
    symbol: (
- start_position:
    bytes: 59
    line: 2
    character: 11
  end_position:
    bytes: 64
    line: 2
    character: 16
  token_type:
    type: StringLiteral
    literal: foo
    quote_type: Double
- start_position:
    bytes: 64
    line: 2
    character: 16
  end_position:
    bytes: 65
    line: 2
    character: 17
  token_type:
    type: Symbol
    symbol: )
- start_position:
    bytes: 65
    line: 2
    character: 17
  end_position:
    bytes: 65
    line: 2
    character: 17
  token_type:
    type: Eof

