Exemple #1
0
 /// <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);
 }
Exemple #2
0
 /// <summary>
 /// Accept method to call the visitor
 /// </summary>
 /// <param name="visitor">The visitor to be called</param>
 public abstract void accept(NodeVisitor visitor);