HaXmlSource codeContentsIndex
Text.XML.HaXml.Xtract.Lex
Description

This is another hand-written lexer, this time for the Xtract command-language. The entry point is lexXtract. You don't normally need to use this module directly - the lexer is called automatically by the parser. (We only expose this interface for debugging purposes.)

The Xtract command language is very like the XPath specification.

Documentation
lexXtract :: String -> [Token]Source
data Posn Source
Constructors
Pn Int
show/hide Instances
Eq Posn
Show Posn
data TokenT Source
Constructors
Symbol String
TokString String
TokNum Integer
show/hide Instances
Eq TokenT
Show TokenT
type Token = Either String (Posn, TokenT)Source
Produced by Haddock version 2.4.2