pyparsing.ParseException:
Exception thrown when parse expressions don't match class;
supported attributes by name are:
- lineno - returns the line number of the exception text
- col - returns the column number of the exception text
- line - returns the line containing the exception text
pyparsing.ParseFatalException:
user-throwable exception thrown when inconsistent parse content is
found; stops all parsing immediately
pyparsing.ParseSyntaxException:
just like :class:`ParseFatalException`, but thrown internally when
an :class:`ErrorStop<And._ErrorStop>` ('-' operator)
indicates that parsing is to stop immediately because an
unbacktrackable syntax error has been found.
pyparsing.SkipTo:
Token for skipping over all undefined text until the matched
expression is found.
pyparsing.TokenConverter:
Abstract subclass of :class:`ParseExpression`, for converting
parsed results.
pyparsing.Combine:
Converter to concatenate all matching tokens to a single string.
pyparsing.Dict:
Converter to return a repetitive expression as a list, but also as
a dictionary.
pyparsing.Group:
Converter to return the matched tokens as a list - useful for
returning tokens of :class:`ZeroOrMore` and :class:`OneOrMore`
expressions.
pyparsing.Suppress:
Converter for ignoring the results of a parsed expression.
pyparsing.ZeroOrMore:
Optional repetition of zero or more of the given expression.
pyparsing.ParseExpression:
Abstract subclass of ParserElement, for combining and
post-processing parsed tokens.
pyparsing.And:
Requires all given :class:`ParseExpression` s to be found in the
given order.
pyparsing.Each:
Requires all given :class:`ParseExpression` s to be found, but in
any order.
pyparsing.MatchFirst:
Requires that at least one :class:`ParseExpression` is found.
pyparsing.Or:
Requires that at least one :class:`ParseExpression` is found.
pyparsing.Token:
Abstract :class:`ParserElement` subclass, for defining atomic
matching patterns.
pyparsing.CharsNotIn:
Token for matching words composed of characters *not* in a given
set (will include whitespace in matched characters if not listed in
the provided exclusion set - see example).
pyparsing.CloseMatch:
A variation on :class:`Literal` which matches "close"
matches, that is, strings with at most 'n' mismatching characters.
pyparsing.GoToColumn:
Token to advance to a specific column of input text; useful for
tabular report scraping.
pyparsing.LineEnd:
Matches if current position is at the end of a line within the
parse string
pyparsing.LineStart:
Matches if current position is at the beginning of a line within
the parse string
pyparsing.StringEnd:
Matches if current position is at the end of the parse string
pyparsing.StringStart:
Matches if current position is at the beginning of the parse string
pyparsing.WordEnd:
Matches if the current position is at the end of a Word, and is not
followed by any character in a given set of ``wordChars`` (default=
``printables``).
pyparsing.WordStart:
Matches if the current position is at the beginning of a Word, and
is not preceded by any character in a given set of ``wordChars``
(default= ``printables``).