Package | Description |
---|---|
slogo.parser |
This package is responsible for parsing the language SLogo.
|
Modifier and Type | Method and Description |
---|---|
GrammarElement |
StrictInstructionListParser.parse(SLogoInterpreter interpreter)
Parses the instructions list
|
GrammarElement |
RepeatParser.parse(SLogoInterpreter interpreter)
Parses a REPEAT instruction
|
GrammarElement |
PrintParser.parse(SLogoInterpreter interpreter)
parses a print instruction
|
GrammarElement |
Parser.parse(SLogoInterpreter parser) |
GrammarElement |
InstructionParser.parse(SLogoInterpreter slogoInterpreter)
gets the appropriate parser to parse the token
|
GrammarElement |
IdentifierParser.parse(SLogoInterpreter interpreter)
parses an assignment statement, which looks like
id = expression
|
GrammarElement |
AssignmentParser.parse(SLogoInterpreter interpreter)
parses an assignment statement, which looks like
id = expression
|