Mercurial Hosting > luan
comparison src/luan/interp/LtExpr.java @ 49:8ede219cd111
add WebShell
git-svn-id: https://luan-java.googlecode.com/svn/trunk@50 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Fri, 28 Dec 2012 19:35:04 +0000 |
parents | 64ecb7a3aad7 |
children | 6ca02b188dba |
comparison
equal
deleted
inserted
replaced
48:64ecb7a3aad7 | 49:8ede219cd111 |
---|---|
10 | 10 |
11 LtExpr(LuanSource.Element se,Expr op1,Expr op2) { | 11 LtExpr(LuanSource.Element se,Expr op1,Expr op2) { |
12 super(se,op1,op2); | 12 super(se,op1,op2); |
13 } | 13 } |
14 | 14 |
15 @Override public Object eval(LuanStateImpl lua) throws LuanException { | 15 @Override public Object eval(LuanStateImpl luan) throws LuanException { |
16 Object o1 = op1.eval(lua); | 16 Object o1 = op1.eval(luan); |
17 Object o2 = op2.eval(lua); | 17 Object o2 = op2.eval(luan); |
18 return lua.isLessThan(se,o1,o2); | 18 return luan.isLessThan(se,o1,o2); |
19 } | 19 } |
20 } | 20 } |