[]
        
(Showing Draft Content)

ErrorNode

Class ErrorNode


public class ErrorNode extends ConstNode
Represents an error literal node in the syntax tree.
  • Constructor Details

    • ErrorNode

      public ErrorNode(CalcError value)
      Creates a new LogicalNode from CalcError.
      Parameters:
      value - The error value.
  • Method Details

    • getValue

      public final CalcError getValue()
      The value of this node.
    • setValue

      public final void setValue(CalcError value)
      The value of this node.