Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Atom ¶
type Atom struct { Expr // TODO: should these be copied strings? // It would be faster to just have these point to a tokens location. Value string }
Atom is an atom
type Call ¶
type Call struct { Expr Identifier *Identifier Arguments []Expr }
Call is a call expression
type Expr ¶
type Expr interface { Node // contains filtered or unexported methods }
Expr is an expression in an AST
type Node ¶
type Node interface {
// contains filtered or unexported methods
}
Node is a valid AST node
type PrefixExpr ¶
PrefixExpr is a yok prefix expression
type Stmt ¶
type Stmt interface { Node // contains filtered or unexported methods }
Stmt is a statement in an AST
Click to show internal directories.
Click to hide internal directories.