java.lang.Object
com.aquima.interactions.expressions.parser.ParseNodeBase
com.aquima.interactions.expressions.r7.parser.nodes.TypeOfNode
All Implemented Interfaces:
IParseNode

public class TypeOfNode extends ParseNodeBase
This node represents an expression that determines the type of an instance.
Since:
7.1
Author:
O. Kerpershoek
  • Constructor Details

    • TypeOfNode

      public TypeOfNode(IParseNode instanceExpr)
      Constructs the class with the required arguments.
      Parameters:
      instanceExpr - Expression resulting in an instance.
  • Method Details

    • getInstanceExpr

      public IParseNode getInstanceExpr()
      This method returns the expression of which the type should be returned.
      Returns:
      The expression of which the type should be returned.
    • toString

      public String toString()
      Overrides:
      toString in class Object