Home
last modified time | relevance | path

Searched refs:ErrLexeme (Results 1 – 2 of 2) sorted by relevance

/dports/lang/purescript/purescript-0.14.5/_cabal_deps/purescript-cst-0.4.0.0/src/Language/PureScript/CST/
H A DErrors.hs55 | ErrLexeme (Maybe String) [String] constructor
128 ErrLexeme (Just (hd : _)) _ | isSpace hd ->
130 ErrLexeme (Just a) _ ->
158 ErrLexeme _ _ ->
H A DLexer.hs253 | otherwise -> throw $ ErrLexeme (Just [ch1]) []
326 Just ch2 -> throw $ ErrLexeme (Just [ch2]) []
328 Just ch -> throw $ ErrLexeme (Just [ch]) []
367 | otherwise -> throw $ ErrLexeme (Just [ch2]) []
389 else throw $ ErrLexeme (Just [pre]) []
426 throw $ ErrLexeme (Just [ch2]) []
556 peek >>= \ch -> throw $ ErrLexeme (pure <$> ch) []