MCPcopy Create free account

hub / github.com/coooodeer/parse-rust / functions

Functions394 in github.com/coooodeer/parse-rust

↓ 1 callersFunctionparse_decimal
Parse a decimal integer string, handling sign and base prefixes. Supports: - Optional sign: +, -, space - Base prefixes: 0x (hex), 0o (octal), 0b (bi
src/types.rs:345
↓ 1 callersFunctionparse_global_datetime
(datetime_cls: &Bound<'_, PyAny>, raw: &str)
src/result.rs:229
↓ 1 callersFunctionparse_number_with_sep
Parse a number with thousands separators (commas, dots, underscores).
src/types.rs:408
↓ 1 callersFunctionparse_syslog_datetime
(datetime_cls: &Bound<'_, PyAny>, raw: &str)
src/result.rs:265
↓ 1 callersFunctionparse_values_equal
(left: &ParseValue, right: &ParseValue)
src/parser.rs:415
↓ 1 callersMethodparse_with_error
(&self, input: &str)
src/parser.rs:206
↓ 1 callersMethodpattern
(&self)
src/lib.rs:666
↓ 1 callersFunctionprint_console_summary
(group: str, all_results: list[dict], raw_path: Path, csv_path: Path, md_path: Path)
benches/benchmark_common.py:509
↓ 1 callersFunctionpython_compiled_call
(template: str)
benches/benchmark_common.py:402
↓ 1 callersFunctionpython_compiled_findall_runner
(template: str)
benches/benchmark_common.py:242
↓ 1 callersFunctionpython_compiled_runner
(template: str)
benches/benchmark_common.py:198
↓ 1 callersFunctionpython_compiled_search_runner
(template: str)
benches/benchmark_common.py:220
↓ 1 callersFunctionpython_fallback_runner
()
benches/benchmark_common.py:362
↓ 1 callersFunctionpython_findall_runner
(template: str)
benches/benchmark_common.py:232
↓ 1 callersFunctionpython_parse_call
(template: str)
benches/benchmark_common.py:396
↓ 1 callersFunctionpython_parse_runner
(template: str)
benches/benchmark_common.py:188
↓ 1 callersFunctionpython_search_runner
(template: str)
benches/benchmark_common.py:210
↓ 1 callersFunctionrun
()
tests/test_security_inputs.py:58
↓ 1 callersFunctionrust_compiled_findall_runner
(template: str)
benches/benchmark_common.py:350
↓ 1 callersFunctionrust_compiled_parse_call
(template: str)
benches/benchmark_common.py:415
↓ 1 callersFunctionrust_compiled_parse_runner
(template: str)
benches/benchmark_common.py:254
↓ 1 callersFunctionrust_compiled_search_match_runner
(template: str)
benches/benchmark_common.py:326
↓ 1 callersFunctionrust_compiled_search_runner
(template: str)
benches/benchmark_common.py:338
↓ 1 callersFunctionrust_fallback_runner
()
benches/benchmark_common.py:378
↓ 1 callersFunctionrust_search_match_runner
(template: str, cache_state: str)
benches/benchmark_common.py:296
↓ 1 callersFunctionsplit_fraction_and_tz
(suffix: &str)
src/result.rs:217
↓ 1 callersFunctionwrap_result_instance
(py: Python<'_>, result: ParseResult)
src/lib.rs:427
↓ 1 callersFunctionwrite_raw_results
(group: str, all_results: list[dict])
benches/benchmark_common.py:422
↓ 1 callersFunctionwrite_summary
(group: str, all_results: list[dict])
benches/benchmark_common.py:462
Method__call__
(&self, py: Python<'_>, func: PyObject)
src/lib.rs:297
Method__contains__
Check if a named field exists in the result.
src/result.rs:592
Method__getitem__
Access parsed values by index (int) or name (str). Examples: result[0] # first positional field result['name'] # named field 'name'
src/result.rs:573
Method__getnewargs__
(&self, py: Python<'_>)
src/lib.rs:705
Method__iter__
(slf: PyRef<'_, Self>)
src/lib.rs:104
Method__next__
(mut slf: PyRefMut<'_, Self>, py: Python<'_>)
src/lib.rs:108
Method__reduce__
(&self, py: Python<'_>)
src/lib.rs:696
Method__repr__
(&self)
src/lib.rs:709
Method__repr__
String representation of the result.
src/result.rs:597
Function_clear_cache
()
src/lib.rs:923
Method_expression
(&self)
src/lib.rs:674
Function_handle
(signum, frame)
tests/test_security_inputs.py:21
Functionab
(text)
benches/benchmark_common.py:366
Functionab
(text)
tests/test_python_api_integration.py:187
Functionab
(text)
tests/test_parsetype.py:78
Methoddefault
()
src/compiler.rs:61
Functiondt_format_to_regex
(format: &str)
src/types.rs:284
Methodeq
(&self, other: &Self)
src/result.rs:120
Functionfindall
( py: Python<'_>, format: &str, string: &str, pos: usize, endpos: Opti
src/lib.rs:858
Methodfixed_fields
Get the list of fixed (positional) field indices.
src/parser.rs:183
Methodfixed_fields
(&self)
src/lib.rs:689
Methodfrom_compiled
(format: &str, compiled: CompiledFormat)
src/parser.rs:145
Methodfrom_python
(value: &Bound<'_, PyAny>)
src/result.rs:73
Methodfrom_str
Parse a type character string into a FormatType. Returns None if the type string is not recognized.
src/types.rs:75
Methodget_fixed
Get a fixed (positional) field by index.
src/result.rs:492
Methodget_fixed_span
(&self, index: usize)
src/result.rs:501
Methodget_named_span
(&self, key: &str)
src/result.rs:505
Functionincrement
(text)
tests/test_python_api_integration.py:240
Methodinto_message
(self)
src/compiler.rs:17
Functionmain
()
build.rs:1
Methodnamed
(&self, py: Python<'_>)
src/result.rs:626
Methodnamed_fields
Get the list of named field names.
src/parser.rs:178
Methodnamed_fields
(&self)
src/lib.rs:680
Methodnew
Create a new Parser from a format string. Compiles the format string into regex patterns and prepares the parser for matching operations. # Argument
src/parser.rs:131
Methodnew
( py: Python<'_>, format: &str, extra_types: &Bound<'_, PyAny>, case_sensitive
src/lib.rs:116
Methodnew
(case_sensitive: bool)
src/compiler.rs:167
Methodnew
Create a new empty ParseResult.
src/result.rs:482
Methodnew_with_custom
( format: &str, case_sensitive: bool, custom_types: &HashMap<String, CustomTypePattern
src/parser.rs:136
Methodnew_with_extra
( py: Python<'_>, format: &str, extra_types: &Bound<'_, PyAny>, case_sensitive
src/lib.rs:222
Functionparse
( py: Python<'_>, format: &str, string: &str, extra_types: Option<PyObject>,
src/lib.rs:751
Functionparse_data
(text)
tests/test_parsetype.py:146
Functionparse_number
(text)
tests/test_python_api_integration.py:204
Functionparse_number
(text)
tests/test_bugs.py:55
Functionparse_number
(text)
tests/test_parsetype.py:29
Functionparse_rust
(m: &Bound<'_, PyModule>)
src/lib.rs:720
Functionparse_unit
(text)
tests/test_python_api_integration.py:200
Functionparse_unit
(text)
tests/test_parsetype.py:92
Functionparse_word_and_covert_to_uppercase
(text)
tests/test_bugs.py:51
Functionparse_yesno
(text)
tests/test_parsetype.py:46
Methodpattern
Get the compiled regex pattern string.
src/parser.rs:173
Functionrun
(lines)
benches/benchmark_common.py:191
Functionsearch
( py: Python<'_>, format: &str, string: &str, pos: usize, endpos: Opti
src/lib.rs:807
Methodspans
(&self, py: Python<'_>)
src/result.rs:636
Functiontest_alignment_width_and_precision_behaviors_are_exposed_through_api
()
tests/test_python_api_integration.py:138
Functiontest_basic
()
tests/test_search.py:4
Functiontest_bird
()
tests/test_pattern.py:39
Functiontest_braces
()
tests/test_pattern.py:10
Functiontest_build_field_pattern_float_keeps_optional_sign
()
src/compiler.rs:822
Functiontest_case_sensitive_flag_changes_matching_behavior
()
tests/test_python_api_integration.py:104
Functiontest_case_sensitivity
()
tests/test_parsetype.py:164
Functiontest_case_sensitivity
()
tests/test_findall.py:21
Functiontest_center
()
tests/test_parse.py:84
Functiontest_combining_characters
Combining diacritics must not cause span corruption.
tests/test_security_inputs.py:140
Functiontest_compile_datetime
()
src/compiler.rs:863
Functiontest_compile_escaped_braces
()
src/compiler.rs:869
Functiontest_compile_mixed
()
src/compiler.rs:852
Functiontest_compile_named
()
src/compiler.rs:837
Functiontest_compile_simple
()
src/compiler.rs:830
Functiontest_compile_typed
()
src/compiler.rs:845
Functiontest_compiled_parser_methods_and_properties
()
tests/test_python_api_integration.py:34
Functiontest_contains
()
tests/test_result.py:34
← previousnext →101–200 of 394, ranked by callers