comparison src/luan/interp/UpValue.java @ 108:3c404a296995

make Package module more standard; return _ENV by default; add "import" statement; git-svn-id: https://luan-java.googlecode.com/svn/trunk@109 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Fri, 23 May 2014 03:21:54 +0000
parents 6db8f286fa6c
children f99fd64291b3
comparison
equal deleted inserted replaced
107:dbf459397217 108:3c404a296995
100 public UpValue get(LuanStateImpl luan) { 100 public UpValue get(LuanStateImpl luan) {
101 return upValue; 101 return upValue;
102 } 102 }
103 } 103 }
104 104
105 static final Getter globalGetter = new Getter() {
106 public UpValue get(LuanStateImpl luan) {
107 return new UpValue(luan.global());
108 }
109 };
110
105 } 111 }