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