Пример #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);
     }
 }
Пример #2
0
 public virtual void VisitMethodImplementationNode(MethodImplementationNode node)
 {
     Visit(node.MethodHeadingNode);
     Visit(node.FancyBlockNode);
     Visit(node.SemicolonNode);
 }
Пример #3
0
 public override void VisitMethodImplementationNode(MethodImplementationNode node)
 {
     // do not visit children
 }