Inheritance: kOS.Suffixed.SpecialValue
示例#1
0
文件: Suffixed.cs 项目: CalebJ2/KOS
 public override void Execute(SharedObjects shared)
 {
     string bodyName = PopValueAssert(shared).ToString();
     AssertArgBottomAndConsume(shared);
     var result = new BodyTarget(bodyName, shared);
     ReturnValue = result;
 }
示例#2
0
文件: Suffixed.cs 项目: EbbiDos/KOS
 public override void Execute(SharedObjects shared)
 {
     string bodyName = shared.Cpu.PopValue().ToString();
     var result = new BodyTarget(bodyName, shared);
     shared.Cpu.PushStack(result);
 }
示例#3
0
 protected bool Equals(BodyTarget other)
 {
     return Body.Equals(other.Body);
 }
示例#4
0
 protected bool Equals(BodyTarget other)
 {
     return(Body.Equals(other.Body));
 }