Debian Codegraph @

test-suite/output/PrintGrammarConstr.out

raw
1 Entry binder_constr is
2 [ LEFTA
3 [ "forall"; open_binders; ","; term LEVEL "200"
4 | "fun"; open_binders; "=>"; term LEVEL "200"
5 | "let"; "fix"; fix_decl; "in"; term LEVEL "200"
6 | "let"; "cofix"; cofix_body; "in"; term LEVEL "200"
7 | "let"; "'"; pattern LEVEL "200"; OPT [ "in"; pattern LEVEL "200" ]; ":=";
8 term LEVEL "200"; OPT case_type; "in"; term LEVEL "200"
9 | "let"; name; binders; let_type_cstr; ":="; term LEVEL "200"; "in"; term
10 LEVEL "200"
11 | "let"; [ "("; LIST0 name SEP ","; ")" | "()" ]; as_return_type; ":=";
12 term LEVEL "200"; "in"; term LEVEL "200"
13 | "if"; term LEVEL "200"; as_return_type; "then"; term LEVEL "200"; "else";
14 term LEVEL "200"
15 | "fix"; fix_decls
16 | "cofix"; cofix_decls ] ]
17
18 Entry constr is
19 [ LEFTA
20 [ "@"; global; univ_annot
21 | term LEVEL "8" ] ]
22
23 Entry lconstr is
24 [ LEFTA
25 [ term LEVEL "200" ] ]
26
27 Entry term is
28 [ "200" RIGHTA
29 [ ]
30 | "100" RIGHTA
31 [ SELF; "<:"; term LEVEL "200"
32 | SELF; "<<:"; term LEVEL "200"
33 | SELF; ":>"; term LEVEL "200"
34 | SELF; ":"; term LEVEL "200" ]
35 | "99" RIGHTA
36 [ ]
37 | "90" RIGHTA
38 [ ]
39 | "10" LEFTA
40 [ SELF; LIST1 arg
41 | "@"; global; univ_annot; LIST0 NEXT
42 | "@"; pattern_ident; LIST1 identref
43 | binder_constr ]
44 | "9" LEFTA
45 [ ".."; term LEVEL "0"; ".." ]
46 | "8" LEFTA
47 [ ]
48 | "1" LEFTA
49 [ SELF; ".("; "@"; global; univ_annot; LIST0 (term LEVEL "9"); ")"
50 | SELF; ".("; global; univ_annot; LIST0 arg; ")"
51 | SELF; "%"; IDENT
52 | SELF; "%_"; IDENT ]
53 | "0" LEFTA
54 [ "["; term LEVEL "10"; "+"; "+"; "*"; LIST1 (term LEVEL "10") SEP ["+";
55 "+"; "*"]; "|"; term LEVEL "200"; "]"
56 | "["; term LEVEL "10"; "|"; term LEVEL "200"; "]"
57 | "("; term LEVEL "200"; ")"
58 | "{|"; record_declaration; '|}'
59 | "`{"; term LEVEL "200"; "}"
60 | "`("; term LEVEL "200"; ")"
61 | NUMBER
62 | atomic_constr
63 | term_match
64 | reference; univ_annot
65 | string
66 | test_array_opening; "["; "|"; array_elems; "|"; lconstr; type_cstr;
67 test_array_closing; "|"; "]"; univ_annot ] ]
68