Skip to content

Commit

Permalink
Reinstated pre-parser suggestions
Browse files Browse the repository at this point in the history
* Now in Appendix
* "bind" -> "class" (former deprecated)
  • Loading branch information
Petra Selmer committed Jul 25, 2017
1 parent e908196 commit 73c5557
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -347,3 +347,11 @@ This section presents a few such functions:
* `toPath(p)`: returns `toTrail(p)` if `p` contains no duplicate nodes at all or if the only two duplicate nodes are the source and target nodes of `p`, `null` otherwise.
* `toCircuit(p)`: returns `toTrail(p)` if `isClosed(p)` is true, `null` otherwise.
* `toCycle(p)`: returns `toPath(p)` if `isClosed(p)` is true, `null` otherwise.

[appendix]
== Pre-parser options

It is suggested that a conforming implementation should provide pre-parser options for defining the default pattern variable class as well as the default pattern match mode:

* `class=walks|trails|paths` for configuring a different default pattern variable class
* `match=all|all-shortest|shortest` for configuring a different default pattern match mode

0 comments on commit 73c5557

Please sign in to comment.