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