Package parser

Class PowerOperator

All Implemented Interfaces:
Validatable

public final class PowerOperator extends BinaryOperator
  • Constructor Details

    • PowerOperator

      public PowerOperator(int index, ArrayList<String> scan)
      Creates an object of class PowerOperator
      Parameters:
      index - the index of this object in its parent Function object's scanner.
      scan - the Function object in which this PowerOperator exists.
  • Method Details

    • assignCompoundTokens

      public static void assignCompoundTokens(ArrayList<String> scan)
      Parameters:
      scan - the ArrayList object that is the scanner and so contains the PowerOperator object.