Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Y-jiji/peggen
/ functions
Functions
71 in github.com/Y-jiji/peggen
⨍
Functions
71
◇
Types & classes
27
↓ 16 callers
Method
map
(self, f: impl FnOnce(X) -> Y)
peggen-core/src/span.rs:22
↓ 7 callers
Method
into_iter
(self)
peggen-impl/src/rvec.rs:34
↓ 3 callers
Method
ident
Eat an identity
peggen-macs/src/fmtparser.rs:167
↓ 2 callers
Method
add_rule
(&mut self, rule: Rule)
peggen-macs/src/builder.rs:184
↓ 2 callers
Method
many
Eat many expressions
peggen-macs/src/fmtparser.rs:121
↓ 2 callers
Method
parse
Parse without extra value
peggen-core/src/parser.rs:10
↓ 2 callers
Method
regstr
Parse a regular expression (string)
peggen-macs/src/fmtparser.rs:297
↓ 2 callers
Method
rules_vect_build
build a vector of rules
peggen-macs/src/builder/rules_impl_build.rs:56
↓ 2 callers
Method
seqexp_item
Parse a SeqExp item
peggen-macs/src/fmtparser.rs:230
↓ 1 callers
Function
json
()
peggen-examples/src/json.rs:29
↓ 1 callers
Method
parse_impl_group
(&self, group: usize)
peggen-macs/src/builder/parse_impl_build.rs:55
↓ 1 callers
Method
parse_patt_group
(&self, group: usize)
peggen-macs/src/builder/parse_impl_build.rs:49
↓ 1 callers
Function
parser
()
peggen-examples/src/json_chumsky.rs:16
↓ 1 callers
Method
prepend
(&mut self, value: Self::Item, _: Extra)
peggen-core/src/prepend.rs:14
↓ 1 callers
Method
regexp
Parse a regular expression
peggen-macs/src/fmtparser.rs:323
↓ 1 callers
Method
rules_item_build
fmt: the format string to translate head: if the format string is the first symbol in this rule
peggen-macs/src/builder/rules_impl_build.rs:75
↓ 1 callers
Method
seqexp
Parse a SeqExp
peggen-macs/src/fmtparser.rs:214
↓ 1 callers
Method
space
Eat multiple spaces
peggen-macs/src/fmtparser.rs:185
↓ 1 callers
Method
symbol
Parse a symbol (non-terminal)
peggen-macs/src/fmtparser.rs:284
↓ 1 callers
Method
token
Parse a token
peggen-macs/src/fmtparser.rs:191
Method
ast
( input: &'a str, stack: &'a [Tag], with: Extra )
peggen-core/src/span.rs:58
Method
ast
( input: &'lifetime str, stack: &'lifetime [Tag], with: Extra )
peggen-core/src/prepend.rs:23
Method
ast
( input: &'a str, stack: &'a [Tag], extra: &'b bumpalo::Bump, )
peggen-core/src/fromstr.rs:45
Method
ast
( _: &'a str, stack: &'a [Tag], _: Extra )
peggen-core/src/tuple.rs:34
Method
ast
( input: &'a str, stack: &'a [Tag], with: &'b bumpalo::Bump )
peggen-core/src/ownptr.rs:59
Function
ast_derive
(input: proc_macro::TokenStream)
peggen-macs/src/lib.rs:39
Method
ast_impl_build
(&self)
peggen-macs/src/builder/ast_impl_build.rs:8
Method
count
Count the appearences of a pattern
peggen-macs/src/fmtparser.rs:157
Method
deref
(&self)
peggen-core/src/span.rs:35
Method
eat
Eat a token
peggen-macs/src/fmtparser.rs:149
Method
empty
(_: Extra)
peggen-impl/src/rvec.rs:16
Method
empty
(with: &'b Bump)
peggen-impl/src/bump.rs:15
Method
empty
(_: Extra)
peggen-core/src/prepend.rs:11
Function
expr
()
peggen-examples/src/calc.rs:29
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
peggen-impl/src/rvec.rs:26
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
peggen-impl/src/bump.rs:25
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
peggen-macs/src/fmtparser.rs:45
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
peggen-macs/src/builder.rs:122
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
peggen-core/src/lib.rs:41
Function
from_str_derive
(input: proc_macro::TokenStream)
peggen-macs/src/lib.rs:83
Method
from_str_with
(source: &str, extra: &'b bumpalo::Bump)
peggen-core/src/fromstr.rs:39
Method
index
(&self, index: usize)
peggen-impl/src/rvec.rs:42
Method
inner_ref
(&self)
peggen-core/src/span.rs:28
Method
into_iter
(self)
peggen-impl/src/bump.rs:33
Function
json_bench
()
peggen-examples/src/json.rs:35
Function
json_bench_chumsky
()
peggen-examples/src/json_chumsky.rs:114
Function
many
()
peggen-macs/src/fmtparser.rs:365
Method
new
Create a new parser with given symbol table
peggen-macs/src/fmtparser.rs:103
Method
new
(fields: Fields, ident: Ident, attr: Attribute)
peggen-macs/src/builder.rs:26
Method
normalize
The argument can be a number, so normalize the number to rust ident with _
peggen-macs/src/builder/ast_impl_build.rs:33
Method
num
Eat a number
peggen-macs/src/fmtparser.rs:176
Method
num_build
(&self)
peggen-macs/src/builder/num_build.rs:9
Function
num_derive
(input: proc_macro::TokenStream)
peggen-macs/src/lib.rs:109
Method
parse_impl
( input: &str, end: usize, depth: usize, first: bool, trace: &mut Vec<usize>,
peggen-core/src/span.rs:43
Method
parse_impl
( input: &str, end: usize, depth: usize, first: bool, trace: &mut Vec<usize>,
peggen-core/src/ownptr.rs:45
Method
parse_impl_build
(&self)
peggen-macs/src/builder/parse_impl_build.rs:4
Function
parse_impl_derive
(input: proc_macro::TokenStream)
peggen-macs/src/lib.rs:28
Method
parse_with
Parse with extra value provided
peggen-core/src/parser.rs:22
Method
prepend
(&mut self, value: Self::Item, _: Extra)
peggen-impl/src/rvec.rs:19
Method
prepend
(&mut self, value: Self::Item, _: &'b Bump)
peggen-impl/src/bump.rs:18
Function
prepend_derive
(input: proc_macro::TokenStream)
peggen-macs/src/lib.rs:49
Function
regex
()
peggen-macs/src/fmtparser.rs:348
Method
rules_impl_build
build the rule trait(s) for the given type
peggen-macs/src/builder/rules_impl_build.rs:5
Method
sequence
Only parse into a tag stack
peggen-core/src/parser.rs:35
Method
space
(input: &str, end: usize)
peggen-core/src/lib.rs:82
Function
space_derive
(input: proc_macro::TokenStream)
peggen-macs/src/lib.rs:117
Method
span
(self, range: core::ops::Range<usize>)
peggen-core/src/span.rs:16
Function
stack_sanity_check
(input: &str, stack: &[Tag], span: core::ops::Range<usize>)
peggen-core/src/lib.rs:91
Function
symbol
()
peggen-macs/src/fmtparser.rs:357
Method
to_tokens
(&self, tokens: &mut TokenStream)
peggen-macs/src/lib.rs:21
Function
ty
()
peggen-examples/src/ty.rs:24