Uses of Class
edu.iu.jrsalata.AbstractStatementBuilder
-
Uses of AbstractStatementBuilder in edu.iu.jrsalata
Modifier and TypeClassDescriptionclass
The SicStatementBuilder class is responsible for processing and creating SIC statements from a given string.class
The StatementBuilder class is responsible for processing SIC/XE assembly statements and generating corresponding Statement objects based on the mnemonic and arguments.Modifier and TypeFieldDescriptionprotected AbstractStatementBuilder
ObjectWriter.builder
holds the current builder to write its outputModifier and TypeFieldDescriptionprotected Queue<AbstractStatementBuilder>
AbstractStatementBuilderBuilder.builderQueue
stores each of the created buildersModifier and TypeMethodDescriptionprotected AbstractStatementBuilder
AbstractStatementBuilderBuilder.choseBuilder
(Scanner sc) Chooses the appropriate statement builder based on the input from the scanner.Modifier and TypeMethodDescriptionprotected Queue<AbstractStatementBuilder>
AbstractStatementBuilderBuilder.fileInput
(Scanner sc, AbstractStatementBuilder builder) Processes the input from a Scanner and builds a queue of AbstractStatementBuilder objects.AbstractStatementBuilderBuilder.getBuilders()
Retrieves the queue of AbstractStatementBuilder instances.AbstractStatementBuilderBuilderInterface.getBuilders()
Retrieves a queue of abstract statement builders.Modifier and TypeMethodDescriptionprotected Queue<AbstractStatementBuilder>
AbstractStatementBuilderBuilder.fileInput
(Scanner sc, AbstractStatementBuilder builder) Processes the input from a Scanner and builds a queue of AbstractStatementBuilder objects.void
ObjectWriter.setBuilder
(AbstractStatementBuilder builder) Sets the builder for this ObjectWriter.void
ObjectWriterInterface.setBuilder
(AbstractStatementBuilder builder) Sets the builder to be used for constructing statements.void
ObjectWriter.writeDefineRecord
(FileWriter fileWriter, AbstractStatementBuilder builder) Writes a define record to the specified FileWriter using the provided AbstractStatementBuilder.void
ObjectWriter.writeEndRecord
(FileWriter fileWriter, AbstractStatementBuilder builder) Writes the end record to the specified FileWriter.void
ObjectWriter.writeHeaderRecord
(FileWriter fileWriter, AbstractStatementBuilder builder) Writes a header record to the specified FileWriter.void
ObjectWriter.writeModificationRecords
(FileWriter fileWriter, Queue<String> modifications, AbstractStatementBuilder builder) Writes modification records to the provided FileWriter.void
ObjectWriter.writeReferRecords
(FileWriter fileWriter, AbstractStatementBuilder builder) Writes the reference records to the specified file using the provided FileWriter.void
ObjectWriter.writeTextRecords
(FileWriter fileWriter, Queue<Statement> queue, AbstractStatementBuilder builder, FileWriter debugWriter) Writes text records to the provided FileWriter based on the given queue of Statements.ModifierConstructorDescriptionObjectWriter
(String fileName, AbstractStatementBuilder builder, Queue<Statement> queue) Constructs an ObjectWriter with the specified file name, statement builder, and queue of statements.