Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Expr ¶
type Expr interface {
// contains filtered or unexported methods
}
Expr represents abstract expression
type Mapper ¶
type Mapper struct { // Signature is a mapper signature (TODO: Make it an object) Signature string // Vars is a list of variable assignments Vars []Variable // Result is a final return statement Result Expr }
Mapper represents mapper
type StructExpr ¶
StructExpr represents structure initialization expression
func NewStruct ¶
func NewStruct(name string, fields ...*Field) *StructExpr
NewStruct creates structure initialization expression
func NewStructPtr ¶
func NewStructPtr(name string, fields ...*Field) *StructExpr
NewStructPtr creates pointer to structure initialization expression
Click to show internal directories.
Click to hide internal directories.