stmt method
A complete stmt
.
Implementation
Parser<Statement> stmt() => [
// First try to match edge/attr/subgraph statements which might otherwise be caught as node
// statements
ref0(edgeStmt),
ref0(attrStmt),
ref0(subgraph),
(ref0(id) & ref1(token, '=') & ref0(id))
.map((result) => AssignStatement(result[0], result[2])),
ref0(nodeStmt),
].toChoiceParser();