예제 #1
0
 public virtual void OnGivenStatement(GivenStatement node)
 {
     if (EnterGivenStatement(node))
     {
         Switch(node.Expression);
         Switch(node.WhenClauses);
         Switch(node.OtherwiseBlock);
         Switch(node.Modifier);
         LeaveGivenStatement(node);
     }
 }
예제 #2
0
 public virtual void LeaveGivenStatement(GivenStatement node)
 {
 }
예제 #3
0
 public virtual bool EnterGivenStatement(GivenStatement node)
 {
     return(true);
 }