public class TemplateOperation
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommand()
Returns the command syntax.
|
java.lang.String[] |
getPostCommand() |
java.lang.String |
getPreCommand() |
boolean |
isArithmeticOperation() |
boolean |
isBranchOperation() |
boolean |
isLoadOperation() |
boolean |
isStoreOperation() |
void |
printOperation(TemplatePrinter templatePrinter)
Prints operation to the
TemplatePrinter . |
void |
printOperationBlock(TemplatePrinter templatePrinter)
Prints operation (with pre and post commands) to the
TemplatePrinter . |
public java.lang.String getCommand()
public java.lang.String getPreCommand()
public java.lang.String[] getPostCommand()
public boolean isBranchOperation()
public boolean isStoreOperation()
public boolean isLoadOperation()
public boolean isArithmeticOperation()
public void printOperationBlock(TemplatePrinter templatePrinter)
TemplatePrinter
.templatePrinter
- the templates printer.public void printOperation(TemplatePrinter templatePrinter)
TemplatePrinter
.templatePrinter
- the templates printer.