Safe Haskell | Safe-Inferred |
---|
Flamethrower.Lexer
Documentation
Constructors
Context | |
Fields
|
data StringPart Source
Constructors
Character Char | |
Interpolation String |
Instances
Eq StringPart | |
Show StringPart |
isIdentifierCharacter :: Char -> BoolSource
lexContent :: Context -> String -> [Token]Source
readIdentifier :: String -> (String, String)Source
lexIdentifier :: Context -> String -> [Token]Source
lexComment :: Context -> String -> [Token]Source
readString :: String -> ([StringPart], String)Source
readEscape :: String -> ([StringPart], String)Source
readInterpolation :: String -> ([StringPart], String)Source