Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boxbeam/untwine
/ functions
Functions
133 in github.com/boxbeam/untwine
⨍
Functions
133
◇
Types & classes
43
Function
map
Map the output type of the parser using a mapping function.
src/attr.rs:122
Method
new
(input: &'p str, data: C)
src/context.rs:45
Method
no_color
No colors
src/pretty.rs:27
Function
not
Errors if the specified pattern is encountered, acting as a negative lookahead. This can be used to force a different branch to parse in case a certai
src/attr.rs:40
Function
operate
(left: f64, op: char, right: f64)
tests/src/lib.rs:25
Function
operate
(first: bool, op: char, second: bool)
examples/bool.rs:3
Function
operate
(left: f64, op: char, right: f64)
examples/expr.rs:3
Method
optional
Match this token optionally. This parsing operation will always succeed, returning [None] if the the child failed.
src/parser.rs:56
Method
or
Try another parser if this one fails. This can mess up error reporting.
src/parser.rs:69
Function
parser
(input: TokenStream)
macros/src/lib.rs:777
Function
recover_to
When the wrapped pattern fails to parse, try to jump ahead to a specific literal, but do not consume it. This allows you to specify an "anchor" from w
src/attr.rs:65
Method
recover_to
Recover by looking ahead a specific number of characters to find the specified pattern. Can optionally consume the pattern once it is found, or leave
src/parser.rs:171
Function
recover_to_any
When the wrapped pattern fails to parse, try to jump ahead to one of several specific literals, but do not consume it. This allows you to specify "anc
src/attr.rs:81
Method
recover_wrapped
Recover for a parser which parses values within a set of wrapping literals, usually parens or braces. Will respect balancing these delimiters when rec
src/parser.rs:224
Function
recovery
(input: TokenStream)
macros/src/lib.rs:787
Function
repeat
Attempts to match a pattern a specific number of times, and return a Vec. Can take either a usize or a range.
src/attr.rs:190
Method
repeating
Try to parse as many times as possible in sequence, optionally requiring at least one match.
src/parser.rs:77
Method
replace_err
(&self, error: E)
src/context.rs:208
Method
result_from
(&self, option: Option<T>)
src/context.rs:104
Method
set_err_start
(&self, start: usize)
src/context.rs:235
Function
span
Wrap the output data in a Span, which contains a range representing the portion of the input corresponding to the parsed data.
src/attr.rs:104
Method
string
(self)
tests/src/lib.rs:75
Function
test_delimiter_errors
()
tests/src/lib.rs:132
Function
test_expr
()
tests/src/lib.rs:51
Function
test_external_parser
()
tests/src/lib.rs:226
Function
test_match
()
tests/src/lib.rs:205
Function
test_num_list
()
tests/src/lib.rs:45
Function
test_numbers
()
tests/src/lib.rs:149
Function
test_optional_after_space
()
tests/src/lib.rs:177
Function
test_parens
()
tests/src/lib.rs:162
Function
test_recovering_json
()
tests/src/lib.rs:110
Method
truncate_recovered
Remove all recovered errors after a given number. This is meant for internal use only, but has to be exposed since it is used by macros.
src/context.rs:276
Function
valid_ident_char
(c: &char)
examples/lisp.rs:26
← previous
101–133 of 133, ranked by callers