1 module orelang.operator.StepOperator; 2 import orelang.operator.IOperator, 3 orelang.Engine, 4 orelang.Value; 5 6 class StepOperator : IOperator { 7 /** 8 * call 9 */ 10 public Value call(Engine engine, Value[] args) { 11 Value ret = null; 12 13 foreach (arg; args) { 14 ret = engine.eval(arg); 15 } 16 17 return ret; 18 } 19 }