Exemplo n.º 1
0
 public override void VisitMethodImplementationNode(MethodImplementationNode node)
 {
     _methodHierarchy.Add(node.MethodHeadingNode.NameNode.ToCode());
     try {
         if(_methodHierarchy.Count > 1) {
             string path = String.Join(" -> ", _methodHierarchy.ToArray());
             AddHit(node, path);
         }
         base.VisitMethodImplementationNode(node);
     } finally {
         _methodHierarchy.RemoveAt(_methodHierarchy.Count - 1);
     }
 }
Exemplo n.º 2
0
 public virtual void VisitMethodImplementationNode(MethodImplementationNode node)
 {
     Visit(node.MethodHeadingNode);
     Visit(node.FancyBlockNode);
     Visit(node.SemicolonNode);
 }
Exemplo n.º 3
0
 public override void VisitMethodImplementationNode(MethodImplementationNode node)
 {
     // do not visit children
 }