Mercurial Hosting > luan
comparison src/luan/interp/FnCall.java @ 22:1e37f22a34c8
proper tail calls
git-svn-id: https://luan-java.googlecode.com/svn/trunk@23 21e917c8-12df-6dd8-5cb6-c86387c605b9
| author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
|---|---|
| date | Wed, 05 Dec 2012 09:03:50 +0000 |
| parents | 3b22ffbdb83a |
| children | 5cf15507d77e |
comparison
equal
deleted
inserted
replaced
| 21:c93d8c781853 | 22:1e37f22a34c8 |
|---|---|
| 5 import luan.LuaException; | 5 import luan.LuaException; |
| 6 import luan.LuaState; | 6 import luan.LuaState; |
| 7 | 7 |
| 8 | 8 |
| 9 final class FnCall implements Expressions { | 9 final class FnCall implements Expressions { |
| 10 private final Expr fnExpr; | 10 final Expr fnExpr; |
| 11 private final Expressions args; | 11 final Expressions args; |
| 12 | 12 |
| 13 FnCall(Expr fnExpr,Expressions args) { | 13 FnCall(Expr fnExpr,Expressions args) { |
| 14 this.fnExpr = fnExpr; | 14 this.fnExpr = fnExpr; |
| 15 this.args = args; | 15 this.args = args; |
| 16 } | 16 } |
