Documentation ¶
Index ¶
- Constants
- func CheckExpr(t int, e ...Expression)
- func CheckExprScalar(e ...Expression)
- type ArrayLkup
- func (b *ArrayLkup) Cap() int
- func (b *ArrayLkup) LSBegin(dest io.Writer)
- func (b *ArrayLkup) LSLoad() (expr string)
- func (b *ArrayLkup) LSStore(dest io.Writer, expr string) (expr2 string)
- func (b *ArrayLkup) Load(dest io.Writer) (expr string)
- func (b *ArrayLkup) Store(dest io.Writer, expr string) (expr2 string)
- func (n ArrayLkup) Typ() int
- type Assign
- func (b *Assign) Cap() int
- func (n Assign) LSBegin(dest io.Writer)
- func (n Assign) LSLoad() (expr string)
- func (n Assign) LSStore(dest io.Writer, expr string) (expr2 string)
- func (b *Assign) Load(dest io.Writer) (expr string)
- func (n Assign) Store(dest io.Writer, expr string) (expr2 string)
- func (n Assign) Typ() int
- type BinOp
- func (b *BinOp) Cap() int
- func (n BinOp) LSBegin(dest io.Writer)
- func (n BinOp) LSLoad() (expr string)
- func (n BinOp) LSStore(dest io.Writer, expr string) (expr2 string)
- func (b *BinOp) Load(dest io.Writer) (expr string)
- func (n BinOp) Store(dest io.Writer, expr string) (expr2 string)
- func (n BinOp) Typ() int
- type Expression
- type ScalarLit
- func (s *ScalarLit) Cap() int
- func (n ScalarLit) LSBegin(dest io.Writer)
- func (n ScalarLit) LSLoad() (expr string)
- func (n ScalarLit) LSStore(dest io.Writer, expr string) (expr2 string)
- func (s *ScalarLit) Load(dest io.Writer) (expr string)
- func (n ScalarLit) Store(dest io.Writer, expr string) (expr2 string)
- func (n ScalarLit) Typ() int
- type ScalarVar
- func (s *ScalarVar) Cap() int
- func (s *ScalarVar) LSBegin(dest io.Writer)
- func (s *ScalarVar) LSLoad() (expr string)
- func (s *ScalarVar) LSStore(dest io.Writer, expr string) (expr2 string)
- func (s *ScalarVar) Load(dest io.Writer) (expr string)
- func (s *ScalarVar) Store(dest io.Writer, expr string) (expr2 string)
- func (n ScalarVar) Typ() int
- type TempReg
- type VarSpace
- type VarSpaceImpl
Constants ¶
View Source
const ( E_LOAD = 1 E_STORE = 2 )
View Source
const (
E_TP_SCALAR = iota
)
View Source
const EmptyVS = VarSpaceImpl(0)
Variables ¶
This section is empty.
Functions ¶
func CheckExpr ¶
func CheckExpr(t int, e ...Expression)
func CheckExprScalar ¶
func CheckExprScalar(e ...Expression)
Types ¶
type ArrayLkup ¶
type ArrayLkup struct {
Arg1, Arg2 Expression
Tptr TempReg
// contains filtered or unexported fields
}
type Assign ¶
type Assign struct {
Arg1, Arg2 Expression
// contains filtered or unexported fields
}
type BinOp ¶
type BinOp struct {
Arg1, Arg2 Expression
Op string
// contains filtered or unexported fields
}
type Expression ¶
type VarSpace ¶
type VarSpace interface { DefineScalar(s string) Scalar(s string) Expression }
type VarSpaceImpl ¶
type VarSpaceImpl int
func (VarSpaceImpl) DefineScalar ¶
func (v VarSpaceImpl) DefineScalar(s string)
func (VarSpaceImpl) Scalar ¶
func (v VarSpaceImpl) Scalar(s string) Expression
Click to show internal directories.
Click to hide internal directories.