Exemplo n.º 1
0
 public virtual TypeMemberSnippet VisitTypeMemberSnippet(TypeMemberSnippet snippet)
 {
     return snippet;
 }
Exemplo n.º 2
0
 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); }
Exemplo n.º 3
0
 public override TypeMemberSnippet VisitTypeMemberSnippet(TypeMemberSnippet snippet)
 {
     throw new NotImplementedException("Node type not yet supported");
 }
Exemplo 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;
 }