Mercurial Hosting > luan
view core/src/luan/impl/GetLocalVar.java @ 535:289908469e02
parse numeric constants to ints or longs if possible
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 31 May 2015 00:00:17 -0600 |
parents | b48cfa14ba60 |
children | 0742ac78fa69 |
line wrap: on
line source
package luan.impl; import luan.LuanElement; final class GetLocalVar extends CodeImpl implements Expr { private final int index; GetLocalVar(LuanElement se,int index) { super(se); this.index = index; } @Override public Object eval(LuanStateImpl luan) { return luan.stackGet(index); } }