Mercurial Hosting > luan
comparison src/luan/interp/Stmt.java @ 31:5cf15507d77e
separate interpreter from interface
git-svn-id: https://luan-java.googlecode.com/svn/trunk@32 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Thu, 13 Dec 2012 02:50:04 +0000 |
parents | 9cea1aea5eef |
children | e3624b7cd603 |
comparison
equal
deleted
inserted
replaced
30:8d8f4f5caef4 | 31:5cf15507d77e |
---|---|
1 package luan.interp; | 1 package luan.interp; |
2 | 2 |
3 import luan.LuaState; | |
4 import luan.LuaException; | 3 import luan.LuaException; |
5 | 4 |
6 | 5 |
7 public interface Stmt { | 6 interface Stmt { |
8 public void eval(LuaState lua) throws LuaException; | 7 public void eval(LuaStateImpl lua) throws LuaException; |
9 | 8 |
10 static final Stmt EMPTY = new Stmt() { | 9 static final Stmt EMPTY = new Stmt() { |
11 public void eval(LuaState lua) {} | 10 public void eval(LuaStateImpl lua) {} |
12 }; | 11 }; |
13 } | 12 } |