Example #1
0
File: Probe.cs Project: rveens/OOPA
 /// <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);
 }
Example #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);