| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Language.Cpp.SyntaxToken
Documentation
type Identifier = String Source #
data SyntaxToken a Source #
Constructors
| String String | |
| Char Char | |
| Integer Integer | |
| Floating Rational | |
| Identifier Identifier | |
| Directive Directive | |
| Punctuation Punctuation | |
| Keyword Keyword | |
| Comment | |
| Ext a |
Instances
| Functor SyntaxToken Source # | |
| Eq a => Eq (SyntaxToken a) Source # | |
| Ord a => Ord (SyntaxToken a) Source # | |
| Show a => Show (SyntaxToken a) Source # | |
data Punctuation Source #
Instances
punc :: String -> Punctuation Source #
unpunc :: Punctuation -> String Source #
puncs :: [Punctuation] Source #