BlockIt
|
Public Member Functions | |
def | __init__ |
def | parseImpl |
def | leaveWhitespace |
def | ignore |
def | streamline |
def | checkRecursion |
def | validate |
def | __str__ |
Public Attributes | |
expr | |
strRepr | |
mayIndexError | |
mayReturnEmpty | |
skipWhitespace | |
saveAsList | |
callPreparse |
Abstract subclass of ParserElement, for combining and post-processing parsed tokens.
Definition at line 2585 of file pyparsing.py.
def blockit::external::pyparsing::ParseElementEnhance::__init__ | ( | self, | |
expr, | |||
savelist = False |
|||
) |
Reimplemented in blockit::external::pyparsing::Optional, and blockit::external::pyparsing::TokenConverter.
Definition at line 2587 of file pyparsing.py.
def blockit::external::pyparsing::ParseElementEnhance::__str__ | ( | self | ) |
Reimplemented from blockit::external::pyparsing::ParserElement.
Reimplemented in blockit::external::pyparsing::NotAny, blockit::external::pyparsing::ZeroOrMore, blockit::external::pyparsing::OneOrMore, blockit::external::pyparsing::Optional, blockit::external::pyparsing::Forward, and blockit::external::pyparsing::_ForwardNoRecurse.
Definition at line 2646 of file pyparsing.py.
def blockit::external::pyparsing::ParseElementEnhance::checkRecursion | ( | self, | |
parseElementList | |||
) |
Reimplemented from blockit::external::pyparsing::ParserElement.
Definition at line 2633 of file pyparsing.py.
def blockit::external::pyparsing::ParseElementEnhance::ignore | ( | self, | |
other | |||
) |
Define expression to be ignored (e.g., comments) while doing pattern matching; may be called repeatedly, to define multiple comment or other ignorable patterns.
Reimplemented from blockit::external::pyparsing::ParserElement.
Reimplemented in blockit::external::pyparsing::Combine.
Definition at line 2615 of file pyparsing.py.
def blockit::external::pyparsing::ParseElementEnhance::leaveWhitespace | ( | self | ) |
Disables the skipping of whitespace before matching the characters in the ParserElement's defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars.
Reimplemented from blockit::external::pyparsing::ParserElement.
Reimplemented in blockit::external::pyparsing::Forward.
Definition at line 2608 of file pyparsing.py.
def blockit::external::pyparsing::ParseElementEnhance::parseImpl | ( | self, | |
instring, | |||
loc, | |||
doActions = True |
|||
) |
Reimplemented from blockit::external::pyparsing::ParserElement.
Reimplemented in blockit::external::pyparsing::FollowedBy, blockit::external::pyparsing::NotAny, blockit::external::pyparsing::ZeroOrMore, blockit::external::pyparsing::OneOrMore, blockit::external::pyparsing::Optional, and blockit::external::pyparsing::SkipTo.
Definition at line 2602 of file pyparsing.py.
def blockit::external::pyparsing::ParseElementEnhance::streamline | ( | self | ) |
Reimplemented from blockit::external::pyparsing::ParserElement.
Reimplemented in blockit::external::pyparsing::Forward.
Definition at line 2627 of file pyparsing.py.
def blockit::external::pyparsing::ParseElementEnhance::validate | ( | self, | |
validateTrace = [] |
|||
) |
Check defined expressions for valid structure, check for infinite recursive definitions.
Reimplemented from blockit::external::pyparsing::ParserElement.
Reimplemented in blockit::external::pyparsing::Forward.
Definition at line 2640 of file pyparsing.py.
Reimplemented from blockit::external::pyparsing::ParserElement.
Definition at line 2587 of file pyparsing.py.
Reimplemented in blockit::external::pyparsing::Forward.
Definition at line 2587 of file pyparsing.py.
Reimplemented from blockit::external::pyparsing::ParserElement.
Reimplemented in blockit::external::pyparsing::SkipTo, and blockit::external::pyparsing::Forward.
Definition at line 2587 of file pyparsing.py.
Reimplemented from blockit::external::pyparsing::ParserElement.
Reimplemented in blockit::external::pyparsing::FollowedBy, blockit::external::pyparsing::NotAny, blockit::external::pyparsing::ZeroOrMore, blockit::external::pyparsing::Optional, blockit::external::pyparsing::SkipTo, and blockit::external::pyparsing::Forward.
Definition at line 2587 of file pyparsing.py.
Reimplemented from blockit::external::pyparsing::ParserElement.
Reimplemented in blockit::external::pyparsing::Forward, blockit::external::pyparsing::TokenConverter, blockit::external::pyparsing::Group, and blockit::external::pyparsing::Dict.
Definition at line 2587 of file pyparsing.py.
Reimplemented from blockit::external::pyparsing::ParserElement.
Reimplemented in blockit::external::pyparsing::NotAny, blockit::external::pyparsing::Forward, and blockit::external::pyparsing::Combine.
Definition at line 2587 of file pyparsing.py.
Reimplemented from blockit::external::pyparsing::ParserElement.
Reimplemented in blockit::external::pyparsing::NotAny, blockit::external::pyparsing::ZeroOrMore, blockit::external::pyparsing::OneOrMore, blockit::external::pyparsing::Optional, and blockit::external::pyparsing::Forward.
Definition at line 2587 of file pyparsing.py.