[]
        
(Showing Draft Content)

LogicalNode

Class LogicalNode


public class LogicalNode extends ConstNode
Represents a logical literal node in the syntax tree.
  • Constructor Details

    • LogicalNode

      public LogicalNode(boolean value)
      Creates a new LogicalNode from bool.
      Parameters:
      value - The boolean value.
  • Method Details

    • getValue

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

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