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