blob: 699d0257e8a38de743e3ec5540e96a33b789ac07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package ast
import "jinx/pkg/lang/scanner/token"
type IdentNode struct {
At token.Loc
Value string
}
type BlockNode struct {
At token.Loc
Stmts []Stmt[any]
}
type CondNode struct {
Cond Expr[any]
Then BlockNode
}
|