diff options
| author | bringert <unknown> | 2004-09-29 08:27:28 +0000 |
|---|---|---|
| committer | bringert <unknown> | 2004-09-29 08:27:28 +0000 |
| commit | df2c63c5596db36f0c1899cced6b7ee2e946741e (patch) | |
| tree | eece388341c371e9b1c552663493e2fb05dacd6f /src/GF/CFGM/AbsCFG.hs | |
| parent | 01f872bf5db46863565c44c7f40b337217d35e8e (diff) | |
Updated to latest CFG specification from gfc2java
Diffstat (limited to 'src/GF/CFGM/AbsCFG.hs')
| -rw-r--r-- | src/GF/CFGM/AbsCFG.hs | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/src/GF/CFGM/AbsCFG.hs b/src/GF/CFGM/AbsCFG.hs index c709aee38..61a6154f5 100644 --- a/src/GF/CFGM/AbsCFG.hs +++ b/src/GF/CFGM/AbsCFG.hs @@ -37,14 +37,28 @@ data Name = deriving (Eq,Ord,Show) data Category = - Category IdentParam Ident [Param] + Category IdentParam Ident [Proj] deriving (Eq,Ord,Show) data IdentParam = - IdentParam Ident [Param] + IdentParam Ident [Field] + deriving (Eq,Ord,Show) + +data Field = + Field KeyValue + deriving (Eq,Ord,Show) + +data Proj = + Proj Param + deriving (Eq,Ord,Show) + +data KeyValue = + KeyValue Ident Param deriving (Eq,Ord,Show) data Param = - Param Ident + ParamSimple Ident + | ParamPatt Ident [Param] + | ParamRec [KeyValue] deriving (Eq,Ord,Show) |
