Home | Trees | Index | Help |
|
---|
|
__builtin__.object
:
The most base type
pyparsing.ParserElement
:
Abstract base level parser element class.
pyparsing.ParseElementEnhance
:
Abstract subclass of ParserElement, for combining and post-processing
parsed tokens.
pyparsing.Forward
:
Forward declaration of an expression to be defined later - used for
recursive grammars, such as algebraic infix notation.
pyparsing.NotAny
:
Lookahead to disallow matching with the given parse expression.
pyparsing.OneOrMore
:
Repetition of one or more of the given expression.
pyparsing.Optional
:
Optional matching of the given expression.
pyparsing.TokenConverter
:
Abstract subclass of 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 ZeroOrMore and OneOrMore expressions.
pyparsing.Suppress
:
Converter for ignoring the results of a parsed expression.
pyparsing.Upcase
:
Converter to upper case all matching tokens.
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 ParseExpressions to be found in the given
order.
pyparsing.MatchFirst
:
Requires that at least one ParseExpression is found.
pyparsing.Or
:
Requires that at least one ParseExpression is found.
pyparsing.Token
:
Abstract ParserElement subclass, for defining atomic matching
patterns.
pyparsing.CharsNotIn
:
Token for matching words composed of characters *not* in a given
set.
pyparsing.Empty
:
An empty token, will always match.
pyparsing.Literal
:
Token to exactly match a specified string.
pyparsing.CaselessLiteral
:
Token to match a specified string, ignoring case of letters.
pyparsing.PositionToken
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.Word
:
Token for matching words composed of allowed character sets Defined
with string containing all allowed initial characters, an optional string
containing allowed body characters (if omitted, defaults to the initial
character set), and an optional minimum, maximum, and/or exact
length.
pyparsing.ParseResults
:
Structured parse results, to provide multiple means of access to the
parsed data:
__builtin__.type
:
type(object) -> the object's type type(name, bases, dict) -> a
new type
exceptions.Exception
:
Common base class for all exceptions.
pyparsing.ParseException
:
exception thrown when parse expressions don't match class
pyparsing.RecursiveGrammarException
:
exception thrown by validate() if the grammar could be improperly
recursive
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Mar 20 09:58:33 2004 | http://epydoc.sf.net |