Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Class,Parser> |
myParserMap |
private static InstructionParser |
ourInstance |
Modifier | Constructor and Description |
---|---|
private |
InstructionParser()
Create the InstructionParser--generates a map of classes to parsers
|
Modifier and Type | Method and Description |
---|---|
static InstructionParser |
getInstance() |
GrammarElement |
parse(SLogoParser ep)
gets the appropriate parser to parse the token
|
private java.util.Map<java.lang.Class,Parser> myParserMap
private static InstructionParser ourInstance
private InstructionParser()
public static InstructionParser getInstance()
public GrammarElement parse(SLogoParser ep)