[project @ 1996-06-05 06:44:31 by partain]
[ghc-hetmet.git] / ghc / compiler / parser / pbinding.ugn
1 %{
2 #include "hspincl.h"
3 %}
4 %{{
5 #include "HsVersions.h"
6
7 module U_pbinding where
8 IMP_Ubiq() --  debugging consistency check
9 import UgenUtil
10
11 import U_constr         ( U_constr )    -- interface only
12 import U_binding
13 import U_list
14 import U_literal        ( U_literal )   -- ditto
15 import U_maybe          ( U_maybe )     -- ditto
16 import U_qid
17 import U_tree
18 import U_ttype          ( U_ttype )     -- ditto
19 %}}
20 type pbinding;
21         pgrhs   : < ggpat       : tree;
22                     ggdexprs    : pbinding;
23                     ggbind      : binding;
24                     ggfuncname  : qid;
25                     ggline      : long; >;
26
27         pnoguards : < gpnoguard : tree; >;
28         pguards   : < gpguards  : list; >;
29         pgdexp    : < gpguard   : tree;
30                       gpexp     : tree; >;
31 end;