Documentation ¶
Index ¶
- Constants
- Variables
- func EvaluatorCreator() mel3program.Mel3Visitor
- type Evaluator
- func (ev *Evaluator) GetError() error
- func (ev *Evaluator) GetMel3Object() *mel3program.Mel3Object
- func (ev *Evaluator) GetName() string
- func (ev *Evaluator) GetResult() *mel3program.Mel3Program
- func (ev *Evaluator) Inspect() string
- func (ev *Evaluator) SetMel3Object(mel3o *mel3program.Mel3Object)
- func (ev *Evaluator) Visit(in_prog *mel3program.Mel3Program) mel3program.Mel3Visitor
- type M3boolcmpMe3li
Constants ¶
View Source
const ( EQ = uint16(0) + iota NE LT LE GT GE )
Program IDs
View Source
const (
MYLIBID = mel3program.LIB_M3BOOLCMP
)
Variables ¶
View Source
var Implementation = mel3program.Mel3Implementation{ ProgramNames: map[uint16]string{ EQ: "eq", NE: "ne", }, TypeNames: map[uint16]string{}, ProgramTypes: map[uint16]mel3program.ArgumentsTypes{ EQ: mel3program.ArgumentsTypes{mel3program.ArgType{m3bool.MYLIBID, m3bool.BOOL, []uint64{}}}, NE: mel3program.ArgumentsTypes{mel3program.ArgType{m3bool.MYLIBID, m3bool.BOOL, []uint64{}}}, }, NonVariadicArgs: map[uint16]mel3program.ArgumentsTypes{ EQ: mel3program.ArgumentsTypes{mel3program.ArgType{m3bool.MYLIBID, m3bool.BOOL, []uint64{}}, mel3program.ArgType{m3bool.MYLIBID, m3bool.BOOL, []uint64{}}}, NE: mel3program.ArgumentsTypes{mel3program.ArgType{m3bool.MYLIBID, m3bool.BOOL, []uint64{}}, mel3program.ArgType{m3bool.MYLIBID, m3bool.BOOL, []uint64{}}}, }, IsVariadic: map[uint16]bool{ EQ: false, NE: false, }, VariadicType: map[uint16]mel3program.ArgType{ EQ: mel3program.ArgType{}, NE: mel3program.ArgType{}, }, ImplName: "m3boolcmp", }
The Mel3 implementation
Functions ¶
func EvaluatorCreator ¶
func EvaluatorCreator() mel3program.Mel3Visitor
Types ¶
type Evaluator ¶
type Evaluator struct { *mel3program.Mel3Object Result *mel3program.Mel3Program // contains filtered or unexported fields }
func (*Evaluator) GetMel3Object ¶
func (ev *Evaluator) GetMel3Object() *mel3program.Mel3Object
func (*Evaluator) GetResult ¶
func (ev *Evaluator) GetResult() *mel3program.Mel3Program
func (*Evaluator) SetMel3Object ¶
func (ev *Evaluator) SetMel3Object(mel3o *mel3program.Mel3Object)
func (*Evaluator) Visit ¶
func (ev *Evaluator) Visit(in_prog *mel3program.Mel3Program) mel3program.Mel3Visitor
type M3boolcmpMe3li ¶
type M3boolcmpMe3li struct {
mel3program.Mel3Object
}
The effective Me3li
func (*M3boolcmpMe3li) MelCopy ¶
func (prog *M3boolcmpMe3li) MelCopy() mel.Me3li
func (*M3boolcmpMe3li) MelInit ¶
func (prog *M3boolcmpMe3li) MelInit(c *mel.MelConfig, ep *mel.EvolutionParameters)
The Mel entry point for M3uintcmpMe3li
Click to show internal directories.
Click to hide internal directories.