Package parser

Class PowerOperator

java.lang.Object
All Implemented Interfaces:
Validatable

public final class PowerOperator
extends BinaryOperator
Author:
GBEMIRO
  • Constructor Details

    • PowerOperator

      public PowerOperator​(int index, java.util.ArrayList<java.lang.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​(java.util.ArrayList<java.lang.String> scan)
      Parameters:
      scan - the ArrayList object that is the scanner and so contains the PowerOperator object.