Mercurial Hosting > luan
view core/src/luan/impl/ConstExpr.java @ 498:ee55be414a34
Http.response is now mostly luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 18 May 2015 00:25:35 -0600 |
parents | b48cfa14ba60 |
children | 92c3d22745b8 |
line wrap: on
line source
package luan.impl; import luan.LuanElement; final class ConstExpr extends CodeImpl implements Expr { private final Object obj; ConstExpr(LuanElement se,Object obj) { super(se); this.obj = obj; } @Override public Object eval(LuanStateImpl luan) { return obj; } @Override public String toString() { return "(ConstExpr "+obj+")"; } }