Debian Codegraph @

test-suite/output/PrintGrammar.out

raw
1 Entry binder_constr is
2 [ LEFTA
3 [ "exists2"; "'"; pattern LEVEL "0"; ":"; term LEVEL "200"; ","; term LEVEL
4 "200"; "&"; term LEVEL "200"
5 | "exists2"; "'"; pattern LEVEL "0"; ","; term LEVEL "200"; "&"; term LEVEL
6 "200"
7 | "exists2"; name; ":"; term LEVEL "200"; ","; term LEVEL "200"; "&"; term
8 LEVEL "200"
9 | "exists2"; name; ","; term LEVEL "200"; "&"; term LEVEL "200"
10 | "exists"; "!"; open_binders; ","; term LEVEL "200"
11 | "exists"; open_binders; ","; term LEVEL "200"
12 | "forall"; open_binders; ","; term LEVEL "200"
13 | "fun"; open_binders; "=>"; term LEVEL "200"
14 | "let"; "fix"; fix_decl; "in"; term LEVEL "200"
15 | "let"; "cofix"; cofix_body; "in"; term LEVEL "200"
16 | "let"; "'"; pattern LEVEL "200"; OPT [ "in"; pattern LEVEL "200" ]; ":=";
17 term LEVEL "200"; OPT case_type; "in"; term LEVEL "200"
18 | "let"; name; binders; let_type_cstr; ":="; term LEVEL "200"; "in"; term
19 LEVEL "200"
20 | "let"; [ "("; LIST0 name SEP ","; ")" | "()" ]; as_return_type; ":=";
21 term LEVEL "200"; "in"; term LEVEL "200"
22 | "if"; term LEVEL "200"; as_return_type; "then"; term LEVEL "200"; "else";
23 term LEVEL "200"
24 | "fix"; fix_decls
25 | "cofix"; cofix_decls ] ]
26
27 Entry constr is
28 [ LEFTA
29 [ "@"; global; univ_annot
30 | term LEVEL "8" ] ]
31
32 Entry lconstr is
33 [ LEFTA
34 [ term LEVEL "200" ] ]
35
36 Entry term is
37 [ "200" RIGHTA
38 [ ]
39 | "100" RIGHTA
40 [ SELF; "<:"; term LEVEL "200"
41 | SELF; "<<:"; term LEVEL "200"
42 | SELF; ":>"; term LEVEL "200"
43 | SELF; ":"; term LEVEL "200" ]
44 | "99" RIGHTA
45 [ SELF; "->"; term LEVEL "200" ]
46 | "95" RIGHTA
47 [ SELF; "<->"; NEXT ]
48 | "90" RIGHTA
49 [ ]
50 | "85" RIGHTA
51 [ SELF; "\\/"; term LEVEL "85" ]
52 | "80" RIGHTA
53 [ SELF; "/\\"; term LEVEL "80" ]
54 | "75" RIGHTA
55 [ "~"; term LEVEL "75" ]
56 | "70" RIGHTA
57 [ SELF; ">"; NEXT
58 | SELF; ">="; NEXT
59 | SELF; "<"; NEXT; "<="; NEXT
60 | SELF; "<"; NEXT; "<"; NEXT
61 | SELF; "<"; NEXT
62 | SELF; "<="; NEXT; "<"; NEXT
63 | SELF; "<="; NEXT; "<="; NEXT
64 | SELF; "<="; NEXT
65 | SELF; "<>"; NEXT; ":>"; NEXT
66 | SELF; "<>"; NEXT
67 | SELF; "="; NEXT; "="; NEXT
68 | SELF; "="; NEXT; ":>"; NEXT
69 | SELF; "="; NEXT ]
70 | "60" RIGHTA
71 [ SELF; "++"; term LEVEL "60"
72 | SELF; "::"; term LEVEL "60" ]
73 | "50" LEFTA
74 [ SELF; "||"; NEXT
75 | SELF; "-"; NEXT
76 | SELF; "+"; NEXT ]
77 | "40" LEFTA
78 [ SELF; "&&"; NEXT
79 | SELF; "/"; NEXT
80 | SELF; "*"; NEXT ]
81 | "35" RIGHTA
82 [ "/"; term LEVEL "35"
83 | "-"; term LEVEL "35" ]
84 | "30" RIGHTA
85 [ SELF; "^"; term LEVEL "30" ]
86 | "10" LEFTA
87 [ SELF; LIST1 arg
88 | "@"; global; univ_annot; LIST0 NEXT
89 | "@"; pattern_ident; LIST1 identref
90 | binder_constr ]
91 | "9" LEFTA
92 [ ".."; term LEVEL "0"; ".." ]
93 | "8" LEFTA
94 [ ]
95 | "1" LEFTA
96 [ SELF; ".2"
97 | SELF; ".1"
98 | SELF; ".("; "@"; global; univ_annot; LIST0 (term LEVEL "9"); ")"
99 | SELF; ".("; global; univ_annot; LIST0 arg; ")"
100 | SELF; "%"; IDENT
101 | SELF; "%_"; IDENT ]
102 | "0" LEFTA
103 [ "{"; "'"; pattern LEVEL "0"; "&"; term LEVEL "200"; "&"; term LEVEL
104 "200"; "}"
105 | "{"; "'"; pattern LEVEL "0"; "&"; term LEVEL "200"; "}"
106 | "{"; "'"; pattern LEVEL "0"; ":"; term LEVEL "200"; "&"; term LEVEL
107 "200"; "&"; term LEVEL "200"; "}"
108 | "{"; "'"; pattern LEVEL "0"; ":"; term LEVEL "200"; "&"; term LEVEL
109 "200"; "}"
110 | "{"; "'"; pattern LEVEL "0"; ":"; term LEVEL "200"; "|"; term LEVEL
111 "200"; "&"; term LEVEL "200"; "}"
112 | "{"; "'"; pattern LEVEL "0"; ":"; term LEVEL "200"; "|"; term LEVEL
113 "200"; "}"
114 | "{"; "'"; pattern LEVEL "0"; "|"; term LEVEL "200"; "&"; term LEVEL
115 "200"; "}"
116 | "{"; "'"; pattern LEVEL "0"; "|"; term LEVEL "200"; "}"
117 | "{"; term LEVEL "99"; "&"; term LEVEL "200"; "&"; term LEVEL "200"; "}"
118 | "{"; term LEVEL "99"; "&"; term LEVEL "200"; "}"
119 | "{"; term LEVEL "99"; ":"; term LEVEL "200"; "&"; term LEVEL "200"; "&";
120 term LEVEL "200"; "}"
121 | "{"; term LEVEL "99"; ":"; term LEVEL "200"; "&"; term LEVEL "200"; "}"
122 | "{"; term LEVEL "99"; ":"; term LEVEL "200"; "|"; term LEVEL "200"; "&";
123 term LEVEL "200"; "}"
124 | "{"; term LEVEL "99"; ":"; term LEVEL "200"; "|"; term LEVEL "200"; "}"
125 | "{"; term LEVEL "99"; "|"; term LEVEL "200"; "&"; term LEVEL "200"; "}"
126 | "{"; term LEVEL "99"; "|"; term LEVEL "200"; "}"
127 | "{"; term LEVEL "99"; "}"
128 | IDENT "ltac"; ":"; "("; ltac_expr; ")"
129 | "("; term LEVEL "200"; ","; term LEVEL "200"; ","; LIST1 (term LEVEL
130 "200") SEP ","; ")"
131 | "("; term LEVEL "200"; ","; term LEVEL "200"; ")"
132 | "("; term LEVEL "200"; ")"
133 | "{|"; record_declaration; '|}'
134 | "`{"; term LEVEL "200"; "}"
135 | "`("; term LEVEL "200"; ")"
136 | NUMBER
137 | atomic_constr
138 | term_match
139 | reference; univ_annot
140 | string
141 | test_array_opening; "["; "|"; array_elems; "|"; lconstr; type_cstr;
142 test_array_closing; "|"; "]"; univ_annot ] ]
143
144 Entry univ_annot is
145 [ LEFTA
146 [ "@{"; LIST0 univ_level_or_quality;
147 OPT [ [ "|" | ";" ]; LIST0 univ_level_or_quality ]; "}"
148 | ] ]
149
150 Entry fix_decls is
151 [ LEFTA
152 [ fix_decl; "with"; LIST1 fix_decl SEP "with"; "for"; identref
153 | fix_decl ] ]
154