Mercurial Hosting > luan
comparison src/luan/interp/IfStmt.java @ 23:2446c1755d9b
minor
git-svn-id: https://luan-java.googlecode.com/svn/trunk@24 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Thu, 06 Dec 2012 00:35:13 +0000 |
parents | 2ddf85634d20 |
children | 5cf15507d77e |
comparison
equal
deleted
inserted
replaced
22:1e37f22a34c8 | 23:2446c1755d9b |
---|---|
5 import luan.LuaException; | 5 import luan.LuaException; |
6 | 6 |
7 | 7 |
8 final class IfStmt implements Stmt { | 8 final class IfStmt implements Stmt { |
9 private final Expr cnd; | 9 private final Expr cnd; |
10 private final Stmt thenStmt; | 10 final Stmt thenStmt; |
11 private final Stmt elseStmt; | 11 final Stmt elseStmt; |
12 | 12 |
13 IfStmt(Expr cnd,Stmt thenStmt,Stmt elseStmt) { | 13 IfStmt(Expr cnd,Stmt thenStmt,Stmt elseStmt) { |
14 this.cnd = cnd; | 14 this.cnd = cnd; |
15 this.thenStmt = thenStmt; | 15 this.thenStmt = thenStmt; |
16 this.elseStmt = elseStmt; | 16 this.elseStmt = elseStmt; |