Mercurial Hosting > luan
comparison src/luan/interp/NotExpr.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 |
comparison
equal
deleted
inserted
replaced
48:64ecb7a3aad7 | 49:8ede219cd111 |
---|---|
9 | 9 |
10 NotExpr(LuanSource.Element se,Expr op) { | 10 NotExpr(LuanSource.Element se,Expr op) { |
11 super(se,op); | 11 super(se,op); |
12 } | 12 } |
13 | 13 |
14 @Override public Object eval(LuanStateImpl lua) throws LuanException { | 14 @Override public Object eval(LuanStateImpl luan) throws LuanException { |
15 return !Luan.toBoolean(op.eval(lua)); | 15 return !Luan.toBoolean(op.eval(luan)); |
16 } | 16 } |
17 } | 17 } |