fnotation-0.2.0.0: src/FNotation/Kinds.hs
module FNotation.Kinds where
import Diagnostician (DPretty (..))
import Prettyprinter
data Kind
= -- | alphanumerical identifier
AIdent
| -- | alphanumerical keyword
AKeyword
| -- | symbolic identifier
SIdent
| -- | symbolic keyword
SKeyword
| Decl
| Modifier
| Block
| End
| Tag
| Field
| Int
| String
| LParen
| RParen
| LBrack
| RBrack
| LCurly
| RCurly
| Comma
| Semicolon
| Nl
| Eof
| Error
deriving (Eq, Show)
instance DPretty Kind where
dpretty k = pretty (show k)