Esempio n. 1
0
 public virtual TypeMemberSnippet VisitTypeMemberSnippet(TypeMemberSnippet snippet)
 {
     return snippet;
 }
 public EventingVisitor(Action<TypeMemberSnippet> visitTypeMemberSnippet) { VisitedTypeMemberSnippet += visitTypeMemberSnippet; } public event Action<TypeMemberSnippet> VisitedTypeMemberSnippet; public override TypeMemberSnippet VisitTypeMemberSnippet(TypeMemberSnippet snippet) { if (VisitedTypeMemberSnippet != null) VisitedTypeMemberSnippet(snippet); return base.VisitTypeMemberSnippet(snippet); }
Esempio n. 3
0
 public override TypeMemberSnippet VisitTypeMemberSnippet(TypeMemberSnippet snippet)
 {
     throw new NotImplementedException("Node type not yet supported");
 }
Esempio n. 4
0
 public override TypeMemberSnippet VisitTypeMemberSnippet(TypeMemberSnippet snippet){
   System.Compiler.Parser p = this.DefaultCompiler.CreateParser(snippet.SourceContext.Document, this.ErrorNodes);
   p.ParseTypeMembers(snippet.DeclaringType);
   return null;
 }