Package | Description |
---|---|
slogo.parser |
This package is responsible for parsing the language SLogo.
|
Modifier and Type | Class and Description |
---|---|
class |
AssignmentParser
Parse an assignment statement, which looks like
<id> <assignment_token, i.e., = > <expression>
|
class |
IdentifierParser
Parse an assignment statement, which looks like
<id> <assignment_token, i.e., = > <expression>
|
class |
InstructionParser
Instruction Parser - calls appropriate Parser for each Instruction
|
class |
PrintParser
The parser for the print instruction
|
class |
RepeatParser
Parse a REPEAT Statement, which looks like
REPEAT numOrVar [ instructionlist ]
|
class |
StrictInstructionListParser
The parser for lists of instructions.
|