Class LabelManager


  • public class LabelManager
    extends Object
    Author:
    User
    • Constructor Detail

      • LabelManager

        public LabelManager()
    • Method Detail

      • finishOperationsSet

        public void finishOperationsSet()
      • generateAllLabels

        public void generateAllLabels​(String[] labelInstructions)
      • generateLabel

        public String generateLabel​(org.openl.rules.tbasic.compile.LabelManager.LabelType labelType)
      • getLabelByInstruction

        public String getLabelByInstruction​(String labelInstruction)
      • isLabelInstruction

        public boolean isLabelInstruction​(String labelInstruction)
      • startOperationsSet

        public void startOperationsSet​(boolean isLoopOperationSet)
      • isReturnInstruction

        public boolean isReturnInstruction​(String labelInstruction)
        Checks if the label instructions represents are return instruction.
        Parameters:
        labelInstruction -
        Returns:
        true if label instruction is a return one.