[]
        
(Showing Draft Content)

OperatorNode

Class OperatorNode


public class OperatorNode extends NonTerminalNode
Represents an operator invocation expression in the syntax tree.
  • Constructor Details

    • OperatorNode

      public OperatorNode(OperatorKind kind)
      Creates a new OperatorNode from the type of the operator.
      Parameters:
      kind - The type of the operator.
  • Method Details

    • getKind

      public final OperatorKind getKind()
      Gets the type of the operator.
    • setKind

      public final void setKind(OperatorKind value)
      Sets the type of the operator.