Mercurial Hosting > luan
view core/src/luan/impl/LtExpr.java @ 364:1a464e090538 0.3
simplify table code
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 16 Apr 2015 11:51:21 -0600 |
parents | 3dcb0f9bee82 |
children | b48cfa14ba60 |
line wrap: on
line source
package luan.impl; import luan.Luan; import luan.LuanFunction; import luan.LuanException; import luan.LuanSource; final class LtExpr extends BinaryOpExpr { LtExpr(LuanSource.Element se,Expr op1,Expr op2) { super(se,op1,op2); } @Override public Object eval(LuanStateImpl luan) throws LuanException { Object o1 = op1.eval(luan); Object o2 = op2.eval(luan); return luan.bit(se).isLessThan(o1,o2); } }