public virtual TResult VisitEdgeRightHandSide([DisallowNull] DotEdgeRightHandSideSyntax edgeRhs) { if (edgeRhs == null) { throw new ArgumentNullException(nameof(edgeRhs)); } return(DefaultVisit(edgeRhs)); }
public DotEdgeStatementSyntax([DisallowNull] DotSyntax nodeIdOrSubgraph, [DisallowNull] DotEdgeRightHandSideSyntax edgeRhs, [AllowNull] DotAttributeListSyntax?attributeList) : base( SyntaxKind.DotEdgeStatement, nodeIdOrSubgraph?.Start ?? 0, (nodeIdOrSubgraph?.FullWidth ?? 0) + (edgeRhs?.FullWidth ?? 0) + (attributeList?.FullWidth ?? 0), new[] { nodeIdOrSubgraph, edgeRhs, attributeList }) { NodeIdOrSubgraph = nodeIdOrSubgraph ?? throw new ArgumentNullException(nameof(nodeIdOrSubgraph)); EdgeRhs = edgeRhs ?? throw new ArgumentNullException(nameof(edgeRhs)); AttributeList = attributeList; }