edgeStmt method

Parser<EdgeStatement> edgeStmt()

A complete edge_stmt.

Implementation

Parser<EdgeStatement> edgeStmt() => ([
          ref0(nodeId),
          ref0(subgraph),
        ].toChoiceParser() &
        ref0(edgeRhs) &
        ref0(attrList).optional())
    .map((result) => EdgeStatement(result[0], result[1], result[2]));