Class BranchTable

    • Constructor Detail

      • BranchTable

        public BranchTable​(String defaultLabelName)
        Constructor with the default jump target.
        Parameters:
        defaultLabelName - label of the default jump target
    • Method Detail

      • addBranch

        public void addBranch​(int key,
                              String labelName)
        Adds a jump target.
        Parameters:
        key - case value
        labelName - label of the key's jump target