Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pest-parser/pest
/ functions
Functions
1,009 in github.com/pest-parser/pest
⨍
Functions
1,009
◇
Types & classes
93
↓ 1 callers
Method
load_input
Loads a parsing input from a file.
debugger/src/lib.rs:178
↓ 1 callers
Method
match_char_by
(&mut self, f: F)
pest/src/position.rs:386
↓ 1 callers
Method
match_insensitive
(&mut self, string: &str)
pest/src/position.rs:419
↓ 1 callers
Method
next
(&mut self)
pest/src/iterators/tokens.rs:96
↓ 1 callers
Method
next_start
(&mut self)
pest/src/iterators/flat_pairs.rs:76
↓ 1 callers
Method
next_start_from_end
(&mut self)
pest/src/iterators/flat_pairs.rs:84
↓ 1 callers
Method
nud
Null-Denotation "the action that should happen when the symbol is encountered as start of an expression (most notably, prefix operators)
pest/src/pratt_parser.rs:341
↓ 1 callers
Function
null
()
pest/tests/json.rs:302
↓ 1 callers
Method
nullify_expected_tokens
Reset state in case we've successfully parsed some token in `match_string` or `match_insensitive`.
pest/src/parser_state.rs:432
↓ 1 callers
Function
number
(state: Box<ParserState<'_, Rule>>)
pest/src/iterators/pairs.rs:720
↓ 1 callers
Function
number
()
pest/tests/calculator.rs:149
↓ 1 callers
Function
object
()
pest/tests/json.rs:420
↓ 1 callers
Function
option_type
()
generator/src/generator.rs:835
↓ 1 callers
Method
pair
(&self)
pest/src/iterators/pairs.rs:389
↓ 1 callers
Method
pair_from_end
(&self)
pest/src/iterators/pairs.rs:398
↓ 1 callers
Method
parse
(rule: Rule, input: &str)
pest/tests/json.rs:43
↓ 1 callers
Function
parse_and_optimize
Parses, validates, processes and optimizes the provided grammar.
meta/src/lib.rs:59
↓ 1 callers
Method
parse_attempts_error
Get error message based on parsing attempts. Returns `None` in case self `parse_attempts` is `None`.
pest/src/error.rs:427
↓ 1 callers
Function
parse_expr
(expression_pairs: Pairs<'_, sql::Rule>)
grammars/src/lib.rs:199
↓ 1 callers
Method
partial_cmp
(&self, other: &Position<'i>)
pest/src/position.rs:468
↓ 1 callers
Function
populate_choices
( expr: Expr, map: &HashMap<String, Expr>, mut choices: Vec<String>, )
meta/src/optimizer/skipper.rs:15
↓ 1 callers
Method
reached_call_limit
(&self)
pest/src/parser_state.rs:634
↓ 1 callers
Function
read_file
(path: P)
generator/src/lib.rs:126
↓ 1 callers
Method
renamed_rules
Renames all `Rule`s if this is a [`ParsingError`]. It does nothing when called on a [`CustomError`]. Useful in order to rename verbose rules or have
pest/src/error.rs:399
↓ 1 callers
Function
restore_on_err
()
meta/src/optimizer/mod.rs:1138
↓ 1 callers
Method
restore_on_err
(self: Box<Self>, f: F)
pest/src/parser_state.rs:1749
↓ 1 callers
Function
set_error_detail
Sets whether information for more error details should be collected. This is useful for debugging parser errors (as it leads to more comprehensive err
pest/src/parser_state.rs:120
↓ 1 callers
Method
skip
(state: Box<ParserState<'_, Rule>>)
pest/tests/json.rs:230
↓ 1 callers
Method
skip_back
(&mut self, n: usize)
pest/src/position.rs:278
↓ 1 callers
Method
stack_drop
(mut self: Box<Self>)
pest/src/parser_state.rs:1718
↓ 1 callers
Method
stack_match_peek
(self: Box<Self>)
pest/src/parser_state.rs:1657
↓ 1 callers
Method
stack_match_pop
(mut self: Box<Self>)
pest/src/parser_state.rs:1680
↓ 1 callers
Method
stack_peek
(self: Box<Self>)
pest/src/parser_state.rs:1537
↓ 1 callers
Method
stack_pop
(mut self: Box<Self>)
pest/src/parser_state.rs:1570
↓ 1 callers
Method
stack_push
(mut self: Box<Self>, f: F)
pest/src/parser_state.rs:1494
↓ 1 callers
Method
stack_push_literal
( mut self: Box<Self>, string: impl Into<Cow<'static, str>>, )
pest/src/parser_state.rs:1139
↓ 1 callers
Function
to_optimized
(expr: Expr)
meta/src/optimizer/mod.rs:53
↓ 1 callers
Function
to_type_hash_map
( rules: &'a [ParserRule<'i>], )
meta/src/validator.rs:246
↓ 1 callers
Method
tokens_helper_messages
Helper formatting function to get message informing about tokens we've (un)expected to see. Used as a part of `parse_attempts_error`.
pest/src/error.rs:123
↓ 1 callers
Method
try_add_new_stack_rule
In case we've tried to parse a rule, which start position is bigger than previous `max_position` it means that we've advanced in our parsing and found
pest/src/parser_state.rs:343
↓ 1 callers
Function
unaries
( mut pairs: Peekable<Pairs<'i, Rule>>, pratt: &PrattParser<Rule>, )
meta/src/parser.rs:341
↓ 1 callers
Function
unicode
()
vm/tests/grammar.rs:938
↓ 1 callers
Function
validate_already_defined
(definitions: &Vec<Span<'_>>)
meta/src/validator.rs:166
↓ 1 callers
Function
validate_ast
(rules: &'a Vec<ParserRule<'i>>)
meta/src/validator.rs:218
↓ 1 callers
Function
validate_choices
(rules: &'a [ParserRule<'i>])
meta/src/validator.rs:552
↓ 1 callers
Function
validate_left_recursion
(rules: &'a [ParserRule<'i>])
meta/src/validator.rs:626
↓ 1 callers
Function
validate_pest_keywords
(definitions: &Vec<Span<'_>>)
meta/src/validator.rs:145
↓ 1 callers
Function
validate_repetition
(rules: &'a [ParserRule<'i>])
meta/src/validator.rs:508
↓ 1 callers
Function
validate_tag_silent_rules
(rules: &'a [ParserRule<'i>])
meta/src/validator.rs:243
↓ 1 callers
Function
validate_undefined
( definitions: &Vec<Span<'i>>, called_rules: &Vec<Span<'i>>, )
meta/src/validator.rs:190
↓ 1 callers
Function
validate_whitespace_comment
(rules: &'a [ParserRule<'i>])
meta/src/validator.rs:589
↓ 1 callers
Function
wrap_branching_exprs
( expr: OptimizedExpr, rules: &HashMap<String, OptimizedExpr>, )
meta/src/optimizer/restorer.rs:22
Method
ANY
(state : :: std :: boxed :: Box < :: pest :: ParserState < '_ , Rule >>)
meta/src/grammar.rs:2
Method
EOI
(state : :: std :: boxed :: Box < :: pest :: ParserState < '_ , Rule >>)
meta/src/grammar.rs:2
Method
SOI
(state : :: std :: boxed :: Box < :: pest :: ParserState < '_ , Rule >>)
meta/src/grammar.rs:2
Function
_push_node_tag_pos_pred_forwarding_is_non_failing
()
meta/src/validator.rs:1628
Method
all_rules
()
meta/src/grammar.rs:2
Function
already_defined
()
meta/src/validator.rs:746
Function
alternate_format
()
pest/src/iterators/pair.rs:474
Function
arabic
()
vm/tests/grammar.rs:998
Function
array
()
grammars/tests/json.rs:115
Function
array
()
grammars/tests/toml.rs:202
Method
array
(state: Box<ParserState<'_, Rule>>)
pest/tests/json.rs:89
Function
array_empty
()
grammars/tests/json.rs:103
Function
array_empty
()
grammars/tests/toml.rs:190
Function
array_empty
()
pest/tests/json.rs:386
Function
array_table
()
grammars/tests/toml.rs:258
Function
as_str
()
pest/src/iterators/pairs.rs:579
Function
as_str_empty
()
pest/src/iterators/pairs.rs:594
Function
ascii_alpha_lowers
()
vm/tests/grammar.rs:866
Function
ascii_alpha_lowers
()
derive/tests/grammar.rs:903
Function
ascii_alpha_uppers
()
vm/tests/grammar.rs:878
Function
ascii_alpha_uppers
()
derive/tests/grammar.rs:915
Function
ascii_alphanumerics
()
vm/tests/grammar.rs:902
Function
ascii_alphanumerics
()
derive/tests/grammar.rs:939
Function
ascii_alphas
()
vm/tests/grammar.rs:890
Function
ascii_alphas
()
derive/tests/grammar.rs:927
Function
ascii_bin_digits
()
vm/tests/grammar.rs:830
Function
ascii_bin_digits
()
derive/tests/grammar.rs:867
Function
ascii_digits
()
vm/tests/grammar.rs:806
Function
ascii_digits
()
derive/tests/grammar.rs:843
Function
ascii_hex_digits
()
vm/tests/grammar.rs:854
Function
ascii_hex_digits
()
derive/tests/grammar.rs:891
Function
ascii_nonzero_digits
()
vm/tests/grammar.rs:818
Function
ascii_nonzero_digits
()
derive/tests/grammar.rs:855
Function
ascii_oct_digits
()
vm/tests/grammar.rs:842
Function
ascii_oct_digits
()
derive/tests/grammar.rs:879
Function
asciis
()
vm/tests/grammar.rs:914
Function
asciis
()
derive/tests/grammar.rs:951
Method
assign_next
(op: &mut Operator<R>, next: Operator<R>)
pest/src/prec_climber.rs:153
Method
assign_next
(op: &mut Op<R>, next: Op<R>)
pest/src/pratt_parser.rs:83
Function
ast
()
meta/src/parser.rs:1530
Function
ast
()
pest/tests/json.rs:446
Function
ast_peek_slice
()
meta/src/parser.rs:1610
Function
ast_push_literal
()
meta/src/parser.rs:1573
Function
ast_push_literal_bad_input
()
meta/src/parser.rs:1599
Function
bench_json_parse
json parser time: [12.085 µs 12.339 µs 12.680 µs]
grammars/benches/json.rs:20
Function
bench_line_col
With 500 times iter pair.line_col (with LineIndex) time: [22.426 µs 22.489 µs 22.556 µs] position.line_col
grammars/benches/json.rs:62
Function
bench_pairs_iter
pairs nested iter (v2.5.2) time: [2.9007 µs 3.0432 µs 3.2138 µs] pairs nested iter (with LineIndex) time: [14.716 µs 14.822 µs 14.964
grammars/benches/json.rs:95
Function
benchmark
(b: &mut Criterion)
pest/benches/stack.rs:57
← previous
next →
201–300 of 1,009, ranked by callers