|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRaptor.ProgramParser.TestHarness
public class TestHarness
Used for local testing of the parser.
Reads in an input program file and passes it line by line to ProgramParseController.
Constructor Summary | |
---|---|
TestHarness()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Takes as argument a text file containing program lines to be parsed. |
static void |
parseCode(java.lang.String input)
Parses the input by sending each line of the input String to a ProgramParseController for it to send to the parser. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestHarness()
Method Detail |
---|
public static void main(java.lang.String[] args)
public static void parseCode(java.lang.String input)
input
- The .txt file which is the argument when TestHarness is called.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |