cvm.ucm.interpreter
Class Parser
java.lang.Object
cvm.ucm.interpreter.Parser
public class Parser
- extends java.lang.Object
This class parses the control scripts that are passed down
from the Synthesis Engine and puts them in a data structure
that is easier to handle and understand.
- Author:
- Eduardo Monteiro
Method Summary |
static void |
main(java.lang.String[] args)
|
static java.util.ArrayList |
makeList(java.lang.String stringList)
|
Script |
parse(java.lang.String script)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parser
public Parser()
makeList
public static java.util.ArrayList makeList(java.lang.String stringList)
parse
public Script parse(java.lang.String script)
- Parameters:
script
- : String representing the control script
- Returns:
- Script object containing the parsed control script
- Throws:
InvalidScriptException
main
public static void main(java.lang.String[] args)