Module wlambda::selector [−][src]
Expand description
Structs
CaptureNode | Stores the position of a captured part of the input string of a pattern. |
PatResult | Stores the result of a pattern match, including the captured parts of the input string. |
RxBuf | A parse buffer, storing the current offset into the input string. |
SelectorState | State for evaluating patterns and selectors. |
Enums
RegexMode |
Functions
create_regex_find | Creates a function that takes a string slice and tries to
find the compiled regular expression in it.
The returned function then returns a |
create_regex_find_all | Creates a function that takes a string slice and tries to
find the compiled regular expression in it.
The returned function then returns a |
create_regex_find_function | Creates a WLambda function that takes a string slice and tries to
find the compiled regular expression in it.
The returned function then returns a |
create_selector | Creates a function that takes a VVal data structure
and runs the given selector expression on it.
The returned function then returns a list of captured nodes
or |
create_selector_function | Creates a WLambda function that takes a VVal data structure
and runs the given selector expression on it.
The returned function then returns a list of captured nodes
or |
parse_pattern | Parses a regex pattern from a parser State and returns the VVal data structure describing the parsed pattern. |
Type Definitions
PatternNode | A function type for the evaluation node of a regex pattern. |
SelNode | A function type for the evaluation node of a data structure selector. |