lex_literal_string

Function lex_literal_string 

Source
fn lex_literal_string(stream: &mut LocatingSlice<&'_ str>) -> Token
Expand description

Process literal string

;; Literal String

literal-string = apostrophe *literal-char apostrophe

apostrophe = %x27 ; ' apostrophe

literal-char = %x09 / %x20-26 / %x28-7E / non-ascii

ยงSafety

  • stream must be UTF-8
  • stream[0] == b'\''