ace-0.6: Attempto Controlled English parser and printer

Safe HaskellSafe-Inferred
LanguageHaskell98

ACE.Types.Tokens

Description

Tokens for ACE.

Synopsis

Documentation

data Token Source

A token

Constructors

Word !(Int, Int) !Text 
QuotedString !(Int, Int) !Text 
Period !(Int, Int) 
Comma !(Int, Int) 
QuestionMark !(Int, Int) 
Genitive !(Int, Int) !Bool 
Number !(Int, Int) !Integer 

Instances

tokenPos :: Token -> (Int, Int) Source

Get the position of the token.