nixd
Loading...
Searching...
No Matches
libnixf
include
nixf
Parse
SyntaxKinds.inc
Go to the documentation of this file.
1
/// SyntaxKinds.inc, declares syntax names.
2
3
/// provides: EXPR(Name) - expressions. They can be evaluated.
4
/// provides: NODE(Name) - simple node. They cannot be evaluated.
5
6
// Expressions.
7
#ifdef EXPR
8
EXPR
(Assert)
9
EXPR
(AttrSet)
10
EXPR
(Call)
11
EXPR
(Float)
12
EXPR
(Int)
13
EXPR
(If)
14
EXPR
(Lambda)
15
EXPR
(Let)
16
EXPR
(List)
17
EXPR
(OpNegate)
18
EXPR
(OpNot)
19
EXPR
(OpHasAttr)
20
EXPR
(OpAnd)
21
EXPR
(OpBinary)
22
EXPR
(Path)
23
EXPR
(Select)
24
EXPR
(String)
25
EXPR
(IndString)
26
EXPR
(Var)
27
EXPR
(With)
28
EXPR
(Paren)
29
// let { ..., .body }, desugared to rec { ..., .body }.body
30
EXPR
(LegacyLet)
31
#endif
// EXPR
32
33
#ifdef NODE
34
NODE
(Token)
35
NODE
(TriviaPiece)
36
NODE
(Trivia)
37
NODE
(ID)
38
NODE
(Formals)
39
NODE
(Formal)
40
NODE
(IndStringParts)
41
NODE
(StringParts)
42
NODE
(Interpolation)
43
NODE
(AttrPath)
44
NODE
(Inherit)
45
NODE
(Binds)
46
NODE
(Binding)
47
NODE
(ListBody)
48
NODE
(LambdaArg)
49
NODE
(BracedFormals)
50
NODE
(Unknown)
51
NODE
(Root)
52
NODE
(EOF)
53
#endif
// NODE
EXPR
#define EXPR(NAME)
Definition
Basic.h:68
NODE
#define NODE(NAME)
Definition
Basic.h:15
Generated by
1.12.0