yi-0.7.2: The Haskell-Scriptable Editor

Safe HaskellNone

Yi.Lexer.Compilation

Synopsis

Documentation

alexScanToken :: (AlexState HlState, AlexInput) -> Maybe (Tok Token, (AlexState HlState, AlexInput))Source

Scan one token. Return (maybe) a token and a new state.

data Token Source

Constructors

Report String Int Int String 
Text String 

Instances

Show Token