Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pyparsing/pyparsing
/ functions
Functions
1,655 in github.com/pyparsing/pyparsing
⨍
Functions
1,655
◇
Types & classes
303
↳
Endpoints
5
↓ 2 callers
Method
eval
(self)
tests/test_unit.py:2747
↓ 2 callers
Function
evaluate_stack
(s)
examples/fourFn.py:135
↓ 2 callers
Method
execute
(self, bf_engine: BFEngine)
examples/bf.py:96
↓ 2 callers
Function
explain_parse_error
Return a helpful, context-rich parse error string.
examples/tiny/tiny_run.py:26
↓ 2 callers
Method
extract_into_diagram
Used when we encounter the same token twice in the same tree. When this happens, we replace all instances of that token with a termin
pyparsing/diagram/__init__.py:405
↓ 2 callers
Function
gen_log
(n_lines: int, seed: int = 3)
tests/perf_pyparsing.py:102
↓ 2 callers
Method
get
Returns named result matching the given key, or if there is no such name, then returns the given ``default_value`` or ``None`` if no
pyparsing/results.py:398
↓ 2 callers
Method
get
(self, key, default=None)
pyparsing/diagram/__init__.py:393
↓ 2 callers
Function
getUDType
(typestr)
examples/gen_ctypes.py:122
↓ 2 callers
Method
get_function
(self, name: str)
examples/tiny/tiny_engine.py:105
↓ 2 callers
Function
invert
r""" Call this routine as a generator to return all the strings that match the input regular expression. for s in invert(r"[A-Z]{3}\d{
dest/inv_regex.py:273
↓ 2 callers
Function
invert
r""" Call this routine as a generator to return all the strings that match the input regular expression. for s in invert(r"[A-Z]{3}
examples/inv_regex.py:273
↓ 2 callers
Function
invert
r""" Call this routine as a generator to return all the strings that match the input regular expression. for s in invert(r"[A-Z]{3}\d{
examples/regex_inverter/inv_regex.py:273
↓ 2 callers
Function
log_grammar
()
tests/perf_pyparsing.py:154
↓ 2 callers
Method
lowercase_of_tuple
(cls, tuple_to_lowercase)
examples/bigquery_view_parser.py:58
↓ 2 callers
Function
make_template_parser
Create a pyparsing parser from a DirectX template definition. (Limited to templates containing scalar types, or arrays of scalars.)
examples/directx_x_file_parser.py:64
↓ 2 callers
Function
make_verilog_bnf
()
examples/verilog_parse.py:113
↓ 2 callers
Method
moveTo
(self, rm)
examples/adventureEngine.py:556
↓ 2 callers
Function
mustMatchCols
(startloc, endloc)
examples/parseTabularData.py:22
↓ 2 callers
Function
nested_expr
Helper method for defining nested lists enclosed in opening and closing delimiters (``"("`` and ``")"`` are the default). :param opener: str
pyparsing/helpers.py:476
↓ 2 callers
Function
offset_weekday
Compute a timedelta for a reference to a weekday by name, relative to the current weekday. If the current day is
examples/delta_time.py:392
↓ 2 callers
Method
output_text
Print the current buffered output and clear the buffer.
examples/tiny/tiny_engine.py:141
↓ 2 callers
Function
parse
Accepts an input string containing an LA equation, e.g., "M3_mymatrix = M3_anothermatrix^-1" returns C code function calls that implement
examples/LAparser.py:307
↓ 2 callers
Method
pop_frame
(self)
examples/tiny/tiny_engine.py:126
↓ 2 callers
Function
resolve_partial
Recursively resolves a collection of Partials into whatever type they are
pyparsing/diagram/__init__.py:215
↓ 2 callers
Function
running_in_debug
Returns True if we're in debug mode (determined by either setting environment var, or running in a debugger which sets sys.settrace)
tests/test_diagram.py:47
↓ 2 callers
Method
set
(self, *args)
pyparsing/core.py:1071
↓ 2 callers
Method
set
(self, value: T)
examples/tiny/tiny_repl.py:47
↓ 2 callers
Method
set_default_keyword_chars
Overrides the default characters used by :class:`Keyword` expressions.
pyparsing/core.py:2916
↓ 2 callers
Method
setup_testWordMaxGreaterThanZeroAndAsKeyword
()
tests/test_unit.py:5856
↓ 2 callers
Function
sum_atomic_weights_by_results_name_with_converted_ints
(element_list)
examples/chemical_formulas.py:76
↓ 2 callers
Function
table_row
(start_tag, end_tag)
examples/html_table_parser.py:37
↓ 2 callers
Method
take
(self, it)
examples/adventureEngine.py:566
↓ 2 callers
Method
validate
(self, validateTrace=None)
pyparsing/core.py:6347
↓ 2 callers
Function
with_left_recursion
(enabled: bool)
tests/perf_pyparsing.py:39
↓ 2 callers
Function
with_packrat
(enabled: bool)
tests/perf_pyparsing.py:32
↓ 1 callers
Function
CORBA_IDL_BNF
()
examples/idlParse.py:34
↓ 1 callers
Method
GetNot
(self, not_set)
examples/searchparser.py:203
↓ 1 callers
Method
GetNot
(self, not_set)
examples/booleansearchparser.py:291
↓ 1 callers
Method
GetQuotes
(self, search_string, tmp_result)
examples/searchparser.py:200
↓ 1 callers
Method
GetQuotes
(self, search_string, tmp_result)
examples/booleansearchparser.py:288
↓ 1 callers
Method
GetWord
(self, word)
examples/searchparser.py:194
↓ 1 callers
Method
GetWord
(self, word)
examples/booleansearchparser.py:268
↓ 1 callers
Method
GetWordWildcard
(self, word)
examples/searchparser.py:197
↓ 1 callers
Method
Parse
(self, query)
examples/booleansearchparser.py:265
↓ 1 callers
Method
Test
(self)
examples/searchparser.py:298
↓ 1 callers
Method
Test
(self)
examples/booleansearchparser.py:327
↓ 1 callers
Function
__antlrRuleConverter
(pyparsingRules, antlrRule)
examples/antlr_grammar.py:318
↓ 1 callers
Method
__delitem__
(self, key)
pyparsing/util.py:154
↓ 1 callers
Method
__iadd__
(self, other: ParseResults)
pyparsing/results.py:533
↓ 1 callers
Method
__init__
(self, *items)
pyparsing/diagram/__init__.py:128
↓ 1 callers
Method
__init__
(self, memory_size: int = 1024)
examples/bf.py:43
↓ 1 callers
Method
__init__
(self)
examples/statemachine/libraryBookDemo.py:12
↓ 1 callers
Method
__init__
(self, parsed: pp.ParseResults)
examples/tiny/tiny_ast.py:58
↓ 1 callers
Method
__mul__
Implementation of ``*`` operator, allows use of ``expr * 3`` in place of ``expr + expr + expr``. Expressions may also be multiplied
pyparsing/core.py:1687
↓ 1 callers
Method
__new__
(cls, toklist=None, name=None, **kwargs)
pyparsing/results.py:182
↓ 1 callers
Method
_apply_op
(self, lhs: object, op: str, rhs: object)
examples/tiny/tiny_engine.py:381
↓ 1 callers
Method
_asStringList
(self, sep="")
pyparsing/results.py:578
↓ 1 callers
Function
_build_nodes_from_stmt_seq
Convert a parsed `stmt_seq` group into prebuilt `TinyNode` instances.
examples/tiny/tiny_repl.py:51
↓ 1 callers
Method
_checkRecursion
(self, parseElementList)
pyparsing/core.py:2199
↓ 1 callers
Method
_checkRecursion
(self, parseElementList)
pyparsing/core.py:5208
↓ 1 callers
Function
_collapse_verbose_regex
(regex_str: str)
pyparsing/diagram/__init__.py:85
↓ 1 callers
Function
_convert_escaped_numerics_to_char
(s: str)
pyparsing/util.py:345
↓ 1 callers
Method
_do_command
(self, player)
examples/adventureEngine.py:171
↓ 1 callers
Function
_expanded
(p)
pyparsing/core.py:6811
↓ 1 callers
Method
_from_exception
internal factory method to simplify creating one type of ParseException from another - avoids having __init__ signature conflicts amo
pyparsing/exceptions.py:133
↓ 1 callers
Method
_generateDefaultName
Child classes must define this method, which defines how the ``default_name`` is set.
pyparsing/core.py:2134
↓ 1 callers
Method
_get_parser
(cls)
examples/bigquery_view_parser.py:66
↓ 1 callers
Function
_is_iterable
(obj, _str_type=(str, bytes), _iter_exception=Exception)
pyparsing/util.py:225
↓ 1 callers
Function
_load_functions_from_file
Parse a .tiny file and register its function definitions into the engine. - Ignores any `main()` function present. - If `overwrite` is False,
examples/tiny/tiny_repl.py:64
↓ 1 callers
Function
_make_integer_word_expr
(int_name: str, int_value: int)
examples/delta_time.py:52
↓ 1 callers
Function
_mini_tests
()
examples/tiny/tiny_parser.py:278
↓ 1 callers
Method
_parseNoCache
( self, instring, loc, do_actions=True, callPreParse=True )
pyparsing/core.py:916
↓ 1 callers
Function
_print_functions
()
examples/tiny/tiny_repl.py:155
↓ 1 callers
Function
_print_vars
()
examples/tiny/tiny_repl.py:143
↓ 1 callers
Function
_should_enable_warnings
( cmd_line_warn_options: typing.Iterable[str], warn_env_var: typing.Optional[str] )
pyparsing/core.py:187
↓ 1 callers
Method
_split_words
(self, text)
examples/booleansearchparser.py:294
↓ 1 callers
Function
_to_diagram_element
Recursively converts a PyParsing Element to a railroad Element :param lookup: The shared converter state that keeps track of useful things
pyparsing/diagram/__init__.py:510
↓ 1 callers
Function
_to_pep8_name
(s: str, _re_sub_pattern=re.compile(r"([a-z])([A-Z])"))
pyparsing/util.py:495
↓ 1 callers
Function
_visible_exprs
(exprs: Iterable[pyparsing.ParserElement])
pyparsing/diagram/__init__.py:496
↓ 1 callers
Method
_write
(self, s: str)
examples/tiny/tiny_engine.py:147
↓ 1 callers
Method
_writeln
(self)
examples/tiny/tiny_engine.py:150
↓ 1 callers
Function
antlrConverter
(antlrGrammarTree)
examples/antlr_grammar.py:326
↓ 1 callers
Method
area
(self)
examples/shapes.py:14
↓ 1 callers
Function
arithmetic_grammar_left_recursive
()
tests/perf_pyparsing.py:124
↓ 1 callers
Function
arithmetic_grammar_non_recursive
()
tests/perf_pyparsing.py:139
↓ 1 callers
Method
assertRunTestResults
Unit test assertion to evaluate output of :meth:`~ParserElement.run_tests`. If a list of list-dict tuples is giv
pyparsing/testing.py:190
↓ 1 callers
Method
authorize
(self, name)
examples/statemachine/libraryBookDemo.py:21
↓ 1 callers
Method
bailedTest
(cls, num)
examples/TAP.py:96
↓ 1 callers
Function
bench_matchfirst_vs_or
(n_alts=2000, seed=4)
tests/perf_pyparsing.py:219
↓ 1 callers
Function
bench_scan_log
(n_lines=20000)
tests/perf_pyparsing.py:193
↓ 1 callers
Function
bench_transform_upper
(n_lines=20000)
tests/perf_pyparsing.py:205
↓ 1 callers
Function
binary_multi_op
Parse action to handle binary Boolean operators 'and' and 'or', combining 2 or more condition expressions. When this action is called, a
examples/mongodb_query_expression.py:277
↓ 1 callers
Method
breakItem
(self)
examples/adventureEngine.py:112
↓ 1 callers
Method
build_contained_statements
Convert parsed body statements to TinyNode instances. This runs once at construction so that execute() only iterates nodes.
examples/tiny/tiny_ast.py:139
↓ 1 callers
Method
can_parse_next
(self, instring: str, loc: int, do_actions: bool = False)
pyparsing/core.py:1032
↓ 1 callers
Method
change
(self)
examples/statemachine/trafficLightDemo.py:15
↓ 1 callers
Method
checkpath_iter
(self, fullname)
examples/statemachine/statemachine.py:304
↓ 1 callers
Method
clear
Clear all elements and results names.
pyparsing/results.py:513
↓ 1 callers
Method
close_item
(self, player)
examples/adventureEngine.py:153
← previous
next →
201–300 of 1,655, ranked by callers