Mercurial Hosting > luan
comparison core/src/luan/impl/Closure.java @ 301:a6bf8ff720f8
add java security
git-svn-id: https://luan-java.googlecode.com/svn/trunk@302 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Wed, 17 Dec 2014 12:35:57 +0000 |
parents | 5ba136769034 |
children | c6bcb8859b93 |
comparison
equal
deleted
inserted
replaced
300:9fb523472035 | 301:a6bf8ff720f8 |
---|---|
8 import luan.DeepCloner; | 8 import luan.DeepCloner; |
9 import luan.DeepCloneable; | 9 import luan.DeepCloneable; |
10 | 10 |
11 | 11 |
12 final class Closure extends LuanFunction implements DeepCloneable<Closure> { | 12 final class Closure extends LuanFunction implements DeepCloneable<Closure> { |
13 private final FnDef fnDef; | 13 final FnDef fnDef; |
14 private UpValue[] upValues; | 14 private UpValue[] upValues; |
15 | 15 |
16 Closure(LuanStateImpl luan,FnDef fnDef) throws LuanException { | 16 Closure(LuanStateImpl luan,FnDef fnDef) throws LuanException { |
17 this.fnDef = fnDef; | 17 this.fnDef = fnDef; |
18 UpValue.Getter[] upValueGetters = fnDef.upValueGetters; | 18 UpValue.Getter[] upValueGetters = fnDef.upValueGetters; |