MCPcopy Create free account

hub / github.com/pest-parser/pest / functions

Functions1,009 in github.com/pest-parser/pest

↓ 1 callersMethodload_input
Loads a parsing input from a file.
debugger/src/lib.rs:178
↓ 1 callersMethodmatch_char_by
(&mut self, f: F)
pest/src/position.rs:386
↓ 1 callersMethodmatch_insensitive
(&mut self, string: &str)
pest/src/position.rs:419
↓ 1 callersMethodnext
(&mut self)
pest/src/iterators/tokens.rs:96
↓ 1 callersMethodnext_start
(&mut self)
pest/src/iterators/flat_pairs.rs:76
↓ 1 callersMethodnext_start_from_end
(&mut self)
pest/src/iterators/flat_pairs.rs:84
↓ 1 callersMethodnud
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 callersFunctionnull
()
pest/tests/json.rs:302
↓ 1 callersMethodnullify_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 callersFunctionnumber
(state: Box<ParserState<'_, Rule>>)
pest/src/iterators/pairs.rs:720
↓ 1 callersFunctionnumber
()
pest/tests/calculator.rs:149
↓ 1 callersFunctionobject
()
pest/tests/json.rs:420
↓ 1 callersFunctionoption_type
()
generator/src/generator.rs:835
↓ 1 callersMethodpair
(&self)
pest/src/iterators/pairs.rs:389
↓ 1 callersMethodpair_from_end
(&self)
pest/src/iterators/pairs.rs:398
↓ 1 callersMethodparse
(rule: Rule, input: &str)
pest/tests/json.rs:43
↓ 1 callersFunctionparse_and_optimize
Parses, validates, processes and optimizes the provided grammar.
meta/src/lib.rs:59
↓ 1 callersMethodparse_attempts_error
Get error message based on parsing attempts. Returns `None` in case self `parse_attempts` is `None`.
pest/src/error.rs:427
↓ 1 callersFunctionparse_expr
(expression_pairs: Pairs<'_, sql::Rule>)
grammars/src/lib.rs:199
↓ 1 callersMethodpartial_cmp
(&self, other: &Position<'i>)
pest/src/position.rs:468
↓ 1 callersFunctionpopulate_choices
( expr: Expr, map: &HashMap<String, Expr>, mut choices: Vec<String>, )
meta/src/optimizer/skipper.rs:15
↓ 1 callersMethodreached_call_limit
(&self)
pest/src/parser_state.rs:634
↓ 1 callersFunctionread_file
(path: P)
generator/src/lib.rs:126
↓ 1 callersMethodrenamed_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 callersFunctionrestore_on_err
()
meta/src/optimizer/mod.rs:1138
↓ 1 callersMethodrestore_on_err
(self: Box<Self>, f: F)
pest/src/parser_state.rs:1749
↓ 1 callersFunctionset_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 callersMethodskip
(state: Box<ParserState<'_, Rule>>)
pest/tests/json.rs:230
↓ 1 callersMethodskip_back
(&mut self, n: usize)
pest/src/position.rs:278
↓ 1 callersMethodstack_drop
(mut self: Box<Self>)
pest/src/parser_state.rs:1718
↓ 1 callersMethodstack_match_peek
(self: Box<Self>)
pest/src/parser_state.rs:1657
↓ 1 callersMethodstack_match_pop
(mut self: Box<Self>)
pest/src/parser_state.rs:1680
↓ 1 callersMethodstack_peek
(self: Box<Self>)
pest/src/parser_state.rs:1537
↓ 1 callersMethodstack_pop
(mut self: Box<Self>)
pest/src/parser_state.rs:1570
↓ 1 callersMethodstack_push
(mut self: Box<Self>, f: F)
pest/src/parser_state.rs:1494
↓ 1 callersMethodstack_push_literal
( mut self: Box<Self>, string: impl Into<Cow<'static, str>>, )
pest/src/parser_state.rs:1139
↓ 1 callersFunctionto_optimized
(expr: Expr)
meta/src/optimizer/mod.rs:53
↓ 1 callersFunctionto_type_hash_map
( rules: &'a [ParserRule<'i>], )
meta/src/validator.rs:246
↓ 1 callersMethodtokens_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 callersMethodtry_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 callersFunctionunaries
( mut pairs: Peekable<Pairs<'i, Rule>>, pratt: &PrattParser<Rule>, )
meta/src/parser.rs:341
↓ 1 callersFunctionunicode
()
vm/tests/grammar.rs:938
↓ 1 callersFunctionvalidate_already_defined
(definitions: &Vec<Span<'_>>)
meta/src/validator.rs:166
↓ 1 callersFunctionvalidate_ast
(rules: &'a Vec<ParserRule<'i>>)
meta/src/validator.rs:218
↓ 1 callersFunctionvalidate_choices
(rules: &'a [ParserRule<'i>])
meta/src/validator.rs:552
↓ 1 callersFunctionvalidate_left_recursion
(rules: &'a [ParserRule<'i>])
meta/src/validator.rs:626
↓ 1 callersFunctionvalidate_pest_keywords
(definitions: &Vec<Span<'_>>)
meta/src/validator.rs:145
↓ 1 callersFunctionvalidate_repetition
(rules: &'a [ParserRule<'i>])
meta/src/validator.rs:508
↓ 1 callersFunctionvalidate_tag_silent_rules
(rules: &'a [ParserRule<'i>])
meta/src/validator.rs:243
↓ 1 callersFunctionvalidate_undefined
( definitions: &Vec<Span<'i>>, called_rules: &Vec<Span<'i>>, )
meta/src/validator.rs:190
↓ 1 callersFunctionvalidate_whitespace_comment
(rules: &'a [ParserRule<'i>])
meta/src/validator.rs:589
↓ 1 callersFunctionwrap_branching_exprs
( expr: OptimizedExpr, rules: &HashMap<String, OptimizedExpr>, )
meta/src/optimizer/restorer.rs:22
MethodANY
(state : :: std :: boxed :: Box < :: pest :: ParserState < '_ , Rule >>)
meta/src/grammar.rs:2
MethodEOI
(state : :: std :: boxed :: Box < :: pest :: ParserState < '_ , Rule >>)
meta/src/grammar.rs:2
MethodSOI
(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
Methodall_rules
()
meta/src/grammar.rs:2
Functionalready_defined
()
meta/src/validator.rs:746
Functionalternate_format
()
pest/src/iterators/pair.rs:474
Functionarabic
()
vm/tests/grammar.rs:998
Functionarray
()
grammars/tests/json.rs:115
Functionarray
()
grammars/tests/toml.rs:202
Methodarray
(state: Box<ParserState<'_, Rule>>)
pest/tests/json.rs:89
Functionarray_empty
()
grammars/tests/json.rs:103
Functionarray_empty
()
grammars/tests/toml.rs:190
Functionarray_empty
()
pest/tests/json.rs:386
Functionarray_table
()
grammars/tests/toml.rs:258
Functionas_str
()
pest/src/iterators/pairs.rs:579
Functionas_str_empty
()
pest/src/iterators/pairs.rs:594
Functionascii_alpha_lowers
()
vm/tests/grammar.rs:866
Functionascii_alpha_lowers
()
derive/tests/grammar.rs:903
Functionascii_alpha_uppers
()
vm/tests/grammar.rs:878
Functionascii_alpha_uppers
()
derive/tests/grammar.rs:915
Functionascii_alphanumerics
()
vm/tests/grammar.rs:902
Functionascii_alphanumerics
()
derive/tests/grammar.rs:939
Functionascii_alphas
()
vm/tests/grammar.rs:890
Functionascii_alphas
()
derive/tests/grammar.rs:927
Functionascii_bin_digits
()
vm/tests/grammar.rs:830
Functionascii_bin_digits
()
derive/tests/grammar.rs:867
Functionascii_digits
()
vm/tests/grammar.rs:806
Functionascii_digits
()
derive/tests/grammar.rs:843
Functionascii_hex_digits
()
vm/tests/grammar.rs:854
Functionascii_hex_digits
()
derive/tests/grammar.rs:891
Functionascii_nonzero_digits
()
vm/tests/grammar.rs:818
Functionascii_nonzero_digits
()
derive/tests/grammar.rs:855
Functionascii_oct_digits
()
vm/tests/grammar.rs:842
Functionascii_oct_digits
()
derive/tests/grammar.rs:879
Functionasciis
()
vm/tests/grammar.rs:914
Functionasciis
()
derive/tests/grammar.rs:951
Methodassign_next
(op: &mut Operator<R>, next: Operator<R>)
pest/src/prec_climber.rs:153
Methodassign_next
(op: &mut Op<R>, next: Op<R>)
pest/src/pratt_parser.rs:83
Functionast
()
meta/src/parser.rs:1530
Functionast
()
pest/tests/json.rs:446
Functionast_peek_slice
()
meta/src/parser.rs:1610
Functionast_push_literal
()
meta/src/parser.rs:1573
Functionast_push_literal_bad_input
()
meta/src/parser.rs:1599
Functionbench_json_parse
json parser time: [12.085 µs 12.339 µs 12.680 µs]
grammars/benches/json.rs:20
Functionbench_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
Functionbench_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
Functionbenchmark
(b: &mut Criterion)
pest/benches/stack.rs:57
← previousnext →201–300 of 1,009, ranked by callers