Package edu.iu.jrsalata
Interface VisitorInterface
- All Known Implementing Classes:
ModificationVisitor
public interface VisitorInterface
VisitorInterface defines a common interface for various types of visitors
that can process different kinds of statements in an assembler.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a queue of strings generated by this visitorvoid
visit
(BaseStatement statement) Visits the given statement.void
visit
(DirectiveStatement statement) Visits the given statement.void
visit
(ExtendedStatement statement) Visits the given statement.void
visit
(RegisterStatement statement) Visits the given statement.void
visit
(SicStatement statement) Visits the given statement.void
visit
(SingleStatement statement) Visits the given statement.void
Visits the given statement.
-
Method Details
-
visit
Visits the given statement.- Parameters:
statement
- the statement to be visited
-
visit
Visits the given statement.- Parameters:
statement
- the statement to be visited
-
visit
Visits the given statement.- Parameters:
statement
- the statement to be visited
-
visit
Visits the given statement.- Parameters:
statement
- the statement to be visited
-
visit
Visits the given statement.- Parameters:
statement
- the statement to be visited
-
visit
Visits the given statement.- Parameters:
statement
- the statement to be visited
-
visit
Visits the given statement.- Parameters:
statement
- the statement to be visited
-
getStrings
Returns a queue of strings generated by this visitor- Returns:
- A queue of strings for anything that is needed
-