diff options
author | Jed Barber <jjbarber@y7mail.com> | 2020-05-23 15:38:07 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2020-05-23 15:38:07 +1000 |
commit | 94609aeabcd441caa7c9d41f54166b3f3ede1442 (patch) | |
tree | 482ac8f7a2d117b370f9bd29800cc17e3269d582 /src/packrat-parse_graphs.ads | |
parent | 6b3a2f0ce7c8c3aae32811936441277728f69a6b (diff) |
Added Is_Ambiguous function to Parse_Graphs
Diffstat (limited to 'src/packrat-parse_graphs.ads')
-rw-r--r-- | src/packrat-parse_graphs.ads | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/packrat-parse_graphs.ads b/src/packrat-parse_graphs.ads index d9cde0b..5663bcf 100644 --- a/src/packrat-parse_graphs.ads +++ b/src/packrat-parse_graphs.ads @@ -180,11 +180,11 @@ package Packrat.Parse_Graphs is - -- Other things needed here... - -- Equal_Subgraph? (in Directed_Graph lib) - -- Is_Ambiguous? - -- Iterate_Short, Iterate_Long, Iterate_By - -- Choosing and Filtering functions for Iterate_By + -- Tests whether there are multiple potential finish points for any + -- of the nodes in the graph, and hence whether the parse was ambiguous. + function Is_Ambiguous + (Container : in Parse_Graph) + return Boolean; |