1 module orelang.operator.DefvarOperator;
2 import orelang.operator.IOperator,
3        orelang.Engine,
4        orelang.Value;
5 
6 class DefvarOperator : IOperator {
7   /**
8    * call
9    */
10   public Value call(Engine engine, Value[] args) {
11     return engine.defineVariable(args[0].getString, engine.eval(args[1]));
12   }
13 }