MCPcopy Create free account

hub / github.com/badicsalex/peginator / functions

Functions277 in github.com/badicsalex/peginator

↓ 1 callersFunctionparse_IdentifierChar
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:1846
↓ 1 callersFunctionparse_IncludeRule
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:1698
↓ 1 callersFunctionparse_LeftrecDirective
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:2890
↓ 1 callersFunctionparse_MemoizeDirective
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:2863
↓ 1 callersFunctionparse_NegativeLookahead
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:1075
↓ 1 callersFunctionparse_NoSkipWsDirective
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:2782
↓ 1 callersFunctionparse_Optional
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:956
↓ 1 callersFunctionparse_OverrideMarker
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:1662
↓ 1 callersFunctionparse_PositionDirective
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:2836
↓ 1 callersFunctionparse_PositiveLookahead
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:1112
↓ 1 callersFunctionparse_Rule
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:435
↓ 1 callersFunctionparse_SimpleEscape
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:2013
↓ 1 callersFunctionparse_SimpleEscapeBackslash
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:2116
↓ 1 callersFunctionparse_SimpleEscapeCarriageReturn
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:2064
↓ 1 callersFunctionparse_SimpleEscapeDQuote
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:2168
↓ 1 callersFunctionparse_SimpleEscapeNewline
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:2037
↓ 1 callersFunctionparse_SimpleEscapeQuote
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:2143
↓ 1 callersFunctionparse_SimpleEscapeTab
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:2091
↓ 1 callersFunctionparse_StringDirective
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:2729
↓ 1 callersFunctionparse_StringLiteral
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:1456
↓ 1 callersFunctionparse_Utf8Escape
( state: ParseState<'a>, global: &mut ParseGlobal<TT, ParseCache<'a>, ()>, )
codegen/src/grammar/generated.rs:2621
↓ 1 callersFunctionparse_end_of_input
(state: ParseState)
runtime/src/builtin_parsers.rs:182
↓ 1 callersMethodprefix
Set a prefix (code) that will be pasted into the file between the header and the generated code Useful for `use` declarations or maybe custom structs
codegen/src/buildscript.rs:133
↓ 1 callersFunctionprint_railroad_svg
(grammar: &Grammar)
cli/src/peg_railroad.rs:16
↓ 1 callersMethodrun
Run the compilation, returning an error. In case of a parse error, [`PrettyParseError`] is thrown, which will print a pretty error with `format!` or
codegen/src/buildscript.rs:187
↓ 1 callersMethodrun_recursively
(&self, source: &PathBuf)
codegen/src/buildscript.rs:171
↓ 1 callersFunctionset_arity_to_multiple
(fields: Vec<FieldDescriptor>)
codegen/src/closure.rs:107
↓ 1 callersFunctionset_arity_to_optional
(fields: Vec<FieldDescriptor>)
codegen/src/optional.rs:126
↓ 1 callersMethodset_user_context_type
(&mut self, t: &str)
codegen/src/common.rs:36
↓ 1 callersMethoduser_context_type
Set the type of global.user_context. Experimental feature, may change without notice.
codegen/src/buildscript.rs:138
Methodadvance_safe
(self, length: usize)
runtime/src/state.rs:63
Methodblue
(self)
runtime/src/colored_shim.rs:15
Methodbold
(self)
runtime/src/colored_shim.rs:6
Methodcache_key
(&self)
runtime/src/state.rs:86
Methodcalculate
(&self)
test/src/calculator_example/mod.rs:14
Methodcall_as_check
(&self, s: &str, _user_context: TU)
runtime/src/call_hook.rs:18
Methodcall_as_extern
(&self, s: &str, _user_context: TU)
runtime/src/call_hook.rs:14
Functioncomplex_checker
(cr: &ComplexRule)
test/src/check/mod.rs:44
Methodcyan
(self)
runtime/src/colored_shim.rs:18
Methoddefault
()
codegen/src/common.rs:25
Methoddefault
()
codegen/src/buildscript.rs:71
Methoddestination
Destination file name. This option only used if running on a single file.
codegen/src/buildscript.rs:107
Methoddirectory
Run compilation on a whole directory run. The whole directory is recursively searched for files with the `.ebnf` extension, and compiled to rust code
codegen/src/buildscript.rs:85
Functionenum_override_check
(dn: &DualNumber)
test/src/check/mod.rs:52
Methodfile
Run compilation on a single file. The file will be compiled. If destination is not given, it will be the same filename in the same directory, but wit
codegen/src/buildscript.rs:97
Methodfirst_n_chars
(&self, n: usize)
runtime/src/state.rs:121
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
test/src/custom_derives_empty/mod.rs:18
Methodfmt
(&self, f: &mut std::fmt::Formatter)
runtime/src/error.rs:109
Methodfrom
(b: bool)
codegen/src/common.rs:81
Methodfrom
(value: &HexaEscape)
codegen/src/string.rs:28
Methodfrom_parse_error
Convert from [`ParseError`] The parsed `text` needs to be supplied to show the context of the error. The `source_file` parameter is used to print th
runtime/src/error.rs:185
Methodfrom_str
(s: &str)
codegen/src/grammar/mod.rs:114
Methodgenerate_code
Generate all parse code and types that are related to this parser Calls generate_code_spec and also generates related types
codegen/src/common.rs:131
Methodgenerate_code
(&self, settings: &CodegenSettings)
codegen/src/extern_rule.rs:16
Methodgenerate_code
( &self, grammar: &Grammar, settings: &CodegenSettings, )
codegen/src/rule.rs:17
Methodgenerate_code
(&self, settings: &CodegenSettings)
codegen/src/grammar/mod.rs:18
Methodgenerate_code_spec
( &self, rule_fields: &[FieldDescriptor], grammar: &Grammar, settings: &Codege
codegen/src/include_rule.rs:12
Methodgenerate_code_spec
( &self, rule_fields: &[FieldDescriptor], grammar: &Grammar, settings: &Codege
codegen/src/closure.rs:16
Methodgenerate_code_spec
( &self, rule_fields: &[FieldDescriptor], grammar: &Grammar, settings: &Codege
codegen/src/optional.rs:16
Methodgenerate_code_spec
( &self, rule_fields: &[FieldDescriptor], grammar: &Grammar, settings: &Codege
codegen/src/lookahead.rs:13
Methodgenerate_code_spec
( &self, rule_fields: &[FieldDescriptor], grammar: &Grammar, settings: &Codege
codegen/src/sequence.rs:21
Methodgenerate_code_spec
( &self, rule_fields: &[FieldDescriptor], grammar: &Grammar, settings: &Codege
codegen/src/misc.rs:12
Methodgenerate_code_spec
( &self, rule_fields: &[FieldDescriptor], grammar: &Grammar, settings: &Codege
codegen/src/choice.rs:19
Methodgenerate_default_field
(field: &FieldDescriptor)
codegen/src/choice.rs:199
Methodgenerate_inline_body
( &self, rule_fields: &[FieldDescriptor], _grammar: &Grammar, settings: &Codeg
codegen/src/field.rs:18
Methodgenerate_inline_body
( &self, _rule_fields: &[FieldDescriptor], _grammar: &Grammar, settings: &Code
codegen/src/string.rs:85
Methodgenerate_inline_body
( &self, rule_fields: &[FieldDescriptor], grammar: &Grammar, settings: &Codege
codegen/src/misc.rs:46
Methodgenerate_result_converter
( fields: &[FieldDescriptor], inner_fields: &[FieldDescriptor], )
codegen/src/choice.rs:162
Functiongenerate_source_header
(grammar: &str)
codegen/src/header.rs:7
Methodget_fields
(&'a self, grammar: &'a Grammar)
codegen/src/include_rule.rs:22
Methodget_fields
(&'a self, grammar: &'a Grammar)
codegen/src/closure.rs:102
Methodget_fields
(&self, _grammar: &Grammar)
codegen/src/field.rs:46
Methodget_fields
(&self, _grammar: &Grammar)
codegen/src/string.rs:103
Methodget_fields
(&'a self, grammar: &'a Grammar)
codegen/src/optional.rs:67
Methodget_fields
(&self, grammar: &Grammar)
codegen/src/lookahead.rs:34
Methodget_fields
(&'a self, grammar: &'a Grammar)
codegen/src/sequence.rs:84
Methodget_fields
(&'a self, grammar: &'a Grammar)
codegen/src/misc.rs:87
Methodgreen
(self)
runtime/src/colored_shim.rs:21
Methodis_further_than
(&self, other: &Self)
runtime/src/state.rs:126
Functionmain
()
cli/src/main.rs:76
Functionmain
()
test/build.rs:5
Functionmain
()
codegen/build.rs:1
Methodnew
(state: ParseState<'a>)
runtime/src/choice_helper.rs:14
Methodnew
()
runtime/src/trace.rs:63
Methodnew
(s: &'a str, _settings: &ParseSettings)
runtime/src/state.rs:16
Methodnew
(cache: TC, user_context: TUD)
runtime/src/global.rs:15
Methodnew
(s: &'a str)
runtime/src/error.rs:136
Methodnumeric
(self)
test/src/additional_traits/mod.rs:14
Functionoverride_check
(sn: &SmallNumber)
test/src/check/mod.rs:48
Functionparse_Whitespace
(state: ParseState, _global: _GT)
runtime/src/builtin_parsers.rs:31
Methodparse_advanced
( s: &str, settings: &peginator_generated::ParseSettings, user_context: (), )
codegen/src/grammar/generated.rs:208
Functionparse_character_literal_insensitive
(state: ParseState, c: char)
runtime/src/builtin_parsers.rs:166
Functionparse_string_literal_insensitive
( state: ParseState<'a>, s: &'static str, )
runtime/src/builtin_parsers.rs:143
Methodparse_with_trace
(s: &str)
runtime/src/peg_parser.rs:22
Functionpeginate
(input: TokenStream)
macro/src/lib.rs:19
Methodprint_informative
(&mut self, s: &str)
runtime/src/trace.rs:12
Methodprint_informative
(&mut self, s: &str)
runtime/src/trace.rs:32
Methodprint_trace_result
(&mut self, result: &ParseResult<T>)
runtime/src/trace.rs:18
Methodprint_trace_start
(&mut self, state: &ParseState, name: &str)
runtime/src/trace.rs:15
Methodrange_until
(&self, other: &ParseState)
runtime/src/state.rs:81
← previousnext →101–200 of 277, ranked by callers