Mercurial Hosting > luan
comparison core/src/luan/impl/SetLocalVar.java @ 171:3dcb0f9bee82
add core component
git-svn-id: https://luan-java.googlecode.com/svn/trunk@172 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Sun, 22 Jun 2014 05:41:22 +0000 |
parents | src/luan/impl/SetLocalVar.java@4eaee12f6c65 |
children | e91e476186c7 |
comparison
equal
deleted
inserted
replaced
170:7c792a328a83 | 171:3dcb0f9bee82 |
---|---|
1 package luan.impl; | |
2 | |
3 | |
4 final class SetLocalVar implements Settable { | |
5 private final int index; | |
6 | |
7 SetLocalVar(int index) { | |
8 this.index = index; | |
9 } | |
10 | |
11 @Override public void set(LuanStateImpl luan,Object value) { | |
12 luan.stackSet( index, value ); | |
13 } | |
14 } |