summaryrefslogtreecommitdiff
path: root/pyparsing/helpers.py
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate `locatedExpr` in favor of new `Located` classptmcg2020-12-241-1/+3
|
* Add IndentedBlock class; made vertical keyword arg more visible when ↵pyparsing_3.0.0b1ptmcg2020-11-021-1/+36
| | | | creating railroad diags; changed create_diagram from monkeypatch to included method on ParserElement; better debug exception if Dict is constructed with non-Group expression
* minor perf changes IIptmcg2020-10-251-5/+7
|
* Fix enum auto() incompat with Py3.5Paul McGuire2020-08-191-2/+2
|
* Convert SyntaxWarnings to ValueError and TypeError exceptions; change ↵Paul McGuire2020-08-191-13/+7
| | | | diagnostics to an enum, and add enable_diag(), disable_diag() and enable_all_warnings() methods; clean up pyparsing imports in test_unit.py
* Docstrings cleanup; add 'encoding' argument to parseFile; additional unit ↵ptmcg2020-07-081-31/+30
| | | | tests to improve ParseResults coverage
* infixNotation unit tests require infixNotation bug fixes!ptmcg2020-07-071-14/+11
|
* Convert internal imports to relative imports, to support projects that ↵ptmcg2020-05-131-2/+15
| | | | vendor pyparsing
* Pop counter token and return rest instead of dropping all tokens in ↵Marcin Jaworski2020-05-031-2/+3
| | | | | | | | | | | | | countedArray (#209) * Pop counter token and return rest instead of dropping all tokens * Include only named results from intExpr in countedArray results * Remove internal Group from countedArray * Fix operator precedence * Update countedArray tests
* Remove deprecated space escapes from docstrings (#202)Matt Carmody2020-04-031-1/+1
|
* Docstring formatting changes (#197)Matt Carmody2020-03-291-4/+4
| | | | | | | * Tidy docstring formatting for lists and example codeblock * Add class references and formatting to docstrings * Experimental docstring formatting changes
* Housekeeping (#191)Matt Carmody2020-03-211-1/+1
| | | | | | | | | * Correct docstring typo in helpers.py * Remove repetitive imports of pyparsing in tests * Move repetitive pyparsing_common calls to module level ppc * Correct docstrings inline code typos
* Rollforward infixNotation ternary op fix from 2.4.6 branch, plus related ↵ptmcg2020-01-041-1/+1
| | | | unit test; change TestParseResultsAsserts to mixin instead of subclass; rollforward 2.4.6 CHANGES blurb from 2.4.6 branch
* Break up pyparsing.py monolith into sub-modules in a pyparsing package (#162)Paul McGuire2019-11-181-0/+905
* Break up pyparsing.py monolith into sub-modules in a pyparsing package * Convert relative imports to absolutes * Reference submodule pyparsing in setup.py modules * Remove recursive import of pyparsing from setup.py * Black updates * setup.py updates - packages vs. modules. use .dev1 for the version