Constructor and Description |
---|
IdentifierParser() |
Modifier and Type | Method and Description |
---|---|
GrammarElement |
parse(SLogoInterpreter interpreter)
parses an assignment statement, which looks like
id = expression
|
public GrammarElement parse(SLogoInterpreter interpreter) throws ParseException
parse
in interface Parser
ParseException
- if expression does not contain an equals sign.