Example #1
0
func (be *BinaryMessage) Eval(s *rt.Scope) rt.Value {
	return rt.SendMessage(be.Receiver, be.Behavior, []rt.Expr{be.Arg}, s)
}
Example #2
0
func (ke *KeywordMessage) Eval(s *rt.Scope) rt.Value {
	return rt.SendMessage(ke.Receiver, ke.Behavior, ke.Args, s)
}
Example #3
0
func (ue *UnaryMessage) Eval(s *rt.Scope) rt.Value {
	return rt.SendMessage(ue.Receiver, ue.Behavior, []rt.Expr{}, s)
}