Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Add ¶
type Add struct {
Left, Right Expr
}
func (*Add) FeedTo ¶
func (Expr *Add) FeedTo(consumer ExprConsumer)
type Expr ¶
type Expr interface {
FeedTo(cons ExprConsumer)
}
type ExprConsumer ¶
type Lit ¶
type Lit struct {
N int
}
func (*Lit) FeedTo ¶
func (Expr *Lit) FeedTo(consumer ExprConsumer)
type Mul ¶
type Mul struct {
Left, Right Expr
}
func (*Mul) FeedTo ¶
func (Expr *Mul) FeedTo(consumer ExprConsumer)
Click to show internal directories.
Click to hide internal directories.