Expand description
§Scope Graphs Regular Expressions
To query a scope graph, you have to specify what paths are valid for the query to take. You do so using a regular expression over the labels on the edges of the scope graph.
See https://docs.rs/scopegraphs for all documentation
Structs§
- Automaton
- A regex automaton is a compiled regular expression.
Enums§
- Parse
Error - An error that can ocur while parsing a regular expression.
- Regex
- A regular expression that can specify a path through a scope graph.
Traits§
- Regex
Matcher - A type that can match a regex. Can be created at compile time
through the
compile_regex
macro, or at runtime with thedynamic
feature through [Automaton::matcher
].
Functions§
- parse_
regex - parse a string to a regular expression