-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jazzepi
authored and
Jazzepi
committed
Nov 4, 2009
1 parent
6148d6f
commit e3772dd
Showing
8 changed files
with
99 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package lexer; | ||
|
||
import java.util.ArrayList; | ||
|
||
public class Call implements Statement { | ||
|
||
@Override | ||
public ArrayList<String> evaluate() { | ||
// TODO Auto-generated method stub | ||
return null; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package lexer; | ||
|
||
import java.util.ArrayList; | ||
|
||
public class Factor implements Statement { | ||
|
||
@Override | ||
public ArrayList<String> evaluate() { | ||
// TODO Auto-generated method stub | ||
return null; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package lexer; | ||
|
||
import java.util.ArrayList; | ||
|
||
public class GameCommand implements Statement { | ||
|
||
@Override | ||
public ArrayList<String> evaluate() { | ||
// TODO Auto-generated method stub | ||
return null; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package lexer; | ||
|
||
import java.util.ArrayList; | ||
|
||
public class IfElse implements Statement { | ||
|
||
@Override | ||
public ArrayList<String> evaluate() { | ||
// TODO Auto-generated method stub | ||
return null; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package lexer; | ||
|
||
import java.util.ArrayList; | ||
|
||
public class IfOnly implements Statement { | ||
|
||
@Override | ||
public ArrayList<String> evaluate() { | ||
// TODO Auto-generated method stub | ||
return null; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package lexer; | ||
|
||
import java.util.ArrayList; | ||
|
||
public interface Statement { | ||
|
||
ArrayList<String> evaluate(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package lexer; | ||
|
||
import java.util.ArrayList; | ||
|
||
public class VariableAssignment implements Statement { | ||
|
||
@Override | ||
public ArrayList<String> evaluate() { | ||
// TODO Auto-generated method stub | ||
return null; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package lexer; | ||
|
||
import java.util.ArrayList; | ||
|
||
public class While implements Statement { | ||
|
||
@Override | ||
public ArrayList<String> evaluate() { | ||
// TODO Auto-generated method stub | ||
return null; | ||
} | ||
|
||
} |