Class TemplateOperation


  • public class TemplateOperation
    extends java.lang.Object
    • Method Detail

      • getCommand

        public java.lang.String getCommand()
        Returns the command syntax.
        Returns:
        command syntax.
      • getPreCommand

        public java.lang.String getPreCommand()
      • getPostCommand

        public java.lang.String[] getPostCommand()
      • isBranchOperation

        public boolean isBranchOperation()
      • isStoreOperation

        public boolean isStoreOperation()
      • isLoadOperation

        public boolean isLoadOperation()
      • isArithmeticOperation

        public boolean isArithmeticOperation()
      • printOperationBlock

        public void printOperationBlock​(TemplatePrinter templatePrinter)
        Prints operation (with pre and post commands) to the TemplatePrinter.
        Parameters:
        templatePrinter - the templates printer.
      • printOperation

        public void printOperation​(TemplatePrinter templatePrinter)
        Prints operation to the TemplatePrinter.
        Parameters:
        templatePrinter - the templates printer.