示例#1
0
 public override void Accept([DisallowNull] DotSyntaxVisitor syntaxVisitor)
 {
     if (syntaxVisitor == null)
     {
         throw new ArgumentNullException(nameof(syntaxVisitor));
     }
     syntaxVisitor.VisitGraph(this);
 }
示例#2
0
 public override TResult Accept <TResult>([DisallowNull] DotSyntaxVisitor <TResult> syntaxVisitor)
 {
     if (syntaxVisitor == null)
     {
         throw new ArgumentNullException(nameof(syntaxVisitor));
     }
     return(syntaxVisitor.VisitGraph(this));
 }