Mercurial Hosting > luan
view src/luan/interp/EnvExpr.java @ 31:5cf15507d77e
separate interpreter from interface
git-svn-id: https://luan-java.googlecode.com/svn/trunk@32 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Thu, 13 Dec 2012 02:50:04 +0000 |
parents | b7d7069fee58 |
children |
line wrap: on
line source
package luan.interp; final class EnvExpr implements Expr { static final EnvExpr INSTANCE = new EnvExpr(); private EnvExpr() {} @Override public Object eval(LuaStateImpl lua) { return lua.env(); } }