-
class
The BaseStatement class is an abstract class that extends the Statement class.
class
The DirectiveStatement class represents a directive statement in an assembler.
class
The ExtendedStatement class represents an extended statement in an assembler.
class
The RegisterStatement class represents a statement that involves register operations
in an assembler.
class
The SicStatement class represents a SIC statement
in an assembler.
class
The SingleStatement class represents a single assembly statement.
queue stores the current queue of statements
Possibly unnecessary?
statements is the queue that is returned to the client
Each of them contains a statement that has appropriate info
on its location, args, and values so it can be assembled
Calculates the length and relative start of each block in the program,
modifies the value of each symbol to be relative to the start of the program,
and returns the queue of statements.
protected void
Adds a statement to the list of statements.
void
void
Visits the given statement.
void
Sets the queue of statements to be processed.
void
Sets the queue of statements.
void
Writes text records to the provided FileWriter based on the given queue of Statements.
Constructs an ObjectWriter with the specified file name, statement builder, and queue of statements.