/// <summary> /// Accepts this node to the visitor. /// </summary> /// <param name="visitor">The visitor to accept this node to.</param> public override void accept(NodeVisitor visitor) { visitor.visit(this); }
/// <summary> /// Accept method to call the visitor /// </summary> /// <param name="visitor">The visitor to be called</param> public abstract void accept(NodeVisitor visitor);