| License | GNU LGPLv3 |
|---|---|
| Maintainer | paul.bittner@uni-ulm.de |
| Safe Haskell | Safe |
Grammar
Description
Type class for context-free grammars.
Documentation
Classification of nodes for feature traces and presence condition. (See Section 3.1 in the paper.)
class Show g => Grammar g where Source #
Type class for context-free grammars.
Methods
nodetypeof :: g -> NodeType Source #
Tells for each grammar symbol which node type it has (e.g., if it is Mandatory in the AST).
Instances
| Grammar SimpleJavaGrammar Source # | Define optionality for all node types in our Java grammar |
Defined in SimpleJava Methods | |