MCPcopy Create free account

hub / github.com/2kai2kai2/ere / functions

Functions264 in github.com/2kai2kai2/ere

Methodbuild
(self)
ere-core/src/config.rs:53
Methodbuild
Recursively builds an inefficient but valid NFA based loosely on Thompson's Algorithm. Should be optimized using [`WorkingNFA::optimize_pass`]
ere-core/src/working_nfa.rs:391
Methodbuild_capture
(tree: &SimplifiedTreeNode, group_num: usize)
ere-core/src/working_nfa.rs:249
Methodbuild_concat
(nodes: T)
ere-core/src/working_nfa.rs:275
Methodbuild_repeat
(tree: &SimplifiedTreeNode, times: usize)
ere-core/src/working_nfa.rs:282
Methodbuild_star
(tree: &SimplifiedTreeNode, longest: bool)
ere-core/src/working_nfa.rs:363
Methodbuild_union
(nodes: &[SimplifiedTreeNode])
ere-core/src/working_nfa.rs:228
Methodbuild_upto
(tree: &SimplifiedTreeNode, times: usize, longest: bool)
ere-core/src/working_nfa.rs:335
Methodbuilder
()
ere-core/src/config.rs:32
Functionbyte_value_exec
()
tests/pure_regex.rs:65
Methodcalculate_epsilon_propogations_char
## Params - `nfa` is the original nfa - `state` is the index of the state in `nfa.states`
ere-core/src/epsilon_propogation.rs:42
Methodcalculate_epsilon_propogations_u8
Will maintain priority order ## Params - `nfa` is the original nfa - `state` is the index of the state in `nfa.states`
ere-core/src/epsilon_propogation.rs:105
Methodcapture
(self, group_num: usize)
ere-core/src/simplified_tree.rs:38
Methodcheck_dag
(graph: &'a LatexGraph)
ere-core/src/visualization/layout.rs:21
Methodcombine_ranges_chars
Sorts and combines ranges
ere-core/src/parse_tree.rs:502
Functioncompile_regex
(stream: TokenStream)
ere-macros/src/lib.rs:25
Functioncompile_regex_dfa_u8
(stream: TokenStream)
ere-macros/src/lib.rs:48
Functioncompile_regex_fixed_offset
(stream: TokenStream)
ere-macros/src/lib.rs:153
Functioncompile_regex_flat_lockstep_nfa
(stream: TokenStream)
ere-macros/src/lib.rs:71
Functioncompile_regex_flat_lockstep_nfa_u8
(stream: TokenStream)
ere-macros/src/lib.rs:94
Functioncompile_regex_u8onepass
(stream: TokenStream)
ere-macros/src/lib.rs:124
Methodconst_default
()
ere-core/src/config.rs:35
Methoddefault
()
ere-core/src/config.rs:42
Methoddefault_bound
Returns the default bound for the TDFA. Should probably be tuned.
ere-core/src/working_u8_dfa.rs:451
Functiondot
()
tests/pure_regex.rs:151
Functiondot
()
ere-core/src/working_u8_nfa.rs:1130
Functiondouble_loop
()
ere-core/src/working_u8_nfa.rs:1044
Functiondouble_loop
()
ere-core/src/working_nfa.rs:1053
Functionduplicate_paths
()
tests/pure_regex.rs:170
Methodeq
(&self, other: &Self)
ere-core/src/parse_tree.rs:618
Methodexec
(&self, text: &'a str)
ere-core/src/lib.rs:36
Functionfind_discord_emoji
()
tests/pure_regex.rs:371
Functionfind_quoted
()
tests/pure_regex.rs:331
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
ere-core/src/working_u8_nfa.rs:29
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
ere-core/src/parse_tree.rs:112
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
ere-core/src/working_u8_dfa.rs:800
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
ere-core/src/working_nfa.rs:69
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
ere-core/src/engines/flat_lockstep_nfa.rs:26
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
ere-core/src/engines/nfa_static.rs:59
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
ere-core/src/engines/flat_lockstep_nfa_u8.rs:25
Methodfrom
(value: u8)
ere-core/src/working_u8_nfa.rs:43
Methodfrom
(quantifier: QuantifierType)
ere-core/src/parse_tree.rs:322
Methodfrom
(value: ERE)
ere-core/src/simplified_tree.rs:265
Methodfrom_epsilon_prop
(local_from_idx: usize, epsilon_prop: &EpsilonPropogation)
ere-core/src/working_u8_dfa.rs:50
Methodfrom_ere
Returns the simplified tree, along with the number of capture groups (full expression is group 0)
ere-core/src/simplified_tree.rs:254
Methodfrom_ere_branch
( value: &EREBranch, mut group_num: usize, config: &Config, )
ere-core/src/simplified_tree.rs:182
Methodfrom_ere_expression
( value: &EREExpression, group_num: usize, config: &Config, )
ere-core/src/simplified_tree.rs:236
Methodfrom_ere_no_group0
[`SimplifiedTreeNode::from_ere`] except it doesn't wrap in the capture group 0
ere-core/src/simplified_tree.rs:260
Methodfrom_ere_part
( value: &EREPart, group_num: usize, config: &Config, )
ere-core/src/simplified_tree.rs:199
Methodfrom_nfa
Creates a TDFA from a TNFA. This should be the primary way to create a `U8TDFA`. Since the size of a DFA is worst-case exponential in the number of N
ere-core/src/working_u8_dfa.rs:379
Methodfrom_pair
((label, state): (VMStateLabel, &'a U8DFAState))
ere-core/src/engines/dfa_u8.rs:106
Methodfrom_str
(s: &str)
ere-core/src/parse_tree.rs:395
Methodfrom_sub_ere
( value: &ERE, mut group_num: usize, config: &Config, )
ere-core/src/simplified_tree.rs:165
Methodfrom_tagged
(tdfa_state: &U8TDFAState)
ere-core/src/working_u8_dfa.rs:545
Functiongood_anchored_end
()
ere-core/src/working_u8_nfa.rs:1084
Functiongood_anchored_end
()
ere-core/src/working_nfa.rs:1091
Functiongood_anchored_start
()
ere-core/src/working_u8_nfa.rs:1061
Functiongood_anchored_start
()
ere-core/src/working_nfa.rs:1069
Functiongreedy
()
tests/pure_regex.rs:702
Methodgreedy
(mut self)
ere-core/src/config.rs:56
Functiongreedy_anchor_priority_alternation
()
tests/pure_regex.rs:687
Functionhex_color
()
tests/pure_regex.rs:191
Functionhtml_comment
()
tests/pure_regex.rs:401
Functionhtml_link_extract
()
tests/pure_regex.rs:434
Functionhttp_request
()
tests/pure_regex.rs:551
Functionipv4
(c: &mut Criterion)
benches/ere_benchmark.rs:194
Functionipv4_exec
()
tests/pure_regex.rs:84
Functionis_state_ascii
Currently use a conservative check: only use u8 engines when it will only match ascii strings
ere-core/src/lib.rs:71
Functioniso8601_date_extended
()
tests/pure_regex.rs:221
Functioniso8601_time_extended
()
tests/pure_regex.rs:243
Functionline_abc
()
tests/pure_regex.rs:278
Methodmake_capture_statements
Should have text position `i` and `mut captures` in local context
ere-core/src/engines/one_pass_u8.rs:885
Methodmake_label
(nfa_indices: &[SubNFAStateID])
ere-core/src/working_u8_dfa.rs:468
Methodmap_capture
( (capture_group, (start, end)): (usize, &(bool, bool)), )
ere-core/src/engines/one_pass_u8.rs:886
Methodmax_bytes
(&self)
ere-core/src/parse_tree.rs:581
Methodmax_bytes
An upper bound for matched text length, in bytes. If possibly infinite, returns `None`.
ere-core/src/simplified_tree.rs:110
Methodmin_bytes
(&self)
ere-core/src/parse_tree.rs:587
Methodmin_bytes
A lower bound for matched text length, in bytes.
ere-core/src/simplified_tree.rs:137
Functionneedle
()
tests/pure_regex.rs:122
Methodnew
(to: usize, symbol: U8Atom)
ere-core/src/working_u8_nfa.rs:66
Methodnew
()
ere-core/src/config.rs:50
Methodnew
(to: usize)
ere-core/src/working_nfa.rs:42
Methodnew
Returns `None` if the graph is not DAG
ere-core/src/visualization/layout.rs:62
Methodnew
(nfa: &'a WorkingNFA)
ere-core/src/engines/flat_lockstep_nfa.rs:60
Methodnew
(nfa: &'a U8NFA)
ere-core/src/engines/flat_lockstep_nfa_u8.rs:62
Methodnew
(state: usize, num_captures: usize)
ere-core/src/engines/one_pass_u8.rs:29
Methodnew_loop_opt
Converts from a char-based NFA Allows additional loops to be added at the start and end, So the passed NFA should probably not have loops included.
ere-core/src/working_u8_nfa.rs:448
Methodnew_loop_opt
Creates an NFA but allowing specification of whether to include the `.*?` loops at the start and end.
ere-core/src/working_nfa.rs:416
Methodnew_normal
( ident: usize, accept_transitions: &'a [ThreadUpdates], symbol_transition
ere-core/src/engines/one_pass_u8.rs:769
Methodnew_run
(ident: usize, run: &'a Run)
ere-core/src/engines/one_pass_u8.rs:763
Methodnew_start_state
Creates a new start state for the TDFA and expands it to create stubs for all the states it has transitions to. Unlike normal states, the start state'
ere-core/src/working_u8_dfa.rs:182
Methodnfa_byte
Makes an NFA matching a byte range.
ere-core/src/working_u8_nfa.rs:160
Methodnfa_capture
Wraps an NFA part in a capture group.
ere-core/src/working_u8_nfa.rs:250
Methodnfa_capture
Wraps an NFA part in a capture group.
ere-core/src/working_nfa.rs:233
Methodnfa_concat
Makes an NFA that matches a concatenation of NFAs.
ere-core/src/working_u8_nfa.rs:267
Methodnfa_concat
Makes an NFA that matches a concatenation of NFAs.
ere-core/src/working_nfa.rs:254
Methodnfa_empty
Makes an NFA that matches with zero length.
ere-core/src/working_u8_nfa.rs:155
Methodnfa_empty
Makes an NFA that matches with zero length.
ere-core/src/working_nfa.rs:191
Methodnfa_end
Makes an NFA that matches zero length but only at the text end
ere-core/src/working_u8_nfa.rs:367
Methodnfa_end
Makes an NFA that matches zero length but only at the text end
ere-core/src/working_nfa.rs:376
← previousnext →101–200 of 264, ranked by callers