pyparsing-2.0.1/0000755000175000017500000000000012171444757012244 5ustar zigozigopyparsing-2.0.1/PKG-INFO0000644000175000017500000000174212171444757013345 0ustar zigozigoMetadata-Version: 1.1 Name: pyparsing Version: 2.0.1 Summary: Python parsing module Home-page: http://pyparsing.wikispaces.com/ Author: Paul McGuire Author-email: ptmcg@users.sourceforge.net License: MIT License Download-URL: http://sourceforge.net/project/showfiles.php?group_id=97203 Description: UNKNOWN Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers Classifier: Intended Audience :: Information Technology Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 2.6 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.0 Classifier: Programming Language :: Python :: 3.1 Classifier: Programming Language :: Python :: 3.2 Classifier: Programming Language :: Python :: 3.3 pyparsing-2.0.1/HowToUsePyparsing.html0000644000175000017500000020762412171434766016556 0ustar zigozigo Using the pyparsing module

Using the pyparsing module

Author: Paul McGuire
Address:
ptmcg@users.sourceforge.net
Revision: 2.0.1
Date: July, 2013
Copyright: Copyright © 2003-2013 Paul McGuire.
abstract:This document provides how-to instructions for the pyparsing library, an easy-to-use Python module for constructing and executing basic text parsers. The pyparsing module is useful for evaluating user-definable expressions, processing custom application language commands, or extracting data from formatted reports.

Contents

1   Steps to follow

To parse an incoming data string, the client code must follow these steps:

  1. First define the tokens and patterns to be matched, and assign this to a program variable. Optional results names or parsing actions can also be defined at this time.
  2. Call parseString() or scanString() on this variable, passing in the string to be parsed. During the matching process, whitespace between tokens is skipped by default (although this can be changed). When token matches occur, any defined parse action methods are called.
  3. Process the parsed results, returned as a list of strings. Matching results may also be accessed as named attributes of the returned results, if names are defined in the definition of the token pattern, using setResultsName().

1.1   Hello, World!

The following complete Python program will parse the greeting "Hello, World!", or any other greeting of the form "<salutation>, <addressee>!":

from pyparsing import Word, alphas

greet = Word( alphas ) + "," + Word( alphas ) + "!"
greeting = greet.parseString( "Hello, World!" )
print greeting

The parsed tokens are returned in the following form:

['Hello', ',', 'World', '!']

1.2   Usage notes

  • The pyparsing module can be used to interpret simple command strings or algebraic expressions, or can be used to extract data from text reports with complicated format and structure ("screen or report scraping"). However, it is possible that your defined matching patterns may accept invalid inputs. Use pyparsing to extract data from strings assumed to be well-formatted.

  • To keep up the readability of your code, use operators such as +, |, ^, and ~ to combine expressions. You can also combine string literals with ParseExpressions - they will be automatically converted to Literal objects. For example:

    integer  = Word( nums )            # simple unsigned integer
    variable = Word( alphas, max=1 )   # single letter variable, such as x, z, m, etc.
    arithOp  = Word( "+-*/", max=1 )   # arithmetic operators
    equation = variable + "=" + integer + arithOp + integer    # will match "x=2+2", etc.
    

    In the definition of equation, the string "=" will get added as a Literal("="), but in a more readable way.

  • The pyparsing module's default behavior is to ignore whitespace. This is the case for 99% of all parsers ever written. This allows you to write simple, clean, grammars, such as the above equation, without having to clutter it up with extraneous ws markers. The equation grammar will successfully parse all of the following statements:

    x=2+2
    x = 2+2
    a = 10   *   4
    r= 1234/ 100000
    

    Of course, it is quite simple to extend this example to support more elaborate expressions, with nesting with parentheses, floating point numbers, scientific notation, and named constants (such as e or pi). See fourFn.py, included in the examples directory.

  • To modify pyparsing's default whitespace skipping, you can use one or more of the following methods:

    • use the static method ParserElement.setDefaultWhitespaceChars to override the normal set of whitespace chars (' tn'). For instance when defining a grammar in which newlines are significant, you should call ParserElement.setDefaultWhitespaceChars(' \t') to remove newline from the set of skippable whitespace characters. Calling this method will affect all pyparsing expressions defined afterward.

    • call leaveWhitespace() on individual expressions, to suppress the skipping of whitespace before trying to match the expression

    • use Combine to require that successive expressions must be adjacent in the input string. For instance, this expression:

      real = Word(nums) + '.' + Word(nums)
      

      will match "3.14159", but will also match "3 . 12". It will also return the matched results as ['3', '.', '14159']. By changing this expression to:

      real = Combine( Word(nums) + '.' + Word(nums) )
      

      it will not match numbers with embedded spaces, and it will return a single concatenated string '3.14159' as the parsed token.

  • Repetition of expressions can be indicated using the '*' operator. An expression may be multiplied by an integer value (to indicate an exact repetition count), or by a tuple containing two integers, or None and an integer, representing min and max repetitions (with None representing no min or no max, depending whether it is the first or second tuple element). See the following examples, where n is used to indicate an integer value:

    • expr*3 is equivalent to expr + expr + expr
    • expr*(2,3) is equivalent to expr + expr + Optional(expr)
    • expr*(n,None) or expr*(n,) is equivalent to expr*n + ZeroOrMore(expr) (read as "at least n instances of expr")
    • expr*(None,n) is equivalent to expr*(0,n) (read as "0 to n instances of expr")
    • expr*(None,None) is equivalent to ZeroOrMore(expr)
    • expr*(1,None) is equivalent to OneOrMore(expr)

    Note that expr*(None,n) does not raise an exception if more than n exprs exist in the input stream; that is, expr*(None,n) does not enforce a maximum number of expr occurrences. If this behavior is desired, then write expr*(None,n) + ~expr.

  • MatchFirst expressions are matched left-to-right, and the first match found will skip all later expressions within, so be sure to define less-specific patterns after more-specific patterns. If you are not sure which expressions are most specific, use Or expressions (defined using the ^ operator) - they will always match the longest expression, although they are more compute-intensive.

  • Or expressions will evaluate all of the specified subexpressions to determine which is the "best" match, that is, which matches the longest string in the input data. In case of a tie, the left-most expression in the Or list will win.

  • If parsing the contents of an entire file, pass it to the parseFile method using:

    expr.parseFile( sourceFile )
    
  • ParseExceptions will report the location where an expected token or expression failed to match. For example, if we tried to use our "Hello, World!" parser to parse "Hello World!" (leaving out the separating comma), we would get an exception, with the message:

    pyparsing.ParseException: Expected "," (6), (1,7)
    

    In the case of complex expressions, the reported location may not be exactly where you would expect. See more information under ParseException .

  • Use the Group class to enclose logical groups of tokens within a sublist. This will help organize your results into more hierarchical form (the default behavior is to return matching tokens as a flat list of matching input strings).

  • Punctuation may be significant for matching, but is rarely of much interest in the parsed results. Use the suppress() method to keep these tokens from cluttering up your returned lists of tokens. For example, delimitedList() matches a succession of one or more expressions, separated by delimiters (commas by default), but only returns a list of the actual expressions - the delimiters are used for parsing, but are suppressed from the returned output.

  • Parse actions can be used to convert values from strings to other data types (ints, floats, booleans, etc.).

  • Results names are recommended for retrieving tokens from complex expressions. It is much easier to access a token using its field name than using a positional index, especially if the expression contains optional elements. You can also shortcut the setResultsName call:

    stats = "AVE:" + realNum.setResultsName("average") + \
            "MIN:" + realNum.setResultsName("min") + \
            "MAX:" + realNum.setResultsName("max")
    

    can now be written as this:

    stats = "AVE:" + realNum("average") + \
            "MIN:" + realNum("min") + \
            "MAX:" + realNum("max")
    
  • Be careful when defining parse actions that modify global variables or data structures (as in fourFn.py), especially for low level tokens or expressions that may occur within an And expression; an early element of an And may match, but the overall expression may fail.

  • Performance of pyparsing may be slow for complex grammars and/or large input strings. The psyco package can be used to improve the speed of the pyparsing module with no changes to grammar or program logic - observed improvments have been in the 20-50% range.

2   Classes

2.1   Classes in the pyparsing module

ParserElement - abstract base class for all pyparsing classes; methods for code to use are:

  • parseString( sourceString, parseAll=False ) - only called once, on the overall matching pattern; returns a ParseResults object that makes the matched tokens available as a list, and optionally as a dictionary, or as an object with named attributes; if parseAll is set to True, then parseString will raise a ParseException if the grammar does not process the complete input string.

  • parseFile( sourceFile ) - a convenience function, that accepts an input file object or filename. The file contents are passed as a string to parseString(). parseFile also supports the parseAll argument.

  • scanString( sourceString ) - generator function, used to find and extract matching text in the given source string; for each matched text, returns a tuple of:

    • matched tokens (packaged as a ParseResults object)
    • start location of the matched text in the given source string
    • end location in the given source string

    scanString allows you to scan through the input source string for random matches, instead of exhaustively defining the grammar for the entire source text (as would be required with parseString).

  • transformString( sourceString ) - convenience wrapper function for scanString, to process the input source string, and replace matching text with the tokens returned from parse actions defined in the grammar (see setParseAction).

  • searchString( sourceString ) - another convenience wrapper function for scanString, returns a list of the matching tokens returned from each call to scanString.

  • setName( name ) - associate a short descriptive name for this element, useful in displaying exceptions and trace information

  • setResultsName( string, listAllMatches=False ) - name to be given to tokens matching the element; if multiple tokens within a repetition group (such as ZeroOrMore or delimitedList) the default is to return only the last matching token - if listAllMatches is set to True, then a list of all the matching tokens is returned. (New in 1.5.6 - a results name with a trailing '*' character will be interpreted as setting listAllMatches to True.) Note: setResultsName returns a copy of the element so that a single basic element can be referenced multiple times and given different names within a complex grammar.

  • setParseAction( *fn ) - specify one or more functions to call after successful matching of the element; each function is defined as fn( s, loc, toks ), where:

    • s is the original parse string
    • loc is the location in the string where matching started
    • toks is the list of the matched tokens, packaged as a ParseResults object

    Multiple functions can be attached to a ParserElement by specifying multiple arguments to setParseAction, or by calling setParseAction multiple times.

    Each parse action function can return a modified toks list, to perform conversion, or string modifications. For brevity, fn may also be a lambda - here is an example of using a parse action to convert matched integer tokens from strings to integers:

    intNumber = Word(nums).setParseAction( lambda s,l,t: [ int(t[0]) ] )
    

    If fn does not modify the toks list, it does not need to return anything at all.

  • setBreak( breakFlag=True ) - if breakFlag is True, calls pdb.set_break() as this expression is about to be parsed

  • copy() - returns a copy of a ParserElement; can be used to use the same parse expression in different places in a grammar, with different parse actions attached to each

  • leaveWhitespace() - change default behavior of skipping whitespace before starting matching (mostly used internally to the pyparsing module, rarely used by client code)

  • setWhitespaceChars( chars ) - define the set of chars to be ignored as whitespace before trying to match a specific ParserElement, in place of the default set of whitespace (space, tab, newline, and return)

  • setDefaultWhitespaceChars( chars ) - class-level method to override the default set of whitespace chars for all subsequently created ParserElements (including copies); useful when defining grammars that treat one or more of the default whitespace characters as significant (such as a line-sensitive grammar, to omit newline from the list of ignorable whitespace)

  • suppress() - convenience function to suppress the output of the given element, instead of wrapping it with a Suppress object.

  • ignore( expr ) - function to specify parse expression to be ignored while matching defined patterns; can be called repeatedly to specify multiple expressions; useful to specify patterns of comment syntax, for example

  • setDebug( dbgFlag=True ) - function to enable/disable tracing output when trying to match this element

  • validate() - function to verify that the defined grammar does not contain infinitely recursive constructs

  • parseWithTabs() - function to override default behavior of converting tabs to spaces before parsing the input string; rarely used, except when specifying whitespace-significant grammars using the White class.
  • enablePackrat() - a class-level static method to enable a memoizing performance enhancement, known as "packrat parsing". packrat parsing is disabled by default, since it may conflict with some user programs that use parse actions. To activate the packrat feature, your program must call the class method ParserElement.enablePackrat(). If your program uses psyco to "compile as you go", you must call enablePackrat before calling psyco.full(). If you do not do this, Python will crash. For best results, call enablePackrat() immediately after importing pyparsing.

2.2   Basic ParserElement subclasses

  • Literal - construct with a string to be matched exactly
  • CaselessLiteral - construct with a string to be matched, but without case checking; results are always returned as the defining literal, NOT as they are found in the input string
  • Keyword - similar to Literal, but must be immediately followed by whitespace, punctuation, or other non-keyword characters; prevents accidental matching of a non-keyword that happens to begin with a defined keyword
  • CaselessKeyword - similar to Keyword, but with caseless matching behavior
  • Word - one or more contiguous characters; construct with a string containing the set of allowed initial characters, and an optional second string of allowed body characters; for instance, a common Word construct is to match a code identifier - in C, a valid identifier must start with an alphabetic character or an underscore ('_'), followed by a body that can also include numeric digits. That is, a, i, MAX_LENGTH, _a1, b_109_, and plan9FromOuterSpace are all valid identifiers; 9b7z, $a, .section, and 0debug are not. To define an identifier using a Word, use either of the following:

    - Word( alphas+"_", alphanums+"_" )
    - Word( srange("[a-zA-Z_]"), srange("[a-zA-Z0-9_]") )
    

    If only one string given, it specifies that the same character set defined for the initial character is used for the word body; for instance, to define an identifier that can only be composed of capital letters and underscores, use:

    - Word( "ABCDEFGHIJKLMNOPQRSTUVWXYZ_" )
    - Word( srange("[A-Z_]") )
    

    A Word may also be constructed with any of the following optional parameters:

    • min - indicating a minimum length of matching characters
    • max - indicating a maximum length of matching characters
    • exact - indicating an exact length of matching characters

    If exact is specified, it will override any values for min or max.

    New in 1.5.6 - Sometimes you want to define a word using all characters in a range except for one or two of them; you can do this with the new excludeChars argument. This is helpful if you want to define a word with all printables except for a single delimiter character, such as '.'. Previously, you would have to create a custom string to pass to Word. With this change, you can just create Word(printables, excludeChars='.').

  • CharsNotIn - similar to Word, but matches characters not in the given constructor string (accepts only one string for both initial and body characters); also supports min, max, and exact optional parameters.

  • Regex - a powerful construct, that accepts a regular expression to be matched at the current parse position; accepts an optional flags parameter, corresponding to the flags parameter in the re.compile method; if the expression includes named sub-fields, they will be represented in the returned ParseResults

  • QuotedString - supports the definition of custom quoted string formats, in addition to pyparsing's built-in dblQuotedString and sglQuotedString. QuotedString allows you to specify the following parameters:

    • quoteChar - string of one or more characters defining the quote delimiting string
    • escChar - character to escape quotes, typically backslash (default=None)
    • escQuote - special quote sequence to escape an embedded quote string (such as SQL's "" to escape an embedded ") (default=None)
    • multiline - boolean indicating whether quotes can span multiple lines (default=False)
    • unquoteResults - boolean indicating whether the matched text should be unquoted (default=True)
    • endQuoteChar - string of one or more characters defining the end of the quote delimited string (default=None => same as quoteChar)
  • SkipTo - skips ahead in the input string, accepting any characters up to the specified pattern; may be constructed with the following optional parameters:

    • include - if set to true, also consumes the match expression (default is False)
    • ignore - allows the user to specify patterns to not be matched, to prevent false matches
    • failOn - if a literal string or expression is given for this argument, it defines an expression that should cause the SkipTo expression to fail, and not skip over that expression
  • White - also similar to Word, but matches whitespace characters. Not usually needed, as whitespace is implicitly ignored by pyparsing. However, some grammars are whitespace-sensitive, such as those that use leading tabs or spaces to indicating grouping or hierarchy. (If matching on tab characters, be sure to call parseWithTabs on the top-level parse element.)
  • Empty - a null expression, requiring no characters - will always match; useful for debugging and for specialized grammars
  • NoMatch - opposite of Empty, will never match; useful for debugging and for specialized grammars

2.3   Expression subclasses

  • And - construct with a list of ParserElements, all of which must match for And to match; can also be created using the '+' operator; multiple expressions can be Anded together using the '*' operator as in:

    ipAddress = Word(nums) + ('.'+Word(nums))*3
    

    A tuple can be used as the multiplier, indicating a min/max:

    usPhoneNumber = Word(nums) + ('-'+Word(nums))*(1,2)
    

    A special form of And is created if the '-' operator is used instead of the '+' operator. In the ipAddress example above, if no trailing '.' and Word(nums) are found after matching the initial Word(nums), then pyparsing will back up in the grammar and try other alternatives to ipAddress. However, if ipAddress is defined as:

    strictIpAddress = Word(nums) - ('.'+Word(nums))*3
    

    then no backing up is done. If the first Word(nums) of strictIpAddress is matched, then any mismatch after that will raise a ParseSyntaxException, which will halt the parsing process immediately. By careful use of the '-' operator, grammars can provide meaningful error messages close to the location where the incoming text does not match the specified grammar.

  • Or - construct with a list of ParserElements, any of which must match for Or to match; if more than one expression matches, the expression that makes the longest match will be used; can also be created using the '^' operator

  • MatchFirst - construct with a list of ParserElements, any of which must match for MatchFirst to match; matching is done left-to-right, taking the first expression that matches; can also be created using the '|' operator

  • Each - similar to And, in that all of the provided expressions must match; however, Each permits matching to be done in any order; can also be created using the '&' operator

  • Optional - construct with a ParserElement, but this element is not required to match; can be constructed with an optional default argument, containing a default string or object to be supplied if the given optional parse element is not found in the input string; parse action will only be called if a match is found, or if a default is specified

  • ZeroOrMore - similar to Optional, but can be repeated

  • OneOrMore - similar to ZeroOrMore, but at least one match must be present

  • FollowedBy - a lookahead expression, requires matching of the given expressions, but does not advance the parsing position within the input string

  • NotAny - a negative lookahead expression, prevents matching of named expressions, does not advance the parsing position within the input string; can also be created using the unary '~' operator

2.4   Expression operators

  • ~ - creates NotAny using the expression after the operator
  • + - creates And using the expressions before and after the operator
  • | - creates MatchFirst (first left-to-right match) using the expressions before and after the operator
  • ^ - creates Or (longest match) using the expressions before and after the operator
  • & - creates Each using the expressions before and after the operator
  • * - creates And by multiplying the expression by the integer operand; if expression is multiplied by a 2-tuple, creates an And of (min,max) expressions (similar to "{min,max}" form in regular expressions); if min is None, intepret as (0,max); if max is None, interpret as expr*min + ZeroOrMore(expr)
  • - - like + but with no backup and retry of alternatives
  • * - repetition of expression
  • == - matching expression to string; returns True if the string matches the given expression
  • <<= - inserts the expression following the operator as the body of the Forward expression before the operator (formerly <<, which is now deprecated)

2.5   Positional subclasses

  • StringStart - matches beginning of the text
  • StringEnd - matches the end of the text
  • LineStart - matches beginning of a line (lines delimited by \n characters)
  • LineEnd - matches the end of a line
  • WordStart - matches a leading word boundary
  • WordEnd - matches a trailing word boundary

2.6   Converter subclasses

  • Upcase - converts matched tokens to uppercase (deprecated - use upcaseTokens parse action instead)
  • Combine - joins all matched tokens into a single string, using specified joinString (default joinString=""); expects all matching tokens to be adjacent, with no intervening whitespace (can be overridden by specifying adjacent=False in constructor)
  • Suppress - clears matched tokens; useful to keep returned results from being cluttered with required but uninteresting tokens (such as list delimiters)

2.7   Special subclasses

  • Group - causes the matched tokens to be enclosed in a list; useful in repeated elements like ZeroOrMore and OneOrMore to break up matched tokens into groups for each repeated pattern
  • Dict - like Group, but also constructs a dictionary, using the [0]'th elements of all enclosed token lists as the keys, and each token list as the value
  • SkipTo - catch-all matching expression that accepts all characters up until the given pattern is found to match; useful for specifying incomplete grammars
  • Forward - placeholder token used to define recursive token patterns; when defining the actual expression later in the program, insert it into the Forward object using the <<= operator (see fourFn.py for an example).

2.8   Other classes

  • ParseResults - class used to contain and manage the lists of tokens created from parsing the input using the user-defined parse expression. ParseResults can be accessed in a number of ways:

    • as a list
      • total list of elements can be found using len()
      • individual elements can be found using [0], [1], [-1], etc.
      • elements can be deleted using del
      • the -1th element can be extracted and removed in a single operation using pop(), or any element can be extracted and removed using pop(n)
    • as a dictionary
      • if setResultsName() is used to name elements within the overall parse expression, then these fields can be referenced as dictionary elements or as attributes
      • the Dict class generates dictionary entries using the data of the input text - in addition to ParseResults listed as [ [ a1, b1, c1, ...], [ a2, b2, c2, ...]  ] it also acts as a dictionary with entries defined as { a1 : [ b1, c1, ... ] }, { a2 : [ b2, c2, ... ] }; this is especially useful when processing tabular data where the first column contains a key value for that line of data
      • list elements that are deleted using del will still be accessible by their dictionary keys
      • supports get(), items() and keys() methods, similar to a dictionary
      • a keyed item can be extracted and removed using pop(key). Here key must be non-numeric (such as a string), in order to use dict extraction instead of list extraction.
      • new named elements can be added (in a parse action, for instance), using the same syntax as adding an item to a dict (parseResults["X"]="new item"); named elements can be removed using del parseResults["X"]
    • as a nested list
      • results returned from the Group class are encapsulated within their own list structure, so that the tokens can be handled as a hierarchical tree

    ParseResults can also be converted to an ordinary list of strings by calling asList(). Note that this will strip the results of any field names that have been defined for any embedded parse elements. (The pprint module is especially good at printing out the nested contents given by asList().)

    Finally, ParseResults can be converted to an XML string by calling asXML(). Where possible, results will be tagged using the results names defined for the respective ParseExpressions. asXML() takes two optional arguments:

    • doctagname - for ParseResults that do not have a defined name, this argument will wrap the resulting XML in a set of opening and closing tags <doctagname> and </doctagname>.
    • namedItemsOnly (default=False) - flag to indicate if the generated XML should skip items that do not have defined names. If a nested group item is named, then all embedded items will be included, whether they have names or not.

2.9   Exception classes and Troubleshooting

  • ParseException - exception returned when a grammar parse fails; ParseExceptions have attributes loc, msg, line, lineno, and column; to view the text line and location where the reported ParseException occurs, use:

    except ParseException, err:
        print err.line
        print " "*(err.column-1) + "^"
        print err
    
  • RecursiveGrammarException - exception returned by validate() if the grammar contains a recursive infinite loop, such as:

    badGrammar = Forward()
    goodToken = Literal("A")
    badGrammar <<= Optional(goodToken) + badGrammar
    
  • ParseFatalException - exception that parse actions can raise to stop parsing immediately. Should be used when a semantic error is found in the input text, such as a mismatched XML tag.

  • ParseSyntaxException - subclass of ParseFatalException raised when a syntax error is found, based on the use of the '-' operator when defining a sequence of expressions in an And expression.

You can also get some insights into the parsing logic using diagnostic parse actions, and setDebug(), or test the matching of expression fragments by testing them using scanString().

3   Miscellaneous attributes and methods

3.1   Helper methods

  • delimitedList( expr, delim=',') - convenience function for matching one or more occurrences of expr, separated by delim. By default, the delimiters are suppressed, so the returned results contain only the separate list elements. Can optionally specify combine=True, indicating that the expressions and delimiters should be returned as one combined value (useful for scoped variables, such as "a.b.c", or "a::b::c", or paths such as "a/b/c").

  • countedArray( expr ) - convenience function for a pattern where an list of instances of the given expression are preceded by an integer giving the count of elements in the list. Returns an expression that parses the leading integer, reads exactly that many expressions, and returns the array of expressions in the parse results - the leading integer is suppressed from the results (although it is easily reconstructed by using len on the returned array).

  • oneOf( string, caseless=False ) - convenience function for quickly declaring an alternative set of Literal tokens, by splitting the given string on whitespace boundaries. The tokens are sorted so that longer matches are attempted first; this ensures that a short token does not mask a longer one that starts with the same characters. If caseless=True, will create an alternative set of CaselessLiteral tokens.

  • dictOf( key, value ) - convenience function for quickly declaring a dictionary pattern of Dict( ZeroOrMore( Group( key + value ) ) ).

  • makeHTMLTags( tagName ) and makeXMLTags( tagName ) - convenience functions to create definitions of opening and closing tag expressions. Returns a pair of expressions, for the corresponding <tag> and </tag> strings. Includes support for attributes in the opening tag, such as <tag attr1="abc"> - attributes are returned as keyed tokens in the returned ParseResults. makeHTMLTags is less restrictive than makeXMLTags, especially with respect to case sensitivity.

  • infixNotation(baseOperand, operatorList) - (formerly named operatorPrecedence) convenience function to define a grammar for parsing infix notation expressions with a hierarchical precedence of operators. To use the infixNotation helper:

    1. Define the base "atom" operand term of the grammar. For this simple grammar, the smallest operand is either and integer or a variable. This will be the first argument to the infixNotation method.
    2. Define a list of tuples for each level of operator precendence. Each tuple is of the form (opExpr, numTerms, rightLeftAssoc, parseAction), where:
      • opExpr is the pyparsing expression for the operator; may also be a string, which will be converted to a Literal; if None, indicates an empty operator, such as the implied multiplication operation between 'm' and 'x' in "y = mx + b". If numTerms parameter is 3, this must be a 2-tuple containing the 2 delimiting operators.
      • numTerms is the number of terms for this operator (must be 1,2, or 3)
      • rightLeftAssoc is the indicator whether the operator is right or left associative, using the pyparsing-defined constants opAssoc.RIGHT and opAssoc.LEFT.
      • parseAction is the parse action to be associated with expressions matching this operator expression (the parse action tuple member may be omitted)
    3. Call infixNotation passing the operand expression and the operator precedence list, and save the returned value as the generated pyparsing expression. You can then use this expression to parse input strings, or incorporate it into a larger, more complex grammar.
  • matchPreviousLiteral and matchPreviousExpr - function to define and expression that matches the same content as was parsed in a previous parse expression. For instance:

    first = Word(nums)
    matchExpr = first + ":" + matchPreviousLiteral(first)
    

    will match "1:1", but not "1:2". Since this matches at the literal level, this will also match the leading "1:1" in "1:10".

    In contrast:

    first = Word(nums)
    matchExpr = first + ":" + matchPreviousExpr(first)
    

    will not match the leading "1:1" in "1:10"; the expressions are evaluated first, and then compared, so "1" is compared with "10".

  • nestedExpr(opener, closer, content=None, ignoreExpr=quotedString) - method for defining nested lists enclosed in opening and closing delimiters.

    • opener - opening character for a nested list (default="("); can also be a pyparsing expression
    • closer - closing character for a nested list (default=")"); can also be a pyparsing expression
    • content - expression for items within the nested lists (default=None)
    • ignoreExpr - expression for ignoring opening and closing delimiters (default=quotedString)

    If an expression is not provided for the content argument, the nested expression will capture all whitespace-delimited content between delimiters as a list of separate values.

    Use the ignoreExpr argument to define expressions that may contain opening or closing characters that should not be treated as opening or closing characters for nesting, such as quotedString or a comment expression. Specify multiple expressions using an Or or MatchFirst. The default is quotedString, but if no expressions are to be ignored, then pass None for this argument.

  • indentedBlock( statementExpr, indentationStackVar, indent=True) - function to define an indented block of statements, similar to indentation-based blocking in Python source code:

    • statementExpr - the expression defining a statement that will be found in the indented block; a valid indentedBlock must contain at least 1 matching statementExpr
    • indentationStackVar - a Python list variable; this variable should be common to all indentedBlock expressions defined within the same grammar, and should be reinitialized to [1] each time the grammar is to be used
    • indent - a boolean flag indicating whether the expressions within the block must be indented from the current parse location; if using indentedBlock to define the left-most statements (all starting in column 1), set indent to False
  • originalTextFor( expr ) - helper function to preserve the originally parsed text, regardless of any token processing or conversion done by the contained expression. For instance, the following expression:

    fullName = Word(alphas) + Word(alphas)
    

    will return the parse of "John Smith" as ['John', 'Smith']. In some applications, the actual name as it was given in the input string is what is desired. To do this, use originalTextFor:

    fullName = originalTextFor(Word(alphas) + Word(alphas))
    
  • ungroup( expr ) - function to "ungroup" returned tokens; useful to undo the default behavior of And to always group the returned tokens, even if there is only one in the list. (New in 1.5.6)

  • lineno( loc, string ) - function to give the line number of the location within the string; the first line is line 1, newlines start new rows

  • col( loc, string ) - function to give the column number of the location within the string; the first column is column 1, newlines reset the column number to 1

  • line( loc, string ) - function to retrieve the line of text representing lineno( loc, string ); useful when printing out diagnostic messages for exceptions

  • srange( rangeSpec ) - function to define a string of characters, given a string of the form used by regexp string ranges, such as "[0-9]" for all numeric digits, "[A-Z_]" for uppercase characters plus underscore, and so on (note that rangeSpec does not include support for generic regular expressions, just string range specs)

  • getTokensEndLoc() - function to call from within a parse action to get the ending location for the matched tokens

  • traceParseAction(fn) - decorator function to debug parse actions. Lists each call, called arguments, and return value or exception

3.2   Helper parse actions

  • removeQuotes - removes the first and last characters of a quoted string; useful to remove the delimiting quotes from quoted strings

  • replaceWith(replString) - returns a parse action that simply returns the replString; useful when using transformString, or converting HTML entities, as in:

    nbsp = Literal("&nbsp;").setParseAction( replaceWith("<BLANK>") )
    
  • keepOriginalText- (deprecated, use originalTextFor instead) restores any internal whitespace or suppressed text within the tokens for a matched parse expression. This is especially useful when defining expressions for scanString or transformString applications.

  • withAttribute( *args, **kwargs ) - helper to create a validating parse action to be used with start tags created with makeXMLTags or makeHTMLTags. Use withAttribute to qualify a starting tag with a required attribute value, to avoid false matches on common tags such as <TD> or <DIV>.

    withAttribute can be called with:

    • keyword arguments, as in (class="Customer",align="right"), or
    • a list of name-value tuples, as in ( ("ns1:class", "Customer"), ("ns2:align","right") )

    An attribute can be specified to have the special value withAttribute.ANY_VALUE, which will match any value - use this to ensure that an attribute is present but any attribute value is acceptable.

  • downcaseTokens - converts all matched tokens to lowercase

  • upcaseTokens - converts all matched tokens to uppercase

  • matchOnlyAtCol( columnNumber ) - a parse action that verifies that an expression was matched at a particular column, raising a ParseException if matching at a different column number; useful when parsing tabular data

3.3   Common string and token constants

  • alphas - same as string.letters

  • nums - same as string.digits

  • alphanums - a string containing alphas + nums

  • alphas8bit - a string containing alphabetic 8-bit characters:

    ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþ
    
  • printables - same as string.printable, minus the space (' ') character

  • empty - a global Empty(); will always match

  • sglQuotedString - a string of characters enclosed in 's; may include whitespace, but not newlines

  • dblQuotedString - a string of characters enclosed in "s; may include whitespace, but not newlines

  • quotedString - sglQuotedString | dblQuotedString

  • cStyleComment - a comment block delimited by '/*' and '*/' sequences; can span multiple lines, but does not support nesting of comments

  • htmlComment - a comment block delimited by '<!--' and '-->' sequences; can span multiple lines, but does not support nesting of comments

  • commaSeparatedList - similar to delimitedList, except that the list expressions can be any text value, or a quoted string; quoted strings can safely include commas without incorrectly breaking the string into two tokens

  • restOfLine - all remaining printable characters up to but not including the next newline

pyparsing-2.0.1/CHANGES0000644000175000017500000022020212171421160013214 0ustar zigozigo========== Change Log ========== Version 2.0.1 - July, 2013 -------------------------- - Removed use of "nonlocal" that prevented using this version of pyparsing with Python 2.6 and 2.7. This will make it easier to install for packages that depend on pyparsing, under Python versions 2.6 and later. Those using older versions of Python will have to manually install pyparsing 1.5.7. - Fixed implementation of <<= operator to return self; reported by Luc J. Bourhis, with patch fix by Mathias Mamsch - thanks, Luc and Mathias! Version 2.0.0 - November, 2012 ------------------------------ - Rather than release another combined Python 2.x/3.x release I've decided to start a new major version that is only compatible with Python 3.x (and consequently Python 2.7 as well due to backporting of key features). This version will be the main development path from now on, with little follow-on development on the 1.5.x path. - Operator '<<' is now deprecated, in favor of operator '<<=' for attaching parsing expressions to Forward() expressions. This is being done to address precedence of operations problems with '<<'. Operator '<<' will be removed in a future version of pyparsing. Version 1.5.7 - November, 2012 ----------------------------- - NOTE: This is the last release of pyparsing that will try to maintain compatibility with Python versions < 2.6. The next release of pyparsing will be version 2.0.0, using new Python syntax that will not be compatible for Python version 2.5 or older. - An awesome new example is included in this release, submitted by Luca DellOlio, for parsing ANTLR grammar definitions, nice work Luca! - Fixed implementation of ParseResults.__str__ to use Pythonic ''.join() instead of repeated string concatenation. This purportedly has been a performance issue under PyPy. - Fixed bug in ParseResults.__dir__ under Python 3, reported by Thomas Kluyver, thank you Thomas! - Added ParserElement.inlineLiteralsUsing static method, to override pyparsing's default behavior of converting string literals to Literal instances, to use other classes (such as Suppress or CaselessLiteral). - Added new operator '<<=', which will eventually replace '<<' for storing the contents of a Forward(). '<<=' does not have the same operator precedence problems that '<<' does. - 'operatorPrecedence' is being renamed 'infixNotation' as a better description of what this helper function creates. 'operatorPrecedence' is deprecated, and will be dropped entirely in a future release. - Added optional arguments lpar and rpar to operatorPrecedence, so that expressions that use it can override the default suppression of the grouping characters. - Added support for using single argument builtin functions as parse actions. Now you can write 'expr.setParseAction(len)' and get back the length of the list of matched tokens. Supported builtins are: sum, len, sorted, reversed, list, tuple, set, any, all, min, and max. A script demonstrating this feature is included in the examples directory. - Improved linking in generated docs, proposed on the pyparsing wiki by techtonik, thanks! - Fixed a bug in the definition of 'alphas', which was based on the string.uppercase and string.lowercase "constants", which in fact *aren't* constant, but vary with locale settings. This could make parsers locale-sensitive in a subtle way. Thanks to Kef Schecter for his diligence in following through on reporting and monitoring this bugfix! - Fixed a bug in the Py3 version of pyparsing, during exception handling with packrat parsing enabled, reported by Catherine Devlin - thanks Catherine! - Fixed typo in ParseBaseException.__dir__, reported anonymously on the SourceForge bug tracker, thank you Pyparsing User With No Name. - Fixed bug in srange when using '\x###' hex character codes. - Addeed optional 'intExpr' argument to countedArray, so that you can define your own expression that will evaluate to an integer, to be used as the count for the following elements. Allows you to define a countedArray with the count given in hex, for example, by defining intExpr as "Word(hexnums).setParseAction(int(t[0],16))". Version 1.5.6 - June, 2011 ---------------------------- - Cleanup of parse action normalizing code, to be more version-tolerant, and robust in the face of future Python versions - much thanks to Raymond Hettinger for this rewrite! - Removal of exception cacheing, addressing a memory leak condition in Python 3. Thanks to Michael Droettboom and the Cape Town PUG for their analysis and work on this problem! - Fixed bug when using packrat parsing, where a previously parsed expression would duplicate subsequent tokens - reported by Frankie Ribery on stackoverflow, thanks! - Added 'ungroup' helper method, to address token grouping done implicitly by And expressions, even if only one expression in the And actually returns any text - also inspired by stackoverflow discussion with Frankie Ribery! - Fixed bug in srange, which accepted escaped hex characters of the form '\0x##', but should be '\x##'. Both forms will be supported for backwards compatibility. - Enhancement to countedArray, accepting an optional expression to be used for matching the leading integer count - proposed by Mathias on the pyparsing mailing list, good idea! - Added the Verilog parser to the provided set of examples, under the MIT license. While this frees up this parser for any use, if you find yourself using it in a commercial purpose, please consider making a charitable donation as described in the parser's header. - Added the excludeChars argument to the Word class, to simplify defining a word composed of all characters in a large range except for one or two. Suggested by JesterEE on the pyparsing wiki. - Added optional overlap parameter to scanString, to return overlapping matches found in the source text. - Updated oneOf internal regular expression generation, with improved parse time performance. - Slight performance improvement in transformString, removing empty strings from the list of string fragments built while scanning the source text, before calling ''.join. Especially useful when using transformString to strip out selected text. - Enhanced form of using the "expr('name')" style of results naming, in lieu of calling setResultsName. If name ends with an '*', then this is equivalent to expr.setResultsName('name',listAllMatches=True). - Fixed up internal list flattener to use iteration instead of recursion, to avoid stack overflow when transforming large files. - Added other new examples: . protobuf parser - parses Google's protobuf language . btpyparse - a BibTex parser contributed by Matthew Brett, with test suite test_bibparse.py (thanks, Matthew!) . groupUsingListAllMatches.py - demo using trailing '*' for results names Version 1.5.5 - August, 2010 ---------------------------- - Typo in Python3 version of pyparsing, "builtin" should be "builtins". (sigh) Version 1.5.4 - August, 2010 ---------------------------- - Fixed __builtins__ and file references in Python 3 code, thanks to Greg Watson, saulspatz, sminos, and Mark Summerfield for reporting their Python 3 experiences. - Added new example, apicheck.py, as a sample of scanning a Tcl-like language for functions with incorrect number of arguments (difficult to track down in Tcl languages). This example uses some interesting methods for capturing exceptions while scanning through source code. - Added new example deltaTime.py, that takes everyday time references like "an hour from now", "2 days ago", "next Sunday at 2pm". Version 1.5.3 - June, 2010 -------------------------- - ======= NOTE: API CHANGE!!!!!!! =============== With this release, and henceforward, the pyparsing module is imported as "pyparsing" on both Python 2.x and Python 3.x versions. - Fixed up setup.py to auto-detect Python version and install the correct version of pyparsing - suggested by Alex Martelli, thanks, Alex! (and my apologies to all those who struggled with those spurious installation errors caused by my earlier fumblings!) - Fixed bug on Python3 when using parseFile, getting bytes instead of a str from the input file. - Fixed subtle bug in originalTextFor, if followed by significant whitespace (like a newline) - discovered by Francis Vidal, thanks! - Fixed very sneaky bug in Each, in which Optional elements were not completely recognized as optional - found by Tal Weiss, thanks for your patience. - Fixed off-by-1 bug in line() method when the first line of the input text was an empty line. Thanks to John Krukoff for submitting a patch! - Fixed bug in transformString if grammar contains Group expressions, thanks to patch submitted by barnabas79, nice work! - Fixed bug in originalTextFor in which trailing comments or otherwised ignored text got slurped in with the matched expression. Thanks to michael_ramirez44 on the pyparsing wiki for reporting this just in time to get into this release! - Added better support for summing ParseResults, see the new example, parseResultsSumExample.py. - Added support for composing a Regex using a compiled RE object; thanks to my new colleague, Mike Thornton! - In version 1.5.2, I changed the way exceptions are raised in order to simplify the stacktraces reported during parsing. An anonymous user posted a bug report on SF that this behavior makes it difficult to debug some complex parsers, or parsers nested within parsers. In this release I've added a class attribute ParserElement.verbose_stacktrace, with a default value of False. If you set this to True, pyparsing will report stacktraces using the pre-1.5.2 behavior. - New examples: . pymicko.py, a MicroC compiler submitted by Zarko Zivanov. (Note: this example is separately licensed under the GPLv3, and requires Python 2.6 or higher.) Thank you, Zarko! . oc.py, a subset C parser, using the BNF from the 1996 Obfuscated C Contest. . stateMachine2.py, a modified version of stateMachine.py submitted by Matt Anderson, that is compatible with Python versions 2.7 and above - thanks so much, Matt! . select_parser.py, a parser for reading SQLite SELECT statements, as specified at http://www.sqlite.org/lang_select.html; this goes into much more detail than the simple SQL parser included in pyparsing's source code . excelExpr.py, a *simplistic* first-cut at a parser for Excel expressions, which I originally posted on comp.lang.python in January, 2010; beware, this parser omits many common Excel cases (addition of numbers represented as strings, references to named ranges) . cpp_enum_parser.py, a nice little parser posted my Mark Tolonen on comp.lang.python in August, 2009 (redistributed here with Mark's permission). Thanks a bunch, Mark! . partial_gene_match.py, a sample I posted to Stackoverflow.com, implementing a special variation on Literal that does "close" matching, up to a given number of allowed mismatches. The application was to find matching gene sequences, with allowance for one or two mismatches. . tagCapture.py, a sample showing how to use a Forward placeholder to enforce matching of text parsed in a previous expression. . matchPreviousDemo.py, simple demo showing how the matchPreviousLiteral helper method is used to match a previously parsed token. Version 1.5.2 - April, 2009 ------------------------------ - Added pyparsing_py3.py module, so that Python 3 users can use pyparsing by changing their pyparsing import statement to: import pyparsing_py3 Thanks for help from Patrick Laban and his friend Geremy Condra on the pyparsing wiki. - Removed __slots__ declaration on ParseBaseException, for compatibility with IronPython 2.0.1. Raised by David Lawler on the pyparsing wiki, thanks David! - Fixed bug in SkipTo/failOn handling - caught by eagle eye cpennington on the pyparsing wiki! - Fixed second bug in SkipTo when using the ignore constructor argument, reported by Catherine Devlin, thanks! - Fixed obscure bug reported by Eike Welk when using a class as a ParseAction with an errant __getitem__ method. - Simplified exception stack traces when reporting parse exceptions back to caller of parseString or parseFile - thanks to a tip from Peter Otten on comp.lang.python. - Changed behavior of scanString to avoid infinitely looping on expressions that match zero-length strings. Prompted by a question posted by ellisonbg on the wiki. - Enhanced classes that take a list of expressions (And, Or, MatchFirst, and Each) to accept generator expressions also. This can be useful when generating lists of alternative expressions, as in this case, where the user wanted to match any repetitions of '+', '*', '#', or '.', but not mixtures of them (that is, match '+++', but not '+-+'): codes = "+*#." format = MatchFirst(Word(c) for c in codes) Based on a problem posed by Denis Spir on the Python tutor list. - Added new example eval_arith.py, which extends the example simpleArith.py to actually evaluate the parsed expressions. Version 1.5.1 - October, 2008 ------------------------------- - Added new helper method originalTextFor, to replace the use of the current keepOriginalText parse action. Now instead of using the parse action, as in: fullName = Word(alphas) + Word(alphas) fullName.setParseAction(keepOriginalText) (in this example, we used keepOriginalText to restore any white space that may have been skipped between the first and last names) You can now write: fullName = originalTextFor(Word(alphas) + Word(alphas)) The implementation of originalTextFor is simpler and faster than keepOriginalText, and does not depend on using the inspect or imp modules. - Added optional parseAll argument to parseFile, to be consistent with parseAll argument to parseString. Posted by pboucher on the pyparsing wiki, thanks! - Added failOn argument to SkipTo, so that grammars can define literal strings or pyparsing expressions which, if found in the skipped text, will cause SkipTo to fail. Useful to prevent SkipTo from reading past terminating expression. Instigated by question posed by Aki Niimura on the pyparsing wiki. - Fixed bug in nestedExpr if multi-character expressions are given for nesting delimiters. Patch provided by new pyparsing user, Hans-Martin Gaudecker - thanks, H-M! - Removed dependency on xml.sax.saxutils.escape, and included internal implementation instead - proposed by Mike Droettboom on the pyparsing mailing list, thanks Mike! Also fixed erroneous mapping in replaceHTMLEntity of " to ', now correctly maps to ". (Also added support for mapping ' to '.) - Fixed typo in ParseResults.insert, found by Alejandro Dubrovsky, good catch! - Added __dir__() methods to ParseBaseException and ParseResults, to support new dir() behavior in Py2.6 and Py3.0. If dir() is called on a ParseResults object, the returned list will include the base set of attribute names, plus any results names that are defined. - Fixed bug in ParseResults.asXML(), in which the first named item within a ParseResults gets reported with an tag instead of with the correct results name. - Fixed bug in '-' error stop, when '-' operator is used inside a Combine expression. - Reverted generator expression to use list comprehension, for better compatibility with old versions of Python. Reported by jester/artixdesign on the SourceForge pyparsing discussion list. - Fixed bug in parseString(parseAll=True), when the input string ends with a comment or whitespace. - Fixed bug in LineStart and LineEnd that did not recognize any special whitespace chars defined using ParserElement.setDefault- WhitespaceChars, found while debugging an issue for Marek Kubica, thanks for the new test case, Marek! - Made Forward class more tolerant of subclassing. Version 1.5.0 - June, 2008 -------------------------- This version of pyparsing includes work on two long-standing FAQ's: support for forcing parsing of the complete input string (without having to explicitly append StringEnd() to the grammar), and a method to improve the mechanism of detecting where syntax errors occur in an input string with various optional and alternative paths. This release also includes a helper method to simplify definition of indentation-based grammars. With these changes (and the past few minor updates), I thought it was finally time to bump the minor rev number on pyparsing - so 1.5.0 is now available! Read on... - AT LAST!!! You can now call parseString and have it raise an exception if the expression does not parse the entire input string. This has been an FAQ for a LONG time. The parseString method now includes an optional parseAll argument (default=False). If parseAll is set to True, then the given parse expression must parse the entire input string. (This is equivalent to adding StringEnd() to the end of the expression.) The default value is False to retain backward compatibility. Inspired by MANY requests over the years, most recently by ecir-hana on the pyparsing wiki! - Added new operator '-' for composing grammar sequences. '-' behaves just like '+' in creating And expressions, but '-' is used to mark grammar structures that should stop parsing immediately and report a syntax error, rather than just backtracking to the last successful parse and trying another alternative. For instance, running the following code: port_definition = Keyword("port") + '=' + Word(nums) entity_definition = Keyword("entity") + "{" + Optional(port_definition) + "}" entity_definition.parseString("entity { port 100 }") pyparsing fails to detect the missing '=' in the port definition. But, since this expression is optional, pyparsing then proceeds to try to match the closing '}' of the entity_definition. Not finding it, pyparsing reports that there was no '}' after the '{' character. Instead, we would like pyparsing to parse the 'port' keyword, and if not followed by an equals sign and an integer, to signal this as a syntax error. This can now be done simply by changing the port_definition to: port_definition = Keyword("port") - '=' + Word(nums) Now after successfully parsing 'port', pyparsing must also find an equals sign and an integer, or it will raise a fatal syntax exception. By judicious insertion of '-' operators, a pyparsing developer can have their grammar report much more informative syntax error messages. Patches and suggestions proposed by several contributors on the pyparsing mailing list and wiki - special thanks to Eike Welk and Thomas/Poldy on the pyparsing wiki! - Added indentedBlock helper method, to encapsulate the parse actions and indentation stack management needed to keep track of indentation levels. Use indentedBlock to define grammars for indentation-based grouping grammars, like Python's. indentedBlock takes up to 3 parameters: - blockStatementExpr - expression defining syntax of statement that is repeated within the indented block - indentStack - list created by caller to manage indentation stack (multiple indentedBlock expressions within a single grammar should share a common indentStack) - indent - boolean indicating whether block must be indented beyond the the current level; set to False for block of left-most statements (default=True) A valid block must contain at least one indented statement. - Fixed bug in nestedExpr in which ignored expressions needed to be set off with whitespace. Reported by Stefaan Himpe, nice catch! - Expanded multiplication of an expression by a tuple, to accept tuple values of None: . expr*(n,None) or expr*(n,) is equivalent to expr*n + ZeroOrMore(expr) (read as "at least n instances of expr") . expr*(None,n) is equivalent to expr*(0,n) (read as "0 to n instances of expr") . expr*(None,None) is equivalent to ZeroOrMore(expr) . expr*(1,None) is equivalent to OneOrMore(expr) Note that expr*(None,n) does not raise an exception if more than n exprs exist in the input stream; that is, expr*(None,n) does not enforce a maximum number of expr occurrences. If this behavior is desired, then write expr*(None,n) + ~expr - Added None as a possible operator for operatorPrecedence. None signifies "no operator", as in multiplying m times x in "y=mx+b". - Fixed bug in Each, reported by Michael Ramirez, in which the order of terms in the Each affected the parsing of the results. Problem was due to premature grouping of the expressions in the overall Each during grammar construction, before the complete Each was defined. Thanks, Michael! - Also fixed bug in Each in which Optional's with default values were not getting the defaults added to the results of the overall Each expression. - Fixed a bug in Optional in which results names were not assigned if a default value was supplied. - Cleaned up Py3K compatibility statements, including exception construction statements, and better equivalence between _ustr and basestring, and __nonzero__ and __bool__. Version 1.4.11 - February, 2008 ------------------------------- - With help from Robert A. Clark, this version of pyparsing is compatible with Python 3.0a3. Thanks for the help, Robert! - Added WordStart and WordEnd positional classes, to support expressions that must occur at the start or end of a word. Proposed by piranha on the pyparsing wiki, good idea! - Added matchOnlyAtCol helper parser action, to simplify parsing log or data files that have optional fields that are column dependent. Inspired by a discussion thread with hubritic on comp.lang.python. - Added withAttribute.ANY_VALUE as a match-all value when using withAttribute. Used to ensure that an attribute is present, without having to match on the actual attribute value. - Added get() method to ParseResults, similar to dict.get(). Suggested by new pyparsing user, Alejandro Dubrovksy, thanks! - Added '==' short-cut to see if a given string matches a pyparsing expression. For instance, you can now write: integer = Word(nums) if "123" == integer: # do something print [ x for x in "123 234 asld".split() if x==integer ] # prints ['123', '234'] - Simplified the use of nestedExpr when using an expression for the opening or closing delimiters. Now the content expression will not have to explicitly negate closing delimiters. Found while working with dfinnie on GHOP Task #277, thanks! - Fixed bug when defining ignorable expressions that are later enclosed in a wrapper expression (such as ZeroOrMore, OneOrMore, etc.) - found while working with Prabhu Gurumurthy, thanks Prahbu! - Fixed bug in withAttribute in which keys were automatically converted to lowercase, making it impossible to match XML attributes with uppercase characters in them. Using with- Attribute requires that you reference attributes in all lowercase if parsing HTML, and in correct case when parsing XML. - Changed '<<' operator on Forward to return None, since this is really used as a pseudo-assignment operator, not as a left-shift operator. By returning None, it is easier to catch faulty statements such as a << b | c, where precedence of operations causes the '|' operation to be performed *after* inserting b into a, so no alternation is actually implemented. The correct form is a << (b | c). With this change, an error will be reported instead of silently clipping the alternative term. (Note: this may break some existing code, but if it does, the code had a silent bug in it anyway.) Proposed by wcbarksdale on the pyparsing wiki, thanks! - Several unit tests were added to pyparsing's regression suite, courtesy of the Google Highly-Open Participation Contest. Thanks to all who administered and took part in this event! Version 1.4.10 - December 9, 2007 --------------------------------- - Fixed bug introduced in v1.4.8, parse actions were called for intermediate operator levels, not just the deepest matching operation level. Again, big thanks to Torsten Marek for helping isolate this problem! Version 1.4.9 - December 8, 2007 -------------------------------- - Added '*' multiplication operator support when creating grammars, accepting either an integer, or a two-integer tuple multiplier, as in: ipAddress = Word(nums) + ('.'+Word(nums))*3 usPhoneNumber = Word(nums) + ('-'+Word(nums))*(1,2) If multiplying by a tuple, the two integer values represent min and max multiples. Suggested by Vincent of eToy.com, great idea, Vincent! - Fixed bug in nestedExpr, original version was overly greedy! Thanks to Michael Ramirez for raising this issue. - Fixed internal bug in ParseResults - when an item was deleted, the key indices were not updated. Thanks to Tim Mitchell for posting a bugfix patch to the SF bug tracking system! - Fixed internal bug in operatorPrecedence - when the results of a right-associative term were sent to a parse action, the wrong tokens were sent. Reported by Torsten Marek, nice job! - Added pop() method to ParseResults. If pop is called with an integer or with no arguments, it will use list semantics and update the ParseResults' list of tokens. If pop is called with a non-integer (a string, for instance), then it will use dict semantics and update the ParseResults' internal dict. Suggested by Donn Ingle, thanks Donn! - Fixed quoted string built-ins to accept '\xHH' hex characters within the string. Version 1.4.8 - October, 2007 ----------------------------- - Added new helper method nestedExpr to easily create expressions that parse lists of data in nested parentheses, braces, brackets, etc. - Added withAttribute parse action helper, to simplify creating filtering parse actions to attach to expressions returned by makeHTMLTags and makeXMLTags. Use withAttribute to qualify a starting tag with one or more required attribute values, to avoid false matches on common tags such as or
. - Added new examples nested.py and withAttribute.py to demonstrate the new features. - Added performance speedup to grammars using operatorPrecedence, instigated by Stefan Reichr - thanks for the feedback, Stefan! - Fixed bug/typo when deleting an element from a ParseResults by using the element's results name. - Fixed whitespace-skipping bug in wrapper classes (such as Group, Suppress, Combine, etc.) and when using setDebug(), reported by new pyparsing user dazzawazza on SourceForge, nice job! - Added restriction to prevent defining Word or CharsNotIn expressions with minimum length of 0 (should use Optional if this is desired), and enhanced docstrings to reflect this limitation. Issue was raised by Joey Tallieu, who submitted a patch with a slightly different solution. Thanks for taking the initiative, Joey, and please keep submitting your ideas! - Fixed bug in makeHTMLTags that did not detect HTML tag attributes with no '= value' portion (such as ""), reported by hamidh on the pyparsing wiki - thanks! - Fixed minor bug in makeHTMLTags and makeXMLTags, which did not accept whitespace in closing tags. Version 1.4.7 - July, 2007 -------------------------- - NEW NOTATION SHORTCUT: ParserElement now accepts results names using a notational shortcut, following the expression with the results name in parentheses. So this: stats = "AVE:" + realNum.setResultsName("average") + \ "MIN:" + realNum.setResultsName("min") + \ "MAX:" + realNum.setResultsName("max") can now be written as this: stats = "AVE:" + realNum("average") + \ "MIN:" + realNum("min") + \ "MAX:" + realNum("max") The intent behind this change is to make it simpler to define results names for significant fields within the expression, while keeping the grammar syntax clean and uncluttered. - Fixed bug when packrat parsing is enabled, with cached ParseResults being updated by subsequent parsing. Reported on the pyparsing wiki by Kambiz, thanks! - Fixed bug in operatorPrecedence for unary operators with left associativity, if multiple operators were given for the same term. - Fixed bug in example simpleBool.py, corrected precedence of "and" vs. "or" operations. - Fixed bug in Dict class, in which keys were converted to strings whether they needed to be or not. Have narrowed this logic to convert keys to strings only if the keys are ints (which would confuse __getitem__ behavior for list indexing vs. key lookup). - Added ParserElement method setBreak(), which will invoke the pdb module's set_trace() function when this expression is about to be parsed. - Fixed bug in StringEnd in which reading off the end of the input string raises an exception - should match. Resolved while answering a question for Shawn on the pyparsing wiki. Version 1.4.6 - April, 2007 --------------------------- - Simplified constructor for ParseFatalException, to support common exception construction idiom: raise ParseFatalException, "unexpected text: 'Spanish Inquisition'" - Added method getTokensEndLoc(), to be called from within a parse action, for those parse actions that need both the starting *and* ending location of the parsed tokens within the input text. - Enhanced behavior of keepOriginalText so that named parse fields are preserved, even though tokens are replaced with the original input text matched by the current expression. Also, cleaned up the stack traversal to be more robust. Suggested by Tim Arnold - thanks, Tim! - Fixed subtle bug in which countedArray (and similar dynamic expressions configured in parse actions) failed to match within Or, Each, FollowedBy, or NotAny. Reported by Ralf Vosseler, thanks for your patience, Ralf! - Fixed Unicode bug in upcaseTokens and downcaseTokens parse actions, scanString, and default debugging actions; reported (and patch submitted) by Nikolai Zamkovoi, spasibo! - Fixed bug when saving a tuple as a named result. The returned token list gave the proper tuple value, but accessing the result by name only gave the first element of the tuple. Reported by Poromenos, nice catch! - Fixed bug in makeHTMLTags/makeXMLTags, which failed to match tag attributes with namespaces. - Fixed bug in SkipTo when setting include=True, to have the skipped-to tokens correctly included in the returned data. Reported by gunars on the pyparsing wiki, thanks! - Fixed typobug in OnceOnly.reset method, omitted self argument. Submitted by eike welk, thanks for the lint-picking! - Added performance enhancement to Forward class, suggested by akkartik on the pyparsing Wiki discussion, nice work! - Added optional asKeyword to Word constructor, to indicate that the given word pattern should be matched only as a keyword, that is, it should only match if it is within word boundaries. - Added S-expression parser to examples directory. - Added macro substitution example to examples directory. - Added holaMundo.py example, excerpted from Marco Alfonso's blog - muchas gracias, Marco! - Modified internal cyclic references in ParseResults to use weakrefs; this should help reduce the memory footprint of large parsing programs, at some cost to performance (3-5%). Suggested by bca48150 on the pyparsing wiki, thanks! - Enhanced the documentation describing the vagaries and idiosyncracies of parsing strings with embedded tabs, and the impact on: . parse actions . scanString . col and line helper functions (Suggested by eike welk in response to some unexplained inconsistencies between parsed location and offsets in the input string.) - Cleaned up internal decorators to preserve function names, docstrings, etc. Version 1.4.5 - December, 2006 ------------------------------ - Removed debugging print statement from QuotedString class. Sorry for not stripping this out before the 1.4.4 release! - A significant performance improvement, the first one in a while! For my Verilog parser, this version of pyparsing is about double the speed - YMMV. - Added support for pickling of ParseResults objects. (Reported by Jeff Poole, thanks Jeff!) - Fixed minor bug in makeHTMLTags that did not recognize tag attributes with embedded '-' or '_' characters. Also, added support for passing expressions to makeHTMLTags and makeXMLTags, and used this feature to define the globals anyOpenTag and anyCloseTag. - Fixed error in alphas8bit, I had omitted the y-with-umlaut character. - Added punc8bit string to complement alphas8bit - it contains all the non-alphabetic, non-blank 8-bit characters. - Added commonHTMLEntity expression, to match common HTML "ampersand" codes, such as "<", ">", "&", " ", and """. This expression also defines a results name 'entity', which can be used to extract the entity field (that is, "lt", "gt", etc.). Also added built-in parse action replaceHTMLEntity, which can be attached to commonHTMLEntity to translate "<", ">", "&", " ", and """ to "<", ">", "&", " ", and "'". - Added example, htmlStripper.py, that strips HTML tags and scripts from HTML pages. It also translates common HTML entities to their respective characters. Version 1.4.4 - October, 2006 ------------------------------- - Fixed traceParseAction decorator to also trap and record exception returns from parse actions, and to handle parse actions with 0, 1, 2, or 3 arguments. - Enhanced parse action normalization to support using classes as parse actions; that is, the class constructor is called at parse time and the __init__ function is called with 0, 1, 2, or 3 arguments. If passing a class as a parse action, the __init__ method must use one of the valid parse action parameter list formats. (This technique is useful when using pyparsing to compile parsed text into a series of application objects - see the new example simpleBool.py.) - Fixed bug in ParseResults when setting an item using an integer index. (Reported by Christopher Lambacher, thanks!) - Fixed whitespace-skipping bug, patch submitted by Paolo Losi - grazie, Paolo! - Fixed bug when a Combine contained an embedded Forward expression, reported by cie on the pyparsing wiki - good catch! - Fixed listAllMatches bug, when a listAllMatches result was nested within another result. (Reported by don pasquale on comp.lang.python, well done!) - Fixed bug in ParseResults items() method, when returning an item marked as listAllMatches=True - Fixed bug in definition of cppStyleComment (and javaStyleComment) in which '//' line comments were not continued to the next line if the line ends with a '\'. (Reported by eagle-eyed Ralph Corderoy!) - Optimized re's for cppStyleComment and quotedString for better re performance - also provided by Ralph Corderoy, thanks! - Added new example, indentedGrammarExample.py, showing how to define a grammar using indentation to show grouping (as Python does for defining statement nesting). Instigated by an e-mail discussion with Andrew Dalke, thanks Andrew! - Added new helper operatorPrecedence (based on e-mail list discussion with Ralph Corderoy and Paolo Losi), to facilitate definition of grammars for expressions with unary and binary operators. For instance, this grammar defines a 6-function arithmetic expression grammar, with unary plus and minus, proper operator precedence,and right- and left-associativity: expr = operatorPrecedence( operand, [("!", 1, opAssoc.LEFT), ("^", 2, opAssoc.RIGHT), (oneOf("+ -"), 1, opAssoc.RIGHT), (oneOf("* /"), 2, opAssoc.LEFT), (oneOf("+ -"), 2, opAssoc.LEFT),] ) Also added example simpleArith.py and simpleBool.py to provide more detailed code samples using this new helper method. - Added new helpers matchPreviousLiteral and matchPreviousExpr, for creating adaptive parsing expressions that match the same content as was parsed in a previous parse expression. For instance: first = Word(nums) matchExpr = first + ":" + matchPreviousLiteral(first) will match "1:1", but not "1:2". Since this matches at the literal level, this will also match the leading "1:1" in "1:10". In contrast: first = Word(nums) matchExpr = first + ":" + matchPreviousExpr(first) will *not* match the leading "1:1" in "1:10"; the expressions are evaluated first, and then compared, so "1" is compared with "10". - Added keepOriginalText parse action. Sometimes pyparsing's whitespace-skipping leaves out too much whitespace. Adding this parse action will restore any internal whitespace for a parse expression. This is especially useful when defining expressions for scanString or transformString applications. - Added __add__ method for ParseResults class, to better support using Python sum built-in for summing ParseResults objects returned from scanString. - Added reset method for the new OnlyOnce class wrapper for parse actions (to allow a grammar to be used multiple times). - Added optional maxMatches argument to scanString and searchString, to short-circuit scanning after 'n' expression matches are found. Version 1.4.3 - July, 2006 ------------------------------ - Fixed implementation of multiple parse actions for an expression (added in 1.4.2). . setParseAction() reverts to its previous behavior, setting one (or more) actions for an expression, overwriting any action or actions previously defined . new method addParseAction() appends one or more parse actions to the list of parse actions attached to an expression Now it is harder to accidentally append parse actions to an expression, when what you wanted to do was overwrite whatever had been defined before. (Thanks, Jean-Paul Calderone!) - Simplified interface to parse actions that do not require all 3 parse action arguments. Very rarely do parse actions require more than just the parsed tokens, yet parse actions still require all 3 arguments including the string being parsed and the location within the string where the parse expression was matched. With this release, parse actions may now be defined to be called as: . fn(string,locn,tokens) (the current form) . fn(locn,tokens) . fn(tokens) . fn() The setParseAction and addParseAction methods will internally decorate the provided parse actions with compatible wrappers to conform to the full (string,locn,tokens) argument sequence. - REMOVED SUPPORT FOR RETURNING PARSE LOCATION FROM A PARSE ACTION. I announced this in March, 2004, and gave a final warning in the last release. Now you can return a tuple from a parse action, and it will be treated like any other return value (i.e., the tuple will be substituted for the incoming tokens passed to the parse action, which is useful when trying to parse strings into tuples). - Added setFailAction method, taking a callable function fn that takes the arguments fn(s,loc,expr,err) where: . s - string being parsed . loc - location where expression match was attempted and failed . expr - the parse expression that failed . err - the exception thrown The function returns no values. It may throw ParseFatalException if it is desired to stop parsing immediately. (Suggested by peter21081944 on wikispaces.com) - Added class OnlyOnce as helper wrapper for parse actions. OnlyOnce only permits a parse action to be called one time, after which all subsequent calls throw a ParseException. - Added traceParseAction decorator to help debug parse actions. Simply insert "@traceParseAction" ahead of the definition of your parse action, and each invocation will be displayed, along with incoming arguments, and returned value. - Fixed bug when copying ParserElements using copy() or setResultsName(). (Reported by Dan Thill, great catch!) - Fixed bug in asXML() where token text contains <, >, and & characters - generated XML now escapes these as <, > and &. (Reported by Jacek Sieka, thanks!) - Fixed bug in SkipTo() when searching for a StringEnd(). (Reported by Pete McEvoy, thanks Pete!) - Fixed "except Exception" statements, the most critical added as part of the packrat parsing enhancement. (Thanks, Erick Tryzelaar!) - Fixed end-of-string infinite looping on LineEnd and StringEnd expressions. (Thanks again to Erick Tryzelaar.) - Modified setWhitespaceChars to return self, to be consistent with other ParserElement modifiers. (Suggested by Erick Tryzelaar.) - Fixed bug/typo in new ParseResults.dump() method. - Fixed bug in searchString() method, in which only the first token of an expression was returned. searchString() now returns a ParseResults collection of all search matches. - Added example program removeLineBreaks.py, a string transformer that converts text files with hard line-breaks into one with line breaks only between paragraphs. - Added example program listAllMatches.py, to illustrate using the listAllMatches option when specifying results names (also shows new support for passing lists to oneOf). - Added example program linenoExample.py, to illustrate using the helper methods lineno, line, and col, and returning objects from a parse action. - Added example program parseListString.py, to which can parse the string representation of a Python list back into a true list. Taken mostly from my PyCon presentation examples, but now with support for tuple elements, too! Version 1.4.2 - April 1, 2006 (No foolin'!) ------------------------------------------- - Significant speedup from memoizing nested expressions (a technique known as "packrat parsing"), thanks to Chris Lesniewski-Laas! Your mileage may vary, but my Verilog parser almost doubled in speed to over 600 lines/sec! This speedup may break existing programs that use parse actions that have side-effects. For this reason, packrat parsing is disabled when you first import pyparsing. To activate the packrat feature, your program must call the class method ParserElement.enablePackrat(). If your program uses psyco to "compile as you go", you must call enablePackrat before calling psyco.full(). If you do not do this, Python will crash. For best results, call enablePackrat() immediately after importing pyparsing. - Added new helper method countedArray(expr), for defining patterns that start with a leading integer to indicate the number of array elements, followed by that many elements, matching the given expr parse expression. For instance, this two-liner: wordArray = countedArray(Word(alphas)) print wordArray.parseString("3 Practicality beats purity")[0] returns the parsed array of words: ['Practicality', 'beats', 'purity'] The leading token '3' is suppressed, although it is easily obtained from the length of the returned array. (Inspired by e-mail discussion with Ralf Vosseler.) - Added support for attaching multiple parse actions to a single ParserElement. (Suggested by Dan "Dang" Griffith - nice idea, Dan!) - Added support for asymmetric quoting characters in the recently-added QuotedString class. Now you can define your own quoted string syntax like "<>". To define this custom form of QuotedString, your code would define: dblAngleQuotedString = QuotedString('<<',endQuoteChar='>>') QuotedString also supports escaped quotes, escape character other than '\', and multiline. - Changed the default value returned internally by Optional, so that None can be used as a default value. (Suggested by Steven Bethard - I finally saw the light!) - Added dump() method to ParseResults, to make it easier to list out and diagnose values returned from calling parseString. - A new example, a search query string parser, submitted by Steven Mooij and Rudolph Froger - a very interesting application, thanks! - Added an example that parses the BNF in Python's Grammar file, in support of generating Python grammar documentation. (Suggested by J H Stovall.) - A new example, submitted by Tim Cera, of a flexible parser module, using a simple config variable to adjust parsing for input formats that have slight variations - thanks, Tim! - Added an example for parsing Roman numerals, showing the capability of parse actions to "compile" Roman numerals into their integer values during parsing. - Added a new docs directory, for additional documentation or help. Currently, this includes the text and examples from my recent presentation at PyCon. - Fixed another typo in CaselessKeyword, thanks Stefan Behnel. - Expanded oneOf to also accept tuples, not just lists. This really should be sufficient... - Added deprecation warnings when tuple is returned from a parse action. Looking back, I see that I originally deprecated this feature in March, 2004, so I'm guessing people really shouldn't have been using this feature - I'll drop it altogether in the next release, which will allow users to return a tuple from a parse action (which is really handy when trying to reconstuct tuples from a tuple string representation!). Version 1.4.1 - February, 2006 ------------------------------ - Converted generator expression in QuotedString class to list comprehension, to retain compatibility with Python 2.3. (Thanks, Titus Brown for the heads-up!) - Added searchString() method to ParserElement, as an alternative to using "scanString(instring).next()[0][0]" to search through a string looking for a substring matching a given parse expression. (Inspired by e-mail conversation with Dave Feustel.) - Modified oneOf to accept lists of strings as well as a single string of space-delimited literals. (Suggested by Jacek Sieka - thanks!) - Removed deprecated use of Upcase in pyparsing test code. (Also caught by Titus Brown.) - Removed lstrip() call from Literal - too aggressive in stripping whitespace which may be valid for some grammars. (Point raised by Jacek Sieka). Also, made Literal more robust in the event of passing an empty string. - Fixed bug in replaceWith when returning None. - Added cautionary documentation for Forward class when assigning a MatchFirst expression, as in: fwdExpr << a | b | c Precedence of operators causes this to be evaluated as: (fwdExpr << a) | b | c thereby leaving b and c out as parseable alternatives. Users must explicitly group the values inserted into the Forward: fwdExpr << (a | b | c) (Suggested by Scot Wilcoxon - thanks, Scot!) Version 1.4 - January 18, 2006 ------------------------------ - Added Regex class, to permit definition of complex embedded expressions using regular expressions. (Enhancement provided by John Beisley, great job!) - Converted implementations of Word, oneOf, quoted string, and comment helpers to utilize regular expression matching. Performance improvements in the 20-40% range. - Added QuotedString class, to support definition of non-standard quoted strings (Suggested by Guillaume Proulx, thanks!) - Added CaselessKeyword class, to streamline grammars with, well, caseless keywords (Proposed by Stefan Behnel, thanks!) - Fixed bug in SkipTo, when using an ignoreable expression. (Patch provided by Anonymous, thanks, whoever-you-are!) - Fixed typo in NoMatch class. (Good catch, Stefan Behnel!) - Fixed minor bug in _makeTags(), using string.printables instead of pyparsing.printables. - Cleaned up some of the expressions created by makeXXXTags helpers, to suppress extraneous <> characters. - Added some grammar definition-time checking to verify that a grammar is being built using proper ParserElements. - Added examples: . LAparser.py - linear algebra C preprocessor (submitted by Mike Ellis, thanks Mike!) . wordsToNum.py - converts word description of a number back to the original number (such as 'one hundred and twenty three' -> 123) . updated fourFn.py to support unary minus, added BNF comments Version 1.3.3 - September 12, 2005 ---------------------------------- - Improved support for Unicode strings that would be returned using srange. Added greetingInKorean.py example, for a Korean version of "Hello, World!" using Unicode. (Thanks, June Kim!) - Added 'hexnums' string constant (nums+"ABCDEFabcdef") for defining hexadecimal value expressions. - NOTE: ===THIS CHANGE MAY BREAK EXISTING CODE=== Modified tag and results definitions returned by makeHTMLTags(), to better support the looseness of HTML parsing. Tags to be parsed are now caseless, and keys generated for tag attributes are now converted to lower case. Formerly, makeXMLTags("XYZ") would return a tag with results name of "startXYZ", this has been changed to "startXyz". If this tag is matched against '', the matched keys formerly would be "Abc", "DEF", and "ghi"; keys are now converted to lower case, giving keys of "abc", "def", and "ghi". These changes were made to try to address the lax case sensitivity agreement between start and end tags in many HTML pages. No changes were made to makeXMLTags(), which assumes more rigorous parsing rules. Also, cleaned up case-sensitivity bugs in closing tags, and switched to using Keyword instead of Literal class for tags. (Thanks, Steve Young, for getting me to look at these in more detail!) - Added two helper parse actions, upcaseTokens and downcaseTokens, which will convert matched text to all uppercase or lowercase, respectively. - Deprecated Upcase class, to be replaced by upcaseTokens parse action. - Converted messages sent to stderr to use warnings module, such as when constructing a Literal with an empty string, one should use the Empty() class or the empty helper instead. - Added ' ' (space) as an escapable character within a quoted string. - Added helper expressions for common comment types, in addition to the existing cStyleComment (/*...*/) and htmlStyleComment () . dblSlashComment = // ... (to end of line) . cppStyleComment = cStyleComment or dblSlashComment . javaStyleComment = cppStyleComment . pythonStyleComment = # ... (to end of line) Version 1.3.2 - July 24, 2005 ----------------------------- - Added Each class as an enhanced version of And. 'Each' requires that all given expressions be present, but may occur in any order. Special handling is provided to group ZeroOrMore and OneOrMore elements that occur out-of-order in the input string. You can also construct 'Each' objects by joining expressions with the '&' operator. When using the Each class, results names are strongly recommended for accessing the matched tokens. (Suggested by Pradam Amini - thanks, Pradam!) - Stricter interpretation of 'max' qualifier on Word elements. If the 'max' attribute is specified, matching will fail if an input field contains more than 'max' consecutive body characters. For example, previously, Word(nums,max=3) would match the first three characters of '0123456', returning '012' and continuing parsing at '3'. Now, when constructed using the max attribute, Word will raise an exception with this string. - Cleaner handling of nested dictionaries returned by Dict. No longer necessary to dereference sub-dictionaries as element [0] of their parents. === NOTE: THIS CHANGE MAY BREAK SOME EXISTING CODE, BUT ONLY IF PARSING NESTED DICTIONARIES USING THE LITTLE-USED DICT CLASS === (Prompted by discussion thread on the Python Tutor list, with contributions from Danny Yoo, Kent Johnson, and original post by Liam Clarke - thanks all!) Version 1.3.1 - June, 2005 ---------------------------------- - Added markInputline() method to ParseException, to display the input text line location of the parsing exception. (Thanks, Stefan Behnel!) - Added setDefaultKeywordChars(), so that Keyword definitions using a custom keyword character set do not all need to add the keywordChars constructor argument (similar to setDefaultWhitespaceChars()). (suggested by rzhanka on the SourceForge pyparsing forum.) - Simplified passing debug actions to setDebugAction(). You can now pass 'None' for a debug action if you want to take the default debug behavior. To suppress a particular debug action, you can pass the pyparsing method nullDebugAction. - Refactored parse exception classes, moved all behavior to ParseBaseException, and the former ParseException is now a subclass of ParseBaseException. Added a second subclass, ParseFatalException, as a subclass of ParseBaseException. User-defined parse actions can raise ParseFatalException if a data inconsistency is detected (such as a begin-tag/end-tag mismatch), and this will stop all parsing immediately. (Inspired by e-mail thread with Michele Petrazzo - thanks, Michelle!) - Added helper methods makeXMLTags and makeHTMLTags, that simplify the definition of XML or HTML tag parse expressions for a given tagname. Both functions return a pair of parse expressions, one for the opening tag (that is, '') and one for the closing tag (''). The opening tagame also recognizes any attribute definitions that have been included in the opening tag, as well as an empty tag (one with a trailing '/', as in '' which is equivalent to ''). makeXMLTags uses stricter XML syntax for attributes, requiring that they be enclosed in double quote characters - makeHTMLTags is more lenient, and accepts single-quoted strings or any contiguous string of characters up to the next whitespace character or '>' character. Attributes can be retrieved as dictionary or attribute values of the returned results from the opening tag. - Added example minimath2.py, a refinement on fourFn.py that adds an interactive session and support for variables. (Thanks, Steven Siew!) - Added performance improvement, up to 20% reduction! (Found while working with Wolfgang Borgert on performance tuning of his TTCN3 parser.) - And another performance improvement, up to 25%, when using scanString! (Found while working with Henrik Westlund on his C header file scanner.) - Updated UML diagrams to reflect latest class/method changes. Version 1.3 - March, 2005 ---------------------------------- - Added new Keyword class, as a special form of Literal. Keywords must be followed by whitespace or other non-keyword characters, to distinguish them from variables or other identifiers that just happen to start with the same characters as a keyword. For instance, the input string containing "ifOnlyIfOnly" will match a Literal("if") at the beginning and in the middle, but will fail to match a Keyword("if"). Keyword("if") will match only strings such as "if only" or "if(only)". (Proposed by Wolfgang Borgert, and Berteun Damman separately requested this on comp.lang.python - great idea!) - Added setWhitespaceChars() method to override the characters to be skipped as whitespace before matching a particular ParseElement. Also added the class-level method setDefaultWhitespaceChars(), to allow users to override the default set of whitespace characters (space, tab, newline, and return) for all subsequently defined ParseElements. (Inspired by Klaas Hofstra's inquiry on the Sourceforge pyparsing forum.) - Added helper parse actions to support some very common parse action use cases: . replaceWith(replStr) - replaces the matching tokens with the provided replStr replacement string; especially useful with transformString() . removeQuotes - removes first and last character from string enclosed in quotes (note - NOT the same as the string strip() method, as only a single character is removed at each end) - Added copy() method to ParseElement, to make it easier to define different parse actions for the same basic parse expression. (Note, copy is implicitly called when using setResultsName().) (The following changes were posted to CVS as Version 1.2.3 - October-December, 2004) - Added support for Unicode strings in creating grammar definitions. (Big thanks to Gavin Panella!) - Added constant alphas8bit to include the following 8-bit characters: - Added srange() function to simplify definition of Word elements, using regexp-like '[A-Za-z0-9]' syntax. This also simplifies referencing common 8-bit characters. - Fixed bug in Dict when a single element Dict was embedded within another Dict. (Thanks Andy Yates for catching this one!) - Added 'formatted' argument to ParseResults.asXML(). If set to False, suppresses insertion of whitespace for pretty-print formatting. Default equals True for backward compatibility. - Added setDebugActions() function to ParserElement, to allow user-defined debugging actions. - Added support for escaped quotes (either in \', \", or doubled quote form) to the predefined expressions for quoted strings. (Thanks, Ero Carrera!) - Minor performance improvement (~5%) converting "char in string" tests to "char in dict". (Suggested by Gavin Panella, cool idea!) Version 1.2.2 - September 27, 2004 ---------------------------------- - Modified delimitedList to accept an expression as the delimiter, instead of only accepting strings. - Modified ParseResults, to convert integer field keys to strings (to avoid confusion with list access). - Modified Combine, to convert all embedded tokens to strings before combining. - Fixed bug in MatchFirst in which parse actions would be called for expressions that only partially match. (Thanks, John Hunter!) - Fixed bug in fourFn.py example that fixes right-associativity of ^ operator. (Thanks, Andrea Griffini!) - Added class FollowedBy(expression), to look ahead in the input string without consuming tokens. - Added class NoMatch that never matches any input. Can be useful in debugging, and in very specialized grammars. - Added example pgn.py, for parsing chess game files stored in Portable Game Notation. (Thanks, Alberto Santini!) Version 1.2.1 - August 19, 2004 ------------------------------- - Added SkipTo(expression) token type, simplifying grammars that only want to specify delimiting expressions, and want to match any characters between them. - Added helper method dictOf(key,value), making it easier to work with the Dict class. (Inspired by Pavel Volkovitskiy, thanks!). - Added optional argument listAllMatches (default=False) to setResultsName(). Setting listAllMatches to True overrides the default modal setting of tokens to results names; instead, the results name acts as an accumulator for all matching tokens within the local repetition group. (Suggested by Amaury Le Leyzour - thanks!) - Fixed bug in ParseResults, throwing exception when trying to extract slice, or make a copy using [:]. (Thanks, Wilson Fowlie!) - Fixed bug in transformString() when the input string contains 's (Thanks, Rick Walia!). - Fixed bug in returning tokens from un-Grouped And's, Or's and MatchFirst's, where too many tokens would be included in the results, confounding parse actions and returned results. - Fixed bug in naming ParseResults returned by And's, Or's, and Match First's. - Fixed bug in LineEnd() - matching this token now correctly consumes and returns the end of line "\n". - Added a beautiful example for parsing Mozilla calendar files (Thanks, Petri Savolainen!). - Added support for dynamically modifying Forward expressions during parsing. Version 1.2 - 20 June 2004 -------------------------- - Added definition for htmlComment to help support HTML scanning and parsing. - Fixed bug in generating XML for Dict classes, in which trailing item was duplicated in the output XML. - Fixed release bug in which scanExamples.py was omitted from release files. - Fixed bug in transformString() when parse actions are not defined on the outermost parser element. - Added example urlExtractor.py, as another example of using scanString and parse actions. Version 1.2beta3 - 4 June 2004 ------------------------------ - Added White() token type, analogous to Word, to match on whitespace characters. Use White in parsers with significant whitespace (such as configuration file parsers that use indentation to indicate grouping). Construct White with a string containing the whitespace characters to be matched. Similar to Word, White also takes optional min, max, and exact parameters. - As part of supporting whitespace-signficant parsing, added parseWithTabs() method to ParserElement, to override the default behavior in parseString of automatically expanding tabs to spaces. To retain tabs during parsing, call parseWithTabs() before calling parseString(), parseFile() or scanString(). (Thanks, Jean-Guillaume Paradis for catching this, and for your suggestions on whitespace-significant parsing.) - Added transformString() method to ParseElement, as a complement to scanString(). To use transformString, define a grammar and attach a parse action to the overall grammar that modifies the returned token list. Invoking transformString() on a target string will then scan for matches, and replace the matched text patterns according to the logic in the parse action. transformString() returns the resulting transformed string. (Note: transformString() does *not* automatically expand tabs to spaces.) Also added scanExamples.py to the examples directory to show sample uses of scanString() and transformString(). - Removed group() method that was introduced in beta2. This turns out NOT to be equivalent to nesting within a Group() object, and I'd prefer not to sow more seeds of confusion. - Fixed behavior of asXML() where tags for groups were incorrectly duplicated. (Thanks, Brad Clements!) - Changed beta version message to display to stderr instead of stdout, to make asXML() easier to use. (Thanks again, Brad.) Version 1.2beta2 - 19 May 2004 ------------------------------ - *** SIMPLIFIED API *** - Parse actions that do not modify the list of tokens no longer need to return a value. This simplifies those parse actions that use the list of tokens to update a counter or record or display some of the token content; these parse actions can simply end without having to specify 'return toks'. - *** POSSIBLE API INCOMPATIBILITY *** - Fixed CaselessLiteral bug, where the returned token text was not the original string (as stated in the docs), but the original string converted to upper case. (Thanks, Dang Griffith!) **NOTE: this may break some code that relied on this erroneous behavior. Users should scan their code for uses of CaselessLiteral.** - *** POSSIBLE CODE INCOMPATIBILITY *** - I have renamed the internal attributes on ParseResults from 'dict' and 'list' to '__tokdict' and '__toklist', to avoid collisions with user-defined data fields named 'dict' and 'list'. Any client code that accesses these attributes directly will need to be modified. Hopefully the implementation of methods such as keys(), items(), len(), etc. on ParseResults will make such direct attribute accessess unnecessary. - Added asXML() method to ParseResults. This greatly simplifies the process of parsing an input data file and generating XML-structured data. - Added getName() method to ParseResults. This method is helpful when a grammar specifies ZeroOrMore or OneOrMore of a MatchFirst or Or expression, and the parsing code needs to know which expression matched. (Thanks, Eric van der Vlist, for this idea!) - Added items() and values() methods to ParseResults, to better support using ParseResults as a Dictionary. - Added parseFile() as a convenience function to parse the contents of an entire text file. Accepts either a file name or a file object. (Thanks again, Dang!) - Added group() method to And, Or, and MatchFirst, as a short-cut alternative to enclosing a construct inside a Group object. - Extended fourFn.py to support exponentiation, and simple built-in functions. - Added EBNF parser to examples, including a demo where it parses its own EBNF! (Thanks to Seo Sanghyeon!) - Added Delphi Form parser to examples, dfmparse.py, plus a couple of sample Delphi forms as tests. (Well done, Dang!) - Another performance speedup, 5-10%, inspired by Dang! Plus about a 20% speedup, by pre-constructing and cacheing exception objects instead of constructing them on the fly. - Fixed minor bug when specifying oneOf() with 'caseless=True'. - Cleaned up and added a few more docstrings, to improve the generated docs. Version 1.1.2 - 21 Mar 2004 --------------------------- - Fixed minor bug in scanString(), so that start location is at the start of the matched tokens, not at the start of the whitespace before the matched tokens. - Inclusion of HTML documentation, generated using Epydoc. Reformatted some doc strings to better generate readable docs. (Beautiful work, Ed Loper, thanks for Epydoc!) - Minor performance speedup, 5-15% - And on a process note, I've used the unittest module to define a series of unit tests, to help avoid the embarrassment of the version 1.1 snafu. Version 1.1.1 - 6 Mar 2004 -------------------------- - Fixed critical bug introduced in 1.1, which broke MatchFirst(!) token matching. **THANK YOU, SEO SANGHYEON!!!** - Added "from future import __generators__" to permit running under pre-Python 2.3. - Added example getNTPservers.py, showing how to use pyparsing to extract a text pattern from the HTML of a web page. Version 1.1 - 3 Mar 2004 ------------------------- - ***Changed API*** - While testing out parse actions, I found that the value of loc passed in was not the starting location of the matched tokens, but the location of the next token in the list. With this version, the location passed to the parse action is now the starting location of the tokens that matched. A second part of this change is that the return value of parse actions no longer needs to return a tuple containing both the location and the parsed tokens (which may optionally be modified); parse actions only need to return the list of tokens. Parse actions that return a tuple are deprecated; they will still work properly for conversion/compatibility, but this behavior will be removed in a future version. - Added validate() method, to help diagnose infinite recursion in a grammar tree. validate() is not 100% fool-proof, but it can help track down nasty infinite looping due to recursively referencing the same grammar construct without some intervening characters. - Cleaned up default listing of some parse element types, to more closely match ordinary BNF. Instead of the form :[contents-list], some changes are: . And(token1,token2,token3) is "{ token1 token2 token3 }" . Or(token1,token2,token3) is "{ token1 ^ token2 ^ token3 }" . MatchFirst(token1,token2,token3) is "{ token1 | token2 | token3 }" . Optional(token) is "[ token ]" . OneOrMore(token) is "{ token }..." . ZeroOrMore(token) is "[ token ]..." - Fixed an infinite loop in oneOf if the input string contains a duplicated option. (Thanks Brad Clements) - Fixed a bug when specifying a results name on an Optional token. (Thanks again, Brad Clements) - Fixed a bug introduced in 1.0.6 when I converted quotedString to use CharsNotIn; I accidentally permitted quoted strings to span newlines. I have fixed this in this version to go back to the original behavior, in which quoted strings do *not* span newlines. - Fixed minor bug in HTTP server log parser. (Thanks Jim Richardson) Version 1.0.6 - 13 Feb 2004 ---------------------------- - Added CharsNotIn class (Thanks, Lee SangYeong). This is the opposite of Word, in that it is constructed with a set of characters *not* to be matched. (This enhancement also allowed me to clean up and simplify some of the definitions for quoted strings, cStyleComment, and restOfLine.) - **MINOR API CHANGE** - Added joinString argument to the __init__ method of Combine (Thanks, Thomas Kalka). joinString defaults to "", but some applications might choose some other string to use instead, such as a blank or newline. joinString was inserted as the second argument to __init__, so if you have code that specifies an adjacent value, without using 'adjacent=', this code will break. - Modified LineStart to recognize the start of an empty line. - Added optional caseless flag to oneOf(), to create a list of CaselessLiteral tokens instead of Literal tokens. - Added some enhancements to the SQL example: . Oracle-style comments (Thanks to Harald Armin Massa) . simple WHERE clause - Minor performance speedup - 5-15% Version 1.0.5 - 19 Jan 2004 ---------------------------- - Added scanString() generator method to ParseElement, to support regex-like pattern-searching - Added items() list to ParseResults, to return named results as a list of (key,value) pairs - Fixed memory overflow in asList() for deeply nested ParseResults (Thanks, Sverrir Valgeirsson) - Minor performance speedup - 10-15% Version 1.0.4 - 8 Jan 2004 --------------------------- - Added positional tokens StringStart, StringEnd, LineStart, and LineEnd - Added commaSeparatedList to pre-defined global token definitions; also added commasep.py to the examples directory, to demonstrate the differences between parsing comma-separated data and simple line-splitting at commas - Minor API change: delimitedList does not automatically enclose the list elements in a Group, but makes this the responsibility of the caller; also, if invoked using 'combine=True', the list delimiters are also included in the returned text (good for scoped variables, such as a.b.c or a::b::c, or for directory paths such as a/b/c) - Performance speed-up again, 30-40% - Added httpServerLogParser.py to examples directory, as this is a common parsing task Version 1.0.3 - 23 Dec 2003 --------------------------- - Performance speed-up again, 20-40% - Added Python distutils installation setup.py, etc. (thanks, Dave Kuhlman) Version 1.0.2 - 18 Dec 2003 --------------------------- - **NOTE: Changed API again!!!** (for the last time, I hope) + Renamed module from parsing to pyparsing, to better reflect Python linkage. - Also added dictExample.py to examples directory, to illustrate usage of the Dict class. Version 1.0.1 - 17 Dec 2003 --------------------------- - **NOTE: Changed API!** + Renamed 'len' argument on Word.__init__() to 'exact' - Performance speed-up, 10-30% Version 1.0.0 - 15 Dec 2003 --------------------------- - Initial public release Version 0.1.1 thru 0.1.17 - October-November, 2003 -------------------------------------------------- - initial development iterations: - added Dict, Group - added helper methods oneOf, delimitedList - added helpers quotedString (and double and single), restOfLine, cStyleComment - added MatchFirst as an alternative to the slower Or - added UML class diagram - fixed various logic bugs pyparsing-2.0.1/README0000644000175000017500000000363310311447564013122 0ustar zigozigo==================================== PyParsing -- A Python Parsing Module ==================================== Introduction ============ The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. The pyparsing module provides a library of classes that client code uses to construct the grammar directly in Python code. Here is a program to parse "Hello, World!" (or any greeting of the form ", !"): from pyparsing import Word, alphas greet = Word( alphas ) + "," + Word( alphas ) + "!" hello = "Hello, World!" print hello, "->", greet.parseString( hello ) The program outputs the following: Hello, World! -> ['Hello', ',', 'World', '!'] The Python representation of the grammar is quite readable, owing to the self-explanatory class names, and the use of '+', '|' and '^' operator definitions. The parsed results returned from parseString() can be accessed as a nested list, a dictionary, or an object with named attributes. The pyparsing module handles some of the problems that are typically vexing when writing text parsers: - extra or missing whitespace (the above program will also handle "Hello,World!", "Hello , World !", etc.) - quoted strings - embedded comments The .zip file includes examples of a simple SQL parser, simple CORBA IDL parser, a config file parser, a chemical formula parser, and a four- function algebraic notation parser. It also includes a simple how-to document, and a UML class diagram of the library's classes. Installation ============ Do the usual: python setup.py install (pyparsing requires Python 2.3.2 or later.) Documentation ============= See: HowToUsePyparsing.html License ======= MIT License. See header of pyparsing.py History ======= See CHANGES file. pyparsing-2.0.1/robots.txt0000644000175000017500000000004310426670530014301 0ustar zigozigoUser-agent: * Disallow: /htmldoc pyparsing-2.0.1/pyparsingClassDiagram.JPG0000644000175000017500000071556211170740057017103 0ustar zigozigoJFIFC    $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222{" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?Aloou;ޱwKQ@T(T :U|-@$چ"W.' 8viaeVm|sPhM n OS[U>NBa<8Qn?Zoqvuro G"UgcAa$YSN4K}'ɎjV860WLkVw!_k=ֹ=Y8ռbz=v`y[CNXt+ =~[t^G[!}|j.ya?Ǿ,x眚Mֹ=G!_k=6)7閡ƬLHcjw@#RT>-A5?]y-] ui+ni %`z~'un?ZoW}\gXytf`2c jxv^$;I~Q6ҩ66U2 -mu@z!_k=Տ? YX ;qn-!E3<D%cc#u(t.uȎ 7;1 wn2\64rR!LFI2A Dn?ZoWAEsQn?ZotP?n?ZoWAEsQn?ZotP?n?ZoWAEsQn?ZotP?n?ZoWAEsQn?ZotP?n?ZoWAEsQn?ZotP?n?ZoWAEsQn?ZotP?n?ZoWAEsQn?ZotP?n?ZoWAEsQn?ZotP?n?ZoWAEsQn?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d2H)ʴ$=qѽ-.QRXQEQEQEQEQEQEQEQEQEQEQEQExEqa +@#\?WҸk? B56"[QEY!EPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPkG+@tCI[o?J  ?%o+]a+7G.߈0䕿诐?vC$~!Vn>@tCI[o?J  ?%o+]a+7G.߈0䕿诐?vC$~!Vn>@tCI[o?J  ?%o+]a+7G.߈0䕿诐?vC$~!Vn>@tCI[o?J  ?%o+]a+7G.߈0䕿诐?vC$~!Vn>@tCI[o?J  ?%o+]a+7G.߈0䕿诐?vC$~!Vn>@tCI[o?J  ?%o+]a+7G.߈0䕿诐?vC$~!Vn>@tCI[o?J  ?%o+]a+7G.߈0䕿诐?vC$~!Vn>@tCI[o?J  ?%o+]a+7G.߈0䕿诐?vC$~!Vn>@tCI[o?J  ?%o+]a+7G.߈0䕿诐?vC$~!Vn>@tCI[o?J  ?%o+]a+7G.߈0䕿诐?vC$~!Vn>@tCI[o?J  ?%o+]a+7G.߈0䕿诐?vC$~!Vn>@tCI[o?J  ?%o+]a+7G.߈0䕿诐?vC$~!Vn>@tCI[o?J  ?%o+]a+7G.߈0䕿诐?vC$~!Vn>@tCI[o?J  ?%o+]a+7G.߈0䕿诐?vC$~!Vn>@tCI[o?J  ?%o+]a+7G.߈0䕿诐?vC$~!Vn>@tCI[o?J  ?%o+]a+7G.߈0䕿诐?vC$~!Vn>@tCI[o?J  ?%o+]a+7G.߈0䕿诐?vC$~!VnWwx?[ڵ/KSv 8P?pyparsing-2.0.1/docs/0000755000175000017500000000000012214044407013156 5ustar zigozigopyparsing-2.0.1/docs/HowToUsePyparsing.html0000644000175000017500000020762412171434766017506 0ustar zigozigo Using the pyparsing module

Using the pyparsing module

Author: Paul McGuire
Address:
ptmcg@users.sourceforge.net
Revision: 2.0.1
Date: July, 2013
Copyright: Copyright © 2003-2013 Paul McGuire.
abstract:This document provides how-to instructions for the pyparsing library, an easy-to-use Python module for constructing and executing basic text parsers. The pyparsing module is useful for evaluating user-definable expressions, processing custom application language commands, or extracting data from formatted reports.

1   Steps to follow

To parse an incoming data string, the client code must follow these steps:

  1. First define the tokens and patterns to be matched, and assign this to a program variable. Optional results names or parsing actions can also be defined at this time.
  2. Call parseString() or scanString() on this variable, passing in the string to be parsed. During the matching process, whitespace between tokens is skipped by default (although this can be changed). When token matches occur, any defined parse action methods are called.
  3. Process the parsed results, returned as a list of strings. Matching results may also be accessed as named attributes of the returned results, if names are defined in the definition of the token pattern, using setResultsName().

1.1   Hello, World!

The following complete Python program will parse the greeting "Hello, World!", or any other greeting of the form "<salutation>, <addressee>!":

from pyparsing import Word, alphas

greet = Word( alphas ) + "," + Word( alphas ) + "!"
greeting = greet.parseString( "Hello, World!" )
print greeting

The parsed tokens are returned in the following form:

['Hello', ',', 'World', '!']

1.2   Usage notes

  • The pyparsing module can be used to interpret simple command strings or algebraic expressions, or can be used to extract data from text reports with complicated format and structure ("screen or report scraping"). However, it is possible that your defined matching patterns may accept invalid inputs. Use pyparsing to extract data from strings assumed to be well-formatted.

  • To keep up the readability of your code, use operators such as +, |, ^, and ~ to combine expressions. You can also combine string literals with ParseExpressions - they will be automatically converted to Literal objects. For example:

    integer  = Word( nums )            # simple unsigned integer
    variable = Word( alphas, max=1 )   # single letter variable, such as x, z, m, etc.
    arithOp  = Word( "+-*/", max=1 )   # arithmetic operators
    equation = variable + "=" + integer + arithOp + integer    # will match "x=2+2", etc.
    

    In the definition of equation, the string "=" will get added as a Literal("="), but in a more readable way.

  • The pyparsing module's default behavior is to ignore whitespace. This is the case for 99% of all parsers ever written. This allows you to write simple, clean, grammars, such as the above equation, without having to clutter it up with extraneous ws markers. The equation grammar will successfully parse all of the following statements:

    x=2+2
    x = 2+2
    a = 10   *   4
    r= 1234/ 100000
    

    Of course, it is quite simple to extend this example to support more elaborate expressions, with nesting with parentheses, floating point numbers, scientific notation, and named constants (such as e or pi). See fourFn.py, included in the examples directory.

  • To modify pyparsing's default whitespace skipping, you can use one or more of the following methods:

    • use the static method ParserElement.setDefaultWhitespaceChars to override the normal set of whitespace chars (' tn'). For instance when defining a grammar in which newlines are significant, you should call ParserElement.setDefaultWhitespaceChars(' \t') to remove newline from the set of skippable whitespace characters. Calling this method will affect all pyparsing expressions defined afterward.

    • call leaveWhitespace() on individual expressions, to suppress the skipping of whitespace before trying to match the expression

    • use Combine to require that successive expressions must be adjacent in the input string. For instance, this expression:

      real = Word(nums) + '.' + Word(nums)
      

      will match "3.14159", but will also match "3 . 12". It will also return the matched results as ['3', '.', '14159']. By changing this expression to:

      real = Combine( Word(nums) + '.' + Word(nums) )
      

      it will not match numbers with embedded spaces, and it will return a single concatenated string '3.14159' as the parsed token.

  • Repetition of expressions can be indicated using the '*' operator. An expression may be multiplied by an integer value (to indicate an exact repetition count), or by a tuple containing two integers, or None and an integer, representing min and max repetitions (with None representing no min or no max, depending whether it is the first or second tuple element). See the following examples, where n is used to indicate an integer value:

    • expr*3 is equivalent to expr + expr + expr
    • expr*(2,3) is equivalent to expr + expr + Optional(expr)
    • expr*(n,None) or expr*(n,) is equivalent to expr*n + ZeroOrMore(expr) (read as "at least n instances of expr")
    • expr*(None,n) is equivalent to expr*(0,n) (read as "0 to n instances of expr")
    • expr*(None,None) is equivalent to ZeroOrMore(expr)
    • expr*(1,None) is equivalent to OneOrMore(expr)

    Note that expr*(None,n) does not raise an exception if more than n exprs exist in the input stream; that is, expr*(None,n) does not enforce a maximum number of expr occurrences. If this behavior is desired, then write expr*(None,n) + ~expr.

  • MatchFirst expressions are matched left-to-right, and the first match found will skip all later expressions within, so be sure to define less-specific patterns after more-specific patterns. If you are not sure which expressions are most specific, use Or expressions (defined using the ^ operator) - they will always match the longest expression, although they are more compute-intensive.

  • Or expressions will evaluate all of the specified subexpressions to determine which is the "best" match, that is, which matches the longest string in the input data. In case of a tie, the left-most expression in the Or list will win.

  • If parsing the contents of an entire file, pass it to the parseFile method using:

    expr.parseFile( sourceFile )
    
  • ParseExceptions will report the location where an expected token or expression failed to match. For example, if we tried to use our "Hello, World!" parser to parse "Hello World!" (leaving out the separating comma), we would get an exception, with the message:

    pyparsing.ParseException: Expected "," (6), (1,7)
    

    In the case of complex expressions, the reported location may not be exactly where you would expect. See more information under ParseException .

  • Use the Group class to enclose logical groups of tokens within a sublist. This will help organize your results into more hierarchical form (the default behavior is to return matching tokens as a flat list of matching input strings).

  • Punctuation may be significant for matching, but is rarely of much interest in the parsed results. Use the suppress() method to keep these tokens from cluttering up your returned lists of tokens. For example, delimitedList() matches a succession of one or more expressions, separated by delimiters (commas by default), but only returns a list of the actual expressions - the delimiters are used for parsing, but are suppressed from the returned output.

  • Parse actions can be used to convert values from strings to other data types (ints, floats, booleans, etc.).

  • Results names are recommended for retrieving tokens from complex expressions. It is much easier to access a token using its field name than using a positional index, especially if the expression contains optional elements. You can also shortcut the setResultsName call:

    stats = "AVE:" + realNum.setResultsName("average") + \
            "MIN:" + realNum.setResultsName("min") + \
            "MAX:" + realNum.setResultsName("max")
    

    can now be written as this:

    stats = "AVE:" + realNum("average") + \
            "MIN:" + realNum("min") + \
            "MAX:" + realNum("max")
    
  • Be careful when defining parse actions that modify global variables or data structures (as in fourFn.py), especially for low level tokens or expressions that may occur within an And expression; an early element of an And may match, but the overall expression may fail.

  • Performance of pyparsing may be slow for complex grammars and/or large input strings. The psyco package can be used to improve the speed of the pyparsing module with no changes to grammar or program logic - observed improvments have been in the 20-50% range.

2   Classes

2.1   Classes in the pyparsing module

ParserElement - abstract base class for all pyparsing classes; methods for code to use are:

  • parseString( sourceString, parseAll=False ) - only called once, on the overall matching pattern; returns a ParseResults object that makes the matched tokens available as a list, and optionally as a dictionary, or as an object with named attributes; if parseAll is set to True, then parseString will raise a ParseException if the grammar does not process the complete input string.

  • parseFile( sourceFile ) - a convenience function, that accepts an input file object or filename. The file contents are passed as a string to parseString(). parseFile also supports the parseAll argument.

  • scanString( sourceString ) - generator function, used to find and extract matching text in the given source string; for each matched text, returns a tuple of:

    • matched tokens (packaged as a ParseResults object)
    • start location of the matched text in the given source string
    • end location in the given source string

    scanString allows you to scan through the input source string for random matches, instead of exhaustively defining the grammar for the entire source text (as would be required with parseString).

  • transformString( sourceString ) - convenience wrapper function for scanString, to process the input source string, and replace matching text with the tokens returned from parse actions defined in the grammar (see setParseAction).

  • searchString( sourceString ) - another convenience wrapper function for scanString, returns a list of the matching tokens returned from each call to scanString.

  • setName( name ) - associate a short descriptive name for this element, useful in displaying exceptions and trace information

  • setResultsName( string, listAllMatches=False ) - name to be given to tokens matching the element; if multiple tokens within a repetition group (such as ZeroOrMore or delimitedList) the default is to return only the last matching token - if listAllMatches is set to True, then a list of all the matching tokens is returned. (New in 1.5.6 - a results name with a trailing '*' character will be interpreted as setting listAllMatches to True.) Note: setResultsName returns a copy of the element so that a single basic element can be referenced multiple times and given different names within a complex grammar.

  • setParseAction( *fn ) - specify one or more functions to call after successful matching of the element; each function is defined as fn( s, loc, toks ), where:

    • s is the original parse string
    • loc is the location in the string where matching started
    • toks is the list of the matched tokens, packaged as a ParseResults object

    Multiple functions can be attached to a ParserElement by specifying multiple arguments to setParseAction, or by calling setParseAction multiple times.

    Each parse action function can return a modified toks list, to perform conversion, or string modifications. For brevity, fn may also be a lambda - here is an example of using a parse action to convert matched integer tokens from strings to integers:

    intNumber = Word(nums).setParseAction( lambda s,l,t: [ int(t[0]) ] )
    

    If fn does not modify the toks list, it does not need to return anything at all.

  • setBreak( breakFlag=True ) - if breakFlag is True, calls pdb.set_break() as this expression is about to be parsed

  • copy() - returns a copy of a ParserElement; can be used to use the same parse expression in different places in a grammar, with different parse actions attached to each

  • leaveWhitespace() - change default behavior of skipping whitespace before starting matching (mostly used internally to the pyparsing module, rarely used by client code)

  • setWhitespaceChars( chars ) - define the set of chars to be ignored as whitespace before trying to match a specific ParserElement, in place of the default set of whitespace (space, tab, newline, and return)

  • setDefaultWhitespaceChars( chars ) - class-level method to override the default set of whitespace chars for all subsequently created ParserElements (including copies); useful when defining grammars that treat one or more of the default whitespace characters as significant (such as a line-sensitive grammar, to omit newline from the list of ignorable whitespace)

  • suppress() - convenience function to suppress the output of the given element, instead of wrapping it with a Suppress object.

  • ignore( expr ) - function to specify parse expression to be ignored while matching defined patterns; can be called repeatedly to specify multiple expressions; useful to specify patterns of comment syntax, for example

  • setDebug( dbgFlag=True ) - function to enable/disable tracing output when trying to match this element

  • validate() - function to verify that the defined grammar does not contain infinitely recursive constructs

  • parseWithTabs() - function to override default behavior of converting tabs to spaces before parsing the input string; rarely used, except when specifying whitespace-significant grammars using the White class.
  • enablePackrat() - a class-level static method to enable a memoizing performance enhancement, known as "packrat parsing". packrat parsing is disabled by default, since it may conflict with some user programs that use parse actions. To activate the packrat feature, your program must call the class method ParserElement.enablePackrat(). If your program uses psyco to "compile as you go", you must call enablePackrat before calling psyco.full(). If you do not do this, Python will crash. For best results, call enablePackrat() immediately after importing pyparsing.

2.2   Basic ParserElement subclasses

  • Literal - construct with a string to be matched exactly
  • CaselessLiteral - construct with a string to be matched, but without case checking; results are always returned as the defining literal, NOT as they are found in the input string
  • Keyword - similar to Literal, but must be immediately followed by whitespace, punctuation, or other non-keyword characters; prevents accidental matching of a non-keyword that happens to begin with a defined keyword
  • CaselessKeyword - similar to Keyword, but with caseless matching behavior
  • Word - one or more contiguous characters; construct with a string containing the set of allowed initial characters, and an optional second string of allowed body characters; for instance, a common Word construct is to match a code identifier - in C, a valid identifier must start with an alphabetic character or an underscore ('_'), followed by a body that can also include numeric digits. That is, a, i, MAX_LENGTH, _a1, b_109_, and plan9FromOuterSpace are all valid identifiers; 9b7z, $a, .section, and 0debug are not. To define an identifier using a Word, use either of the following:

    - Word( alphas+"_", alphanums+"_" )
    - Word( srange("[a-zA-Z_]"), srange("[a-zA-Z0-9_]") )
    

    If only one string given, it specifies that the same character set defined for the initial character is used for the word body; for instance, to define an identifier that can only be composed of capital letters and underscores, use:

    - Word( "ABCDEFGHIJKLMNOPQRSTUVWXYZ_" )
    - Word( srange("[A-Z_]") )
    

    A Word may also be constructed with any of the following optional parameters:

    • min - indicating a minimum length of matching characters
    • max - indicating a maximum length of matching characters
    • exact - indicating an exact length of matching characters

    If exact is specified, it will override any values for min or max.

    New in 1.5.6 - Sometimes you want to define a word using all characters in a range except for one or two of them; you can do this with the new excludeChars argument. This is helpful if you want to define a word with all printables except for a single delimiter character, such as '.'. Previously, you would have to create a custom string to pass to Word. With this change, you can just create Word(printables, excludeChars='.').

  • CharsNotIn - similar to Word, but matches characters not in the given constructor string (accepts only one string for both initial and body characters); also supports min, max, and exact optional parameters.

  • Regex - a powerful construct, that accepts a regular expression to be matched at the current parse position; accepts an optional flags parameter, corresponding to the flags parameter in the re.compile method; if the expression includes named sub-fields, they will be represented in the returned ParseResults

  • QuotedString - supports the definition of custom quoted string formats, in addition to pyparsing's built-in dblQuotedString and sglQuotedString. QuotedString allows you to specify the following parameters:

    • quoteChar - string of one or more characters defining the quote delimiting string
    • escChar - character to escape quotes, typically backslash (default=None)
    • escQuote - special quote sequence to escape an embedded quote string (such as SQL's "" to escape an embedded ") (default=None)
    • multiline - boolean indicating whether quotes can span multiple lines (default=False)
    • unquoteResults - boolean indicating whether the matched text should be unquoted (default=True)
    • endQuoteChar - string of one or more characters defining the end of the quote delimited string (default=None => same as quoteChar)
  • SkipTo - skips ahead in the input string, accepting any characters up to the specified pattern; may be constructed with the following optional parameters:

    • include - if set to true, also consumes the match expression (default is False)
    • ignore - allows the user to specify patterns to not be matched, to prevent false matches
    • failOn - if a literal string or expression is given for this argument, it defines an expression that should cause the SkipTo expression to fail, and not skip over that expression
  • White - also similar to Word, but matches whitespace characters. Not usually needed, as whitespace is implicitly ignored by pyparsing. However, some grammars are whitespace-sensitive, such as those that use leading tabs or spaces to indicating grouping or hierarchy. (If matching on tab characters, be sure to call parseWithTabs on the top-level parse element.)
  • Empty - a null expression, requiring no characters - will always match; useful for debugging and for specialized grammars
  • NoMatch - opposite of Empty, will never match; useful for debugging and for specialized grammars

2.3   Expression subclasses

  • And - construct with a list of ParserElements, all of which must match for And to match; can also be created using the '+' operator; multiple expressions can be Anded together using the '*' operator as in:

    ipAddress = Word(nums) + ('.'+Word(nums))*3
    

    A tuple can be used as the multiplier, indicating a min/max:

    usPhoneNumber = Word(nums) + ('-'+Word(nums))*(1,2)
    

    A special form of And is created if the '-' operator is used instead of the '+' operator. In the ipAddress example above, if no trailing '.' and Word(nums) are found after matching the initial Word(nums), then pyparsing will back up in the grammar and try other alternatives to ipAddress. However, if ipAddress is defined as:

    strictIpAddress = Word(nums) - ('.'+Word(nums))*3
    

    then no backing up is done. If the first Word(nums) of strictIpAddress is matched, then any mismatch after that will raise a ParseSyntaxException, which will halt the parsing process immediately. By careful use of the '-' operator, grammars can provide meaningful error messages close to the location where the incoming text does not match the specified grammar.

  • Or - construct with a list of ParserElements, any of which must match for Or to match; if more than one expression matches, the expression that makes the longest match will be used; can also be created using the '^' operator

  • MatchFirst - construct with a list of ParserElements, any of which must match for MatchFirst to match; matching is done left-to-right, taking the first expression that matches; can also be created using the '|' operator

  • Each - similar to And, in that all of the provided expressions must match; however, Each permits matching to be done in any order; can also be created using the '&' operator

  • Optional - construct with a ParserElement, but this element is not required to match; can be constructed with an optional default argument, containing a default string or object to be supplied if the given optional parse element is not found in the input string; parse action will only be called if a match is found, or if a default is specified

  • ZeroOrMore - similar to Optional, but can be repeated

  • OneOrMore - similar to ZeroOrMore, but at least one match must be present

  • FollowedBy - a lookahead expression, requires matching of the given expressions, but does not advance the parsing position within the input string

  • NotAny - a negative lookahead expression, prevents matching of named expressions, does not advance the parsing position within the input string; can also be created using the unary '~' operator

2.4   Expression operators

  • ~ - creates NotAny using the expression after the operator
  • + - creates And using the expressions before and after the operator
  • | - creates MatchFirst (first left-to-right match) using the expressions before and after the operator
  • ^ - creates Or (longest match) using the expressions before and after the operator
  • & - creates Each using the expressions before and after the operator
  • * - creates And by multiplying the expression by the integer operand; if expression is multiplied by a 2-tuple, creates an And of (min,max) expressions (similar to "{min,max}" form in regular expressions); if min is None, intepret as (0,max); if max is None, interpret as expr*min + ZeroOrMore(expr)
  • - - like + but with no backup and retry of alternatives
  • * - repetition of expression
  • == - matching expression to string; returns True if the string matches the given expression
  • <<= - inserts the expression following the operator as the body of the Forward expression before the operator (formerly <<, which is now deprecated)

2.5   Positional subclasses

  • StringStart - matches beginning of the text
  • StringEnd - matches the end of the text
  • LineStart - matches beginning of a line (lines delimited by \n characters)
  • LineEnd - matches the end of a line
  • WordStart - matches a leading word boundary
  • WordEnd - matches a trailing word boundary

2.6   Converter subclasses

  • Upcase - converts matched tokens to uppercase (deprecated - use upcaseTokens parse action instead)
  • Combine - joins all matched tokens into a single string, using specified joinString (default joinString=""); expects all matching tokens to be adjacent, with no intervening whitespace (can be overridden by specifying adjacent=False in constructor)
  • Suppress - clears matched tokens; useful to keep returned results from being cluttered with required but uninteresting tokens (such as list delimiters)

2.7   Special subclasses

  • Group - causes the matched tokens to be enclosed in a list; useful in repeated elements like ZeroOrMore and OneOrMore to break up matched tokens into groups for each repeated pattern
  • Dict - like Group, but also constructs a dictionary, using the [0]'th elements of all enclosed token lists as the keys, and each token list as the value
  • SkipTo - catch-all matching expression that accepts all characters up until the given pattern is found to match; useful for specifying incomplete grammars
  • Forward - placeholder token used to define recursive token patterns; when defining the actual expression later in the program, insert it into the Forward object using the <<= operator (see fourFn.py for an example).

2.8   Other classes

  • ParseResults - class used to contain and manage the lists of tokens created from parsing the input using the user-defined parse expression. ParseResults can be accessed in a number of ways:

    • as a list
      • total list of elements can be found using len()
      • individual elements can be found using [0], [1], [-1], etc.
      • elements can be deleted using del
      • the -1th element can be extracted and removed in a single operation using pop(), or any element can be extracted and removed using pop(n)
    • as a dictionary
      • if setResultsName() is used to name elements within the overall parse expression, then these fields can be referenced as dictionary elements or as attributes
      • the Dict class generates dictionary entries using the data of the input text - in addition to ParseResults listed as [ [ a1, b1, c1, ...], [ a2, b2, c2, ...]  ] it also acts as a dictionary with entries defined as { a1 : [ b1, c1, ... ] }, { a2 : [ b2, c2, ... ] }; this is especially useful when processing tabular data where the first column contains a key value for that line of data
      • list elements that are deleted using del will still be accessible by their dictionary keys
      • supports get(), items() and keys() methods, similar to a dictionary
      • a keyed item can be extracted and removed using pop(key). Here key must be non-numeric (such as a string), in order to use dict extraction instead of list extraction.
      • new named elements can be added (in a parse action, for instance), using the same syntax as adding an item to a dict (parseResults["X"]="new item"); named elements can be removed using del parseResults["X"]
    • as a nested list
      • results returned from the Group class are encapsulated within their own list structure, so that the tokens can be handled as a hierarchical tree

    ParseResults can also be converted to an ordinary list of strings by calling asList(). Note that this will strip the results of any field names that have been defined for any embedded parse elements. (The pprint module is especially good at printing out the nested contents given by asList().)

    Finally, ParseResults can be converted to an XML string by calling asXML(). Where possible, results will be tagged using the results names defined for the respective ParseExpressions. asXML() takes two optional arguments:

    • doctagname - for ParseResults that do not have a defined name, this argument will wrap the resulting XML in a set of opening and closing tags <doctagname> and </doctagname>.
    • namedItemsOnly (default=False) - flag to indicate if the generated XML should skip items that do not have defined names. If a nested group item is named, then all embedded items will be included, whether they have names or not.

2.9   Exception classes and Troubleshooting

  • ParseException - exception returned when a grammar parse fails; ParseExceptions have attributes loc, msg, line, lineno, and column; to view the text line and location where the reported ParseException occurs, use:

    except ParseException, err:
        print err.line
        print " "*(err.column-1) + "^"
        print err
    
  • RecursiveGrammarException - exception returned by validate() if the grammar contains a recursive infinite loop, such as:

    badGrammar = Forward()
    goodToken = Literal("A")
    badGrammar <<= Optional(goodToken) + badGrammar
    
  • ParseFatalException - exception that parse actions can raise to stop parsing immediately. Should be used when a semantic error is found in the input text, such as a mismatched XML tag.

  • ParseSyntaxException - subclass of ParseFatalException raised when a syntax error is found, based on the use of the '-' operator when defining a sequence of expressions in an And expression.

You can also get some insights into the parsing logic using diagnostic parse actions, and setDebug(), or test the matching of expression fragments by testing them using scanString().

3   Miscellaneous attributes and methods

3.1   Helper methods

  • delimitedList( expr, delim=',') - convenience function for matching one or more occurrences of expr, separated by delim. By default, the delimiters are suppressed, so the returned results contain only the separate list elements. Can optionally specify combine=True, indicating that the expressions and delimiters should be returned as one combined value (useful for scoped variables, such as "a.b.c", or "a::b::c", or paths such as "a/b/c").

  • countedArray( expr ) - convenience function for a pattern where an list of instances of the given expression are preceded by an integer giving the count of elements in the list. Returns an expression that parses the leading integer, reads exactly that many expressions, and returns the array of expressions in the parse results - the leading integer is suppressed from the results (although it is easily reconstructed by using len on the returned array).

  • oneOf( string, caseless=False ) - convenience function for quickly declaring an alternative set of Literal tokens, by splitting the given string on whitespace boundaries. The tokens are sorted so that longer matches are attempted first; this ensures that a short token does not mask a longer one that starts with the same characters. If caseless=True, will create an alternative set of CaselessLiteral tokens.

  • dictOf( key, value ) - convenience function for quickly declaring a dictionary pattern of Dict( ZeroOrMore( Group( key + value ) ) ).

  • makeHTMLTags( tagName ) and makeXMLTags( tagName ) - convenience functions to create definitions of opening and closing tag expressions. Returns a pair of expressions, for the corresponding <tag> and </tag> strings. Includes support for attributes in the opening tag, such as <tag attr1="abc"> - attributes are returned as keyed tokens in the returned ParseResults. makeHTMLTags is less restrictive than makeXMLTags, especially with respect to case sensitivity.

  • infixNotation(baseOperand, operatorList) - (formerly named operatorPrecedence) convenience function to define a grammar for parsing infix notation expressions with a hierarchical precedence of operators. To use the infixNotation helper:

    1. Define the base "atom" operand term of the grammar. For this simple grammar, the smallest operand is either and integer or a variable. This will be the first argument to the infixNotation method.
    2. Define a list of tuples for each level of operator precendence. Each tuple is of the form (opExpr, numTerms, rightLeftAssoc, parseAction), where:
      • opExpr is the pyparsing expression for the operator; may also be a string, which will be converted to a Literal; if None, indicates an empty operator, such as the implied multiplication operation between 'm' and 'x' in "y = mx + b". If numTerms parameter is 3, this must be a 2-tuple containing the 2 delimiting operators.
      • numTerms is the number of terms for this operator (must be 1,2, or 3)
      • rightLeftAssoc is the indicator whether the operator is right or left associative, using the pyparsing-defined constants opAssoc.RIGHT and opAssoc.LEFT.
      • parseAction is the parse action to be associated with expressions matching this operator expression (the parse action tuple member may be omitted)
    3. Call infixNotation passing the operand expression and the operator precedence list, and save the returned value as the generated pyparsing expression. You can then use this expression to parse input strings, or incorporate it into a larger, more complex grammar.
  • matchPreviousLiteral and matchPreviousExpr - function to define and expression that matches the same content as was parsed in a previous parse expression. For instance:

    first = Word(nums)
    matchExpr = first + ":" + matchPreviousLiteral(first)
    

    will match "1:1", but not "1:2". Since this matches at the literal level, this will also match the leading "1:1" in "1:10".

    In contrast:

    first = Word(nums)
    matchExpr = first + ":" + matchPreviousExpr(first)
    

    will not match the leading "1:1" in "1:10"; the expressions are evaluated first, and then compared, so "1" is compared with "10".

  • nestedExpr(opener, closer, content=None, ignoreExpr=quotedString) - method for defining nested lists enclosed in opening and closing delimiters.

    • opener - opening character for a nested list (default="("); can also be a pyparsing expression
    • closer - closing character for a nested list (default=")"); can also be a pyparsing expression
    • content - expression for items within the nested lists (default=None)
    • ignoreExpr - expression for ignoring opening and closing delimiters (default=quotedString)

    If an expression is not provided for the content argument, the nested expression will capture all whitespace-delimited content between delimiters as a list of separate values.

    Use the ignoreExpr argument to define expressions that may contain opening or closing characters that should not be treated as opening or closing characters for nesting, such as quotedString or a comment expression. Specify multiple expressions using an Or or MatchFirst. The default is quotedString, but if no expressions are to be ignored, then pass None for this argument.

  • indentedBlock( statementExpr, indentationStackVar, indent=True) - function to define an indented block of statements, similar to indentation-based blocking in Python source code:

    • statementExpr - the expression defining a statement that will be found in the indented block; a valid indentedBlock must contain at least 1 matching statementExpr
    • indentationStackVar - a Python list variable; this variable should be common to all indentedBlock expressions defined within the same grammar, and should be reinitialized to [1] each time the grammar is to be used
    • indent - a boolean flag indicating whether the expressions within the block must be indented from the current parse location; if using indentedBlock to define the left-most statements (all starting in column 1), set indent to False
  • originalTextFor( expr ) - helper function to preserve the originally parsed text, regardless of any token processing or conversion done by the contained expression. For instance, the following expression:

    fullName = Word(alphas) + Word(alphas)
    

    will return the parse of "John Smith" as ['John', 'Smith']. In some applications, the actual name as it was given in the input string is what is desired. To do this, use originalTextFor:

    fullName = originalTextFor(Word(alphas) + Word(alphas))
    
  • ungroup( expr ) - function to "ungroup" returned tokens; useful to undo the default behavior of And to always group the returned tokens, even if there is only one in the list. (New in 1.5.6)

  • lineno( loc, string ) - function to give the line number of the location within the string; the first line is line 1, newlines start new rows

  • col( loc, string ) - function to give the column number of the location within the string; the first column is column 1, newlines reset the column number to 1

  • line( loc, string ) - function to retrieve the line of text representing lineno( loc, string ); useful when printing out diagnostic messages for exceptions

  • srange( rangeSpec ) - function to define a string of characters, given a string of the form used by regexp string ranges, such as "[0-9]" for all numeric digits, "[A-Z_]" for uppercase characters plus underscore, and so on (note that rangeSpec does not include support for generic regular expressions, just string range specs)

  • getTokensEndLoc() - function to call from within a parse action to get the ending location for the matched tokens

  • traceParseAction(fn) - decorator function to debug parse actions. Lists each call, called arguments, and return value or exception

3.2   Helper parse actions

  • removeQuotes - removes the first and last characters of a quoted string; useful to remove the delimiting quotes from quoted strings

  • replaceWith(replString) - returns a parse action that simply returns the replString; useful when using transformString, or converting HTML entities, as in:

    nbsp = Literal("&nbsp;").setParseAction( replaceWith("<BLANK>") )
    
  • keepOriginalText- (deprecated, use originalTextFor instead) restores any internal whitespace or suppressed text within the tokens for a matched parse expression. This is especially useful when defining expressions for scanString or transformString applications.

  • withAttribute( *args, **kwargs ) - helper to create a validating parse action to be used with start tags created with makeXMLTags or makeHTMLTags. Use withAttribute to qualify a starting tag with a required attribute value, to avoid false matches on common tags such as <TD> or <DIV>.

    withAttribute can be called with:

    • keyword arguments, as in (class="Customer",align="right"), or
    • a list of name-value tuples, as in ( ("ns1:class", "Customer"), ("ns2:align","right") )

    An attribute can be specified to have the special value withAttribute.ANY_VALUE, which will match any value - use this to ensure that an attribute is present but any attribute value is acceptable.

  • downcaseTokens - converts all matched tokens to lowercase

  • upcaseTokens - converts all matched tokens to uppercase

  • matchOnlyAtCol( columnNumber ) - a parse action that verifies that an expression was matched at a particular column, raising a ParseException if matching at a different column number; useful when parsing tabular data

3.3   Common string and token constants

  • alphas - same as string.letters

  • nums - same as string.digits

  • alphanums - a string containing alphas + nums

  • alphas8bit - a string containing alphabetic 8-bit characters:

    ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþ
    
  • printables - same as string.printable, minus the space (' ') character

  • empty - a global Empty(); will always match

  • sglQuotedString - a string of characters enclosed in 's; may include whitespace, but not newlines

  • dblQuotedString - a string of characters enclosed in "s; may include whitespace, but not newlines

  • quotedString - sglQuotedString | dblQuotedString

  • cStyleComment - a comment block delimited by '/*' and '*/' sequences; can span multiple lines, but does not support nesting of comments

  • htmlComment - a comment block delimited by '<!--' and '-->' sequences; can span multiple lines, but does not support nesting of comments

  • commaSeparatedList - similar to delimitedList, except that the list expressions can be any text value, or a quoted string; quoted strings can safely include commas without incorrectly breaking the string into two tokens

  • restOfLine - all remaining printable characters up to but not including the next newline

pyparsing-2.0.1/docs/pyparsingClassDiagram.JPG0000644000175000017500000071556211170740057020033 0ustar zigozigoJFIFC    $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222{" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?Aloou;ޱwKQ@T(T :U|-@$چ"W.' 8viaeVm|sPhM n OS[U>NBa<8Qn?Zoqvuro G"UgcAa$YSN4K}'ɎjV860WLkVw!_k=ֹ=Y8ռbz=v`y[CNXt+ =~[t^G[!}|j.ya?Ǿ,x眚Mֹ=G!_k=6)7閡ƬLHcjw@#RT>-A5?]y-] ui+ni %`z~'un?ZoW}\gXytf`2c jxv^$;I~Q6ҩ66U2 -mu@z!_k=Տ? YX ;qn-!E3<D%cc#u(t.uȎ 7;1 wn2\64rR!LFI2A Dn?ZoWAEsQn?ZotP?n?ZoWAEsQn?ZotP?n?ZoWAEsQn?ZotP?n?ZoWAEsQn?ZotP?n?ZoWAEsQn?ZotP?n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& hH3WYvm+m`x2wT4zb+Vxp(6%!""z#"jsɆٙ?)Q>N@D+1"|NZ͛N@D^HDDDDDnĈڍѻz=16_}T""":XLl=t DDDtlx"Z_io=^^z*1oͬW^itM?z“]z^+1"&1f)%IDATǕTno_v/z?WڽG/xsyvo+%Ͽ=;ūܾכBv/$m?v -o^x^~êTa%FDԌڽmsp1 \88/Ž%>p^2z߿,~_nԛo{a{DDDtdX5H/Gɓr%0_ |2ZE9JW>qWaY~9tq""":X5kG_z7~ 迩ܸro߅7\W.U: *8ՙ{ܾqgN< rW'"B>!w:"Bܟ?>NCD-xG}O[tw2'"* .DDDDDDƫ͛N@DDDg+1"kN$"""""j7VbDDDDDDJXhj$!2!g*9sQy!Daaj!5n/X52#y^Q95S;;9˽֍SLoF]R҃US$""z?DDGOSBYvl'6ݶmc]dW6%kGxj]_Êm!xX. zӰ]?b:y""3=1"tNC5t^XmAO=l/,][ Ƴ*4JU),!^w}xƕ;hZL-TecY8X59ϟ{dl]7e8i naL1^gjD3P.9hgߥ(%^.2꺤 )F9kՇ]V^fЈB>!w:"Bܟu:S$$văDgS'M݇%"j7Ax""zG~뺚E|u=,v:""S=1"JIƞQ#"""""j7VbDDDDDDJ<1"L~,c%FDTI즶DՉDDDDDDJdg"""""ⓝ:Q#"""""j7VbDDDDDDJX+1"""""vc%FDDDDDnĈڍQ#"""""j7VbDDDDDDJX+1"""""vc%FDDDDDnĈڍQ#"""""j7VbDDDDDDm;<.qjIENDB`pyparsing-2.0.1/htmldoc/0000755000175000017500000000000012171444757013676 5ustar zigozigopyparsing-2.0.1/htmldoc/pyparsing.pyparsing.Keyword-class.html0000644000175000017500000005430612032466315023337 0ustar zigozigo pyparsing.pyparsing.Keyword
Package pyparsing :: Module pyparsing :: Class Keyword
[frames] | no frames]

Class Keyword

source code

   object --+        
            |        
ParserElement --+    
                |    
            Token --+
                    |
                   Keyword
Known Subclasses:

Token to exactly match a specified string as a keyword, that is, it must be immediately followed by a non-keyword character. Compare with Literal:

 Literal("if") will match the leading C{'if'} in C{'ifAndOnlyIf'}.
 Keyword("if") will not; it will only match the leading C{'if'} in C{'if x=1'}, or C{'if(y==2)'}

Accepts two optional constructor arguments in addition to the keyword string: identChars is a string of characters that would be valid identifier characters, defaulting to all alphanumerics + "_" and "$"; caseless allows case-insensitive matching, default is False.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, matchString, identChars='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678..., caseless=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code
 
copy(self)
Make a copy of this ParserElement.
source code

Inherited from Token: setName

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __str__, __sub__, __xor__, addParseAction, checkRecursion, getException, ignore, leaveWhitespace, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods
 
setDefaultKeywordChars(chars)
Overrides the default Keyword chars
source code

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables
  DEFAULT_KEYWORD_CHARS = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJK...

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, matchString, identChars='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678..., caseless=False)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

copy(self)

source code 

Make a copy of this ParserElement. Useful for defining different parse actions for the same parsing pattern, using copies of the original parse element.

Overrides: ParserElement.copy
(inherited documentation)

Class Variable Details

DEFAULT_KEYWORD_CHARS

Value:
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_$'

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.CaselessLiteral-class.html0000644000175000017500000004273412032466315024774 0ustar zigozigo pyparsing.pyparsing.CaselessLiteral
Package pyparsing :: Module pyparsing :: Class CaselessLiteral
[frames] | no frames]

Class CaselessLiteral

source code

   object --+            
            |            
ParserElement --+        
                |        
            Token --+    
                    |    
              Literal --+
                        |
                       CaselessLiteral

Token to match a specified string, ignoring case of letters. Note: the matched results will always be in the case of the given match string, NOT the case of the input text.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, matchString)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code

Inherited from Token: setName

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __str__, __sub__, __xor__, addParseAction, checkRecursion, copy, getException, ignore, leaveWhitespace, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from Literal: __slotnames__

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, matchString)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.Group-class.html0000644000175000017500000004304512032466315023005 0ustar zigozigo pyparsing.pyparsing.Group
Package pyparsing :: Module pyparsing :: Class Group
[frames] | no frames]

Class Group

source code

     object --+            
              |            
  ParserElement --+        
                  |        
ParseElementEnhance --+    
                      |    
         TokenConverter --+
                          |
                         Group

Converter to return the matched tokens as a list - useful for returning tokens of ZeroOrMore and OneOrMore expressions.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, expr)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
postParse(self, instring, loc, tokenlist) source code

Inherited from ParseElementEnhance: __str__, checkRecursion, ignore, leaveWhitespace, parseImpl, streamline, validate

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, copy, getException, parseFile, parseString, parseWithTabs, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setName, setParseAction, setResultsName, setWhitespaceChars, suppress, transformString, tryParse

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables
  __slotnames__ = []

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, expr)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

postParse(self, instring, loc, tokenlist)

source code 
Overrides: ParserElement.postParse

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.NoMatch-class.html0000644000175000017500000004132112032466315023235 0ustar zigozigo pyparsing.pyparsing.NoMatch
Package pyparsing :: Module pyparsing :: Class NoMatch
[frames] | no frames]

Class NoMatch

source code

   object --+        
            |        
ParserElement --+    
                |    
            Token --+
                    |
                   NoMatch

A token that will never match.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code

Inherited from Token: setName

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __str__, __sub__, __xor__, addParseAction, checkRecursion, copy, getException, ignore, leaveWhitespace, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.White-class.html0000644000175000017500000005353712032466316023001 0ustar zigozigo pyparsing.pyparsing.White
Package pyparsing :: Module pyparsing :: Class White
[frames] | no frames]

Class White

source code

   object --+        
            |        
ParserElement --+    
                |    
            Token --+
                    |
                   White

Special matching class for matching whitespace. Normally, whitespace is ignored by pyparsing grammars. This class is included when some whitespace structures are significant. Define with a string containing the whitespace characters to be matched; default is " \t\r\n". Also takes optional min, max, and exact arguments, as defined for the Word class.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, ws=' \t\r\n', min=1, max=0, exact=0)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code

Inherited from Token: setName

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __str__, __sub__, __xor__, addParseAction, checkRecursion, copy, getException, ignore, leaveWhitespace, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables
  whiteStrs = {'\t': '<TAB>', '\n': '<LF>', '\x0c': '<FF>', '\r'...

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, ws=' \t\r\n', min=1, max=0, exact=0)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

Class Variable Details

whiteStrs

Value:
{'\t': '<TAB>',
 '''
''': '<LF>',
 '\x0c': '<FF>',
 '\r': '<CR>',
 ' ': '<SPC>'}

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.Empty-class.html0000644000175000017500000003625012032466315023007 0ustar zigozigo pyparsing.pyparsing.Empty
Package pyparsing :: Module pyparsing :: Class Empty
[frames] | no frames]

Class Empty

source code

   object --+        
            |        
ParserElement --+    
                |    
            Token --+
                    |
                   Empty
Known Subclasses:
  • And._ErrorStop

An empty token, will always match.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from Token: setName

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __str__, __sub__, __xor__, addParseAction, checkRecursion, copy, getException, ignore, leaveWhitespace, parseFile, parseImpl, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.WordEnd-class.html0000644000175000017500000004323112032466316023251 0ustar zigozigo pyparsing.pyparsing.WordEnd
Package pyparsing :: Module pyparsing :: Class WordEnd
[frames] | no frames]

Class WordEnd

source code

   object --+            
            |            
ParserElement --+        
                |        
            Token --+    
                    |    
       _PositionToken --+
                        |
                       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). To emulate the  behavior of regular expressions, use WordEnd(alphanums). WordEnd will also match at the end of the string being parsed, or at the end of a line.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, wordChars='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXY...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code

Inherited from Token: setName

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __str__, __sub__, __xor__, addParseAction, checkRecursion, copy, getException, ignore, leaveWhitespace, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, wordChars='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXY...)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.Forward-class.html0000644000175000017500000006274012032466315023320 0ustar zigozigo pyparsing.pyparsing.Forward
Package pyparsing :: Module pyparsing :: Class Forward
[frames] | no frames]

Class Forward

source code

     object --+        
              |        
  ParserElement --+    
                  |    
ParseElementEnhance --+
                      |
                     Forward
Known Subclasses:
  • _ForwardNoRecurse

Forward declaration of an expression to be defined later - used for recursive grammars, such as algebraic infix notation. When the expression is known, it is assigned to the Forward variable using the '<<' operator.

Note: take care when assigning to Forward not to overlook precedence of operators. Specifically, '|' has a lower precedence than '<<', so that:

  fwdExpr << a | b | c

will actually be evaluated as:

  (fwdExpr << a) | b | c

thereby leaving b and c out as parseable alternatives. It is recommended that you explicitly group the values inserted into the Forward:

  fwdExpr << (a | b | c)

Converting to use the '<<=' operator instead will avoid this problem.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, other=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__lshift__(self, other) source code
 
__ilshift__(self, other) source code
 
leaveWhitespace(self)
Disables the skipping of whitespace before matching the characters in the ParserElement's defined pattern.
source code
 
streamline(self) source code
 
validate(self, validateTrace=[])
Check defined expressions for valid structure, check for infinite recursive definitions.
source code
 
__str__(self)
str(x)
source code
 
copy(self)
Make a copy of this ParserElement.
source code

Inherited from ParseElementEnhance: checkRecursion, ignore, parseImpl

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, getException, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setName, setParseAction, setResultsName, setWhitespaceChars, suppress, transformString, tryParse

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, other=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

leaveWhitespace(self)

source code 

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.

Overrides: ParserElement.leaveWhitespace
(inherited documentation)

streamline(self)

source code 
Overrides: ParserElement.streamline

validate(self, validateTrace=[])

source code 

Check defined expressions for valid structure, check for infinite recursive definitions.

Overrides: ParserElement.validate
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

copy(self)

source code 

Make a copy of this ParserElement. Useful for defining different parse actions for the same parsing pattern, using copies of the original parse element.

Overrides: ParserElement.copy
(inherited documentation)

pyparsing-2.0.1/htmldoc/toc-pyparsing.pyparsing-module.html0000644000175000017500000002605312032466315022655 0ustar zigozigo pyparsing

Module pyparsing


Classes

And
CaselessKeyword
CaselessLiteral
CharsNotIn
Combine
Dict
Each
Empty
FollowedBy
Forward
GoToColumn
Group
Keyword
LineEnd
LineStart
Literal
MatchFirst
NoMatch
NotAny
OneOrMore
OnlyOnce
Optional
Or
ParseBaseException
ParseElementEnhance
ParseException
ParseExpression
ParseFatalException
ParseResults
ParseSyntaxException
ParserElement
QuotedString
RecursiveGrammarException
Regex
SkipTo
StringEnd
StringStart
Suppress
Token
TokenConverter
Upcase
White
Word
WordEnd
WordStart
ZeroOrMore

Functions

col
countedArray
delimitedList
dictOf
downcaseTokens
indentedBlock
keepOriginalText
line
lineno
makeHTMLTags
makeXMLTags
matchOnlyAtCol
matchPreviousExpr
matchPreviousLiteral
nestedExpr
nullDebugAction
oneOf
operatorPrecedence
originalTextFor
removeQuotes
replaceHTMLEntity
replaceWith
srange
traceParseAction
ungroup
upcaseTokens
withAttribute

Variables

alphanums
alphas
alphas8bit
anyCloseTag
anyOpenTag
cStyleComment
commaSeparatedList
commonHTMLEntity
cppStyleComment
dblQuotedString
dblSlashComment
empty
hexnums
htmlComment
javaStyleComment
lineEnd
lineStart
nums
opAssoc
printables
punc8bit
pythonStyleComment
quotedString
restOfLine
sglQuotedString
stringEnd
stringStart
unicodeString

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.GoToColumn-class.html0000644000175000017500000004470412032466315023742 0ustar zigozigo pyparsing.pyparsing.GoToColumn
Package pyparsing :: Module pyparsing :: Class GoToColumn
[frames] | no frames]

Class GoToColumn

source code

   object --+            
            |            
ParserElement --+        
                |        
            Token --+    
                    |    
       _PositionToken --+
                        |
                       GoToColumn

Token to advance to a specific column of input text; useful for tabular report scraping.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, colno)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
preParse(self, instring, loc) source code
 
parseImpl(self, instring, loc, doActions=True) source code

Inherited from Token: setName

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __str__, __sub__, __xor__, addParseAction, checkRecursion, copy, getException, ignore, leaveWhitespace, parseFile, parseString, parseWithTabs, postParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, colno)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

preParse(self, instring, loc)

source code 
Overrides: ParserElement.preParse

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.Upcase-class.html0000644000175000017500000004173112032466316023132 0ustar zigozigo pyparsing.pyparsing.Upcase
Package pyparsing :: Module pyparsing :: Class Upcase
[frames] | no frames]

Class Upcase

source code

     object --+            
              |            
  ParserElement --+        
                  |        
ParseElementEnhance --+    
                      |    
         TokenConverter --+
                          |
                         Upcase

Converter to upper case all matching tokens.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, *args)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
postParse(self, instring, loc, tokenlist) source code

Inherited from ParseElementEnhance: __str__, checkRecursion, ignore, leaveWhitespace, parseImpl, streamline, validate

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, copy, getException, parseFile, parseString, parseWithTabs, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setName, setParseAction, setResultsName, setWhitespaceChars, suppress, transformString, tryParse

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, *args)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

postParse(self, instring, loc, tokenlist)

source code 
Overrides: ParserElement.postParse

pyparsing-2.0.1/htmldoc/identifier-index.html0000644000175000017500000027024112032466315020007 0ustar zigozigo Identifier Index
 
[frames] | no frames]

Identifier Index

[ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ ]

A

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

Z

_



pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.StringStart-class.html0000644000175000017500000004157112032466316024200 0ustar zigozigo pyparsing.pyparsing.StringStart
Package pyparsing :: Module pyparsing :: Class StringStart
[frames] | no frames]

Class StringStart

source code

   object --+            
            |            
ParserElement --+        
                |        
            Token --+    
                    |    
       _PositionToken --+
                        |
                       StringStart

Matches if current position is at the beginning of the parse string

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code

Inherited from Token: setName

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __str__, __sub__, __xor__, addParseAction, checkRecursion, copy, getException, ignore, leaveWhitespace, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.ParseResults-class.html0000644000175000017500000011245512032466315024347 0ustar zigozigo pyparsing.pyparsing.ParseResults
Package pyparsing :: Module pyparsing :: Class ParseResults
[frames] | no frames]

Class ParseResults

source code

object --+
         |
        ParseResults

Structured parse results, to provide multiple means of access to the parsed data:

  • as a list (len(results))
  • by list index (results[0], results[1], etc.)
  • by attribute (results.<resultsName>)
Instance Methods
 
__init__(self, toklist, name=None, asList=True, modal=True, isinstance=<built-in function isinstance>)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__getitem__(self, i) source code
 
__setitem__(self, k, v, isinstance=<built-in function isinstance>) source code
 
__delitem__(self, i) source code
 
__contains__(self, k) source code
 
__len__(self) source code
 
__bool__(self) source code
 
__nonzero__(self) source code
 
__iter__(self) source code
 
__reversed__(self) source code
 
keys(self)
Returns all named result keys.
source code
 
pop(self, index=-1)
Removes and returns item at specified index (default=last).
source code
 
get(self, key, defaultValue=None)
Returns named result matching the given key, or if there is no such name, then returns the given defaultValue or None if no defaultValue is specified.
source code
 
insert(self, index, insStr)
Inserts new element at location index in the list of parsed tokens.
source code
 
items(self)
Returns all named result keys and values as a list of tuples.
source code
 
values(self)
Returns all named result values.
source code
 
__getattr__(self, name) source code
 
__add__(self, other) source code
 
__iadd__(self, other) source code
 
__radd__(self, other) source code
 
__repr__(self)
repr(x)
source code
 
__str__(self)
str(x)
source code
 
asList(self)
Returns the parse results as a nested list of matching tokens, all converted to strings.
source code
 
asDict(self)
Returns the named parse results as dictionary.
source code
 
copy(self)
Returns a new copy of a ParseResults object.
source code
 
asXML(self, doctag=None, namedItemsOnly=False, indent='', formatted=True)
Returns the parse results as XML.
source code
 
getName(self)
Returns the results name for this token expression.
source code
 
dump(self, indent='', depth=0)
Diagnostic method for listing out the contents of a ParseResults.
source code
 
__getstate__(self) source code
 
__setstate__(self, state) source code
 
__dir__(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods
a new object with type S, a subtype of T
__new__(cls, toklist, name=None, asList=True, modal=True) source code
Properties

Inherited from object: __class__

Method Details

__new__(cls, toklist, name=None, asList=True, modal=True)
Static Method

source code 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__
(inherited documentation)

__init__(self, toklist, name=None, asList=True, modal=True, isinstance=<built-in function isinstance>)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

pop(self, index=-1)

source code 

Removes and returns item at specified index (default=last). Will work with either numeric indices or dict-key indicies.

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

asXML(self, doctag=None, namedItemsOnly=False, indent='', formatted=True)

source code 

Returns the parse results as XML. Tags are created for tokens and lists that have defined results names.

dump(self, indent='', depth=0)

source code 

Diagnostic method for listing out the contents of a ParseResults. Accepts an optional indent argument so that this string can be embedded in a nested display of other data.


pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.ParserElement-class.html0000644000175000017500000022756112032466315024466 0ustar zigozigo pyparsing.pyparsing.ParserElement
Package pyparsing :: Module pyparsing :: Class ParserElement
[frames] | no frames]

Class ParserElement

source code

object --+
         |
        ParserElement
Known Subclasses:

Abstract base level parser element class.

Nested Classes
  literalStringClass
Token to exactly match a specified string.
Instance Methods
 
__init__(self, savelist=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
copy(self)
Make a copy of this ParserElement.
source code
 
setName(self, name)
Define name for this expression, for use in debugging.
source code
 
setResultsName(self, name, listAllMatches=False)
Define name for referencing matching tokens as a nested attribute of the returned parse results.
source code
 
setBreak(self, breakFlag=True)
Method to invoke the Python pdb debugger when this element is about to be parsed.
source code
 
setParseAction(self, *fns, **kwargs)
Define action to perform when successfully matching parse element definition.
source code
 
addParseAction(self, *fns, **kwargs)
Add parse action to expression's list of parse actions.
source code
 
setFailAction(self, fn)
Define action to perform if parsing fails at this expression.
source code
 
preParse(self, instring, loc) source code
 
parseImpl(self, instring, loc, doActions=True) source code
 
postParse(self, instring, loc, tokenlist) source code
 
tryParse(self, instring, loc) source code
 
parseString(self, instring, parseAll=False)
Execute the parse expression with the given string.
source code
 
scanString(self, instring, maxMatches=2147483647, overlap=False)
Scan the input string for expression matches.
source code
 
transformString(self, instring)
Extension to scanString, to modify matching text with modified tokens that may be returned from a parse action.
source code
 
searchString(self, instring, maxMatches=2147483647)
Another extension to scanString, simplifying the access to the tokens found to match the given parse expression.
source code
 
__add__(self, other)
Implementation of + operator - returns And
source code
 
__radd__(self, other)
Implementation of + operator when left operand is not a ParserElement
source code
 
__sub__(self, other)
Implementation of - operator, returns And with error stop
source code
 
__rsub__(self, other)
Implementation of - operator when left operand is not a ParserElement
source code
 
__mul__(self, other)
Implementation of * operator, allows use of expr * 3 in place of expr + expr + expr.
source code
 
__rmul__(self, other) source code
 
__or__(self, other)
Implementation of | operator - returns MatchFirst
source code
 
__ror__(self, other)
Implementation of | operator when left operand is not a ParserElement
source code
 
__xor__(self, other)
Implementation of ^ operator - returns Or
source code
 
__rxor__(self, other)
Implementation of ^ operator when left operand is not a ParserElement
source code
 
__and__(self, other)
Implementation of & operator - returns Each
source code
 
__rand__(self, other)
Implementation of & operator when left operand is not a ParserElement
source code
 
__invert__(self)
Implementation of ~ operator - returns NotAny
source code
 
__call__(self, name)
Shortcut for setResultsName, with listAllMatches=default:
source code
 
suppress(self)
Suppresses the output of this ParserElement; useful to keep punctuation from cluttering up returned output.
source code
 
leaveWhitespace(self)
Disables the skipping of whitespace before matching the characters in the ParserElement's defined pattern.
source code
 
setWhitespaceChars(self, chars)
Overrides the default whitespace chars
source code
 
parseWithTabs(self)
Overrides default behavior to expand <TAB>s to spaces before parsing the input string.
source code
 
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.
source code
 
setDebugActions(self, startAction, successAction, exceptionAction)
Enable display of debugging messages while doing pattern matching.
source code
 
setDebug(self, flag=True)
Enable display of debugging messages while doing pattern matching.
source code
 
__str__(self)
str(x)
source code
 
__repr__(self)
repr(x)
source code
 
streamline(self) source code
 
checkRecursion(self, parseElementList) source code
 
validate(self, validateTrace=[])
Check defined expressions for valid structure, check for infinite recursive definitions.
source code
 
parseFile(self, file_or_filename, parseAll=False)
Execute the parse expression on the given file or filename.
source code
 
getException(self) source code
 
__getattr__(self, aname) source code
 
__eq__(self, other) source code
 
__ne__(self, other) source code
 
__hash__(self)
hash(x)
source code
 
__req__(self, other) source code
 
__rne__(self, other) source code

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods
 
setDefaultWhitespaceChars(chars)
Overrides the default whitespace chars
source code
 
inlineLiteralsUsing(cls)
Set class to be used for inclusion of string literals into a parser.
source code
 
resetCache() source code
 
enablePackrat()
Enables "packrat" parsing, which adds memoizing to the parsing logic.
source code
Class Variables
  DEFAULT_WHITE_CHARS = ' \n\t\r'
  verbose_stacktrace = False
Properties

Inherited from object: __class__

Method Details

__init__(self, savelist=False)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

copy(self)

source code 

Make a copy of this ParserElement. Useful for defining different parse actions for the same parsing pattern, using copies of the original parse element.

setResultsName(self, name, listAllMatches=False)

source code 

Define name for referencing matching tokens as a nested attribute of the returned parse results. NOTE: this returns a *copy* of the original ParserElement object; this is so that the client can define a basic element, such as an integer, and reference it in multiple places with different names.

You can also set results names using the abbreviated syntax, expr("name") in place of expr.setResultsName("name") - see __call__.

setBreak(self, breakFlag=True)

source code 

Method to invoke the Python pdb debugger when this element is about to be parsed. Set breakFlag to True to enable, False to disable.

setParseAction(self, *fns, **kwargs)

source code 

Define action to perform when successfully matching parse element definition. Parse action fn is a callable method with 0-3 arguments, called as fn(s,loc,toks), fn(loc,toks), fn(toks), or just fn(), where:

  • s = the original string being parsed (see note below)
  • loc = the location of the matching substring
  • toks = a list of the matched tokens, packaged as a ParseResults object

If the functions in fns modify the tokens, they can return them as the return value from fn, and the modified list of tokens will replace the original. Otherwise, fn does not need to return any value.

Note: the default parsing behavior is to expand tabs in the input string before starting the parsing process. See parseString for more information on parsing strings containing <TAB>s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string.

addParseAction(self, *fns, **kwargs)

source code 

Add parse action to expression's list of parse actions. See setParseAction.

setFailAction(self, fn)

source code 

Define action to perform if parsing fails at this expression. Fail acton fn is a callable function that takes the arguments fn(s,loc,expr,err) where:

  • s = string being parsed
  • loc = location where expression match was attempted and failed
  • expr = the parse expression that failed
  • err = the exception thrown

The function returns no value. It may throw ParseFatalException if it is desired to stop parsing immediately.

enablePackrat()
Static Method

source code 

Enables "packrat" parsing, which adds memoizing to the parsing logic. Repeated parse attempts at the same string location (which happens often in many complex grammars) can immediately return a cached value, instead of re-executing parsing/validating code. Memoizing is done of both valid results and parsing exceptions.

This speedup may break existing programs that use parse actions that have side-effects. For this reason, packrat parsing is disabled when you first import pyparsing. To activate the packrat feature, your program must call the class method ParserElement.enablePackrat(). If your program uses psyco to "compile as you go", you must call enablePackrat before calling psyco.full(). If you do not do this, Python will crash. For best results, call enablePackrat() immediately after importing pyparsing.

parseString(self, instring, parseAll=False)

source code 

Execute the parse expression with the given string. This is the main interface to the client code, once the complete expression has been built.

If you want the grammar to require that the entire input string be successfully parsed, then set parseAll to True (equivalent to ending the grammar with StringEnd()).

Note: parseString implicitly calls expandtabs() on the input string, in order to report proper column numbers in parse actions. If the input string contains tabs and the grammar uses parse actions that use the loc argument to index into the string being parsed, you can ensure you have a consistent view of the input string by:

  • calling parseWithTabs on your grammar before calling parseString (see parseWithTabs)
  • define your parse action using the full (s,loc,toks) signature, and reference the input string using the parse action's s argument
  • explictly expand the tabs in your input string before calling parseString

scanString(self, instring, maxMatches=2147483647, overlap=False)

source code 

Scan the input string for expression matches. Each match will return the matching tokens, start location, and end location. May be called with optional maxMatches argument, to clip scanning after 'n' matches are found. If overlap is specified, then overlapping matches will be reported.

Note that the start and end locations are reported relative to the string being parsed. See parseString for more information on parsing strings with embedded tabs.

transformString(self, instring)

source code 

Extension to scanString, to modify matching text with modified tokens that may be returned from a parse action. To use transformString, define a grammar and attach a parse action to it that modifies the returned token list. Invoking transformString() on a target string will then scan for matches, and replace the matched text patterns according to the logic in the parse action. transformString() returns the resulting transformed string.

searchString(self, instring, maxMatches=2147483647)

source code 

Another extension to scanString, simplifying the access to the tokens found to match the given parse expression. May be called with optional maxMatches argument, to clip searching after 'n' matches are found.

__mul__(self, other)

source code 

Implementation of * operator, allows use of expr * 3 in place of expr + expr + expr. Expressions may also me multiplied by a 2-integer tuple, similar to {min,max} multipliers in regular expressions. Tuples may also include None as in:

  • expr*(n,None) or expr*(n,) is equivalent to expr*n + ZeroOrMore(expr) (read as "at least n instances of expr")
  • expr*(None,n) is equivalent to expr*(0,n) (read as "0 to n instances of expr")
  • expr*(None,None) is equivalent to ZeroOrMore(expr)
  • expr*(1,None) is equivalent to OneOrMore(expr)

Note that expr*(None,n) does not raise an exception if more than n exprs exist in the input stream; that is, expr*(None,n) does not enforce a maximum number of expr occurrences. If this behavior is desired, then write expr*(None,n) + ~expr

__call__(self, name)
(Call operator)

source code 

Shortcut for setResultsName, with listAllMatches=default:

 userdata = Word(alphas).setResultsName("name") + Word(nums+"-").setResultsName("socsecno")

could be written as:

 userdata = Word(alphas)("name") + Word(nums+"-")("socsecno")

If name is given with a trailing '*' character, then listAllMatches will be passed as True.

leaveWhitespace(self)

source code 

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.

parseWithTabs(self)

source code 

Overrides default behavior to expand <TAB>s to spaces before parsing the input string. Must be called before parseString when the input grammar contains elements that match <TAB> characters.

setDebug(self, flag=True)

source code 

Enable display of debugging messages while doing pattern matching. Set flag to True to enable, False to disable.

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

parseFile(self, file_or_filename, parseAll=False)

source code 

Execute the parse expression on the given file or filename. If a filename is specified (instead of a file object), the entire file is opened, read, and closed before parsing.

__hash__(self)
(Hashing function)

source code 

hash(x)

Overrides: object.__hash__
(inherited documentation)

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.Each-class.html0000644000175000017500000005015212032466315022546 0ustar zigozigo pyparsing.pyparsing.Each
Package pyparsing :: Module pyparsing :: Class Each
[frames] | no frames]

Class Each

source code

   object --+        
            |        
ParserElement --+    
                |    
  ParseExpression --+
                    |
                   Each

Requires all given ParseExpressions to be found, but in any order. Expressions may be separated by whitespace. May be constructed using the '&' operator.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, exprs, savelist=True)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code
 
__str__(self)
str(x)
source code
 
checkRecursion(self, parseElementList) source code

Inherited from ParseExpression: __getitem__, append, copy, ignore, leaveWhitespace, setResultsName, streamline, validate

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, getException, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setName, setParseAction, setWhitespaceChars, suppress, transformString, tryParse

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, exprs, savelist=True)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

checkRecursion(self, parseElementList)

source code 
Overrides: ParserElement.checkRecursion

pyparsing-2.0.1/htmldoc/module-tree.html0000644000175000017500000000755712032466315017012 0ustar zigozigo Module Hierarchy
 
[frames] | no frames]
[ Module Hierarchy | Class Hierarchy ]

Module Hierarchy

  • pyparsing.pyparsing: pyparsing module - Classes and methods to define and execute parsing grammars
pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.CaselessKeyword-class.html0000644000175000017500000004424612032466315025024 0ustar zigozigo pyparsing.pyparsing.CaselessKeyword
Package pyparsing :: Module pyparsing :: Class CaselessKeyword
[frames] | no frames]

Class CaselessKeyword

source code

   object --+            
            |            
ParserElement --+        
                |        
            Token --+    
                    |    
              Keyword --+
                        |
                       CaselessKeyword

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, matchString, identChars='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code

Inherited from Keyword: copy

Inherited from Token: setName

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __str__, __sub__, __xor__, addParseAction, checkRecursion, getException, ignore, leaveWhitespace, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from Keyword: setDefaultKeywordChars

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from Keyword: DEFAULT_KEYWORD_CHARS

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, matchString, identChars='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678...)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

pyparsing-2.0.1/htmldoc/toc-everything.html0000644000175000017500000003224312032466315017525 0ustar zigozigo Everything

Everything


All Classes

pyparsing.pyparsing.And
pyparsing.pyparsing.CaselessKeyword
pyparsing.pyparsing.CaselessLiteral
pyparsing.pyparsing.CharsNotIn
pyparsing.pyparsing.Combine
pyparsing.pyparsing.Dict
pyparsing.pyparsing.Each
pyparsing.pyparsing.Empty
pyparsing.pyparsing.FollowedBy
pyparsing.pyparsing.Forward
pyparsing.pyparsing.GoToColumn
pyparsing.pyparsing.Group
pyparsing.pyparsing.Keyword
pyparsing.pyparsing.LineEnd
pyparsing.pyparsing.LineStart
pyparsing.pyparsing.Literal
pyparsing.pyparsing.MatchFirst
pyparsing.pyparsing.NoMatch
pyparsing.pyparsing.NotAny
pyparsing.pyparsing.OneOrMore
pyparsing.pyparsing.OnlyOnce
pyparsing.pyparsing.Optional
pyparsing.pyparsing.Or
pyparsing.pyparsing.ParseBaseException
pyparsing.pyparsing.ParseElementEnhance
pyparsing.pyparsing.ParseException
pyparsing.pyparsing.ParseExpression
pyparsing.pyparsing.ParseFatalException
pyparsing.pyparsing.ParseResults
pyparsing.pyparsing.ParseSyntaxException
pyparsing.pyparsing.ParserElement
pyparsing.pyparsing.QuotedString
pyparsing.pyparsing.RecursiveGrammarException
pyparsing.pyparsing.Regex
pyparsing.pyparsing.Regex.compiledREtype
pyparsing.pyparsing.SkipTo
pyparsing.pyparsing.StringEnd
pyparsing.pyparsing.StringStart
pyparsing.pyparsing.Suppress
pyparsing.pyparsing.Token
pyparsing.pyparsing.TokenConverter
pyparsing.pyparsing.Upcase
pyparsing.pyparsing.White
pyparsing.pyparsing.Word
pyparsing.pyparsing.WordEnd
pyparsing.pyparsing.WordStart
pyparsing.pyparsing.ZeroOrMore

All Functions

pyparsing.pyparsing.col
pyparsing.pyparsing.countedArray
pyparsing.pyparsing.delimitedList
pyparsing.pyparsing.dictOf
pyparsing.pyparsing.downcaseTokens
pyparsing.pyparsing.indentedBlock
pyparsing.pyparsing.keepOriginalText
pyparsing.pyparsing.line
pyparsing.pyparsing.lineno
pyparsing.pyparsing.makeHTMLTags
pyparsing.pyparsing.makeXMLTags
pyparsing.pyparsing.matchOnlyAtCol
pyparsing.pyparsing.matchPreviousExpr
pyparsing.pyparsing.matchPreviousLiteral
pyparsing.pyparsing.nestedExpr
pyparsing.pyparsing.nullDebugAction
pyparsing.pyparsing.oneOf
pyparsing.pyparsing.operatorPrecedence
pyparsing.pyparsing.originalTextFor
pyparsing.pyparsing.removeQuotes
pyparsing.pyparsing.replaceHTMLEntity
pyparsing.pyparsing.replaceWith
pyparsing.pyparsing.srange
pyparsing.pyparsing.traceParseAction
pyparsing.pyparsing.ungroup
pyparsing.pyparsing.upcaseTokens
pyparsing.pyparsing.withAttribute

All Variables

pyparsing.pyparsing.alphanums
pyparsing.pyparsing.alphas
pyparsing.pyparsing.alphas8bit
pyparsing.pyparsing.anyCloseTag
pyparsing.pyparsing.anyOpenTag
pyparsing.pyparsing.cStyleComment
pyparsing.pyparsing.commaSeparatedList
pyparsing.pyparsing.commonHTMLEntity
pyparsing.pyparsing.cppStyleComment
pyparsing.pyparsing.dblQuotedString
pyparsing.pyparsing.dblSlashComment
pyparsing.pyparsing.empty
pyparsing.pyparsing.hexnums
pyparsing.pyparsing.htmlComment
pyparsing.pyparsing.javaStyleComment
pyparsing.pyparsing.lineEnd
pyparsing.pyparsing.lineStart
pyparsing.pyparsing.nums
pyparsing.pyparsing.opAssoc
pyparsing.pyparsing.printables
pyparsing.pyparsing.punc8bit
pyparsing.pyparsing.pythonStyleComment
pyparsing.pyparsing.quotedString
pyparsing.pyparsing.restOfLine
pyparsing.pyparsing.sglQuotedString
pyparsing.pyparsing.stringEnd
pyparsing.pyparsing.stringStart
pyparsing.pyparsing.unicodeString

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.Dict-class.html0000644000175000017500000004276712032466315022606 0ustar zigozigo pyparsing.pyparsing.Dict
Package pyparsing :: Module pyparsing :: Class Dict
[frames] | no frames]

Class Dict

source code

     object --+            
              |            
  ParserElement --+        
                  |        
ParseElementEnhance --+    
                      |    
         TokenConverter --+
                          |
                         Dict

Converter to return a repetitive expression as a list, but also as a dictionary. Each element can also be referenced using the first token in the expression as its key. Useful for tabular report scraping when the first column can be used as a item key.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, exprs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
postParse(self, instring, loc, tokenlist) source code

Inherited from ParseElementEnhance: __str__, checkRecursion, ignore, leaveWhitespace, parseImpl, streamline, validate

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, copy, getException, parseFile, parseString, parseWithTabs, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setName, setParseAction, setResultsName, setWhitespaceChars, suppress, transformString, tryParse

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables
  __slotnames__ = []

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, exprs)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

postParse(self, instring, loc, tokenlist)

source code 
Overrides: ParserElement.postParse

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.LineEnd-class.html0000644000175000017500000004225612032466315023232 0ustar zigozigo pyparsing.pyparsing.LineEnd
Package pyparsing :: Module pyparsing :: Class LineEnd
[frames] | no frames]

Class LineEnd

source code

   object --+            
            |            
ParserElement --+        
                |        
            Token --+    
                    |    
       _PositionToken --+
                        |
                       LineEnd

Matches if current position is at the end of a line within the parse string

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code

Inherited from Token: setName

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __str__, __sub__, __xor__, addParseAction, checkRecursion, copy, getException, ignore, leaveWhitespace, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables
  __slotnames__ = []

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

pyparsing-2.0.1/htmldoc/class-tree.html0000644000175000017500000004040112032466315016613 0ustar zigozigo Class Hierarchy
 
[frames] | no frames]
[ Module Hierarchy | Class Hierarchy ]

Class Hierarchy

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.RecursiveGrammarException-class.html0000644000175000017500000002353612032466315027051 0ustar zigozigo pyparsing.pyparsing.RecursiveGrammarException
Package pyparsing :: Module pyparsing :: Class RecursiveGrammarException
[frames] | no frames]

Class RecursiveGrammarException

source code

              object --+        
                       |        
exceptions.BaseException --+    
                           |    
        exceptions.Exception --+
                               |
                              RecursiveGrammarException

exception thrown by validate() if the grammar could be improperly recursive

Instance Methods
 
__init__(self, parseElementList)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__str__(self)
str(x)
source code

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Properties

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details

__init__(self, parseElementList)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.ParseExpression-class.html0000644000175000017500000007161312032466315025045 0ustar zigozigo pyparsing.pyparsing.ParseExpression
Package pyparsing :: Module pyparsing :: Class ParseExpression
[frames] | no frames]

Class ParseExpression

source code

   object --+    
            |    
ParserElement --+
                |
               ParseExpression
Known Subclasses:

Abstract subclass of ParserElement, for combining and post-processing parsed tokens.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, exprs, savelist=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__getitem__(self, i) source code
 
append(self, other) source code
 
leaveWhitespace(self)
Extends leaveWhitespace defined in base class, and also invokes leaveWhitespace on all contained expressions.
source code
 
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.
source code
 
__str__(self)
str(x)
source code
 
streamline(self) source code
 
setResultsName(self, name, listAllMatches=False)
Define name for referencing matching tokens as a nested attribute of the returned parse results.
source code
 
validate(self, validateTrace=[])
Check defined expressions for valid structure, check for infinite recursive definitions.
source code
 
copy(self)
Make a copy of this ParserElement.
source code

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, checkRecursion, getException, parseFile, parseImpl, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setName, setParseAction, setWhitespaceChars, suppress, transformString, tryParse

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, exprs, savelist=False)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

leaveWhitespace(self)

source code 

Extends leaveWhitespace defined in base class, and also invokes leaveWhitespace on all contained expressions.

Overrides: ParserElement.leaveWhitespace

ignore(self, other)

source code 

Define expression to be ignored (e.g., comments) while doing pattern matching; may be called repeatedly, to define multiple comment or other ignorable patterns.

Overrides: ParserElement.ignore
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

streamline(self)

source code 
Overrides: ParserElement.streamline

setResultsName(self, name, listAllMatches=False)

source code 

Define name for referencing matching tokens as a nested attribute of the returned parse results. NOTE: this returns a *copy* of the original ParserElement object; this is so that the client can define a basic element, such as an integer, and reference it in multiple places with different names.

You can also set results names using the abbreviated syntax, expr("name") in place of expr.setResultsName("name") - see __call__.

Overrides: ParserElement.setResultsName
(inherited documentation)

validate(self, validateTrace=[])

source code 

Check defined expressions for valid structure, check for infinite recursive definitions.

Overrides: ParserElement.validate
(inherited documentation)

copy(self)

source code 

Make a copy of this ParserElement. Useful for defining different parse actions for the same parsing pattern, using copies of the original parse element.

Overrides: ParserElement.copy
(inherited documentation)

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.Optional-class.html0000644000175000017500000004562512032466315023504 0ustar zigozigo pyparsing.pyparsing.Optional
Package pyparsing :: Module pyparsing :: Class Optional
[frames] | no frames]

Class Optional

source code

     object --+        
              |        
  ParserElement --+    
                  |    
ParseElementEnhance --+
                      |
                     Optional

Optional matching of the given expression. A default return string can also be specified, if the optional expression is not found.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, exprs, default=_NullToken())
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code
 
__str__(self)
str(x)
source code

Inherited from ParseElementEnhance: checkRecursion, ignore, leaveWhitespace, streamline, validate

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, copy, getException, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setName, setParseAction, setResultsName, setWhitespaceChars, suppress, transformString, tryParse

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables
  __slotnames__ = []

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, exprs, default=_NullToken())
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.ParseSyntaxException-class.html0000644000175000017500000002273112032466315026050 0ustar zigozigo pyparsing.pyparsing.ParseSyntaxException
Package pyparsing :: Module pyparsing :: Class ParseSyntaxException
[frames] | no frames]

Class ParseSyntaxException

source code

              object --+                
                       |                
exceptions.BaseException --+            
                           |            
        exceptions.Exception --+        
                               |        
              ParseBaseException --+    
                                   |    
                 ParseFatalException --+
                                       |
                                      ParseSyntaxException

just like ParseFatalException, but thrown internally when an ErrorStop ('-' operator) indicates that parsing is to stop immediately because an unbacktrackable syntax error has been found

Instance Methods
 
__init__(self, pe)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from ParseBaseException: __dir__, __getattr__, __repr__, __str__, markInputline

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __setattr__, __setstate__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Properties

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details

__init__(self, pe)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.ParseBaseException-class.html0000644000175000017500000003652012032466315025435 0ustar zigozigo pyparsing.pyparsing.ParseBaseException
Package pyparsing :: Module pyparsing :: Class ParseBaseException
[frames] | no frames]

Class ParseBaseException

source code

              object --+        
                       |        
exceptions.BaseException --+    
                           |    
        exceptions.Exception --+
                               |
                              ParseBaseException
Known Subclasses:

base exception class for all parsing runtime exceptions

Instance Methods
 
__init__(self, pstr, loc=0, msg=None, elem=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__getattr__(self, aname)
supported attributes by name are:
source code
 
__str__(self)
str(x)
source code
 
__repr__(self)
repr(x)
source code
 
markInputline(self, markerString='>!<')
Extracts the exception line from the input string, and marks the location of the exception with a special symbol.
source code
 
__dir__(self) source code

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __setattr__, __setstate__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Properties

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details

__init__(self, pstr, loc=0, msg=None, elem=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__getattr__(self, aname)
(Qualification operator)

source code 

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

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.NotAny-class.html0000644000175000017500000004572212032466315023125 0ustar zigozigo pyparsing.pyparsing.NotAny
Package pyparsing :: Module pyparsing :: Class NotAny
[frames] | no frames]

Class NotAny

source code

     object --+        
              |        
  ParserElement --+    
                  |    
ParseElementEnhance --+
                      |
                     NotAny

Lookahead to disallow matching with the given parse expression. NotAny does *not* advance the parsing position within the input string, it only verifies that the specified parse expression does *not* match at the current position. Also, NotAny does *not* skip over leading whitespace. NotAny always returns a null token list. May be constructed using the '~' operator.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, expr)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code
 
__str__(self)
str(x)
source code

Inherited from ParseElementEnhance: checkRecursion, ignore, leaveWhitespace, streamline, validate

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, copy, getException, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setName, setParseAction, setResultsName, setWhitespaceChars, suppress, transformString, tryParse

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables
  __slotnames__ = []

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, expr)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.StringEnd-class.html0000644000175000017500000004153012032466316023604 0ustar zigozigo pyparsing.pyparsing.StringEnd
Package pyparsing :: Module pyparsing :: Class StringEnd
[frames] | no frames]

Class StringEnd

source code

   object --+            
            |            
ParserElement --+        
                |        
            Token --+    
                    |    
       _PositionToken --+
                        |
                       StringEnd

Matches if current position is at the end of the parse string

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code

Inherited from Token: setName

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __str__, __sub__, __xor__, addParseAction, checkRecursion, copy, getException, ignore, leaveWhitespace, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.Word-class.html0000644000175000017500000005032012032466316022617 0ustar zigozigo pyparsing.pyparsing.Word
Package pyparsing :: Module pyparsing :: Class Word
[frames] | no frames]

Class Word

source code

   object --+        
            |        
ParserElement --+    
                |    
            Token --+
                    |
                   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. The default value for min is 1 (a minimum value < 1 is not valid); the default values for max and exact are 0, meaning no maximum or exact length restriction. An optional exclude parameter can list characters that might be found in the input bodyChars string; useful to define a word of all printables except for one or two characters, for instance.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, initChars, bodyChars=None, min=1, max=0, exact=0, asKeyword=False, excludeChars=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code
 
__str__(self)
str(x)
source code

Inherited from Token: setName

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, checkRecursion, copy, getException, ignore, leaveWhitespace, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables
  __slotnames__ = []

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, initChars, bodyChars=None, min=1, max=0, exact=0, asKeyword=False, excludeChars=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.Regex-class.html0000644000175000017500000004636312032466315022771 0ustar zigozigo pyparsing.pyparsing.Regex
Package pyparsing :: Module pyparsing :: Class Regex
[frames] | no frames]

Class Regex

source code

   object --+        
            |        
ParserElement --+    
                |    
            Token --+
                    |
                   Regex

Token for matching strings that match a given regular expression. Defined with string specifying the regular expression in a form recognized by the inbuilt Python re module.

Nested Classes
  compiledREtype
Compiled regular expression objects

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, pattern, flags=0)
The parameters pattern and flags are passed to the re.compile() function as-is.
source code
 
parseImpl(self, instring, loc, doActions=True) source code
 
__str__(self)
str(x)
source code

Inherited from Token: setName

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, checkRecursion, copy, getException, ignore, leaveWhitespace, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables
  __slotnames__ = []

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, pattern, flags=0)
(Constructor)

source code 

The parameters pattern and flags are passed to the re.compile() function as-is. See the Python re module for an explanation of the acceptable patterns and flags.

Overrides: object.__init__

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

pyparsing-2.0.1/htmldoc/api-objects.txt0000644000175000017500000101577212032466316016643 0ustar zigozigopyparsing.pyparsing pyparsing.pyparsing-module.html pyparsing.pyparsing.removeQuotes pyparsing.pyparsing-module.html#removeQuotes pyparsing.pyparsing.alphanums pyparsing.pyparsing-module.html#alphanums pyparsing.pyparsing._bslash pyparsing.pyparsing-module.html#_bslash pyparsing.pyparsing._escapedPunc pyparsing.pyparsing-module.html#_escapedPunc pyparsing.pyparsing._escapedOctChar pyparsing.pyparsing-module.html#_escapedOctChar pyparsing.pyparsing._trim_arity pyparsing.pyparsing-module.html#_trim_arity pyparsing.pyparsing._defaultStartDebugAction pyparsing.pyparsing-module.html#_defaultStartDebugAction pyparsing.pyparsing._charRange pyparsing.pyparsing-module.html#_charRange pyparsing.pyparsing.delimitedList pyparsing.pyparsing-module.html#delimitedList pyparsing.pyparsing.lineEnd pyparsing.pyparsing-module.html#lineEnd pyparsing.pyparsing.dictOf pyparsing.pyparsing-module.html#dictOf pyparsing.pyparsing.makeHTMLTags pyparsing.pyparsing-module.html#makeHTMLTags pyparsing.pyparsing.commaSeparatedList pyparsing.pyparsing-module.html#commaSeparatedList pyparsing.pyparsing.stringStart pyparsing.pyparsing-module.html#stringStart pyparsing.pyparsing._makeTags pyparsing.pyparsing-module.html#_makeTags pyparsing.pyparsing._reBracketExpr pyparsing.pyparsing-module.html#_reBracketExpr pyparsing.pyparsing.oneOf pyparsing.pyparsing-module.html#oneOf pyparsing.pyparsing._flatten pyparsing.pyparsing-module.html#_flatten pyparsing.pyparsing.pythonStyleComment pyparsing.pyparsing-module.html#pythonStyleComment pyparsing.pyparsing.__versionTime__ pyparsing.pyparsing-module.html#__versionTime__ pyparsing.pyparsing.keepOriginalText pyparsing.pyparsing-module.html#keepOriginalText pyparsing.pyparsing.set pyparsing.pyparsing-module.html#set pyparsing.pyparsing._ustr pyparsing.pyparsing-module.html#_ustr pyparsing.pyparsing.matchPreviousExpr pyparsing.pyparsing-module.html#matchPreviousExpr pyparsing.pyparsing._noncomma pyparsing.pyparsing-module.html#_noncomma pyparsing.pyparsing.matchOnlyAtCol pyparsing.pyparsing-module.html#matchOnlyAtCol pyparsing.pyparsing.downcaseTokens pyparsing.pyparsing-module.html#downcaseTokens pyparsing.pyparsing._commasepitem pyparsing.pyparsing-module.html#_commasepitem pyparsing.pyparsing._defaultSuccessDebugAction pyparsing.pyparsing-module.html#_defaultSuccessDebugAction pyparsing.pyparsing.lineno pyparsing.pyparsing-module.html#lineno pyparsing.pyparsing.replaceWith pyparsing.pyparsing-module.html#replaceWith pyparsing.pyparsing.alphas8bit pyparsing.pyparsing-module.html#alphas8bit pyparsing.pyparsing._escapeRegexRangeChars pyparsing.pyparsing-module.html#_escapeRegexRangeChars pyparsing.pyparsing._singleChar pyparsing.pyparsing-module.html#_singleChar pyparsing.pyparsing.unicodeString pyparsing.pyparsing-module.html#unicodeString pyparsing.pyparsing.alphas pyparsing.pyparsing-module.html#alphas pyparsing.pyparsing.c pyparsing.pyparsing-module.html#c pyparsing.pyparsing.javaStyleComment pyparsing.pyparsing-module.html#javaStyleComment pyparsing.pyparsing.stringEnd pyparsing.pyparsing-module.html#stringEnd pyparsing.pyparsing.anyCloseTag pyparsing.pyparsing-module.html#anyCloseTag pyparsing.pyparsing.cppStyleComment pyparsing.pyparsing-module.html#cppStyleComment pyparsing.pyparsing.col pyparsing.pyparsing-module.html#col pyparsing.pyparsing.originalTextFor pyparsing.pyparsing-module.html#originalTextFor pyparsing.pyparsing._PY3K pyparsing.pyparsing-module.html#_PY3K pyparsing.pyparsing._optionalNotMatched pyparsing.pyparsing-module.html#_optionalNotMatched pyparsing.pyparsing.makeXMLTags pyparsing.pyparsing-module.html#makeXMLTags pyparsing.pyparsing.singleArgBuiltins pyparsing.pyparsing-module.html#singleArgBuiltins pyparsing.pyparsing.traceParseAction pyparsing.pyparsing-module.html#traceParseAction pyparsing.pyparsing.quotedString pyparsing.pyparsing-module.html#quotedString pyparsing.pyparsing.withAttribute pyparsing.pyparsing-module.html#withAttribute pyparsing.pyparsing.lineStart pyparsing.pyparsing-module.html#lineStart pyparsing.pyparsing.matchPreviousLiteral pyparsing.pyparsing-module.html#matchPreviousLiteral pyparsing.pyparsing.empty pyparsing.pyparsing-module.html#empty pyparsing.pyparsing._htmlEntityMap pyparsing.pyparsing-module.html#_htmlEntityMap pyparsing.pyparsing.getTokensEndLoc pyparsing.pyparsing-module.html#getTokensEndLoc pyparsing.pyparsing.ungroup pyparsing.pyparsing-module.html#ungroup pyparsing.pyparsing.anyOpenTag pyparsing.pyparsing-module.html#anyOpenTag pyparsing.pyparsing.line pyparsing.pyparsing-module.html#line pyparsing.pyparsing._expanded pyparsing.pyparsing-module.html#_expanded pyparsing.pyparsing.operatorPrecedence pyparsing.pyparsing-module.html#operatorPrecedence pyparsing.pyparsing.__doc__ pyparsing.pyparsing-module.html#__doc__ pyparsing.pyparsing.cStyleComment pyparsing.pyparsing-module.html#cStyleComment pyparsing.pyparsing.upcaseTokens pyparsing.pyparsing-module.html#upcaseTokens pyparsing.pyparsing.opAssoc pyparsing.pyparsing-module.html#opAssoc pyparsing.pyparsing.punc8bit pyparsing.pyparsing-module.html#punc8bit pyparsing.pyparsing.sglQuotedString pyparsing.pyparsing-module.html#sglQuotedString pyparsing.pyparsing.srange pyparsing.pyparsing-module.html#srange pyparsing.pyparsing.dblSlashComment pyparsing.pyparsing-module.html#dblSlashComment pyparsing.pyparsing._defaultExceptionDebugAction pyparsing.pyparsing-module.html#_defaultExceptionDebugAction pyparsing.pyparsing.nullDebugAction pyparsing.pyparsing-module.html#nullDebugAction pyparsing.pyparsing.unichr pyparsing.pyparsing-module.html#unichr pyparsing.pyparsing.dblQuotedString pyparsing.pyparsing-module.html#dblQuotedString pyparsing.pyparsing._printables_less_backslash pyparsing.pyparsing-module.html#_printables_less_backslash pyparsing.pyparsing.commonHTMLEntity pyparsing.pyparsing-module.html#commonHTMLEntity pyparsing.pyparsing.__package__ pyparsing.pyparsing-module.html#__package__ pyparsing.pyparsing.fname pyparsing.pyparsing-module.html#fname pyparsing.pyparsing.nestedExpr pyparsing.pyparsing-module.html#nestedExpr pyparsing.pyparsing.htmlComment pyparsing.pyparsing-module.html#htmlComment pyparsing.pyparsing.nums pyparsing.pyparsing-module.html#nums pyparsing.pyparsing.countedArray pyparsing.pyparsing-module.html#countedArray pyparsing.pyparsing.restOfLine pyparsing.pyparsing-module.html#restOfLine pyparsing.pyparsing._xml_escape pyparsing.pyparsing-module.html#_xml_escape pyparsing.pyparsing._MAX_INT pyparsing.pyparsing-module.html#_MAX_INT pyparsing.pyparsing._escapedHexChar pyparsing.pyparsing-module.html#_escapedHexChar pyparsing.pyparsing.hexnums pyparsing.pyparsing-module.html#hexnums pyparsing.pyparsing.indentedBlock pyparsing.pyparsing-module.html#indentedBlock pyparsing.pyparsing.replaceHTMLEntity pyparsing.pyparsing-module.html#replaceHTMLEntity pyparsing.pyparsing.printables pyparsing.pyparsing-module.html#printables pyparsing.pyparsing.And pyparsing.pyparsing.And-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.And.__str__ pyparsing.pyparsing.And-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParseExpression.append pyparsing.pyparsing.ParseExpression-class.html#append pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.And.__slotnames__ pyparsing.pyparsing.And-class.html#__slotnames__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.And.parseImpl pyparsing.pyparsing.And-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.And.__init__ pyparsing.pyparsing.And-class.html#__init__ pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParseExpression.leaveWhitespace pyparsing.pyparsing.ParseExpression-class.html#leaveWhitespace pyparsing.pyparsing.ParseExpression.__getitem__ pyparsing.pyparsing.ParseExpression-class.html#__getitem__ pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParseExpression.setResultsName pyparsing.pyparsing.ParseExpression-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParseExpression.streamline pyparsing.pyparsing.ParseExpression-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParseExpression.validate pyparsing.pyparsing.ParseExpression-class.html#validate pyparsing.pyparsing.ParseExpression.copy pyparsing.pyparsing.ParseExpression-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.And.__iadd__ pyparsing.pyparsing.And-class.html#__iadd__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParseExpression.ignore pyparsing.pyparsing.ParseExpression-class.html#ignore pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.And.checkRecursion pyparsing.pyparsing.And-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.CaselessKeyword pyparsing.pyparsing.CaselessKeyword-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.CaselessKeyword.__init__ pyparsing.pyparsing.CaselessKeyword-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.Keyword.setDefaultKeywordChars pyparsing.pyparsing.Keyword-class.html#setDefaultKeywordChars pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.CaselessKeyword.parseImpl pyparsing.pyparsing.CaselessKeyword-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.__str__ pyparsing.pyparsing.ParserElement-class.html#__str__ pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.Keyword.DEFAULT_KEYWORD_CHARS pyparsing.pyparsing.Keyword-class.html#DEFAULT_KEYWORD_CHARS pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.Token.setName pyparsing.pyparsing.Token-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.Keyword.copy pyparsing.pyparsing.Keyword-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.CaselessLiteral pyparsing.pyparsing.CaselessLiteral-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.CaselessLiteral.__init__ pyparsing.pyparsing.CaselessLiteral-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.Literal.__slotnames__ pyparsing.pyparsing.Literal-class.html#__slotnames__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.CaselessLiteral.parseImpl pyparsing.pyparsing.CaselessLiteral-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.__str__ pyparsing.pyparsing.ParserElement-class.html#__str__ pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.Token.setName pyparsing.pyparsing.Token-class.html#setName pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.CharsNotIn pyparsing.pyparsing.CharsNotIn-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.CharsNotIn.__str__ pyparsing.pyparsing.CharsNotIn-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.CharsNotIn.__init__ pyparsing.pyparsing.CharsNotIn-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.CharsNotIn.parseImpl pyparsing.pyparsing.CharsNotIn-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.Token.setName pyparsing.pyparsing.Token-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.Combine pyparsing.pyparsing.Combine-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParseElementEnhance.__str__ pyparsing.pyparsing.ParseElementEnhance-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.Combine.__init__ pyparsing.pyparsing.Combine-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.Combine.__slotnames__ pyparsing.pyparsing.Combine-class.html#__slotnames__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.ParseElementEnhance.parseImpl pyparsing.pyparsing.ParseElementEnhance-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.Combine.postParse pyparsing.pyparsing.Combine-class.html#postParse pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParseElementEnhance.leaveWhitespace pyparsing.pyparsing.ParseElementEnhance-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParseElementEnhance.streamline pyparsing.pyparsing.ParseElementEnhance-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParseElementEnhance.validate pyparsing.pyparsing.ParseElementEnhance-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.Combine.ignore pyparsing.pyparsing.Combine-class.html#ignore pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParseElementEnhance.checkRecursion pyparsing.pyparsing.ParseElementEnhance-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.Dict pyparsing.pyparsing.Dict-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParseElementEnhance.__str__ pyparsing.pyparsing.ParseElementEnhance-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.Dict.__init__ pyparsing.pyparsing.Dict-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.Dict.__slotnames__ pyparsing.pyparsing.Dict-class.html#__slotnames__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.ParseElementEnhance.parseImpl pyparsing.pyparsing.ParseElementEnhance-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.Dict.postParse pyparsing.pyparsing.Dict-class.html#postParse pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParseElementEnhance.leaveWhitespace pyparsing.pyparsing.ParseElementEnhance-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParseElementEnhance.streamline pyparsing.pyparsing.ParseElementEnhance-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParseElementEnhance.validate pyparsing.pyparsing.ParseElementEnhance-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParseElementEnhance.ignore pyparsing.pyparsing.ParseElementEnhance-class.html#ignore pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParseElementEnhance.checkRecursion pyparsing.pyparsing.ParseElementEnhance-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.Each pyparsing.pyparsing.Each-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.Each.__str__ pyparsing.pyparsing.Each-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParseExpression.append pyparsing.pyparsing.ParseExpression-class.html#append pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.Each.parseImpl pyparsing.pyparsing.Each-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.Each.__init__ pyparsing.pyparsing.Each-class.html#__init__ pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParseExpression.leaveWhitespace pyparsing.pyparsing.ParseExpression-class.html#leaveWhitespace pyparsing.pyparsing.ParseExpression.__getitem__ pyparsing.pyparsing.ParseExpression-class.html#__getitem__ pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParseExpression.setResultsName pyparsing.pyparsing.ParseExpression-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParseExpression.streamline pyparsing.pyparsing.ParseExpression-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParseExpression.validate pyparsing.pyparsing.ParseExpression-class.html#validate pyparsing.pyparsing.ParseExpression.copy pyparsing.pyparsing.ParseExpression-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParseExpression.ignore pyparsing.pyparsing.ParseExpression-class.html#ignore pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.Each.checkRecursion pyparsing.pyparsing.Each-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.Empty pyparsing.pyparsing.Empty-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.Empty.__init__ pyparsing.pyparsing.Empty-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.ParserElement.parseImpl pyparsing.pyparsing.ParserElement-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.__str__ pyparsing.pyparsing.ParserElement-class.html#__str__ pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.Token.setName pyparsing.pyparsing.Token-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.FollowedBy pyparsing.pyparsing.FollowedBy-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParseElementEnhance.__str__ pyparsing.pyparsing.ParseElementEnhance-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.FollowedBy.__init__ pyparsing.pyparsing.FollowedBy-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.FollowedBy.parseImpl pyparsing.pyparsing.FollowedBy-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParseElementEnhance.leaveWhitespace pyparsing.pyparsing.ParseElementEnhance-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParseElementEnhance.streamline pyparsing.pyparsing.ParseElementEnhance-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParseElementEnhance.validate pyparsing.pyparsing.ParseElementEnhance-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParseElementEnhance.ignore pyparsing.pyparsing.ParseElementEnhance-class.html#ignore pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParseElementEnhance.checkRecursion pyparsing.pyparsing.ParseElementEnhance-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.Forward pyparsing.pyparsing.Forward-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.Forward.__str__ pyparsing.pyparsing.Forward-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.Forward.__init__ pyparsing.pyparsing.Forward-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.ParseElementEnhance.parseImpl pyparsing.pyparsing.ParseElementEnhance-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.Forward.leaveWhitespace pyparsing.pyparsing.Forward-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.Forward.streamline pyparsing.pyparsing.Forward-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.Forward.__lshift__ pyparsing.pyparsing.Forward-class.html#__lshift__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.Forward.validate pyparsing.pyparsing.Forward-class.html#validate pyparsing.pyparsing.Forward.copy pyparsing.pyparsing.Forward-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.Forward.__ilshift__ pyparsing.pyparsing.Forward-class.html#__ilshift__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParseElementEnhance.ignore pyparsing.pyparsing.ParseElementEnhance-class.html#ignore pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParseElementEnhance.checkRecursion pyparsing.pyparsing.ParseElementEnhance-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.GoToColumn pyparsing.pyparsing.GoToColumn-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.GoToColumn.__init__ pyparsing.pyparsing.GoToColumn-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.GoToColumn.parseImpl pyparsing.pyparsing.GoToColumn-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.__str__ pyparsing.pyparsing.ParserElement-class.html#__str__ pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.Token.setName pyparsing.pyparsing.Token-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.GoToColumn.preParse pyparsing.pyparsing.GoToColumn-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.Group pyparsing.pyparsing.Group-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParseElementEnhance.__str__ pyparsing.pyparsing.ParseElementEnhance-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.Group.__init__ pyparsing.pyparsing.Group-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.Group.__slotnames__ pyparsing.pyparsing.Group-class.html#__slotnames__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.ParseElementEnhance.parseImpl pyparsing.pyparsing.ParseElementEnhance-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.Group.postParse pyparsing.pyparsing.Group-class.html#postParse pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParseElementEnhance.leaveWhitespace pyparsing.pyparsing.ParseElementEnhance-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParseElementEnhance.streamline pyparsing.pyparsing.ParseElementEnhance-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParseElementEnhance.validate pyparsing.pyparsing.ParseElementEnhance-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParseElementEnhance.ignore pyparsing.pyparsing.ParseElementEnhance-class.html#ignore pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParseElementEnhance.checkRecursion pyparsing.pyparsing.ParseElementEnhance-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.Keyword pyparsing.pyparsing.Keyword-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.Keyword.__init__ pyparsing.pyparsing.Keyword-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.Keyword.setDefaultKeywordChars pyparsing.pyparsing.Keyword-class.html#setDefaultKeywordChars pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.Keyword.parseImpl pyparsing.pyparsing.Keyword-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.__str__ pyparsing.pyparsing.ParserElement-class.html#__str__ pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.Keyword.DEFAULT_KEYWORD_CHARS pyparsing.pyparsing.Keyword-class.html#DEFAULT_KEYWORD_CHARS pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.Token.setName pyparsing.pyparsing.Token-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.Keyword.copy pyparsing.pyparsing.Keyword-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.LineEnd pyparsing.pyparsing.LineEnd-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.LineEnd.__init__ pyparsing.pyparsing.LineEnd-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.LineEnd.__slotnames__ pyparsing.pyparsing.LineEnd-class.html#__slotnames__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.LineEnd.parseImpl pyparsing.pyparsing.LineEnd-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.__str__ pyparsing.pyparsing.ParserElement-class.html#__str__ pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.Token.setName pyparsing.pyparsing.Token-class.html#setName pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.LineStart pyparsing.pyparsing.LineStart-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.LineStart.__init__ pyparsing.pyparsing.LineStart-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.LineStart.parseImpl pyparsing.pyparsing.LineStart-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.__str__ pyparsing.pyparsing.ParserElement-class.html#__str__ pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.Token.setName pyparsing.pyparsing.Token-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.LineStart.preParse pyparsing.pyparsing.LineStart-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.Literal pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.Literal.__init__ pyparsing.pyparsing.Literal-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.Literal.__slotnames__ pyparsing.pyparsing.Literal-class.html#__slotnames__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.Literal.parseImpl pyparsing.pyparsing.Literal-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.__str__ pyparsing.pyparsing.ParserElement-class.html#__str__ pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.Token.setName pyparsing.pyparsing.Token-class.html#setName pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.MatchFirst pyparsing.pyparsing.MatchFirst-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.MatchFirst.__str__ pyparsing.pyparsing.MatchFirst-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParseExpression.append pyparsing.pyparsing.ParseExpression-class.html#append pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.MatchFirst.parseImpl pyparsing.pyparsing.MatchFirst-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.MatchFirst.__init__ pyparsing.pyparsing.MatchFirst-class.html#__init__ pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParseExpression.leaveWhitespace pyparsing.pyparsing.ParseExpression-class.html#leaveWhitespace pyparsing.pyparsing.ParseExpression.__getitem__ pyparsing.pyparsing.ParseExpression-class.html#__getitem__ pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParseExpression.setResultsName pyparsing.pyparsing.ParseExpression-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParseExpression.streamline pyparsing.pyparsing.ParseExpression-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParseExpression.validate pyparsing.pyparsing.ParseExpression-class.html#validate pyparsing.pyparsing.ParseExpression.copy pyparsing.pyparsing.ParseExpression-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParseExpression.ignore pyparsing.pyparsing.ParseExpression-class.html#ignore pyparsing.pyparsing.MatchFirst.__ior__ pyparsing.pyparsing.MatchFirst-class.html#__ior__ pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.MatchFirst.checkRecursion pyparsing.pyparsing.MatchFirst-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.NoMatch pyparsing.pyparsing.NoMatch-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.NoMatch.__init__ pyparsing.pyparsing.NoMatch-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.NoMatch.parseImpl pyparsing.pyparsing.NoMatch-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.__str__ pyparsing.pyparsing.ParserElement-class.html#__str__ pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.Token.setName pyparsing.pyparsing.Token-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.NotAny pyparsing.pyparsing.NotAny-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.NotAny.__str__ pyparsing.pyparsing.NotAny-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.NotAny.__init__ pyparsing.pyparsing.NotAny-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.NotAny.__slotnames__ pyparsing.pyparsing.NotAny-class.html#__slotnames__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.NotAny.parseImpl pyparsing.pyparsing.NotAny-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParseElementEnhance.leaveWhitespace pyparsing.pyparsing.ParseElementEnhance-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParseElementEnhance.streamline pyparsing.pyparsing.ParseElementEnhance-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParseElementEnhance.validate pyparsing.pyparsing.ParseElementEnhance-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParseElementEnhance.ignore pyparsing.pyparsing.ParseElementEnhance-class.html#ignore pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParseElementEnhance.checkRecursion pyparsing.pyparsing.ParseElementEnhance-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.OneOrMore pyparsing.pyparsing.OneOrMore-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.OneOrMore.__str__ pyparsing.pyparsing.OneOrMore-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParseElementEnhance.__init__ pyparsing.pyparsing.ParseElementEnhance-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.OneOrMore.__slotnames__ pyparsing.pyparsing.OneOrMore-class.html#__slotnames__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.OneOrMore.parseImpl pyparsing.pyparsing.OneOrMore-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParseElementEnhance.leaveWhitespace pyparsing.pyparsing.ParseElementEnhance-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.OneOrMore.setResultsName pyparsing.pyparsing.OneOrMore-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParseElementEnhance.streamline pyparsing.pyparsing.ParseElementEnhance-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParseElementEnhance.validate pyparsing.pyparsing.ParseElementEnhance-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParseElementEnhance.ignore pyparsing.pyparsing.ParseElementEnhance-class.html#ignore pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParseElementEnhance.checkRecursion pyparsing.pyparsing.ParseElementEnhance-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.OnlyOnce pyparsing.pyparsing.OnlyOnce-class.html pyparsing.pyparsing.OnlyOnce.reset pyparsing.pyparsing.OnlyOnce-class.html#reset pyparsing.pyparsing.OnlyOnce.__call__ pyparsing.pyparsing.OnlyOnce-class.html#__call__ pyparsing.pyparsing.OnlyOnce.__init__ pyparsing.pyparsing.OnlyOnce-class.html#__init__ pyparsing.pyparsing.Optional pyparsing.pyparsing.Optional-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.Optional.__str__ pyparsing.pyparsing.Optional-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.Optional.__init__ pyparsing.pyparsing.Optional-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.Optional.__slotnames__ pyparsing.pyparsing.Optional-class.html#__slotnames__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.Optional.parseImpl pyparsing.pyparsing.Optional-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParseElementEnhance.leaveWhitespace pyparsing.pyparsing.ParseElementEnhance-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParseElementEnhance.streamline pyparsing.pyparsing.ParseElementEnhance-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParseElementEnhance.validate pyparsing.pyparsing.ParseElementEnhance-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParseElementEnhance.ignore pyparsing.pyparsing.ParseElementEnhance-class.html#ignore pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParseElementEnhance.checkRecursion pyparsing.pyparsing.ParseElementEnhance-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.Or pyparsing.pyparsing.Or-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.Or.__str__ pyparsing.pyparsing.Or-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParseExpression.append pyparsing.pyparsing.ParseExpression-class.html#append pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.Or.parseImpl pyparsing.pyparsing.Or-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.Or.__init__ pyparsing.pyparsing.Or-class.html#__init__ pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.Or.__ixor__ pyparsing.pyparsing.Or-class.html#__ixor__ pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParseExpression.leaveWhitespace pyparsing.pyparsing.ParseExpression-class.html#leaveWhitespace pyparsing.pyparsing.ParseExpression.__getitem__ pyparsing.pyparsing.ParseExpression-class.html#__getitem__ pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParseExpression.setResultsName pyparsing.pyparsing.ParseExpression-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParseExpression.streamline pyparsing.pyparsing.ParseExpression-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParseExpression.validate pyparsing.pyparsing.ParseExpression-class.html#validate pyparsing.pyparsing.ParseExpression.copy pyparsing.pyparsing.ParseExpression-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParseExpression.ignore pyparsing.pyparsing.ParseExpression-class.html#ignore pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.Or.checkRecursion pyparsing.pyparsing.Or-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.ParseBaseException pyparsing.pyparsing.ParseBaseException-class.html pyparsing.pyparsing.ParseBaseException.__str__ pyparsing.pyparsing.ParseBaseException-class.html#__str__ pyparsing.pyparsing.ParseBaseException.__init__ pyparsing.pyparsing.ParseBaseException-class.html#__init__ pyparsing.pyparsing.ParseBaseException.__getattr__ pyparsing.pyparsing.ParseBaseException-class.html#__getattr__ pyparsing.pyparsing.ParseBaseException.__dir__ pyparsing.pyparsing.ParseBaseException-class.html#__dir__ pyparsing.pyparsing.ParseBaseException.markInputline pyparsing.pyparsing.ParseBaseException-class.html#markInputline pyparsing.pyparsing.ParseBaseException.__repr__ pyparsing.pyparsing.ParseBaseException-class.html#__repr__ pyparsing.pyparsing.ParseElementEnhance pyparsing.pyparsing.ParseElementEnhance-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParseElementEnhance.__str__ pyparsing.pyparsing.ParseElementEnhance-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParseElementEnhance.__init__ pyparsing.pyparsing.ParseElementEnhance-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.ParseElementEnhance.parseImpl pyparsing.pyparsing.ParseElementEnhance-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParseElementEnhance.leaveWhitespace pyparsing.pyparsing.ParseElementEnhance-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParseElementEnhance.streamline pyparsing.pyparsing.ParseElementEnhance-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParseElementEnhance.validate pyparsing.pyparsing.ParseElementEnhance-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParseElementEnhance.ignore pyparsing.pyparsing.ParseElementEnhance-class.html#ignore pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParseElementEnhance.checkRecursion pyparsing.pyparsing.ParseElementEnhance-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.ParseException pyparsing.pyparsing.ParseException-class.html pyparsing.pyparsing.ParseBaseException.__str__ pyparsing.pyparsing.ParseBaseException-class.html#__str__ pyparsing.pyparsing.ParseBaseException.__init__ pyparsing.pyparsing.ParseBaseException-class.html#__init__ pyparsing.pyparsing.ParseBaseException.__getattr__ pyparsing.pyparsing.ParseBaseException-class.html#__getattr__ pyparsing.pyparsing.ParseBaseException.__dir__ pyparsing.pyparsing.ParseBaseException-class.html#__dir__ pyparsing.pyparsing.ParseBaseException.markInputline pyparsing.pyparsing.ParseBaseException-class.html#markInputline pyparsing.pyparsing.ParseBaseException.__repr__ pyparsing.pyparsing.ParseBaseException-class.html#__repr__ pyparsing.pyparsing.ParseExpression pyparsing.pyparsing.ParseExpression-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParseExpression.__str__ pyparsing.pyparsing.ParseExpression-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParseExpression.__init__ pyparsing.pyparsing.ParseExpression-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.ParserElement.parseImpl pyparsing.pyparsing.ParserElement-class.html#parseImpl pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParseExpression.append pyparsing.pyparsing.ParseExpression-class.html#append pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParseExpression.leaveWhitespace pyparsing.pyparsing.ParseExpression-class.html#leaveWhitespace pyparsing.pyparsing.ParseExpression.__getitem__ pyparsing.pyparsing.ParseExpression-class.html#__getitem__ pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParseExpression.setResultsName pyparsing.pyparsing.ParseExpression-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParseExpression.streamline pyparsing.pyparsing.ParseExpression-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParseExpression.validate pyparsing.pyparsing.ParseExpression-class.html#validate pyparsing.pyparsing.ParseExpression.copy pyparsing.pyparsing.ParseExpression-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParseExpression.ignore pyparsing.pyparsing.ParseExpression-class.html#ignore pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.ParseFatalException pyparsing.pyparsing.ParseFatalException-class.html pyparsing.pyparsing.ParseBaseException.__str__ pyparsing.pyparsing.ParseBaseException-class.html#__str__ pyparsing.pyparsing.ParseBaseException.__init__ pyparsing.pyparsing.ParseBaseException-class.html#__init__ pyparsing.pyparsing.ParseBaseException.__getattr__ pyparsing.pyparsing.ParseBaseException-class.html#__getattr__ pyparsing.pyparsing.ParseBaseException.__dir__ pyparsing.pyparsing.ParseBaseException-class.html#__dir__ pyparsing.pyparsing.ParseBaseException.markInputline pyparsing.pyparsing.ParseBaseException-class.html#markInputline pyparsing.pyparsing.ParseBaseException.__repr__ pyparsing.pyparsing.ParseBaseException-class.html#__repr__ pyparsing.pyparsing.ParseResults pyparsing.pyparsing.ParseResults-class.html pyparsing.pyparsing.ParseResults.__add__ pyparsing.pyparsing.ParseResults-class.html#__add__ pyparsing.pyparsing.ParseResults.dump pyparsing.pyparsing.ParseResults-class.html#dump pyparsing.pyparsing.ParseResults.__str__ pyparsing.pyparsing.ParseResults-class.html#__str__ pyparsing.pyparsing.ParseResults.pop pyparsing.pyparsing.ParseResults-class.html#pop pyparsing.pyparsing.ParseResults.__radd__ pyparsing.pyparsing.ParseResults-class.html#__radd__ pyparsing.pyparsing.ParseResults.__init__ pyparsing.pyparsing.ParseResults-class.html#__init__ pyparsing.pyparsing.ParseResults.__lookup pyparsing.pyparsing.ParseResults-class.html#__lookup pyparsing.pyparsing.ParseResults.__new__ pyparsing.pyparsing.ParseResults-class.html#__new__ pyparsing.pyparsing.ParseResults.__contains__ pyparsing.pyparsing.ParseResults-class.html#__contains__ pyparsing.pyparsing.ParseResults.getName pyparsing.pyparsing.ParseResults-class.html#getName pyparsing.pyparsing.ParseResults.__setstate__ pyparsing.pyparsing.ParseResults-class.html#__setstate__ pyparsing.pyparsing.ParseResults._asStringList pyparsing.pyparsing.ParseResults-class.html#_asStringList pyparsing.pyparsing.ParseResults.__getattr__ pyparsing.pyparsing.ParseResults-class.html#__getattr__ pyparsing.pyparsing.ParseResults.__dir__ pyparsing.pyparsing.ParseResults-class.html#__dir__ pyparsing.pyparsing.ParseResults.__getstate__ pyparsing.pyparsing.ParseResults-class.html#__getstate__ pyparsing.pyparsing.ParseResults.__len__ pyparsing.pyparsing.ParseResults-class.html#__len__ pyparsing.pyparsing.ParseResults.__getitem__ pyparsing.pyparsing.ParseResults-class.html#__getitem__ pyparsing.pyparsing.ParseResults.get pyparsing.pyparsing.ParseResults-class.html#get pyparsing.pyparsing.ParseResults.keys pyparsing.pyparsing.ParseResults-class.html#keys pyparsing.pyparsing.ParseResults.__iter__ pyparsing.pyparsing.ParseResults-class.html#__iter__ pyparsing.pyparsing.ParseResults.asXML pyparsing.pyparsing.ParseResults-class.html#asXML pyparsing.pyparsing.ParseResults.insert pyparsing.pyparsing.ParseResults-class.html#insert pyparsing.pyparsing.ParseResults.__bool__ pyparsing.pyparsing.ParseResults-class.html#__bool__ pyparsing.pyparsing.ParseResults.copy pyparsing.pyparsing.ParseResults-class.html#copy pyparsing.pyparsing.ParseResults.asList pyparsing.pyparsing.ParseResults-class.html#asList pyparsing.pyparsing.ParseResults.__delitem__ pyparsing.pyparsing.ParseResults-class.html#__delitem__ pyparsing.pyparsing.ParseResults.__reversed__ pyparsing.pyparsing.ParseResults-class.html#__reversed__ pyparsing.pyparsing.ParseResults.__nonzero__ pyparsing.pyparsing.ParseResults-class.html#__nonzero__ pyparsing.pyparsing.ParseResults.items pyparsing.pyparsing.ParseResults-class.html#items pyparsing.pyparsing.ParseResults.__setitem__ pyparsing.pyparsing.ParseResults-class.html#__setitem__ pyparsing.pyparsing.ParseResults.__iadd__ pyparsing.pyparsing.ParseResults-class.html#__iadd__ pyparsing.pyparsing.ParseResults.values pyparsing.pyparsing.ParseResults-class.html#values pyparsing.pyparsing.ParseResults.__repr__ pyparsing.pyparsing.ParseResults-class.html#__repr__ pyparsing.pyparsing.ParseResults.asDict pyparsing.pyparsing.ParseResults-class.html#asDict pyparsing.pyparsing.ParseSyntaxException pyparsing.pyparsing.ParseSyntaxException-class.html pyparsing.pyparsing.ParseBaseException.__str__ pyparsing.pyparsing.ParseBaseException-class.html#__str__ pyparsing.pyparsing.ParseSyntaxException.__init__ pyparsing.pyparsing.ParseSyntaxException-class.html#__init__ pyparsing.pyparsing.ParseBaseException.__getattr__ pyparsing.pyparsing.ParseBaseException-class.html#__getattr__ pyparsing.pyparsing.ParseBaseException.__dir__ pyparsing.pyparsing.ParseBaseException-class.html#__dir__ pyparsing.pyparsing.ParseBaseException.markInputline pyparsing.pyparsing.ParseBaseException-class.html#markInputline pyparsing.pyparsing.ParseBaseException.__repr__ pyparsing.pyparsing.ParseBaseException-class.html#__repr__ pyparsing.pyparsing.ParserElement pyparsing.pyparsing.ParserElement-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParserElement.__init__ pyparsing.pyparsing.ParserElement-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.ParserElement.parseImpl pyparsing.pyparsing.ParserElement-class.html#parseImpl pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.__str__ pyparsing.pyparsing.ParserElement-class.html#__str__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.QuotedString pyparsing.pyparsing.QuotedString-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.QuotedString.__str__ pyparsing.pyparsing.QuotedString-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.QuotedString.__init__ pyparsing.pyparsing.QuotedString-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.QuotedString.parseImpl pyparsing.pyparsing.QuotedString-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.Token.setName pyparsing.pyparsing.Token-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.RecursiveGrammarException pyparsing.pyparsing.RecursiveGrammarException-class.html pyparsing.pyparsing.RecursiveGrammarException.__str__ pyparsing.pyparsing.RecursiveGrammarException-class.html#__str__ pyparsing.pyparsing.RecursiveGrammarException.__init__ pyparsing.pyparsing.RecursiveGrammarException-class.html#__init__ pyparsing.pyparsing.Regex pyparsing.pyparsing.Regex-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.Regex.__str__ pyparsing.pyparsing.Regex-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.Regex.__init__ pyparsing.pyparsing.Regex-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.Regex.__slotnames__ pyparsing.pyparsing.Regex-class.html#__slotnames__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.Regex.compiledREtype pyparsing.pyparsing.Regex.compiledREtype-class.html pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.Regex.parseImpl pyparsing.pyparsing.Regex-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.Token.setName pyparsing.pyparsing.Token-class.html#setName pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.Regex.compiledREtype pyparsing.pyparsing.Regex.compiledREtype-class.html pyparsing.pyparsing.SkipTo pyparsing.pyparsing.SkipTo-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParseElementEnhance.__str__ pyparsing.pyparsing.ParseElementEnhance-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.SkipTo.__init__ pyparsing.pyparsing.SkipTo-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.SkipTo.parseImpl pyparsing.pyparsing.SkipTo-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParseElementEnhance.leaveWhitespace pyparsing.pyparsing.ParseElementEnhance-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParseElementEnhance.streamline pyparsing.pyparsing.ParseElementEnhance-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParseElementEnhance.validate pyparsing.pyparsing.ParseElementEnhance-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParseElementEnhance.ignore pyparsing.pyparsing.ParseElementEnhance-class.html#ignore pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParseElementEnhance.checkRecursion pyparsing.pyparsing.ParseElementEnhance-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.StringEnd pyparsing.pyparsing.StringEnd-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.StringEnd.__init__ pyparsing.pyparsing.StringEnd-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.StringEnd.parseImpl pyparsing.pyparsing.StringEnd-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.__str__ pyparsing.pyparsing.ParserElement-class.html#__str__ pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.Token.setName pyparsing.pyparsing.Token-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.StringStart pyparsing.pyparsing.StringStart-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.StringStart.__init__ pyparsing.pyparsing.StringStart-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.StringStart.parseImpl pyparsing.pyparsing.StringStart-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.__str__ pyparsing.pyparsing.ParserElement-class.html#__str__ pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.Token.setName pyparsing.pyparsing.Token-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.Suppress pyparsing.pyparsing.Suppress-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParseElementEnhance.__str__ pyparsing.pyparsing.ParseElementEnhance-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.TokenConverter.__init__ pyparsing.pyparsing.TokenConverter-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.Suppress.__slotnames__ pyparsing.pyparsing.Suppress-class.html#__slotnames__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.ParseElementEnhance.parseImpl pyparsing.pyparsing.ParseElementEnhance-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.Suppress.postParse pyparsing.pyparsing.Suppress-class.html#postParse pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParseElementEnhance.leaveWhitespace pyparsing.pyparsing.ParseElementEnhance-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.Suppress.suppress pyparsing.pyparsing.Suppress-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParseElementEnhance.streamline pyparsing.pyparsing.ParseElementEnhance-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParseElementEnhance.validate pyparsing.pyparsing.ParseElementEnhance-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParseElementEnhance.ignore pyparsing.pyparsing.ParseElementEnhance-class.html#ignore pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParseElementEnhance.checkRecursion pyparsing.pyparsing.ParseElementEnhance-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.Token pyparsing.pyparsing.Token-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.Token.__init__ pyparsing.pyparsing.Token-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.ParserElement.parseImpl pyparsing.pyparsing.ParserElement-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.__str__ pyparsing.pyparsing.ParserElement-class.html#__str__ pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.Token.setName pyparsing.pyparsing.Token-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.TokenConverter pyparsing.pyparsing.TokenConverter-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParseElementEnhance.__str__ pyparsing.pyparsing.ParseElementEnhance-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.TokenConverter.__init__ pyparsing.pyparsing.TokenConverter-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.ParseElementEnhance.parseImpl pyparsing.pyparsing.ParseElementEnhance-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParseElementEnhance.leaveWhitespace pyparsing.pyparsing.ParseElementEnhance-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParseElementEnhance.streamline pyparsing.pyparsing.ParseElementEnhance-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParseElementEnhance.validate pyparsing.pyparsing.ParseElementEnhance-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParseElementEnhance.ignore pyparsing.pyparsing.ParseElementEnhance-class.html#ignore pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParseElementEnhance.checkRecursion pyparsing.pyparsing.ParseElementEnhance-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.Upcase pyparsing.pyparsing.Upcase-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParseElementEnhance.__str__ pyparsing.pyparsing.ParseElementEnhance-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.Upcase.__init__ pyparsing.pyparsing.Upcase-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.ParseElementEnhance.parseImpl pyparsing.pyparsing.ParseElementEnhance-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.Upcase.postParse pyparsing.pyparsing.Upcase-class.html#postParse pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParseElementEnhance.leaveWhitespace pyparsing.pyparsing.ParseElementEnhance-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParseElementEnhance.streamline pyparsing.pyparsing.ParseElementEnhance-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParseElementEnhance.validate pyparsing.pyparsing.ParseElementEnhance-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParseElementEnhance.ignore pyparsing.pyparsing.ParseElementEnhance-class.html#ignore pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParseElementEnhance.checkRecursion pyparsing.pyparsing.ParseElementEnhance-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.White pyparsing.pyparsing.White-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.White.__init__ pyparsing.pyparsing.White-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.White.parseImpl pyparsing.pyparsing.White-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.__str__ pyparsing.pyparsing.ParserElement-class.html#__str__ pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.Token.setName pyparsing.pyparsing.Token-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.White.whiteStrs pyparsing.pyparsing.White-class.html#whiteStrs pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.Word pyparsing.pyparsing.Word-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.Word.__str__ pyparsing.pyparsing.Word-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.Word.__init__ pyparsing.pyparsing.Word-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.Word.__slotnames__ pyparsing.pyparsing.Word-class.html#__slotnames__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.Word.parseImpl pyparsing.pyparsing.Word-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.Token.setName pyparsing.pyparsing.Token-class.html#setName pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.WordEnd pyparsing.pyparsing.WordEnd-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.WordEnd.__init__ pyparsing.pyparsing.WordEnd-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.WordEnd.parseImpl pyparsing.pyparsing.WordEnd-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.__str__ pyparsing.pyparsing.ParserElement-class.html#__str__ pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.Token.setName pyparsing.pyparsing.Token-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.WordStart pyparsing.pyparsing.WordStart-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.WordStart.__init__ pyparsing.pyparsing.WordStart-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.WordStart.parseImpl pyparsing.pyparsing.WordStart-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.__str__ pyparsing.pyparsing.ParserElement-class.html#__str__ pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.Token.setName pyparsing.pyparsing.Token-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.leaveWhitespace pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ParserElement.setResultsName pyparsing.pyparsing.ParserElement-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParserElement.streamline pyparsing.pyparsing.ParserElement-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParserElement.ignore pyparsing.pyparsing.ParserElement-class.html#ignore pyparsing.pyparsing.ParserElement.validate pyparsing.pyparsing.ParserElement-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParserElement.checkRecursion pyparsing.pyparsing.ParserElement-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing.pyparsing.ZeroOrMore pyparsing.pyparsing.ZeroOrMore-class.html pyparsing.pyparsing.ParserElement._parseCache pyparsing.pyparsing.ParserElement-class.html#_parseCache pyparsing.pyparsing.ParserElement.__ror__ pyparsing.pyparsing.ParserElement-class.html#__ror__ pyparsing.pyparsing.ZeroOrMore.__str__ pyparsing.pyparsing.ZeroOrMore-class.html#__str__ pyparsing.pyparsing.ParserElement.resetCache pyparsing.pyparsing.ParserElement-class.html#resetCache pyparsing.pyparsing.ParserElement.__and__ pyparsing.pyparsing.ParserElement-class.html#__and__ pyparsing.pyparsing.ParserElement.__radd__ pyparsing.pyparsing.ParserElement-class.html#__radd__ pyparsing.pyparsing.ParserElement._parseNoCache pyparsing.pyparsing.ParserElement-class.html#_parseNoCache pyparsing.pyparsing.ParserElement._exprArgCache pyparsing.pyparsing.ParserElement-class.html#_exprArgCache pyparsing.pyparsing.ParserElement.__rsub__ pyparsing.pyparsing.ParserElement-class.html#__rsub__ pyparsing.pyparsing.ParserElement.setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars pyparsing.pyparsing.ParserElement.inlineLiteralsUsing pyparsing.pyparsing.ParserElement-class.html#inlineLiteralsUsing pyparsing.pyparsing.ParserElement.__rmul__ pyparsing.pyparsing.ParserElement-class.html#__rmul__ pyparsing.pyparsing.ZeroOrMore.__init__ pyparsing.pyparsing.ZeroOrMore-class.html#__init__ pyparsing.pyparsing.ParserElement.setFailAction pyparsing.pyparsing.ParserElement-class.html#setFailAction pyparsing.pyparsing.ParserElement.transformString pyparsing.pyparsing.ParserElement-class.html#transformString pyparsing.pyparsing.ParserElement.__rand__ pyparsing.pyparsing.ParserElement-class.html#__rand__ pyparsing.pyparsing.ParserElement.enablePackrat pyparsing.pyparsing.ParserElement-class.html#enablePackrat pyparsing.pyparsing.ParserElement.parseString pyparsing.pyparsing.ParserElement-class.html#parseString pyparsing.pyparsing.ParserElement.scanString pyparsing.pyparsing.ParserElement-class.html#scanString pyparsing.pyparsing.ParserElement.__req__ pyparsing.pyparsing.ParserElement-class.html#__req__ pyparsing.pyparsing.ParserElement.__xor__ pyparsing.pyparsing.ParserElement-class.html#__xor__ pyparsing.pyparsing.ParserElement.__getattr__ pyparsing.pyparsing.ParserElement-class.html#__getattr__ pyparsing.pyparsing.ParserElement._packratEnabled pyparsing.pyparsing.ParserElement-class.html#_packratEnabled pyparsing.pyparsing.ZeroOrMore.parseImpl pyparsing.pyparsing.ZeroOrMore-class.html#parseImpl pyparsing.pyparsing.ParserElement.__invert__ pyparsing.pyparsing.ParserElement-class.html#__invert__ pyparsing.pyparsing.ParserElement.setParseAction pyparsing.pyparsing.ParserElement-class.html#setParseAction pyparsing.pyparsing.ParserElement.postParse pyparsing.pyparsing.ParserElement-class.html#postParse pyparsing.pyparsing.ParserElement.__call__ pyparsing.pyparsing.ParserElement-class.html#__call__ pyparsing.pyparsing.ParserElement.literalStringClass pyparsing.pyparsing.Literal-class.html pyparsing.pyparsing.ParserElement.addParseAction pyparsing.pyparsing.ParserElement-class.html#addParseAction pyparsing.pyparsing.ParserElement.__mul__ pyparsing.pyparsing.ParserElement-class.html#__mul__ pyparsing.pyparsing.ParserElement.__ne__ pyparsing.pyparsing.ParserElement-class.html#__ne__ pyparsing.pyparsing.ParserElement.getException pyparsing.pyparsing.ParserElement-class.html#getException pyparsing.pyparsing.ParseElementEnhance.leaveWhitespace pyparsing.pyparsing.ParseElementEnhance-class.html#leaveWhitespace pyparsing.pyparsing.ParserElement.setName pyparsing.pyparsing.ParserElement-class.html#setName pyparsing.pyparsing.ParserElement.suppress pyparsing.pyparsing.ParserElement-class.html#suppress pyparsing.pyparsing.ParserElement.parseWithTabs pyparsing.pyparsing.ParserElement-class.html#parseWithTabs pyparsing.pyparsing.ZeroOrMore.setResultsName pyparsing.pyparsing.ZeroOrMore-class.html#setResultsName pyparsing.pyparsing.ParserElement.parseFile pyparsing.pyparsing.ParserElement-class.html#parseFile pyparsing.pyparsing.ParseElementEnhance.streamline pyparsing.pyparsing.ParseElementEnhance-class.html#streamline pyparsing.pyparsing.ParserElement.__or__ pyparsing.pyparsing.ParserElement-class.html#__or__ pyparsing.pyparsing.ParserElement.__add__ pyparsing.pyparsing.ParserElement-class.html#__add__ pyparsing.pyparsing.ParserElement.__sub__ pyparsing.pyparsing.ParserElement-class.html#__sub__ pyparsing.pyparsing.ParserElement.tryParse pyparsing.pyparsing.ParserElement-class.html#tryParse pyparsing.pyparsing.ParseElementEnhance.validate pyparsing.pyparsing.ParseElementEnhance-class.html#validate pyparsing.pyparsing.ParserElement.copy pyparsing.pyparsing.ParserElement-class.html#copy pyparsing.pyparsing.ParserElement.__eq__ pyparsing.pyparsing.ParserElement-class.html#__eq__ pyparsing.pyparsing.ParserElement.__rxor__ pyparsing.pyparsing.ParserElement-class.html#__rxor__ pyparsing.pyparsing.ParserElement.DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS pyparsing.pyparsing.ParserElement.verbose_stacktrace pyparsing.pyparsing.ParserElement-class.html#verbose_stacktrace pyparsing.pyparsing.ParserElement.searchString pyparsing.pyparsing.ParserElement-class.html#searchString pyparsing.pyparsing.ParserElement.preParse pyparsing.pyparsing.ParserElement-class.html#preParse pyparsing.pyparsing.ParserElement.__rne__ pyparsing.pyparsing.ParserElement-class.html#__rne__ pyparsing.pyparsing.ParserElement.setBreak pyparsing.pyparsing.ParserElement-class.html#setBreak pyparsing.pyparsing.ParseElementEnhance.ignore pyparsing.pyparsing.ParseElementEnhance-class.html#ignore pyparsing.pyparsing.ParserElement.setDebugActions pyparsing.pyparsing.ParserElement-class.html#setDebugActions pyparsing.pyparsing.ParserElement.__repr__ pyparsing.pyparsing.ParserElement-class.html#__repr__ pyparsing.pyparsing.ParseElementEnhance.checkRecursion pyparsing.pyparsing.ParseElementEnhance-class.html#checkRecursion pyparsing.pyparsing.ParserElement.__hash__ pyparsing.pyparsing.ParserElement-class.html#__hash__ pyparsing.pyparsing.ParserElement.setWhitespaceChars pyparsing.pyparsing.ParserElement-class.html#setWhitespaceChars pyparsing.pyparsing.ParserElement._parse pyparsing.pyparsing.ParserElement-class.html#_parse pyparsing.pyparsing.ParserElement._skipIgnorables pyparsing.pyparsing.ParserElement-class.html#_skipIgnorables pyparsing.pyparsing.ParserElement.setDebug pyparsing.pyparsing.ParserElement-class.html#setDebug pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.Regex.compiledREtype-class.html0000644000175000017500000001300612032466315025701 0ustar zigozigo pyparsing.pyparsing.Regex.compiledREtype
Package pyparsing :: Module pyparsing :: Class Regex :: Class compiledREtype
[frames] | no frames]

Class compiledREtype

object --+
         |
        pyparsing.pyparsing.Regex.compiledREtype

Compiled regular expression objects

Instance Methods

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.MatchFirst-class.html0000644000175000017500000005163212032466315023756 0ustar zigozigo pyparsing.pyparsing.MatchFirst
Package pyparsing :: Module pyparsing :: Class MatchFirst
[frames] | no frames]

Class MatchFirst

source code

   object --+        
            |        
ParserElement --+    
                |    
  ParseExpression --+
                    |
                   MatchFirst

Requires that at least one ParseExpression is found. If two expressions match, the first one listed is the one that will match. May be constructed using the '|' operator.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, exprs, savelist=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code
 
__ior__(self, other) source code
 
__str__(self)
str(x)
source code
 
checkRecursion(self, parseElementList) source code

Inherited from ParseExpression: __getitem__, append, copy, ignore, leaveWhitespace, setResultsName, streamline, validate

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, getException, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setName, setParseAction, setWhitespaceChars, suppress, transformString, tryParse

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, exprs, savelist=False)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

checkRecursion(self, parseElementList)

source code 
Overrides: ParserElement.checkRecursion

pyparsing-2.0.1/htmldoc/help.html0000644000175000017500000002532112032466315015505 0ustar zigozigo Help
 
[frames] | no frames]

API Documentation

This document contains the API (Application Programming Interface) documentation for pyparsing. Documentation for the Python objects defined by the project is divided into separate pages for each package, module, and class. The API documentation also includes two pages containing information about the project as a whole: a trees page, and an index page.

Object Documentation

Each Package Documentation page contains:

  • A description of the package.
  • A list of the modules and sub-packages contained by the package.
  • A summary of the classes defined by the package.
  • A summary of the functions defined by the package.
  • A summary of the variables defined by the package.
  • A detailed description of each function defined by the package.
  • A detailed description of each variable defined by the package.

Each Module Documentation page contains:

  • A description of the module.
  • A summary of the classes defined by the module.
  • A summary of the functions defined by the module.
  • A summary of the variables defined by the module.
  • A detailed description of each function defined by the module.
  • A detailed description of each variable defined by the module.

Each Class Documentation page contains:

  • A class inheritance diagram.
  • A list of known subclasses.
  • A description of the class.
  • A summary of the methods defined by the class.
  • A summary of the instance variables defined by the class.
  • A summary of the class (static) variables defined by the class.
  • A detailed description of each method defined by the class.
  • A detailed description of each instance variable defined by the class.
  • A detailed description of each class (static) variable defined by the class.

Project Documentation

The Trees page contains the module and class hierarchies:

  • The module hierarchy lists every package and module, with modules grouped into packages. At the top level, and within each package, modules and sub-packages are listed alphabetically.
  • The class hierarchy lists every class, grouped by base class. If a class has more than one base class, then it will be listed under each base class. At the top level, and under each base class, classes are listed alphabetically.

The Index page contains indices of terms and identifiers:

  • The term index lists every term indexed by any object's documentation. For each term, the index provides links to each place where the term is indexed.
  • The identifier index lists the (short) name of every package, module, class, method, function, variable, and parameter. For each identifier, the index provides a short description, and a link to its documentation.

The Table of Contents

The table of contents occupies the two frames on the left side of the window. The upper-left frame displays the project contents, and the lower-left frame displays the module contents:

Project
Contents
...
API
Documentation
Frame


Module
Contents
 
...
 

The project contents frame contains a list of all packages and modules that are defined by the project. Clicking on an entry will display its contents in the module contents frame. Clicking on a special entry, labeled "Everything," will display the contents of the entire project.

The module contents frame contains a list of every submodule, class, type, exception, function, and variable defined by a module or package. Clicking on an entry will display its documentation in the API documentation frame. Clicking on the name of the module, at the top of the frame, will display the documentation for the module itself.

The "frames" and "no frames" buttons below the top navigation bar can be used to control whether the table of contents is displayed or not.

The Navigation Bar

A navigation bar is located at the top and bottom of every page. It indicates what type of page you are currently viewing, and allows you to go to related pages. The following table describes the labels on the navigation bar. Note that not some labels (such as [Parent]) are not displayed on all pages.

Label Highlighted when... Links to...
[Parent] (never highlighted) the parent of the current package
[Package] viewing a package the package containing the current object
[Module] viewing a module the module containing the current object
[Class] viewing a class the class containing the current object
[Trees] viewing the trees page the trees page
[Index] viewing the index page the index page
[Help] viewing the help page the help page

The "show private" and "hide private" buttons below the top navigation bar can be used to control whether documentation for private objects is displayed. Private objects are usually defined as objects whose (short) names begin with a single underscore, but do not end with an underscore. For example, "_x", "__pprint", and "epydoc.epytext._tokenize" are private objects; but "re.sub", "__init__", and "type_" are not. However, if a module defines the "__all__" variable, then its contents are used to decide which objects are private.

A timestamp below the bottom navigation bar indicates when each page was last updated.

pyparsing-2.0.1/htmldoc/crarr.png0000644000175000017500000000052412032466315015504 0ustar zigozigoPNG  IHDR eE,tEXtCreation TimeTue 22 Aug 2006 00:43:10 -0500` XtIME)} pHYsnu>gAMA aEPLTEðf4sW ЊrD`@bCܖX{`,lNo@xdE螊dƴ~TwvtRNS@fMIDATxc`@0&+(;; /EXؑ? n  b;'+Y#(r<"IENDB`pyparsing-2.0.1/htmldoc/redirect.html0000644000175000017500000000520612032466316016357 0ustar zigozigoEpydoc Redirect Page

Epydoc Auto-redirect page

When javascript is enabled, this page will redirect URLs of the form redirect.html#dotted.name to the documentation for the object with the given fully-qualified dotted name.

 

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.ZeroOrMore-class.html0000644000175000017500000005130712032466316023755 0ustar zigozigo pyparsing.pyparsing.ZeroOrMore
Package pyparsing :: Module pyparsing :: Class ZeroOrMore
[frames] | no frames]

Class ZeroOrMore

source code

     object --+        
              |        
  ParserElement --+    
                  |    
ParseElementEnhance --+
                      |
                     ZeroOrMore

Optional repetition of zero or more of the given expression.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, expr)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code
 
__str__(self)
str(x)
source code
 
setResultsName(self, name, listAllMatches=False)
Define name for referencing matching tokens as a nested attribute of the returned parse results.
source code

Inherited from ParseElementEnhance: checkRecursion, ignore, leaveWhitespace, streamline, validate

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, copy, getException, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setName, setParseAction, setWhitespaceChars, suppress, transformString, tryParse

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, expr)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

setResultsName(self, name, listAllMatches=False)

source code 

Define name for referencing matching tokens as a nested attribute of the returned parse results. NOTE: this returns a *copy* of the original ParserElement object; this is so that the client can define a basic element, such as an integer, and reference it in multiple places with different names.

You can also set results names using the abbreviated syntax, expr("name") in place of expr.setResultsName("name") - see __call__.

Overrides: ParserElement.setResultsName
(inherited documentation)

pyparsing-2.0.1/htmldoc/frames.html0000644000175000017500000000112112032466315016022 0ustar zigozigo pyparsing pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.And-class.html0000644000175000017500000005214312032466315022412 0ustar zigozigo pyparsing.pyparsing.And
Package pyparsing :: Module pyparsing :: Class And
[frames] | no frames]

Class And

source code

   object --+        
            |        
ParserElement --+    
                |    
  ParseExpression --+
                    |
                   And

Requires all given ParseExpressions to be found in the given order. Expressions may be separated by whitespace. May be constructed using the '+' operator.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, exprs, savelist=True)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code
 
__iadd__(self, other) source code
 
checkRecursion(self, parseElementList) source code
 
__str__(self)
str(x)
source code

Inherited from ParseExpression: __getitem__, append, copy, ignore, leaveWhitespace, setResultsName, streamline, validate

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, getException, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setName, setParseAction, setWhitespaceChars, suppress, transformString, tryParse

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables
  __slotnames__ = []

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, exprs, savelist=True)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

checkRecursion(self, parseElementList)

source code 
Overrides: ParserElement.checkRecursion

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

pyparsing-2.0.1/htmldoc/epydoc.js0000644000175000017500000002517212032466315015514 0ustar zigozigofunction toggle_private() { // Search for any private/public links on this page. Store // their old text in "cmd," so we will know what action to // take; and change their text to the opposite action. var cmd = "?"; var elts = document.getElementsByTagName("a"); for(var i=0; i...
"; elt.innerHTML = s; } } function toggle(id) { elt = document.getElementById(id+"-toggle"); if (elt.innerHTML == "-") collapse(id); else expand(id); return false; } function highlight(id) { var elt = document.getElementById(id+"-def"); if (elt) elt.className = "py-highlight-hdr"; var elt = document.getElementById(id+"-expanded"); if (elt) elt.className = "py-highlight"; var elt = document.getElementById(id+"-collapsed"); if (elt) elt.className = "py-highlight"; } function num_lines(s) { var n = 1; var pos = s.indexOf("\n"); while ( pos > 0) { n += 1; pos = s.indexOf("\n", pos+1); } return n; } // Collapse all blocks that mave more than `min_lines` lines. function collapse_all(min_lines) { var elts = document.getElementsByTagName("div"); for (var i=0; i 0) if (elt.id.substring(split, elt.id.length) == "-expanded") if (num_lines(elt.innerHTML) > min_lines) collapse(elt.id.substring(0, split)); } } function expandto(href) { var start = href.indexOf("#")+1; if (start != 0 && start != href.length) { if (href.substring(start, href.length) != "-") { collapse_all(4); pos = href.indexOf(".", start); while (pos != -1) { var id = href.substring(start, pos); expand(id); pos = href.indexOf(".", pos+1); } var id = href.substring(start, href.length); expand(id); highlight(id); } } } function kill_doclink(id) { var parent = document.getElementById(id); parent.removeChild(parent.childNodes.item(0)); } function auto_kill_doclink(ev) { if (!ev) var ev = window.event; if (!this.contains(ev.toElement)) { var parent = document.getElementById(this.parentID); parent.removeChild(parent.childNodes.item(0)); } } function doclink(id, name, targets_id) { var elt = document.getElementById(id); // If we already opened the box, then destroy it. // (This case should never occur, but leave it in just in case.) if (elt.childNodes.length > 1) { elt.removeChild(elt.childNodes.item(0)); } else { // The outer box: relative + inline positioning. var box1 = document.createElement("div"); box1.style.position = "relative"; box1.style.display = "inline"; box1.style.top = 0; box1.style.left = 0; // A shadow for fun var shadow = document.createElement("div"); shadow.style.position = "absolute"; shadow.style.left = "-1.3em"; shadow.style.top = "-1.3em"; shadow.style.background = "#404040"; // The inner box: absolute positioning. var box2 = document.createElement("div"); box2.style.position = "relative"; box2.style.border = "1px solid #a0a0a0"; box2.style.left = "-.2em"; box2.style.top = "-.2em"; box2.style.background = "white"; box2.style.padding = ".3em .4em .3em .4em"; box2.style.fontStyle = "normal"; box2.onmouseout=auto_kill_doclink; box2.parentID = id; // Get the targets var targets_elt = document.getElementById(targets_id); var targets = targets_elt.getAttribute("targets"); var links = ""; target_list = targets.split(","); for (var i=0; i" + target[0] + ""; } // Put it all together. elt.insertBefore(box1, elt.childNodes.item(0)); //box1.appendChild(box2); box1.appendChild(shadow); shadow.appendChild(box2); box2.innerHTML = "Which "+name+" do you want to see documentation for?" + ""; } return false; } function get_anchor() { var href = location.href; var start = href.indexOf("#")+1; if ((start != 0) && (start != href.length)) return href.substring(start, href.length); } function redirect_url(dottedName) { // Scan through each element of the "pages" list, and check // if "name" matches with any of them. for (var i=0; i-m" or "-c"; // extract the portion & compare it to dottedName. var pagename = pages[i].substring(0, pages[i].length-2); if (pagename == dottedName.substring(0,pagename.length)) { // We've found a page that matches `dottedName`; // construct its URL, using leftover `dottedName` // content to form an anchor. var pagetype = pages[i].charAt(pages[i].length-1); var url = pagename + ((pagetype=="m")?"-module.html": "-class.html"); if (dottedName.length > pagename.length) url += "#" + dottedName.substring(pagename.length+1, dottedName.length); return url; } } } pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.ParseFatalException-class.html0000644000175000017500000001646712032466315025622 0ustar zigozigo pyparsing.pyparsing.ParseFatalException
Package pyparsing :: Module pyparsing :: Class ParseFatalException
[frames] | no frames]

Class ParseFatalException

source code

              object --+            
                       |            
exceptions.BaseException --+        
                           |        
        exceptions.Exception --+    
                               |    
              ParseBaseException --+
                                   |
                                  ParseFatalException
Known Subclasses:

user-throwable exception thrown when inconsistent parse content is found; stops all parsing immediately

Instance Methods

Inherited from ParseBaseException: __dir__, __getattr__, __init__, __repr__, __str__, markInputline

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __setattr__, __setstate__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Properties

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

pyparsing-2.0.1/htmldoc/index.html0000644000175000017500000000114212032466316015660 0ustar zigozigo pyparsing pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.CharsNotIn-class.html0000644000175000017500000004610212032466315023716 0ustar zigozigo pyparsing.pyparsing.CharsNotIn
Package pyparsing :: Module pyparsing :: Class CharsNotIn
[frames] | no frames]

Class CharsNotIn

source code

   object --+        
            |        
ParserElement --+    
                |    
            Token --+
                    |
                   CharsNotIn

Token for matching words composed of characters *not* in a given set. Defined with string containing all disallowed characters, and an optional minimum, maximum, and/or exact length. The default value for min is 1 (a minimum value < 1 is not valid); the default values for max and exact are 0, meaning no maximum or exact length restriction.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, notChars, min=1, max=0, exact=0)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code
 
__str__(self)
str(x)
source code

Inherited from Token: setName

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, checkRecursion, copy, getException, ignore, leaveWhitespace, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, notChars, min=1, max=0, exact=0)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.Literal-class.html0000644000175000017500000004252412032466315023306 0ustar zigozigo pyparsing.pyparsing.Literal
Package pyparsing :: Module pyparsing :: Class Literal
[frames] | no frames]

Class Literal

source code

   object --+        
            |        
ParserElement --+    
                |    
            Token --+
                    |
                   Literal
Known Subclasses:

Token to exactly match a specified string.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, matchString)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code

Inherited from Token: setName

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __str__, __sub__, __xor__, addParseAction, checkRecursion, copy, getException, ignore, leaveWhitespace, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables
  __slotnames__ = []

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, matchString)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.Suppress-class.html0000644000175000017500000004304512032466316023536 0ustar zigozigo pyparsing.pyparsing.Suppress
Package pyparsing :: Module pyparsing :: Class Suppress
[frames] | no frames]

Class Suppress

source code

     object --+            
              |            
  ParserElement --+        
                  |        
ParseElementEnhance --+    
                      |    
         TokenConverter --+
                          |
                         Suppress

Converter for ignoring the results of a parsed expression.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
postParse(self, instring, loc, tokenlist) source code
 
suppress(self)
Suppresses the output of this ParserElement; useful to keep punctuation from cluttering up returned output.
source code

Inherited from TokenConverter: __init__

Inherited from ParseElementEnhance: __str__, checkRecursion, ignore, leaveWhitespace, parseImpl, streamline, validate

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, copy, getException, parseFile, parseString, parseWithTabs, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setName, setParseAction, setResultsName, setWhitespaceChars, transformString, tryParse

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables
  __slotnames__ = []

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

postParse(self, instring, loc, tokenlist)

source code 
Overrides: ParserElement.postParse

suppress(self)

source code 

Suppresses the output of this ParserElement; useful to keep punctuation from cluttering up returned output.

Overrides: ParserElement.suppress
(inherited documentation)

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.Token-class.html0000644000175000017500000004227012032466316022771 0ustar zigozigo pyparsing.pyparsing.Token
Package pyparsing :: Module pyparsing :: Class Token
[frames] | no frames]

Class Token

source code

   object --+    
            |    
ParserElement --+
                |
               Token
Known Subclasses:

Abstract ParserElement subclass, for defining atomic matching patterns.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
setName(self, name)
Define name for this expression, for use in debugging.
source code

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __str__, __sub__, __xor__, addParseAction, checkRecursion, copy, getException, ignore, leaveWhitespace, parseFile, parseImpl, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

setName(self, name)

source code 

Define name for this expression, for use in debugging.

Overrides: ParserElement.setName
(inherited documentation)

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.SkipTo-class.html0000644000175000017500000004342212032466316023122 0ustar zigozigo pyparsing.pyparsing.SkipTo
Package pyparsing :: Module pyparsing :: Class SkipTo
[frames] | no frames]

Class SkipTo

source code

     object --+        
              |        
  ParserElement --+    
                  |    
ParseElementEnhance --+
                      |
                     SkipTo

Token for skipping over all undefined text until the matched expression is found. If include is set to true, the matched expression is also parsed (the skipped text and matched expression are returned as a 2-element list). The ignore argument is used to define grammars (typically quoted strings and comments) that might contain false matches.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, other, include=False, ignore=None, failOn=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code

Inherited from ParseElementEnhance: __str__, checkRecursion, ignore, leaveWhitespace, streamline, validate

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, copy, getException, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setName, setParseAction, setResultsName, setWhitespaceChars, suppress, transformString, tryParse

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, other, include=False, ignore=None, failOn=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing-pysrc.html0000644000175000017500000502357512032466316021761 0ustar zigozigo pyparsing.pyparsing
Package pyparsing :: Module pyparsing
[frames] | no frames]

Source Code for Module pyparsing.pyparsing

   1  # module pyparsing.py 
   2  # 
   3  # Copyright (c) 2003-2011  Paul T. McGuire 
   4  # 
   5  # Permission is hereby granted, free of charge, to any person obtaining 
   6  # a copy of this software and associated documentation files (the 
   7  # "Software"), to deal in the Software without restriction, including 
   8  # without limitation the rights to use, copy, modify, merge, publish, 
   9  # distribute, sublicense, and/or sell copies of the Software, and to 
  10  # permit persons to whom the Software is furnished to do so, subject to 
  11  # the following conditions: 
  12  # 
  13  # The above copyright notice and this permission notice shall be 
  14  # included in all copies or substantial portions of the Software. 
  15  # 
  16  # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 
  17  # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
  18  # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
  19  # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 
  20  # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 
  21  # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 
  22  # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 
  23  # 
  24  #from __future__ import generators 
  25   
  26  __doc__ = \ 
  27  """ 
  28  pyparsing module - Classes and methods to define and execute parsing grammars 
  29   
  30  The pyparsing module is an alternative approach to creating and executing simple grammars, 
  31  vs. the traditional lex/yacc approach, or the use of regular expressions.  With pyparsing, you 
  32  don't need to learn a new syntax for defining grammars or matching expressions - the parsing module 
  33  provides a library of classes that you use to construct the grammar directly in Python. 
  34   
  35  Here is a program to parse "Hello, World!" (or any greeting of the form C{"<salutation>, <addressee>!"}):: 
  36   
  37      from pyparsing import Word, alphas 
  38   
  39      # define grammar of a greeting 
  40      greet = Word( alphas ) + "," + Word( alphas ) + "!" 
  41   
  42      hello = "Hello, World!" 
  43      print hello, "->", greet.parseString( hello ) 
  44   
  45  The program outputs the following:: 
  46   
  47      Hello, World! -> ['Hello', ',', 'World', '!'] 
  48   
  49  The Python representation of the grammar is quite readable, owing to the self-explanatory 
  50  class names, and the use of '+', '|' and '^' operators. 
  51   
  52  The parsed results returned from C{parseString()} can be accessed as a nested list, a dictionary, or an 
  53  object with named attributes. 
  54   
  55  The pyparsing module handles some of the problems that are typically vexing when writing text parsers: 
  56   - extra or missing whitespace (the above program will also handle "Hello,World!", "Hello  ,  World  !", etc.) 
  57   - quoted strings 
  58   - embedded comments 
  59  """ 
  60   
  61  __version__ = "1.5.7" 
  62  __versionTime__ = "3 August 2012 05:00" 
  63  __author__ = "Paul McGuire <ptmcg@users.sourceforge.net>" 
  64   
  65  import string 
  66  from weakref import ref as wkref 
  67  import copy 
  68  import sys 
  69  import warnings 
  70  import re 
  71  import sre_constants 
  72  #~ sys.stderr.write( "testing pyparsing module, version %s, %s\n" % (__version__,__versionTime__ ) ) 
  73   
  74  __all__ = [ 
  75  'And', 'CaselessKeyword', 'CaselessLiteral', 'CharsNotIn', 'Combine', 'Dict', 'Each', 'Empty', 
  76  'FollowedBy', 'Forward', 'GoToColumn', 'Group', 'Keyword', 'LineEnd', 'LineStart', 'Literal', 
  77  'MatchFirst', 'NoMatch', 'NotAny', 'OneOrMore', 'OnlyOnce', 'Optional', 'Or', 
  78  'ParseBaseException', 'ParseElementEnhance', 'ParseException', 'ParseExpression', 'ParseFatalException', 
  79  'ParseResults', 'ParseSyntaxException', 'ParserElement', 'QuotedString', 'RecursiveGrammarException', 
  80  'Regex', 'SkipTo', 'StringEnd', 'StringStart', 'Suppress', 'Token', 'TokenConverter', 'Upcase', 
  81  'White', 'Word', 'WordEnd', 'WordStart', 'ZeroOrMore', 
  82  'alphanums', 'alphas', 'alphas8bit', 'anyCloseTag', 'anyOpenTag', 'cStyleComment', 'col', 
  83  'commaSeparatedList', 'commonHTMLEntity', 'countedArray', 'cppStyleComment', 'dblQuotedString', 
  84  'dblSlashComment', 'delimitedList', 'dictOf', 'downcaseTokens', 'empty', 'hexnums', 
  85  'htmlComment', 'javaStyleComment', 'keepOriginalText', 'line', 'lineEnd', 'lineStart', 'lineno', 
  86  'makeHTMLTags', 'makeXMLTags', 'matchOnlyAtCol', 'matchPreviousExpr', 'matchPreviousLiteral', 
  87  'nestedExpr', 'nullDebugAction', 'nums', 'oneOf', 'opAssoc', 'operatorPrecedence', 'printables', 
  88  'punc8bit', 'pythonStyleComment', 'quotedString', 'removeQuotes', 'replaceHTMLEntity',  
  89  'replaceWith', 'restOfLine', 'sglQuotedString', 'srange', 'stringEnd', 
  90  'stringStart', 'traceParseAction', 'unicodeString', 'upcaseTokens', 'withAttribute', 
  91  'indentedBlock', 'originalTextFor', 'ungroup', 
  92  ] 
  93   
  94  """ 
  95  Detect if we are running version 3.X and make appropriate changes 
  96  Robert A. Clark 
  97  """ 
  98  _PY3K = sys.version_info[0] > 2 
  99  if _PY3K: 
 100      _MAX_INT = sys.maxsize 
 101      basestring = str 
 102      unichr = chr 
 103      _ustr = str 
 104  else: 
 105      _MAX_INT = sys.maxint 
 106      range = xrange 
 107      set = lambda s : dict( [(c,0) for c in s] ) 
 108   
109 - def _ustr(obj):
110 """Drop-in replacement for str(obj) that tries to be Unicode friendly. It first tries 111 str(obj). If that fails with a UnicodeEncodeError, then it tries unicode(obj). It 112 then < returns the unicode object | encodes it with the default encoding | ... >. 113 """ 114 if isinstance(obj,unicode): 115 return obj 116 117 try: 118 # If this works, then _ustr(obj) has the same behaviour as str(obj), so 119 # it won't break any existing code. 120 return str(obj) 121 122 except UnicodeEncodeError: 123 # The Python docs (http://docs.python.org/ref/customization.html#l2h-182) 124 # state that "The return value must be a string object". However, does a 125 # unicode object (being a subclass of basestring) count as a "string 126 # object"? 127 # If so, then return a unicode object: 128 return unicode(obj)
129 # Else encode it... but how? There are many choices... :) 130 # Replace unprintables with escape codes? 131 #return unicode(obj).encode(sys.getdefaultencoding(), 'backslashreplace_errors') 132 # Replace unprintables with question marks? 133 #return unicode(obj).encode(sys.getdefaultencoding(), 'replace') 134 # ... 135 136 # build list of single arg builtins, tolerant of Python version, that can be used as parse actions 137 singleArgBuiltins = [] 138 import __builtin__ 139 for fname in "sum len sorted reversed list tuple set any all min max".split(): 140 try: 141 singleArgBuiltins.append(getattr(__builtin__,fname)) 142 except AttributeError: 143 continue 144
145 -def _xml_escape(data):
146 """Escape &, <, >, ", ', etc. in a string of data.""" 147 148 # ampersand must be replaced first 149 from_symbols = '&><"\'' 150 to_symbols = ['&'+s+';' for s in "amp gt lt quot apos".split()] 151 for from_,to_ in zip(from_symbols, to_symbols): 152 data = data.replace(from_, to_) 153 return data
154
155 -class _Constants(object):
156 pass
157 158 alphas = string.ascii_lowercase + string.ascii_uppercase 159 nums = "0123456789" 160 hexnums = nums + "ABCDEFabcdef" 161 alphanums = alphas + nums 162 _bslash = chr(92) 163 printables = "".join( [ c for c in string.printable if c not in string.whitespace ] ) 164
165 -class ParseBaseException(Exception):
166 """base exception class for all parsing runtime exceptions""" 167 # Performance tuning: we construct a *lot* of these, so keep this 168 # constructor as small and fast as possible
169 - def __init__( self, pstr, loc=0, msg=None, elem=None ):
170 self.loc = loc 171 if msg is None: 172 self.msg = pstr 173 self.pstr = "" 174 else: 175 self.msg = msg 176 self.pstr = pstr 177 self.parserElement = elem
178
179 - def __getattr__( self, aname ):
180 """supported attributes by name are: 181 - lineno - returns the line number of the exception text 182 - col - returns the column number of the exception text 183 - line - returns the line containing the exception text 184 """ 185 if( aname == "lineno" ): 186 return lineno( self.loc, self.pstr ) 187 elif( aname in ("col", "column") ): 188 return col( self.loc, self.pstr ) 189 elif( aname == "line" ): 190 return line( self.loc, self.pstr ) 191 else: 192 raise AttributeError(aname)
193
194 - def __str__( self ):
195 return "%s (at char %d), (line:%d, col:%d)" % \ 196 ( self.msg, self.loc, self.lineno, self.column )
197 - def __repr__( self ):
198 return _ustr(self)
199 - def markInputline( self, markerString = ">!<" ):
200 """Extracts the exception line from the input string, and marks 201 the location of the exception with a special symbol. 202 """ 203 line_str = self.line 204 line_column = self.column - 1 205 if markerString: 206 line_str = "".join( [line_str[:line_column], 207 markerString, line_str[line_column:]]) 208 return line_str.strip()
209 - def __dir__(self):
210 return "loc msg pstr parserElement lineno col line " \ 211 "markInputline __str__ __repr__".split()
212
213 -class ParseException(ParseBaseException):
214 """exception thrown when parse expressions don't match class; 215 supported attributes by name are: 216 - lineno - returns the line number of the exception text 217 - col - returns the column number of the exception text 218 - line - returns the line containing the exception text 219 """ 220 pass
221
222 -class ParseFatalException(ParseBaseException):
223 """user-throwable exception thrown when inconsistent parse content 224 is found; stops all parsing immediately""" 225 pass
226
227 -class ParseSyntaxException(ParseFatalException):
228 """just like C{L{ParseFatalException}}, but thrown internally when an 229 C{L{ErrorStop<And._ErrorStop>}} ('-' operator) indicates that parsing is to stop immediately because 230 an unbacktrackable syntax error has been found"""
231 - def __init__(self, pe):
232 super(ParseSyntaxException, self).__init__( 233 pe.pstr, pe.loc, pe.msg, pe.parserElement)
234 235 #~ class ReparseException(ParseBaseException): 236 #~ """Experimental class - parse actions can raise this exception to cause 237 #~ pyparsing to reparse the input string: 238 #~ - with a modified input string, and/or 239 #~ - with a modified start location 240 #~ Set the values of the ReparseException in the constructor, and raise the 241 #~ exception in a parse action to cause pyparsing to use the new string/location. 242 #~ Setting the values as None causes no change to be made. 243 #~ """ 244 #~ def __init_( self, newstring, restartLoc ): 245 #~ self.newParseText = newstring 246 #~ self.reparseLoc = restartLoc 247
248 -class RecursiveGrammarException(Exception):
249 """exception thrown by C{validate()} if the grammar could be improperly recursive"""
250 - def __init__( self, parseElementList ):
251 self.parseElementTrace = parseElementList
252
253 - def __str__( self ):
254 return "RecursiveGrammarException: %s" % self.parseElementTrace
255
256 -class _ParseResultsWithOffset(object):
257 - def __init__(self,p1,p2):
258 self.tup = (p1,p2)
259 - def __getitem__(self,i):
260 return self.tup[i]
261 - def __repr__(self):
262 return repr(self.tup)
263 - def setOffset(self,i):
264 self.tup = (self.tup[0],i)
265
266 -class ParseResults(object):
267 """Structured parse results, to provide multiple means of access to the parsed data: 268 - as a list (C{len(results)}) 269 - by list index (C{results[0], results[1]}, etc.) 270 - by attribute (C{results.<resultsName>}) 271 """ 272 #~ __slots__ = ( "__toklist", "__tokdict", "__doinit", "__name", "__parent", "__accumNames", "__weakref__" )
273 - def __new__(cls, toklist, name=None, asList=True, modal=True ):
274 if isinstance(toklist, cls): 275 return toklist 276 retobj = object.__new__(cls) 277 retobj.__doinit = True 278 return retobj
279 280 # Performance tuning: we construct a *lot* of these, so keep this 281 # constructor as small and fast as possible
282 - def __init__( self, toklist, name=None, asList=True, modal=True, isinstance=isinstance ):
283 if self.__doinit: 284 self.__doinit = False 285 self.__name = None 286 self.__parent = None 287 self.__accumNames = {} 288 if isinstance(toklist, list): 289 self.__toklist = toklist[:] 290 else: 291 self.__toklist = [toklist] 292 self.__tokdict = dict() 293 294 if name is not None and name: 295 if not modal: 296 self.__accumNames[name] = 0 297 if isinstance(name,int): 298 name = _ustr(name) # will always return a str, but use _ustr for consistency 299 self.__name = name 300 if not toklist in (None,'',[]): 301 if isinstance(toklist,basestring): 302 toklist = [ toklist ] 303 if asList: 304 if isinstance(toklist,ParseResults): 305 self[name] = _ParseResultsWithOffset(toklist.copy(),0) 306 else: 307 self[name] = _ParseResultsWithOffset(ParseResults(toklist[0]),0) 308 self[name].__name = name 309 else: 310 try: 311 self[name] = toklist[0] 312 except (KeyError,TypeError,IndexError): 313 self[name] = toklist
314
315 - def __getitem__( self, i ):
316 if isinstance( i, (int,slice) ): 317 return self.__toklist[i] 318 else: 319 if i not in self.__accumNames: 320 return self.__tokdict[i][-1][0] 321 else: 322 return ParseResults([ v[0] for v in self.__tokdict[i] ])
323
324 - def __setitem__( self, k, v, isinstance=isinstance ):
325 if isinstance(v,_ParseResultsWithOffset): 326 self.__tokdict[k] = self.__tokdict.get(k,list()) + [v] 327 sub = v[0] 328 elif isinstance(k,int): 329 self.__toklist[k] = v 330 sub = v 331 else: 332 self.__tokdict[k] = self.__tokdict.get(k,list()) + [_ParseResultsWithOffset(v,0)] 333 sub = v 334 if isinstance(sub,ParseResults): 335 sub.__parent = wkref(self)
336
337 - def __delitem__( self, i ):
338 if isinstance(i,(int,slice)): 339 mylen = len( self.__toklist ) 340 del self.__toklist[i] 341 342 # convert int to slice 343 if isinstance(i, int): 344 if i < 0: 345 i += mylen 346 i = slice(i, i+1) 347 # get removed indices 348 removed = list(range(*i.indices(mylen))) 349 removed.reverse() 350 # fixup indices in token dictionary 351 for name in self.__tokdict: 352 occurrences = self.__tokdict[name] 353 for j in removed: 354 for k, (value, position) in enumerate(occurrences): 355 occurrences[k] = _ParseResultsWithOffset(value, position - (position > j)) 356 else: 357 del self.__tokdict[i]
358
359 - def __contains__( self, k ):
360 return k in self.__tokdict
361
362 - def __len__( self ): return len( self.__toklist )
363 - def __bool__(self): return len( self.__toklist ) > 0
364 __nonzero__ = __bool__
365 - def __iter__( self ): return iter( self.__toklist )
366 - def __reversed__( self ): return iter( self.__toklist[::-1] )
367 - def keys( self ):
368 """Returns all named result keys.""" 369 return self.__tokdict.keys()
370
371 - def pop( self, index=-1 ):
372 """Removes and returns item at specified index (default=last). 373 Will work with either numeric indices or dict-key indicies.""" 374 ret = self[index] 375 del self[index] 376 return ret
377
378 - def get(self, key, defaultValue=None):
379 """Returns named result matching the given key, or if there is no 380 such name, then returns the given C{defaultValue} or C{None} if no 381 C{defaultValue} is specified.""" 382 if key in self: 383 return self[key] 384 else: 385 return defaultValue
386
387 - def insert( self, index, insStr ):
388 """Inserts new element at location index in the list of parsed tokens.""" 389 self.__toklist.insert(index, insStr) 390 # fixup indices in token dictionary 391 for name in self.__tokdict: 392 occurrences = self.__tokdict[name] 393 for k, (value, position) in enumerate(occurrences): 394 occurrences[k] = _ParseResultsWithOffset(value, position + (position > index))
395
396 - def items( self ):
397 """Returns all named result keys and values as a list of tuples.""" 398 return [(k,self[k]) for k in self.__tokdict]
399
400 - def values( self ):
401 """Returns all named result values.""" 402 return [ v[-1][0] for v in self.__tokdict.values() ]
403
404 - def __getattr__( self, name ):
405 if True: #name not in self.__slots__: 406 if name in self.__tokdict: 407 if name not in self.__accumNames: 408 return self.__tokdict[name][-1][0] 409 else: 410 return ParseResults([ v[0] for v in self.__tokdict[name] ]) 411 else: 412 return "" 413 return None
414
415 - def __add__( self, other ):
416 ret = self.copy() 417 ret += other 418 return ret
419
420 - def __iadd__( self, other ):
421 if other.__tokdict: 422 offset = len(self.__toklist) 423 addoffset = ( lambda a: (a<0 and offset) or (a+offset) ) 424 otheritems = other.__tokdict.items() 425 otherdictitems = [(k, _ParseResultsWithOffset(v[0],addoffset(v[1])) ) 426 for (k,vlist) in otheritems for v in vlist] 427 for k,v in otherdictitems: 428 self[k] = v 429 if isinstance(v[0],ParseResults): 430 v[0].__parent = wkref(self) 431 432 self.__toklist += other.__toklist 433 self.__accumNames.update( other.__accumNames ) 434 return self
435
436 - def __radd__(self, other):
437 if isinstance(other,int) and other == 0: 438 return self.copy()
439
440 - def __repr__( self ):
441 return "(%s, %s)" % ( repr( self.__toklist ), repr( self.__tokdict ) )
442
443 - def __str__( self ):
444 out = [] 445 for i in self.__toklist: 446 if isinstance(i, ParseResults): 447 out.append(_ustr(i)) 448 else: 449 out.append(repr(i)) 450 return '[' + ', '.join(out) + ']'
451
452 - def _asStringList( self, sep='' ):
453 out = [] 454 for item in self.__toklist: 455 if out and sep: 456 out.append(sep) 457 if isinstance( item, ParseResults ): 458 out += item._asStringList() 459 else: 460 out.append( _ustr(item) ) 461 return out
462
463 - def asList( self ):
464 """Returns the parse results as a nested list of matching tokens, all converted to strings.""" 465 out = [] 466 for res in self.__toklist: 467 if isinstance(res,ParseResults): 468 out.append( res.asList() ) 469 else: 470 out.append( res ) 471 return out
472
473 - def asDict( self ):
474 """Returns the named parse results as dictionary.""" 475 return dict( self.items() )
476
477 - def copy( self ):
478 """Returns a new copy of a C{ParseResults} object.""" 479 ret = ParseResults( self.__toklist ) 480 ret.__tokdict = self.__tokdict.copy() 481 ret.__parent = self.__parent 482 ret.__accumNames.update( self.__accumNames ) 483 ret.__name = self.__name 484 return ret
485
486 - def asXML( self, doctag=None, namedItemsOnly=False, indent="", formatted=True ):
487 """Returns the parse results as XML. Tags are created for tokens and lists that have defined results names.""" 488 nl = "\n" 489 out = [] 490 namedItems = dict( [ (v[1],k) for (k,vlist) in self.__tokdict.items() 491 for v in vlist ] ) 492 nextLevelIndent = indent + " " 493 494 # collapse out indents if formatting is not desired 495 if not formatted: 496 indent = "" 497 nextLevelIndent = "" 498 nl = "" 499 500 selfTag = None 501 if doctag is not None: 502 selfTag = doctag 503 else: 504 if self.__name: 505 selfTag = self.__name 506 507 if not selfTag: 508 if namedItemsOnly: 509 return "" 510 else: 511 selfTag = "ITEM" 512 513 out += [ nl, indent, "<", selfTag, ">" ] 514 515 worklist = self.__toklist 516 for i,res in enumerate(worklist): 517 if isinstance(res,ParseResults): 518 if i in namedItems: 519 out += [ res.asXML(namedItems[i], 520 namedItemsOnly and doctag is None, 521 nextLevelIndent, 522 formatted)] 523 else: 524 out += [ res.asXML(None, 525 namedItemsOnly and doctag is None, 526 nextLevelIndent, 527 formatted)] 528 else: 529 # individual token, see if there is a name for it 530 resTag = None 531 if i in namedItems: 532 resTag = namedItems[i] 533 if not resTag: 534 if namedItemsOnly: 535 continue 536 else: 537 resTag = "ITEM" 538 xmlBodyText = _xml_escape(_ustr(res)) 539 out += [ nl, nextLevelIndent, "<", resTag, ">", 540 xmlBodyText, 541 "</", resTag, ">" ] 542 543 out += [ nl, indent, "</", selfTag, ">" ] 544 return "".join(out)
545
546 - def __lookup(self,sub):
547 for k,vlist in self.__tokdict.items(): 548 for v,loc in vlist: 549 if sub is v: 550 return k 551 return None
552
553 - def getName(self):
554 """Returns the results name for this token expression.""" 555 if self.__name: 556 return self.__name 557 elif self.__parent: 558 par = self.__parent() 559 if par: 560 return par.__lookup(self) 561 else: 562 return None 563 elif (len(self) == 1 and 564 len(self.__tokdict) == 1 and 565 self.__tokdict.values()[0][0][1] in (0,-1)): 566 return self.__tokdict.keys()[0] 567 else: 568 return None
569
570 - def dump(self,indent='',depth=0):
571 """Diagnostic method for listing out the contents of a C{ParseResults}. 572 Accepts an optional C{indent} argument so that this string can be embedded 573 in a nested display of other data.""" 574 out = [] 575 out.append( indent+_ustr(self.asList()) ) 576 keys = self.items() 577 keys.sort() 578 for k,v in keys: 579 if out: 580 out.append('\n') 581 out.append( "%s%s- %s: " % (indent,(' '*depth), k) ) 582 if isinstance(v,ParseResults): 583 if v.keys(): 584 out.append( v.dump(indent,depth+1) ) 585 else: 586 out.append(_ustr(v)) 587 else: 588 out.append(_ustr(v)) 589 return "".join(out)
590 591 # add support for pickle protocol
592 - def __getstate__(self):
593 return ( self.__toklist, 594 ( self.__tokdict.copy(), 595 self.__parent is not None and self.__parent() or None, 596 self.__accumNames, 597 self.__name ) )
598
599 - def __setstate__(self,state):
600 self.__toklist = state[0] 601 (self.__tokdict, 602 par, 603 inAccumNames, 604 self.__name) = state[1] 605 self.__accumNames = {} 606 self.__accumNames.update(inAccumNames) 607 if par is not None: 608 self.__parent = wkref(par) 609 else: 610 self.__parent = None
611
612 - def __dir__(self):
613 return dir(super(ParseResults,self)) + list(self.keys())
614
615 -def col (loc,strg):
616 """Returns current column within a string, counting newlines as line separators. 617 The first column is number 1. 618 619 Note: the default parsing behavior is to expand tabs in the input string 620 before starting the parsing process. See L{I{ParserElement.parseString}<ParserElement.parseString>} for more information 621 on parsing strings containing C{<TAB>}s, and suggested methods to maintain a 622 consistent view of the parsed string, the parse location, and line and column 623 positions within the parsed string. 624 """ 625 return (loc<len(strg) and strg[loc] == '\n') and 1 or loc - strg.rfind("\n", 0, loc)
626
627 -def lineno(loc,strg):
628 """Returns current line number within a string, counting newlines as line separators. 629 The first line is number 1. 630 631 Note: the default parsing behavior is to expand tabs in the input string 632 before starting the parsing process. See L{I{ParserElement.parseString}<ParserElement.parseString>} for more information 633 on parsing strings containing C{<TAB>}s, and suggested methods to maintain a 634 consistent view of the parsed string, the parse location, and line and column 635 positions within the parsed string. 636 """ 637 return strg.count("\n",0,loc) + 1
638
639 -def line( loc, strg ):
640 """Returns the line of text containing loc within a string, counting newlines as line separators. 641 """ 642 lastCR = strg.rfind("\n", 0, loc) 643 nextCR = strg.find("\n", loc) 644 if nextCR >= 0: 645 return strg[lastCR+1:nextCR] 646 else: 647 return strg[lastCR+1:]
648
649 -def _defaultStartDebugAction( instring, loc, expr ):
650 print ("Match " + _ustr(expr) + " at loc " + _ustr(loc) + "(%d,%d)" % ( lineno(loc,instring), col(loc,instring) ))
651
652 -def _defaultSuccessDebugAction( instring, startloc, endloc, expr, toks ):
653 print ("Matched " + _ustr(expr) + " -> " + str(toks.asList()))
654
655 -def _defaultExceptionDebugAction( instring, loc, expr, exc ):
656 print ("Exception raised:" + _ustr(exc))
657
658 -def nullDebugAction(*args):
659 """'Do-nothing' debug action, to suppress debugging output during parsing.""" 660 pass
661 662 'decorator to trim function calls to match the arity of the target' 663 if not _PY3K:
664 - def _trim_arity(func, maxargs=2):
665 if func in singleArgBuiltins: 666 return lambda s,l,t: func(t) 667 limit = [0] 668 def wrapper(*args): 669 while 1: 670 try: 671 return func(*args[limit[0]:]) 672 except TypeError: 673 if limit[0] <= maxargs: 674 limit[0] += 1 675 continue 676 raise
677 return wrapper
678 else:
679 - def _trim_arity(func, maxargs=2):
680 if func in singleArgBuiltins: 681 return lambda s,l,t: func(t) 682 limit = maxargs 683 def wrapper(*args): 684 #~ nonlocal limit 685 while 1: 686 try: 687 return func(*args[limit:]) 688 except TypeError: 689 if limit: 690 limit -= 1 691 continue 692 raise
693 return wrapper 694
695 -class ParserElement(object):
696 """Abstract base level parser element class.""" 697 DEFAULT_WHITE_CHARS = " \n\t\r" 698 verbose_stacktrace = False 699
700 - def setDefaultWhitespaceChars( chars ):
701 """Overrides the default whitespace chars 702 """ 703 ParserElement.DEFAULT_WHITE_CHARS = chars
704 setDefaultWhitespaceChars = staticmethod(setDefaultWhitespaceChars) 705
706 - def inlineLiteralsUsing(cls):
707 """ 708 Set class to be used for inclusion of string literals into a parser. 709 """ 710 ParserElement.literalStringClass = cls
711 inlineLiteralsUsing = staticmethod(inlineLiteralsUsing) 712
713 - def __init__( self, savelist=False ):
714 self.parseAction = list() 715 self.failAction = None 716 #~ self.name = "<unknown>" # don't define self.name, let subclasses try/except upcall 717 self.strRepr = None 718 self.resultsName = None 719 self.saveAsList = savelist 720 self.skipWhitespace = True 721 self.whiteChars = ParserElement.DEFAULT_WHITE_CHARS 722 self.copyDefaultWhiteChars = True 723 self.mayReturnEmpty = False # used when checking for left-recursion 724 self.keepTabs = False 725 self.ignoreExprs = list() 726 self.debug = False 727 self.streamlined = False 728 self.mayIndexError = True # used to optimize exception handling for subclasses that don't advance parse index 729 self.errmsg = "" 730 self.modalResults = True # used to mark results names as modal (report only last) or cumulative (list all) 731 self.debugActions = ( None, None, None ) #custom debug actions 732 self.re = None 733 self.callPreparse = True # used to avoid redundant calls to preParse 734 self.callDuringTry = False
735
736 - def copy( self ):
737 """Make a copy of this C{ParserElement}. Useful for defining different parse actions 738 for the same parsing pattern, using copies of the original parse element.""" 739 cpy = copy.copy( self ) 740 cpy.parseAction = self.parseAction[:] 741 cpy.ignoreExprs = self.ignoreExprs[:] 742 if self.copyDefaultWhiteChars: 743 cpy.whiteChars = ParserElement.DEFAULT_WHITE_CHARS 744 return cpy
745
746 - def setName( self, name ):
747 """Define name for this expression, for use in debugging.""" 748 self.name = name 749 self.errmsg = "Expected " + self.name 750 if hasattr(self,"exception"): 751 self.exception.msg = self.errmsg 752 return self
753
754 - def setResultsName( self, name, listAllMatches=False ):
755 """Define name for referencing matching tokens as a nested attribute 756 of the returned parse results. 757 NOTE: this returns a *copy* of the original C{ParserElement} object; 758 this is so that the client can define a basic element, such as an 759 integer, and reference it in multiple places with different names. 760 761 You can also set results names using the abbreviated syntax, 762 C{expr("name")} in place of C{expr.setResultsName("name")} - 763 see L{I{__call__}<__call__>}. 764 """ 765 newself = self.copy() 766 if name.endswith("*"): 767 name = name[:-1] 768 listAllMatches=True 769 newself.resultsName = name 770 newself.modalResults = not listAllMatches 771 return newself
772
773 - def setBreak(self,breakFlag = True):
774 """Method to invoke the Python pdb debugger when this element is 775 about to be parsed. Set C{breakFlag} to True to enable, False to 776 disable. 777 """ 778 if breakFlag: 779 _parseMethod = self._parse 780 def breaker(instring, loc, doActions=True, callPreParse=True): 781 import pdb 782 pdb.set_trace() 783 return _parseMethod( instring, loc, doActions, callPreParse )
784 breaker._originalParseMethod = _parseMethod 785 self._parse = breaker 786 else: 787 if hasattr(self._parse,"_originalParseMethod"): 788 self._parse = self._parse._originalParseMethod 789 return self
790
791 - def setParseAction( self, *fns, **kwargs ):
792 """Define action to perform when successfully matching parse element definition. 793 Parse action fn is a callable method with 0-3 arguments, called as C{fn(s,loc,toks)}, 794 C{fn(loc,toks)}, C{fn(toks)}, or just C{fn()}, where: 795 - s = the original string being parsed (see note below) 796 - loc = the location of the matching substring 797 - toks = a list of the matched tokens, packaged as a C{L{ParseResults}} object 798 If the functions in fns modify the tokens, they can return them as the return 799 value from fn, and the modified list of tokens will replace the original. 800 Otherwise, fn does not need to return any value. 801 802 Note: the default parsing behavior is to expand tabs in the input string 803 before starting the parsing process. See L{I{parseString}<parseString>} for more information 804 on parsing strings containing C{<TAB>}s, and suggested methods to maintain a 805 consistent view of the parsed string, the parse location, and line and column 806 positions within the parsed string. 807 """ 808 self.parseAction = list(map(_trim_arity, list(fns))) 809 self.callDuringTry = ("callDuringTry" in kwargs and kwargs["callDuringTry"]) 810 return self
811
812 - def addParseAction( self, *fns, **kwargs ):
813 """Add parse action to expression's list of parse actions. See L{I{setParseAction}<setParseAction>}.""" 814 self.parseAction += list(map(_trim_arity, list(fns))) 815 self.callDuringTry = self.callDuringTry or ("callDuringTry" in kwargs and kwargs["callDuringTry"]) 816 return self
817
818 - def setFailAction( self, fn ):
819 """Define action to perform if parsing fails at this expression. 820 Fail acton fn is a callable function that takes the arguments 821 C{fn(s,loc,expr,err)} where: 822 - s = string being parsed 823 - loc = location where expression match was attempted and failed 824 - expr = the parse expression that failed 825 - err = the exception thrown 826 The function returns no value. It may throw C{L{ParseFatalException}} 827 if it is desired to stop parsing immediately.""" 828 self.failAction = fn 829 return self
830
831 - def _skipIgnorables( self, instring, loc ):
832 exprsFound = True 833 while exprsFound: 834 exprsFound = False 835 for e in self.ignoreExprs: 836 try: 837 while 1: 838 loc,dummy = e._parse( instring, loc ) 839 exprsFound = True 840 except ParseException: 841 pass 842 return loc
843
844 - def preParse( self, instring, loc ):
845 if self.ignoreExprs: 846 loc = self._skipIgnorables( instring, loc ) 847 848 if self.skipWhitespace: 849 wt = self.whiteChars 850 instrlen = len(instring) 851 while loc < instrlen and instring[loc] in wt: 852 loc += 1 853 854 return loc
855
856 - def parseImpl( self, instring, loc, doActions=True ):
857 return loc, []
858
859 - def postParse( self, instring, loc, tokenlist ):
860 return tokenlist
861 862 #~ @profile
863 - def _parseNoCache( self, instring, loc, doActions=True, callPreParse=True ):
864 debugging = ( self.debug ) #and doActions ) 865 866 if debugging or self.failAction: 867 #~ print ("Match",self,"at loc",loc,"(%d,%d)" % ( lineno(loc,instring), col(loc,instring) )) 868 if (self.debugActions[0] ): 869 self.debugActions[0]( instring, loc, self ) 870 if callPreParse and self.callPreparse: 871 preloc = self.preParse( instring, loc ) 872 else: 873 preloc = loc 874 tokensStart = preloc 875 try: 876 try: 877 loc,tokens = self.parseImpl( instring, preloc, doActions ) 878 except IndexError: 879 raise ParseException( instring, len(instring), self.errmsg, self ) 880 except ParseBaseException: 881 #~ print ("Exception raised:", err) 882 err = None 883 if self.debugActions[2]: 884 err = sys.exc_info()[1] 885 self.debugActions[2]( instring, tokensStart, self, err ) 886 if self.failAction: 887 if err is None: 888 err = sys.exc_info()[1] 889 self.failAction( instring, tokensStart, self, err ) 890 raise 891 else: 892 if callPreParse and self.callPreparse: 893 preloc = self.preParse( instring, loc ) 894 else: 895 preloc = loc 896 tokensStart = preloc 897 if self.mayIndexError or loc >= len(instring): 898 try: 899 loc,tokens = self.parseImpl( instring, preloc, doActions ) 900 except IndexError: 901 raise ParseException( instring, len(instring), self.errmsg, self ) 902 else: 903 loc,tokens = self.parseImpl( instring, preloc, doActions ) 904 905 tokens = self.postParse( instring, loc, tokens ) 906 907 retTokens = ParseResults( tokens, self.resultsName, asList=self.saveAsList, modal=self.modalResults ) 908 if self.parseAction and (doActions or self.callDuringTry): 909 if debugging: 910 try: 911 for fn in self.parseAction: 912 tokens = fn( instring, tokensStart, retTokens ) 913 if tokens is not None: 914 retTokens = ParseResults( tokens, 915 self.resultsName, 916 asList=self.saveAsList and isinstance(tokens,(ParseResults,list)), 917 modal=self.modalResults ) 918 except ParseBaseException: 919 #~ print "Exception raised in user parse action:", err 920 if (self.debugActions[2] ): 921 err = sys.exc_info()[1] 922 self.debugActions[2]( instring, tokensStart, self, err ) 923 raise 924 else: 925 for fn in self.parseAction: 926 tokens = fn( instring, tokensStart, retTokens ) 927 if tokens is not None: 928 retTokens = ParseResults( tokens, 929 self.resultsName, 930 asList=self.saveAsList and isinstance(tokens,(ParseResults,list)), 931 modal=self.modalResults ) 932 933 if debugging: 934 #~ print ("Matched",self,"->",retTokens.asList()) 935 if (self.debugActions[1] ): 936 self.debugActions[1]( instring, tokensStart, loc, self, retTokens ) 937 938 return loc, retTokens
939
940 - def tryParse( self, instring, loc ):
941 try: 942 return self._parse( instring, loc, doActions=False )[0] 943 except ParseFatalException: 944 raise ParseException( instring, loc, self.errmsg, self)
945 946 # this method gets repeatedly called during backtracking with the same arguments - 947 # we can cache these arguments and save ourselves the trouble of re-parsing the contained expression
948 - def _parseCache( self, instring, loc, doActions=True, callPreParse=True ):
949 lookup = (self,instring,loc,callPreParse,doActions) 950 if lookup in ParserElement._exprArgCache: 951 value = ParserElement._exprArgCache[ lookup ] 952 if isinstance(value, Exception): 953 raise value 954 return (value[0],value[1].copy()) 955 else: 956 try: 957 value = self._parseNoCache( instring, loc, doActions, callPreParse ) 958 ParserElement._exprArgCache[ lookup ] = (value[0],value[1].copy()) 959 return value 960 except ParseBaseException: 961 pe = sys.exc_info()[1] 962 ParserElement._exprArgCache[ lookup ] = pe 963 raise
964 965 _parse = _parseNoCache 966 967 # argument cache for optimizing repeated calls when backtracking through recursive expressions 968 _exprArgCache = {}
969 - def resetCache():
971 resetCache = staticmethod(resetCache) 972 973 _packratEnabled = False
974 - def enablePackrat():
975 """Enables "packrat" parsing, which adds memoizing to the parsing logic. 976 Repeated parse attempts at the same string location (which happens 977 often in many complex grammars) can immediately return a cached value, 978 instead of re-executing parsing/validating code. Memoizing is done of 979 both valid results and parsing exceptions. 980 981 This speedup may break existing programs that use parse actions that 982 have side-effects. For this reason, packrat parsing is disabled when 983 you first import pyparsing. To activate the packrat feature, your 984 program must call the class method C{ParserElement.enablePackrat()}. If 985 your program uses C{psyco} to "compile as you go", you must call 986 C{enablePackrat} before calling C{psyco.full()}. If you do not do this, 987 Python will crash. For best results, call C{enablePackrat()} immediately 988 after importing pyparsing. 989 """ 990 if not ParserElement._packratEnabled: 991 ParserElement._packratEnabled = True 992 ParserElement._parse = ParserElement._parseCache
993 enablePackrat = staticmethod(enablePackrat) 994
995 - def parseString( self, instring, parseAll=False ):
996 """Execute the parse expression with the given string. 997 This is the main interface to the client code, once the complete 998 expression has been built. 999 1000 If you want the grammar to require that the entire input string be 1001 successfully parsed, then set C{parseAll} to True (equivalent to ending 1002 the grammar with C{L{StringEnd()}}). 1003 1004 Note: C{parseString} implicitly calls C{expandtabs()} on the input string, 1005 in order to report proper column numbers in parse actions. 1006 If the input string contains tabs and 1007 the grammar uses parse actions that use the C{loc} argument to index into the 1008 string being parsed, you can ensure you have a consistent view of the input 1009 string by: 1010 - calling C{parseWithTabs} on your grammar before calling C{parseString} 1011 (see L{I{parseWithTabs}<parseWithTabs>}) 1012 - define your parse action using the full C{(s,loc,toks)} signature, and 1013 reference the input string using the parse action's C{s} argument 1014 - explictly expand the tabs in your input string before calling 1015 C{parseString} 1016 """ 1017 ParserElement.resetCache() 1018 if not self.streamlined: 1019 self.streamline() 1020 #~ self.saveAsList = True 1021 for e in self.ignoreExprs: 1022 e.streamline() 1023 if not self.keepTabs: 1024 instring = instring.expandtabs() 1025 try: 1026 loc, tokens = self._parse( instring, 0 ) 1027 if parseAll: 1028 loc = self.preParse( instring, loc ) 1029 se = Empty() + StringEnd() 1030 se._parse( instring, loc ) 1031 except ParseBaseException: 1032 if ParserElement.verbose_stacktrace: 1033 raise 1034 else: 1035 # catch and re-raise exception from here, clears out pyparsing internal stack trace 1036 exc = sys.exc_info()[1] 1037 raise exc 1038 else: 1039 return tokens
1040
1041 - def scanString( self, instring, maxMatches=_MAX_INT, overlap=False ):
1042 """Scan the input string for expression matches. Each match will return the 1043 matching tokens, start location, and end location. May be called with optional 1044 C{maxMatches} argument, to clip scanning after 'n' matches are found. If 1045 C{overlap} is specified, then overlapping matches will be reported. 1046 1047 Note that the start and end locations are reported relative to the string 1048 being parsed. See L{I{parseString}<parseString>} for more information on parsing 1049 strings with embedded tabs.""" 1050 if not self.streamlined: 1051 self.streamline() 1052 for e in self.ignoreExprs: 1053 e.streamline() 1054 1055 if not self.keepTabs: 1056 instring = _ustr(instring).expandtabs() 1057 instrlen = len(instring) 1058 loc = 0 1059 preparseFn = self.preParse 1060 parseFn = self._parse 1061 ParserElement.resetCache() 1062 matches = 0 1063 try: 1064 while loc <= instrlen and matches < maxMatches: 1065 try: 1066 preloc = preparseFn( instring, loc ) 1067 nextLoc,tokens = parseFn( instring, preloc, callPreParse=False ) 1068 except ParseException: 1069 loc = preloc+1 1070 else: 1071 if nextLoc > loc: 1072 matches += 1 1073 yield tokens, preloc, nextLoc 1074 if overlap: 1075 nextloc = preparseFn( instring, loc ) 1076 if nextloc > loc: 1077 loc = nextLoc 1078 else: 1079 loc += 1 1080 else: 1081 loc = nextLoc 1082 else: 1083 loc = preloc+1 1084 except ParseBaseException: 1085 if ParserElement.verbose_stacktrace: 1086 raise 1087 else: 1088 # catch and re-raise exception from here, clears out pyparsing internal stack trace 1089 exc = sys.exc_info()[1] 1090 raise exc
1091
1092 - def transformString( self, instring ):
1093 """Extension to C{L{scanString}}, to modify matching text with modified tokens that may 1094 be returned from a parse action. To use C{transformString}, define a grammar and 1095 attach a parse action to it that modifies the returned token list. 1096 Invoking C{transformString()} on a target string will then scan for matches, 1097 and replace the matched text patterns according to the logic in the parse 1098 action. C{transformString()} returns the resulting transformed string.""" 1099 out = [] 1100 lastE = 0 1101 # force preservation of <TAB>s, to minimize unwanted transformation of string, and to 1102 # keep string locs straight between transformString and scanString 1103 self.keepTabs = True 1104 try: 1105 for t,s,e in self.scanString( instring ): 1106 out.append( instring[lastE:s] ) 1107 if t: 1108 if isinstance(t,ParseResults): 1109 out += t.asList() 1110 elif isinstance(t,list): 1111 out += t 1112 else: 1113 out.append(t) 1114 lastE = e 1115 out.append(instring[lastE:]) 1116 out = [o for o in out if o] 1117 return "".join(map(_ustr,_flatten(out))) 1118 except ParseBaseException: 1119 if ParserElement.verbose_stacktrace: 1120 raise 1121 else: 1122 # catch and re-raise exception from here, clears out pyparsing internal stack trace 1123 exc = sys.exc_info()[1] 1124 raise exc
1125
1126 - def searchString( self, instring, maxMatches=_MAX_INT ):
1127 """Another extension to C{L{scanString}}, simplifying the access to the tokens found 1128 to match the given parse expression. May be called with optional 1129 C{maxMatches} argument, to clip searching after 'n' matches are found. 1130 """ 1131 try: 1132 return ParseResults([ t for t,s,e in self.scanString( instring, maxMatches ) ]) 1133 except ParseBaseException: 1134 if ParserElement.verbose_stacktrace: 1135 raise 1136 else: 1137 # catch and re-raise exception from here, clears out pyparsing internal stack trace 1138 exc = sys.exc_info()[1] 1139 raise exc
1140
1141 - def __add__(self, other ):
1142 """Implementation of + operator - returns C{L{And}}""" 1143 if isinstance( other, basestring ): 1144 other = ParserElement.literalStringClass( other ) 1145 if not isinstance( other, ParserElement ): 1146 warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), 1147 SyntaxWarning, stacklevel=2) 1148 return None 1149 return And( [ self, other ] )
1150
1151 - def __radd__(self, other ):
1152 """Implementation of + operator when left operand is not a C{L{ParserElement}}""" 1153 if isinstance( other, basestring ): 1154 other = ParserElement.literalStringClass( other ) 1155 if not isinstance( other, ParserElement ): 1156 warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), 1157 SyntaxWarning, stacklevel=2) 1158 return None 1159 return other + self
1160
1161 - def __sub__(self, other):
1162 """Implementation of - operator, returns C{L{And}} with error stop""" 1163 if isinstance( other, basestring ): 1164 other = ParserElement.literalStringClass( other ) 1165 if not isinstance( other, ParserElement ): 1166 warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), 1167 SyntaxWarning, stacklevel=2) 1168 return None 1169 return And( [ self, And._ErrorStop(), other ] )
1170
1171 - def __rsub__(self, other ):
1172 """Implementation of - operator when left operand is not a C{L{ParserElement}}""" 1173 if isinstance( other, basestring ): 1174 other = ParserElement.literalStringClass( other ) 1175 if not isinstance( other, ParserElement ): 1176 warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), 1177 SyntaxWarning, stacklevel=2) 1178 return None 1179 return other - self
1180
1181 - def __mul__(self,other):
1182 """Implementation of * operator, allows use of C{expr * 3} in place of 1183 C{expr + expr + expr}. Expressions may also me multiplied by a 2-integer 1184 tuple, similar to C{{min,max}} multipliers in regular expressions. Tuples 1185 may also include C{None} as in: 1186 - C{expr*(n,None)} or C{expr*(n,)} is equivalent 1187 to C{expr*n + L{ZeroOrMore}(expr)} 1188 (read as "at least n instances of C{expr}") 1189 - C{expr*(None,n)} is equivalent to C{expr*(0,n)} 1190 (read as "0 to n instances of C{expr}") 1191 - C{expr*(None,None)} is equivalent to C{L{ZeroOrMore}(expr)} 1192 - C{expr*(1,None)} is equivalent to C{L{OneOrMore}(expr)} 1193 1194 Note that C{expr*(None,n)} does not raise an exception if 1195 more than n exprs exist in the input stream; that is, 1196 C{expr*(None,n)} does not enforce a maximum number of expr 1197 occurrences. If this behavior is desired, then write 1198 C{expr*(None,n) + ~expr} 1199 1200 """ 1201 if isinstance(other,int): 1202 minElements, optElements = other,0 1203 elif isinstance(other,tuple): 1204 other = (other + (None, None))[:2] 1205 if other[0] is None: 1206 other = (0, other[1]) 1207 if isinstance(other[0],int) and other[1] is None: 1208 if other[0] == 0: 1209 return ZeroOrMore(self) 1210 if other[0] == 1: 1211 return OneOrMore(self) 1212 else: 1213 return self*other[0] + ZeroOrMore(self) 1214 elif isinstance(other[0],int) and isinstance(other[1],int): 1215 minElements, optElements = other 1216 optElements -= minElements 1217 else: 1218 raise TypeError("cannot multiply 'ParserElement' and ('%s','%s') objects", type(other[0]),type(other[1])) 1219 else: 1220 raise TypeError("cannot multiply 'ParserElement' and '%s' objects", type(other)) 1221 1222 if minElements < 0: 1223 raise ValueError("cannot multiply ParserElement by negative value") 1224 if optElements < 0: 1225 raise ValueError("second tuple value must be greater or equal to first tuple value") 1226 if minElements == optElements == 0: 1227 raise ValueError("cannot multiply ParserElement by 0 or (0,0)") 1228 1229 if (optElements): 1230 def makeOptionalList(n): 1231 if n>1: 1232 return Optional(self + makeOptionalList(n-1)) 1233 else: 1234 return Optional(self)
1235 if minElements: 1236 if minElements == 1: 1237 ret = self + makeOptionalList(optElements) 1238 else: 1239 ret = And([self]*minElements) + makeOptionalList(optElements) 1240 else: 1241 ret = makeOptionalList(optElements) 1242 else: 1243 if minElements == 1: 1244 ret = self 1245 else: 1246 ret = And([self]*minElements) 1247 return ret 1248
1249 - def __rmul__(self, other):
1250 return self.__mul__(other)
1251
1252 - def __or__(self, other ):
1253 """Implementation of | operator - returns C{L{MatchFirst}}""" 1254 if isinstance( other, basestring ): 1255 other = ParserElement.literalStringClass( other ) 1256 if not isinstance( other, ParserElement ): 1257 warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), 1258 SyntaxWarning, stacklevel=2) 1259 return None 1260 return MatchFirst( [ self, other ] )
1261
1262 - def __ror__(self, other ):
1263 """Implementation of | operator when left operand is not a C{L{ParserElement}}""" 1264 if isinstance( other, basestring ): 1265 other = ParserElement.literalStringClass( other ) 1266 if not isinstance( other, ParserElement ): 1267 warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), 1268 SyntaxWarning, stacklevel=2) 1269 return None 1270 return other | self
1271
1272 - def __xor__(self, other ):
1273 """Implementation of ^ operator - returns C{L{Or}}""" 1274 if isinstance( other, basestring ): 1275 other = ParserElement.literalStringClass( other ) 1276 if not isinstance( other, ParserElement ): 1277 warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), 1278 SyntaxWarning, stacklevel=2) 1279 return None 1280 return Or( [ self, other ] )
1281
1282 - def __rxor__(self, other ):
1283 """Implementation of ^ operator when left operand is not a C{L{ParserElement}}""" 1284 if isinstance( other, basestring ): 1285 other = ParserElement.literalStringClass( other ) 1286 if not isinstance( other, ParserElement ): 1287 warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), 1288 SyntaxWarning, stacklevel=2) 1289 return None 1290 return other ^ self
1291
1292 - def __and__(self, other ):
1293 """Implementation of & operator - returns C{L{Each}}""" 1294 if isinstance( other, basestring ): 1295 other = ParserElement.literalStringClass( other ) 1296 if not isinstance( other, ParserElement ): 1297 warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), 1298 SyntaxWarning, stacklevel=2) 1299 return None 1300 return Each( [ self, other ] )
1301
1302 - def __rand__(self, other ):
1303 """Implementation of & operator when left operand is not a C{L{ParserElement}}""" 1304 if isinstance( other, basestring ): 1305 other = ParserElement.literalStringClass( other ) 1306 if not isinstance( other, ParserElement ): 1307 warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), 1308 SyntaxWarning, stacklevel=2) 1309 return None 1310 return other & self
1311
1312 - def __invert__( self ):
1313 """Implementation of ~ operator - returns C{L{NotAny}}""" 1314 return NotAny( self )
1315
1316 - def __call__(self, name):
1317 """Shortcut for C{L{setResultsName}}, with C{listAllMatches=default}:: 1318 userdata = Word(alphas).setResultsName("name") + Word(nums+"-").setResultsName("socsecno") 1319 could be written as:: 1320 userdata = Word(alphas)("name") + Word(nums+"-")("socsecno") 1321 1322 If C{name} is given with a trailing C{'*'} character, then C{listAllMatches} will be 1323 passed as C{True}. 1324 """ 1325 return self.setResultsName(name)
1326
1327 - def suppress( self ):
1328 """Suppresses the output of this C{ParserElement}; useful to keep punctuation from 1329 cluttering up returned output. 1330 """ 1331 return Suppress( self )
1332
1333 - def leaveWhitespace( self ):
1334 """Disables the skipping of whitespace before matching the characters in the 1335 C{ParserElement}'s defined pattern. This is normally only used internally by 1336 the pyparsing module, but may be needed in some whitespace-sensitive grammars. 1337 """ 1338 self.skipWhitespace = False 1339 return self
1340
1341 - def setWhitespaceChars( self, chars ):
1342 """Overrides the default whitespace chars 1343 """ 1344 self.skipWhitespace = True 1345 self.whiteChars = chars 1346 self.copyDefaultWhiteChars = False 1347 return self
1348
1349 - def parseWithTabs( self ):
1350 """Overrides default behavior to expand C{<TAB>}s to spaces before parsing the input string. 1351 Must be called before C{parseString} when the input grammar contains elements that 1352 match C{<TAB>} characters.""" 1353 self.keepTabs = True 1354 return self
1355
1356 - def ignore( self, other ):
1357 """Define expression to be ignored (e.g., comments) while doing pattern 1358 matching; may be called repeatedly, to define multiple comment or other 1359 ignorable patterns. 1360 """ 1361 if isinstance( other, Suppress ): 1362 if other not in self.ignoreExprs: 1363 self.ignoreExprs.append( other.copy() ) 1364 else: 1365 self.ignoreExprs.append( Suppress( other.copy() ) ) 1366 return self
1367
1368 - def setDebugActions( self, startAction, successAction, exceptionAction ):
1369 """Enable display of debugging messages while doing pattern matching.""" 1370 self.debugActions = (startAction or _defaultStartDebugAction, 1371 successAction or _defaultSuccessDebugAction, 1372 exceptionAction or _defaultExceptionDebugAction) 1373 self.debug = True 1374 return self
1375
1376 - def setDebug( self, flag=True ):
1377 """Enable display of debugging messages while doing pattern matching. 1378 Set C{flag} to True to enable, False to disable.""" 1379 if flag: 1380 self.setDebugActions( _defaultStartDebugAction, _defaultSuccessDebugAction, _defaultExceptionDebugAction ) 1381 else: 1382 self.debug = False 1383 return self
1384
1385 - def __str__( self ):
1386 return self.name
1387
1388 - def __repr__( self ):
1389 return _ustr(self)
1390
1391 - def streamline( self ):
1392 self.streamlined = True 1393 self.strRepr = None 1394 return self
1395
1396 - def checkRecursion( self, parseElementList ):
1397 pass
1398
1399 - def validate( self, validateTrace=[] ):
1400 """Check defined expressions for valid structure, check for infinite recursive definitions.""" 1401 self.checkRecursion( [] )
1402
1403 - def parseFile( self, file_or_filename, parseAll=False ):
1404 """Execute the parse expression on the given file or filename. 1405 If a filename is specified (instead of a file object), 1406 the entire file is opened, read, and closed before parsing. 1407 """ 1408 try: 1409 file_contents = file_or_filename.read() 1410 except AttributeError: 1411 f = open(file_or_filename, "r") 1412 file_contents = f.read() 1413 f.close() 1414 try: 1415 return self.parseString(file_contents, parseAll) 1416 except ParseBaseException: 1417 # catch and re-raise exception from here, clears out pyparsing internal stack trace 1418 exc = sys.exc_info()[1] 1419 raise exc
1420
1421 - def getException(self):
1422 return ParseException("",0,self.errmsg,self)
1423
1424 - def __getattr__(self,aname):
1425 if aname == "myException": 1426 self.myException = ret = self.getException(); 1427 return ret; 1428 else: 1429 raise AttributeError("no such attribute " + aname)
1430
1431 - def __eq__(self,other):
1432 if isinstance(other, ParserElement): 1433 return self is other or self.__dict__ == other.__dict__ 1434 elif isinstance(other, basestring): 1435 try: 1436 self.parseString(_ustr(other), parseAll=True) 1437 return True 1438 except ParseBaseException: 1439 return False 1440 else: 1441 return super(ParserElement,self)==other
1442
1443 - def __ne__(self,other):
1444 return not (self == other)
1445
1446 - def __hash__(self):
1447 return hash(id(self))
1448
1449 - def __req__(self,other):
1450 return self == other
1451
1452 - def __rne__(self,other):
1453 return not (self == other)
1454 1455
1456 -class Token(ParserElement):
1457 """Abstract C{ParserElement} subclass, for defining atomic matching patterns."""
1458 - def __init__( self ):
1459 super(Token,self).__init__( savelist=False )
1460
1461 - def setName(self, name):
1462 s = super(Token,self).setName(name) 1463 self.errmsg = "Expected " + self.name 1464 return s
1465 1466
1467 -class Empty(Token):
1468 """An empty token, will always match."""
1469 - def __init__( self ):
1470 super(Empty,self).__init__() 1471 self.name = "Empty" 1472 self.mayReturnEmpty = True 1473 self.mayIndexError = False
1474 1475
1476 -class NoMatch(Token):
1477 """A token that will never match."""
1478 - def __init__( self ):
1479 super(NoMatch,self).__init__() 1480 self.name = "NoMatch" 1481 self.mayReturnEmpty = True 1482 self.mayIndexError = False 1483 self.errmsg = "Unmatchable token"
1484
1485 - def parseImpl( self, instring, loc, doActions=True ):
1486 exc = self.myException 1487 exc.loc = loc 1488 exc.pstr = instring 1489 raise exc
1490 1491
1492 -class Literal(Token):
1493 """Token to exactly match a specified string."""
1494 - def __init__( self, matchString ):
1495 super(Literal,self).__init__() 1496 self.match = matchString 1497 self.matchLen = len(matchString) 1498 try: 1499 self.firstMatchChar = matchString[0] 1500 except IndexError: 1501 warnings.warn("null string passed to Literal; use Empty() instead", 1502 SyntaxWarning, stacklevel=2) 1503 self.__class__ = Empty 1504 self.name = '"%s"' % _ustr(self.match) 1505 self.errmsg = "Expected " + self.name 1506 self.mayReturnEmpty = False 1507 self.mayIndexError = False
1508 1509 # Performance tuning: this routine gets called a *lot* 1510 # if this is a single character match string and the first character matches, 1511 # short-circuit as quickly as possible, and avoid calling startswith 1512 #~ @profile
1513 - def parseImpl( self, instring, loc, doActions=True ):
1514 if (instring[loc] == self.firstMatchChar and 1515 (self.matchLen==1 or instring.startswith(self.match,loc)) ): 1516 return loc+self.matchLen, self.match 1517 #~ raise ParseException( instring, loc, self.errmsg ) 1518 exc = self.myException 1519 exc.loc = loc 1520 exc.pstr = instring 1521 raise exc
1522 _L = Literal 1523 ParserElement.literalStringClass = Literal 1524
1525 -class Keyword(Token):
1526 """Token to exactly match a specified string as a keyword, that is, it must be 1527 immediately followed by a non-keyword character. Compare with C{L{Literal}}:: 1528 Literal("if") will match the leading C{'if'} in C{'ifAndOnlyIf'}. 1529 Keyword("if") will not; it will only match the leading C{'if'} in C{'if x=1'}, or C{'if(y==2)'} 1530 Accepts two optional constructor arguments in addition to the keyword string: 1531 C{identChars} is a string of characters that would be valid identifier characters, 1532 defaulting to all alphanumerics + "_" and "$"; C{caseless} allows case-insensitive 1533 matching, default is C{False}. 1534 """ 1535 DEFAULT_KEYWORD_CHARS = alphanums+"_$" 1536
1537 - def __init__( self, matchString, identChars=DEFAULT_KEYWORD_CHARS, caseless=False ):
1538 super(Keyword,self).__init__() 1539 self.match = matchString 1540 self.matchLen = len(matchString) 1541 try: 1542 self.firstMatchChar = matchString[0] 1543 except IndexError: 1544 warnings.warn("null string passed to Keyword; use Empty() instead", 1545 SyntaxWarning, stacklevel=2) 1546 self.name = '"%s"' % self.match 1547 self.errmsg = "Expected " + self.name 1548 self.mayReturnEmpty = False 1549 self.mayIndexError = False 1550 self.caseless = caseless 1551 if caseless: 1552 self.caselessmatch = matchString.upper() 1553 identChars = identChars.upper() 1554 self.identChars = set(identChars)
1555
1556 - def parseImpl( self, instring, loc, doActions=True ):
1557 if self.caseless: 1558 if ( (instring[ loc:loc+self.matchLen ].upper() == self.caselessmatch) and 1559 (loc >= len(instring)-self.matchLen or instring[loc+self.matchLen].upper() not in self.identChars) and 1560 (loc == 0 or instring[loc-1].upper() not in self.identChars) ): 1561 return loc+self.matchLen, self.match 1562 else: 1563 if (instring[loc] == self.firstMatchChar and 1564 (self.matchLen==1 or instring.startswith(self.match,loc)) and 1565 (loc >= len(instring)-self.matchLen or instring[loc+self.matchLen] not in self.identChars) and 1566 (loc == 0 or instring[loc-1] not in self.identChars) ): 1567 return loc+self.matchLen, self.match 1568 #~ raise ParseException( instring, loc, self.errmsg ) 1569 exc = self.myException 1570 exc.loc = loc 1571 exc.pstr = instring 1572 raise exc
1573
1574 - def copy(self):
1575 c = super(Keyword,self).copy() 1576 c.identChars = Keyword.DEFAULT_KEYWORD_CHARS 1577 return c
1578
1579 - def setDefaultKeywordChars( chars ):
1580 """Overrides the default Keyword chars 1581 """ 1582 Keyword.DEFAULT_KEYWORD_CHARS = chars
1583 setDefaultKeywordChars = staticmethod(setDefaultKeywordChars)
1584
1585 -class CaselessLiteral(Literal):
1586 """Token to match a specified string, ignoring case of letters. 1587 Note: the matched results will always be in the case of the given 1588 match string, NOT the case of the input text. 1589 """
1590 - def __init__( self, matchString ):
1591 super(CaselessLiteral,self).__init__( matchString.upper() ) 1592 # Preserve the defining literal. 1593 self.returnString = matchString 1594 self.name = "'%s'" % self.returnString 1595 self.errmsg = "Expected " + self.name
1596
1597 - def parseImpl( self, instring, loc, doActions=True ):
1598 if instring[ loc:loc+self.matchLen ].upper() == self.match: 1599 return loc+self.matchLen, self.returnString 1600 #~ raise ParseException( instring, loc, self.errmsg ) 1601 exc = self.myException 1602 exc.loc = loc 1603 exc.pstr = instring 1604 raise exc
1605
1606 -class CaselessKeyword(Keyword):
1607 - def __init__( self, matchString, identChars=Keyword.DEFAULT_KEYWORD_CHARS ):
1608 super(CaselessKeyword,self).__init__( matchString, identChars, caseless=True )
1609
1610 - def parseImpl( self, instring, loc, doActions=True ):
1611 if ( (instring[ loc:loc+self.matchLen ].upper() == self.caselessmatch) and 1612 (loc >= len(instring)-self.matchLen or instring[loc+self.matchLen].upper() not in self.identChars) ): 1613 return loc+self.matchLen, self.match 1614 #~ raise ParseException( instring, loc, self.errmsg ) 1615 exc = self.myException 1616 exc.loc = loc 1617 exc.pstr = instring 1618 raise exc
1619
1620 -class Word(Token):
1621 """Token for matching words composed of allowed character sets. 1622 Defined with string containing all allowed initial characters, 1623 an optional string containing allowed body characters (if omitted, 1624 defaults to the initial character set), and an optional minimum, 1625 maximum, and/or exact length. The default value for C{min} is 1 (a 1626 minimum value < 1 is not valid); the default values for C{max} and C{exact} 1627 are 0, meaning no maximum or exact length restriction. An optional 1628 C{exclude} parameter can list characters that might be found in 1629 the input C{bodyChars} string; useful to define a word of all printables 1630 except for one or two characters, for instance. 1631 """
1632 - def __init__( self, initChars, bodyChars=None, min=1, max=0, exact=0, asKeyword=False, excludeChars=None ):
1633 super(Word,self).__init__() 1634 if excludeChars: 1635 initChars = ''.join([c for c in initChars if c not in excludeChars]) 1636 if bodyChars: 1637 bodyChars = ''.join([c for c in bodyChars if c not in excludeChars]) 1638 self.initCharsOrig = initChars 1639 self.initChars = set(initChars) 1640 if bodyChars : 1641 self.bodyCharsOrig = bodyChars 1642 self.bodyChars = set(bodyChars) 1643 else: 1644 self.bodyCharsOrig = initChars 1645 self.bodyChars = set(initChars) 1646 1647 self.maxSpecified = max > 0 1648 1649 if min < 1: 1650 raise ValueError("cannot specify a minimum length < 1; use Optional(Word()) if zero-length word is permitted") 1651 1652 self.minLen = min 1653 1654 if max > 0: 1655 self.maxLen = max 1656 else: 1657 self.maxLen = _MAX_INT 1658 1659 if exact > 0: 1660 self.maxLen = exact 1661 self.minLen = exact 1662 1663 self.name = _ustr(self) 1664 self.errmsg = "Expected " + self.name 1665 self.mayIndexError = False 1666 self.asKeyword = asKeyword 1667 1668 if ' ' not in self.initCharsOrig+self.bodyCharsOrig and (min==1 and max==0 and exact==0): 1669 if self.bodyCharsOrig == self.initCharsOrig: 1670 self.reString = "[%s]+" % _escapeRegexRangeChars(self.initCharsOrig) 1671 elif len(self.bodyCharsOrig) == 1: 1672 self.reString = "%s[%s]*" % \ 1673 (re.escape(self.initCharsOrig), 1674 _escapeRegexRangeChars(self.bodyCharsOrig),) 1675 else: 1676 self.reString = "[%s][%s]*" % \ 1677 (_escapeRegexRangeChars(self.initCharsOrig), 1678 _escapeRegexRangeChars(self.bodyCharsOrig),) 1679 if self.asKeyword: 1680 self.reString = r"\b"+self.reString+r"\b" 1681 try: 1682 self.re = re.compile( self.reString ) 1683 except: 1684 self.re = None
1685
1686 - def parseImpl( self, instring, loc, doActions=True ):
1687 if self.re: 1688 result = self.re.match(instring,loc) 1689 if not result: 1690 exc = self.myException 1691 exc.loc = loc 1692 exc.pstr = instring 1693 raise exc 1694 1695 loc = result.end() 1696 return loc, result.group() 1697 1698 if not(instring[ loc ] in self.initChars): 1699 #~ raise ParseException( instring, loc, self.errmsg ) 1700 exc = self.myException 1701 exc.loc = loc 1702 exc.pstr = instring 1703 raise exc 1704 start = loc 1705 loc += 1 1706 instrlen = len(instring) 1707 bodychars = self.bodyChars 1708 maxloc = start + self.maxLen 1709 maxloc = min( maxloc, instrlen ) 1710 while loc < maxloc and instring[loc] in bodychars: 1711 loc += 1 1712 1713 throwException = False 1714 if loc - start < self.minLen: 1715 throwException = True 1716 if self.maxSpecified and loc < instrlen and instring[loc] in bodychars: 1717 throwException = True 1718 if self.asKeyword: 1719 if (start>0 and instring[start-1] in bodychars) or (loc<instrlen and instring[loc] in bodychars): 1720 throwException = True 1721 1722 if throwException: 1723 #~ raise ParseException( instring, loc, self.errmsg ) 1724 exc = self.myException 1725 exc.loc = loc 1726 exc.pstr = instring 1727 raise exc 1728 1729 return loc, instring[start:loc]
1730
1731 - def __str__( self ):
1732 try: 1733 return super(Word,self).__str__() 1734 except: 1735 pass 1736 1737 1738 if self.strRepr is None: 1739 1740 def charsAsStr(s): 1741 if len(s)>4: 1742 return s[:4]+"..." 1743 else: 1744 return s
1745 1746 if ( self.initCharsOrig != self.bodyCharsOrig ): 1747 self.strRepr = "W:(%s,%s)" % ( charsAsStr(self.initCharsOrig), charsAsStr(self.bodyCharsOrig) ) 1748 else: 1749 self.strRepr = "W:(%s)" % charsAsStr(self.initCharsOrig) 1750 1751 return self.strRepr
1752 1753
1754 -class Regex(Token):
1755 """Token for matching strings that match a given regular expression. 1756 Defined with string specifying the regular expression in a form recognized by the inbuilt Python re module. 1757 """ 1758 compiledREtype = type(re.compile("[A-Z]"))
1759 - def __init__( self, pattern, flags=0):
1760 """The parameters C{pattern} and C{flags} are passed to the C{re.compile()} function as-is. See the Python C{re} module for an explanation of the acceptable patterns and flags.""" 1761 super(Regex,self).__init__() 1762 1763 if isinstance(pattern, basestring): 1764 if len(pattern) == 0: 1765 warnings.warn("null string passed to Regex; use Empty() instead", 1766 SyntaxWarning, stacklevel=2) 1767 1768 self.pattern = pattern 1769 self.flags = flags 1770 1771 try: 1772 self.re = re.compile(self.pattern, self.flags) 1773 self.reString = self.pattern 1774 except sre_constants.error: 1775 warnings.warn("invalid pattern (%s) passed to Regex" % pattern, 1776 SyntaxWarning, stacklevel=2) 1777 raise 1778 1779 elif isinstance(pattern, Regex.compiledREtype): 1780 self.re = pattern 1781 self.pattern = \ 1782 self.reString = str(pattern) 1783 self.flags = flags 1784 1785 else: 1786 raise ValueError("Regex may only be constructed with a string or a compiled RE object") 1787 1788 self.name = _ustr(self) 1789 self.errmsg = "Expected " + self.name 1790 self.mayIndexError = False 1791 self.mayReturnEmpty = True
1792
1793 - def parseImpl( self, instring, loc, doActions=True ):
1794 result = self.re.match(instring,loc) 1795 if not result: 1796 exc = self.myException 1797 exc.loc = loc 1798 exc.pstr = instring 1799 raise exc 1800 1801 loc = result.end() 1802 d = result.groupdict() 1803 ret = ParseResults(result.group()) 1804 if d: 1805 for k in d: 1806 ret[k] = d[k] 1807 return loc,ret
1808
1809 - def __str__( self ):
1810 try: 1811 return super(Regex,self).__str__() 1812 except: 1813 pass 1814 1815 if self.strRepr is None: 1816 self.strRepr = "Re:(%s)" % repr(self.pattern) 1817 1818 return self.strRepr
1819 1820
1821 -class QuotedString(Token):
1822 """Token for matching strings that are delimited by quoting characters. 1823 """
1824 - def __init__( self, quoteChar, escChar=None, escQuote=None, multiline=False, unquoteResults=True, endQuoteChar=None):
1825 """ 1826 Defined with the following parameters: 1827 - quoteChar - string of one or more characters defining the quote delimiting string 1828 - escChar - character to escape quotes, typically backslash (default=None) 1829 - escQuote - special quote sequence to escape an embedded quote string (such as SQL's "" to escape an embedded ") (default=None) 1830 - multiline - boolean indicating whether quotes can span multiple lines (default=C{False}) 1831 - unquoteResults - boolean indicating whether the matched text should be unquoted (default=C{True}) 1832 - endQuoteChar - string of one or more characters defining the end of the quote delimited string (default=C{None} => same as quoteChar) 1833 """ 1834 super(QuotedString,self).__init__() 1835 1836 # remove white space from quote chars - wont work anyway 1837 quoteChar = quoteChar.strip() 1838 if len(quoteChar) == 0: 1839 warnings.warn("quoteChar cannot be the empty string",SyntaxWarning,stacklevel=2) 1840 raise SyntaxError() 1841 1842 if endQuoteChar is None: 1843 endQuoteChar = quoteChar 1844 else: 1845 endQuoteChar = endQuoteChar.strip() 1846 if len(endQuoteChar) == 0: 1847 warnings.warn("endQuoteChar cannot be the empty string",SyntaxWarning,stacklevel=2) 1848 raise SyntaxError() 1849 1850 self.quoteChar = quoteChar 1851 self.quoteCharLen = len(quoteChar) 1852 self.firstQuoteChar = quoteChar[0] 1853 self.endQuoteChar = endQuoteChar 1854 self.endQuoteCharLen = len(endQuoteChar) 1855 self.escChar = escChar 1856 self.escQuote = escQuote 1857 self.unquoteResults = unquoteResults 1858 1859 if multiline: 1860 self.flags = re.MULTILINE | re.DOTALL 1861 self.pattern = r'%s(?:[^%s%s]' % \ 1862 ( re.escape(self.quoteChar), 1863 _escapeRegexRangeChars(self.endQuoteChar[0]), 1864 (escChar is not None and _escapeRegexRangeChars(escChar) or '') ) 1865 else: 1866 self.flags = 0 1867 self.pattern = r'%s(?:[^%s\n\r%s]' % \ 1868 ( re.escape(self.quoteChar), 1869 _escapeRegexRangeChars(self.endQuoteChar[0]), 1870 (escChar is not None and _escapeRegexRangeChars(escChar) or '') ) 1871 if len(self.endQuoteChar) > 1: 1872 self.pattern += ( 1873 '|(?:' + ')|(?:'.join(["%s[^%s]" % (re.escape(self.endQuoteChar[:i]), 1874 _escapeRegexRangeChars(self.endQuoteChar[i])) 1875 for i in range(len(self.endQuoteChar)-1,0,-1)]) + ')' 1876 ) 1877 if escQuote: 1878 self.pattern += (r'|(?:%s)' % re.escape(escQuote)) 1879 if escChar: 1880 self.pattern += (r'|(?:%s.)' % re.escape(escChar)) 1881 charset = ''.join(set(self.quoteChar[0]+self.endQuoteChar[0])).replace('^',r'\^').replace('-',r'\-') 1882 self.escCharReplacePattern = re.escape(self.escChar)+("([%s])" % charset) 1883 self.pattern += (r')*%s' % re.escape(self.endQuoteChar)) 1884 1885 try: 1886 self.re = re.compile(self.pattern, self.flags) 1887 self.reString = self.pattern 1888 except sre_constants.error: 1889 warnings.warn("invalid pattern (%s) passed to Regex" % self.pattern, 1890 SyntaxWarning, stacklevel=2) 1891 raise 1892 1893 self.name = _ustr(self) 1894 self.errmsg = "Expected " + self.name 1895 self.mayIndexError = False 1896 self.mayReturnEmpty = True
1897
1898 - def parseImpl( self, instring, loc, doActions=True ):
1899 result = instring[loc] == self.firstQuoteChar and self.re.match(instring,loc) or None 1900 if not result: 1901 exc = self.myException 1902 exc.loc = loc 1903 exc.pstr = instring 1904 raise exc 1905 1906 loc = result.end() 1907 ret = result.group() 1908 1909 if self.unquoteResults: 1910 1911 # strip off quotes 1912 ret = ret[self.quoteCharLen:-self.endQuoteCharLen] 1913 1914 if isinstance(ret,basestring): 1915 # replace escaped characters 1916 if self.escChar: 1917 ret = re.sub(self.escCharReplacePattern,"\g<1>",ret) 1918 1919 # replace escaped quotes 1920 if self.escQuote: 1921 ret = ret.replace(self.escQuote, self.endQuoteChar) 1922 1923 return loc, ret
1924
1925 - def __str__( self ):
1926 try: 1927 return super(QuotedString,self).__str__() 1928 except: 1929 pass 1930 1931 if self.strRepr is None: 1932 self.strRepr = "quoted string, starting with %s ending with %s" % (self.quoteChar, self.endQuoteChar) 1933 1934 return self.strRepr
1935 1936
1937 -class CharsNotIn(Token):
1938 """Token for matching words composed of characters *not* in a given set. 1939 Defined with string containing all disallowed characters, and an optional 1940 minimum, maximum, and/or exact length. The default value for C{min} is 1 (a 1941 minimum value < 1 is not valid); the default values for C{max} and C{exact} 1942 are 0, meaning no maximum or exact length restriction. 1943 """
1944 - def __init__( self, notChars, min=1, max=0, exact=0 ):
1945 super(CharsNotIn,self).__init__() 1946 self.skipWhitespace = False 1947 self.notChars = notChars 1948 1949 if min < 1: 1950 raise ValueError("cannot specify a minimum length < 1; use Optional(CharsNotIn()) if zero-length char group is permitted") 1951 1952 self.minLen = min 1953 1954 if max > 0: 1955 self.maxLen = max 1956 else: 1957 self.maxLen = _MAX_INT 1958 1959 if exact > 0: 1960 self.maxLen = exact 1961 self.minLen = exact 1962 1963 self.name = _ustr(self) 1964 self.errmsg = "Expected " + self.name 1965 self.mayReturnEmpty = ( self.minLen == 0 ) 1966 self.mayIndexError = False
1967
1968 - def parseImpl( self, instring, loc, doActions=True ):
1969 if instring[loc] in self.notChars: 1970 #~ raise ParseException( instring, loc, self.errmsg ) 1971 exc = self.myException 1972 exc.loc = loc 1973 exc.pstr = instring 1974 raise exc 1975 1976 start = loc 1977 loc += 1 1978 notchars = self.notChars 1979 maxlen = min( start+self.maxLen, len(instring) ) 1980 while loc < maxlen and \ 1981 (instring[loc] not in notchars): 1982 loc += 1 1983 1984 if loc - start < self.minLen: 1985 #~ raise ParseException( instring, loc, self.errmsg ) 1986 exc = self.myException 1987 exc.loc = loc 1988 exc.pstr = instring 1989 raise exc 1990 1991 return loc, instring[start:loc]
1992
1993 - def __str__( self ):
1994 try: 1995 return super(CharsNotIn, self).__str__() 1996 except: 1997 pass 1998 1999 if self.strRepr is None: 2000 if len(self.notChars) > 4: 2001 self.strRepr = "!W:(%s...)" % self.notChars[:4] 2002 else: 2003 self.strRepr = "!W:(%s)" % self.notChars 2004 2005 return self.strRepr
2006
2007 -class White(Token):
2008 """Special matching class for matching whitespace. Normally, whitespace is ignored 2009 by pyparsing grammars. This class is included when some whitespace structures 2010 are significant. Define with a string containing the whitespace characters to be 2011 matched; default is C{" \\t\\r\\n"}. Also takes optional C{min}, C{max}, and C{exact} arguments, 2012 as defined for the C{L{Word}} class.""" 2013 whiteStrs = { 2014 " " : "<SPC>", 2015 "\t": "<TAB>", 2016 "\n": "<LF>", 2017 "\r": "<CR>", 2018 "\f": "<FF>", 2019 }
2020 - def __init__(self, ws=" \t\r\n", min=1, max=0, exact=0):
2021 super(White,self).__init__() 2022 self.matchWhite = ws 2023 self.setWhitespaceChars( "".join([c for c in self.whiteChars if c not in self.matchWhite]) ) 2024 #~ self.leaveWhitespace() 2025 self.name = ("".join([White.whiteStrs[c] for c in self.matchWhite])) 2026 self.mayReturnEmpty = True 2027 self.errmsg = "Expected " + self.name 2028 2029 self.minLen = min 2030 2031 if max > 0: 2032 self.maxLen = max 2033 else: 2034 self.maxLen = _MAX_INT 2035 2036 if exact > 0: 2037 self.maxLen = exact 2038 self.minLen = exact
2039
2040 - def parseImpl( self, instring, loc, doActions=True ):
2041 if not(instring[ loc ] in self.matchWhite): 2042 #~ raise ParseException( instring, loc, self.errmsg ) 2043 exc = self.myException 2044 exc.loc = loc 2045 exc.pstr = instring 2046 raise exc 2047 start = loc 2048 loc += 1 2049 maxloc = start + self.maxLen 2050 maxloc = min( maxloc, len(instring) ) 2051 while loc < maxloc and instring[loc] in self.matchWhite: 2052 loc += 1 2053 2054 if loc - start < self.minLen: 2055 #~ raise ParseException( instring, loc, self.errmsg ) 2056 exc = self.myException 2057 exc.loc = loc 2058 exc.pstr = instring 2059 raise exc 2060 2061 return loc, instring[start:loc]
2062 2063
2064 -class _PositionToken(Token):
2065 - def __init__( self ):
2066 super(_PositionToken,self).__init__() 2067 self.name=self.__class__.__name__ 2068 self.mayReturnEmpty = True 2069 self.mayIndexError = False
2070
2071 -class GoToColumn(_PositionToken):
2072 """Token to advance to a specific column of input text; useful for tabular report scraping."""
2073 - def __init__( self, colno ):
2074 super(GoToColumn,self).__init__() 2075 self.col = colno
2076
2077 - def preParse( self, instring, loc ):
2078 if col(loc,instring) != self.col: 2079 instrlen = len(instring) 2080 if self.ignoreExprs: 2081 loc = self._skipIgnorables( instring, loc ) 2082 while loc < instrlen and instring[loc].isspace() and col( loc, instring ) != self.col : 2083 loc += 1 2084 return loc
2085
2086 - def parseImpl( self, instring, loc, doActions=True ):
2087 thiscol = col( loc, instring ) 2088 if thiscol > self.col: 2089 raise ParseException( instring, loc, "Text not in expected column", self ) 2090 newloc = loc + self.col - thiscol 2091 ret = instring[ loc: newloc ] 2092 return newloc, ret
2093
2094 -class LineStart(_PositionToken):
2095 """Matches if current position is at the beginning of a line within the parse string"""
2096 - def __init__( self ):
2097 super(LineStart,self).__init__() 2098 self.setWhitespaceChars( ParserElement.DEFAULT_WHITE_CHARS.replace("\n","") ) 2099 self.errmsg = "Expected start of line"
2100
2101 - def preParse( self, instring, loc ):
2102 preloc = super(LineStart,self).preParse(instring,loc) 2103 if instring[preloc] == "\n": 2104 loc += 1 2105 return loc
2106
2107 - def parseImpl( self, instring, loc, doActions=True ):
2108 if not( loc==0 or 2109 (loc == self.preParse( instring, 0 )) or 2110 (instring[loc-1] == "\n") ): #col(loc, instring) != 1: 2111 #~ raise ParseException( instring, loc, "Expected start of line" ) 2112 exc = self.myException 2113 exc.loc = loc 2114 exc.pstr = instring 2115 raise exc 2116 return loc, []
2117
2118 -class LineEnd(_PositionToken):
2119 """Matches if current position is at the end of a line within the parse string"""
2120 - def __init__( self ):
2121 super(LineEnd,self).__init__() 2122 self.setWhitespaceChars( ParserElement.DEFAULT_WHITE_CHARS.replace("\n","") ) 2123 self.errmsg = "Expected end of line"
2124
2125 - def parseImpl( self, instring, loc, doActions=True ):
2126 if loc<len(instring): 2127 if instring[loc] == "\n": 2128 return loc+1, "\n" 2129 else: 2130 #~ raise ParseException( instring, loc, "Expected end of line" ) 2131 exc = self.myException 2132 exc.loc = loc 2133 exc.pstr = instring 2134 raise exc 2135 elif loc == len(instring): 2136 return loc+1, [] 2137 else: 2138 exc = self.myException 2139 exc.loc = loc 2140 exc.pstr = instring 2141 raise exc
2142
2143 -class StringStart(_PositionToken):
2144 """Matches if current position is at the beginning of the parse string"""
2145 - def __init__( self ):
2146 super(StringStart,self).__init__() 2147 self.errmsg = "Expected start of text"
2148
2149 - def parseImpl( self, instring, loc, doActions=True ):
2150 if loc != 0: 2151 # see if entire string up to here is just whitespace and ignoreables 2152 if loc != self.preParse( instring, 0 ): 2153 #~ raise ParseException( instring, loc, "Expected start of text" ) 2154 exc = self.myException 2155 exc.loc = loc 2156 exc.pstr = instring 2157 raise exc 2158 return loc, []
2159
2160 -class StringEnd(_PositionToken):
2161 """Matches if current position is at the end of the parse string"""
2162 - def __init__( self ):
2163 super(StringEnd,self).__init__() 2164 self.errmsg = "Expected end of text"
2165
2166 - def parseImpl( self, instring, loc, doActions=True ):
2167 if loc < len(instring): 2168 #~ raise ParseException( instring, loc, "Expected end of text" ) 2169 exc = self.myException 2170 exc.loc = loc 2171 exc.pstr = instring 2172 raise exc 2173 elif loc == len(instring): 2174 return loc+1, [] 2175 elif loc > len(instring): 2176 return loc, [] 2177 else: 2178 exc = self.myException 2179 exc.loc = loc 2180 exc.pstr = instring 2181 raise exc
2182
2183 -class WordStart(_PositionToken):
2184 """Matches if the current position is at the beginning of a Word, and 2185 is not preceded by any character in a given set of C{wordChars} 2186 (default=C{printables}). To emulate the C{\b} behavior of regular expressions, 2187 use C{WordStart(alphanums)}. C{WordStart} will also match at the beginning of 2188 the string being parsed, or at the beginning of a line. 2189 """
2190 - def __init__(self, wordChars = printables):
2191 super(WordStart,self).__init__() 2192 self.wordChars = set(wordChars) 2193 self.errmsg = "Not at the start of a word"
2194
2195 - def parseImpl(self, instring, loc, doActions=True ):
2196 if loc != 0: 2197 if (instring[loc-1] in self.wordChars or 2198 instring[loc] not in self.wordChars): 2199 exc = self.myException 2200 exc.loc = loc 2201 exc.pstr = instring 2202 raise exc 2203 return loc, []
2204
2205 -class WordEnd(_PositionToken):
2206 """Matches if the current position is at the end of a Word, and 2207 is not followed by any character in a given set of C{wordChars} 2208 (default=C{printables}). To emulate the C{\b} behavior of regular expressions, 2209 use C{WordEnd(alphanums)}. C{WordEnd} will also match at the end of 2210 the string being parsed, or at the end of a line. 2211 """
2212 - def __init__(self, wordChars = printables):
2213 super(WordEnd,self).__init__() 2214 self.wordChars = set(wordChars) 2215 self.skipWhitespace = False 2216 self.errmsg = "Not at the end of a word"
2217
2218 - def parseImpl(self, instring, loc, doActions=True ):
2219 instrlen = len(instring) 2220 if instrlen>0 and loc<instrlen: 2221 if (instring[loc] in self.wordChars or 2222 instring[loc-1] not in self.wordChars): 2223 #~ raise ParseException( instring, loc, "Expected end of word" ) 2224 exc = self.myException 2225 exc.loc = loc 2226 exc.pstr = instring 2227 raise exc 2228 return loc, []
2229 2230
2231 -class ParseExpression(ParserElement):
2232 """Abstract subclass of ParserElement, for combining and post-processing parsed tokens."""
2233 - def __init__( self, exprs, savelist = False ):
2234 super(ParseExpression,self).__init__(savelist) 2235 if isinstance( exprs, list ): 2236 self.exprs = exprs 2237 elif isinstance( exprs, basestring ): 2238 self.exprs = [ Literal( exprs ) ] 2239 else: 2240 try: 2241 self.exprs = list( exprs ) 2242 except TypeError: 2243 self.exprs = [ exprs ] 2244 self.callPreparse = False
2245
2246 - def __getitem__( self, i ):
2247 return self.exprs[i]
2248
2249 - def append( self, other ):
2250 self.exprs.append( other ) 2251 self.strRepr = None 2252 return self
2253
2254 - def leaveWhitespace( self ):
2255 """Extends C{leaveWhitespace} defined in base class, and also invokes C{leaveWhitespace} on 2256 all contained expressions.""" 2257 self.skipWhitespace = False 2258 self.exprs = [ e.copy() for e in self.exprs ] 2259 for e in self.exprs: 2260 e.leaveWhitespace() 2261 return self
2262
2263 - def ignore( self, other ):
2264 if isinstance( other, Suppress ): 2265 if other not in self.ignoreExprs: 2266 super( ParseExpression, self).ignore( other ) 2267 for e in self.exprs: 2268 e.ignore( self.ignoreExprs[-1] ) 2269 else: 2270 super( ParseExpression, self).ignore( other ) 2271 for e in self.exprs: 2272 e.ignore( self.ignoreExprs[-1] ) 2273 return self
2274
2275 - def __str__( self ):
2276 try: 2277 return super(ParseExpression,self).__str__() 2278 except: 2279 pass 2280 2281 if self.strRepr is None: 2282 self.strRepr = "%s:(%s)" % ( self.__class__.__name__, _ustr(self.exprs) ) 2283 return self.strRepr
2284
2285 - def streamline( self ):
2286 super(ParseExpression,self).streamline() 2287 2288 for e in self.exprs: 2289 e.streamline() 2290 2291 # collapse nested And's of the form And( And( And( a,b), c), d) to And( a,b,c,d ) 2292 # but only if there are no parse actions or resultsNames on the nested And's 2293 # (likewise for Or's and MatchFirst's) 2294 if ( len(self.exprs) == 2 ): 2295 other = self.exprs[0] 2296 if ( isinstance( other, self.__class__ ) and 2297 not(other.parseAction) and 2298 other.resultsName is None and 2299 not other.debug ): 2300 self.exprs = other.exprs[:] + [ self.exprs[1] ] 2301 self.strRepr = None 2302 self.mayReturnEmpty |= other.mayReturnEmpty 2303 self.mayIndexError |= other.mayIndexError 2304 2305 other = self.exprs[-1] 2306 if ( isinstance( other, self.__class__ ) and 2307 not(other.parseAction) and 2308 other.resultsName is None and 2309 not other.debug ): 2310 self.exprs = self.exprs[:-1] + other.exprs[:] 2311 self.strRepr = None 2312 self.mayReturnEmpty |= other.mayReturnEmpty 2313 self.mayIndexError |= other.mayIndexError 2314 2315 return self
2316
2317 - def setResultsName( self, name, listAllMatches=False ):
2318 ret = super(ParseExpression,self).setResultsName(name,listAllMatches) 2319 return ret
2320
2321 - def validate( self, validateTrace=[] ):
2322 tmp = validateTrace[:]+[self] 2323 for e in self.exprs: 2324 e.validate(tmp) 2325 self.checkRecursion( [] )
2326
2327 - def copy(self):
2328 ret = super(ParseExpression,self).copy() 2329 ret.exprs = [e.copy() for e in self.exprs] 2330 return ret
2331
2332 -class And(ParseExpression):
2333 """Requires all given C{ParseExpression}s to be found in the given order. 2334 Expressions may be separated by whitespace. 2335 May be constructed using the C{'+'} operator. 2336 """ 2337
2338 - class _ErrorStop(Empty):
2339 - def __init__(self, *args, **kwargs):
2340 super(And._ErrorStop,self).__init__(*args, **kwargs) 2341 self.leaveWhitespace()
2342
2343 - def __init__( self, exprs, savelist = True ):
2344 super(And,self).__init__(exprs, savelist) 2345 self.mayReturnEmpty = True 2346 for e in self.exprs: 2347 if not e.mayReturnEmpty: 2348 self.mayReturnEmpty = False 2349 break 2350 self.setWhitespaceChars( exprs[0].whiteChars ) 2351 self.skipWhitespace = exprs[0].skipWhitespace 2352 self.callPreparse = True
2353
2354 - def parseImpl( self, instring, loc, doActions=True ):
2355 # pass False as last arg to _parse for first element, since we already 2356 # pre-parsed the string as part of our And pre-parsing 2357 loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) 2358 errorStop = False 2359 for e in self.exprs[1:]: 2360 if isinstance(e, And._ErrorStop): 2361 errorStop = True 2362 continue 2363 if errorStop: 2364 try: 2365 loc, exprtokens = e._parse( instring, loc, doActions ) 2366 except ParseSyntaxException: 2367 raise 2368 except ParseBaseException: 2369 pe = sys.exc_info()[1] 2370 raise ParseSyntaxException(pe) 2371 except IndexError: 2372 raise ParseSyntaxException( ParseException(instring, len(instring), self.errmsg, self) ) 2373 else: 2374 loc, exprtokens = e._parse( instring, loc, doActions ) 2375 if exprtokens or exprtokens.keys(): 2376 resultlist += exprtokens 2377 return loc, resultlist
2378
2379 - def __iadd__(self, other ):
2380 if isinstance( other, basestring ): 2381 other = Literal( other ) 2382 return self.append( other ) #And( [ self, other ] )
2383
2384 - def checkRecursion( self, parseElementList ):
2385 subRecCheckList = parseElementList[:] + [ self ] 2386 for e in self.exprs: 2387 e.checkRecursion( subRecCheckList ) 2388 if not e.mayReturnEmpty: 2389 break
2390
2391 - def __str__( self ):
2392 if hasattr(self,"name"): 2393 return self.name 2394 2395 if self.strRepr is None: 2396 self.strRepr = "{" + " ".join( [ _ustr(e) for e in self.exprs ] ) + "}" 2397 2398 return self.strRepr
2399 2400
2401 -class Or(ParseExpression):
2402 """Requires that at least one C{ParseExpression} is found. 2403 If two expressions match, the expression that matches the longest string will be used. 2404 May be constructed using the C{'^'} operator. 2405 """
2406 - def __init__( self, exprs, savelist = False ):
2407 super(Or,self).__init__(exprs, savelist) 2408 self.mayReturnEmpty = False 2409 for e in self.exprs: 2410 if e.mayReturnEmpty: 2411 self.mayReturnEmpty = True 2412 break
2413
2414 - def parseImpl( self, instring, loc, doActions=True ):
2415 maxExcLoc = -1 2416 maxMatchLoc = -1 2417 maxException = None 2418 for e in self.exprs: 2419 try: 2420 loc2 = e.tryParse( instring, loc ) 2421 except ParseException: 2422 err = sys.exc_info()[1] 2423 if err.loc > maxExcLoc: 2424 maxException = err 2425 maxExcLoc = err.loc 2426 except IndexError: 2427 if len(instring) > maxExcLoc: 2428 maxException = ParseException(instring,len(instring),e.errmsg,self) 2429 maxExcLoc = len(instring) 2430 else: 2431 if loc2 > maxMatchLoc: 2432 maxMatchLoc = loc2 2433 maxMatchExp = e 2434 2435 if maxMatchLoc < 0: 2436 if maxException is not None: 2437 raise maxException 2438 else: 2439 raise ParseException(instring, loc, "no defined alternatives to match", self) 2440 2441 return maxMatchExp._parse( instring, loc, doActions )
2442
2443 - def __ixor__(self, other ):
2444 if isinstance( other, basestring ): 2445 other = ParserElement.literalStringClass( other ) 2446 return self.append( other ) #Or( [ self, other ] )
2447
2448 - def __str__( self ):
2449 if hasattr(self,"name"): 2450 return self.name 2451 2452 if self.strRepr is None: 2453 self.strRepr = "{" + " ^ ".join( [ _ustr(e) for e in self.exprs ] ) + "}" 2454 2455 return self.strRepr
2456
2457 - def checkRecursion( self, parseElementList ):
2458 subRecCheckList = parseElementList[:] + [ self ] 2459 for e in self.exprs: 2460 e.checkRecursion( subRecCheckList )
2461 2462
2463 -class MatchFirst(ParseExpression):
2464 """Requires that at least one C{ParseExpression} is found. 2465 If two expressions match, the first one listed is the one that will match. 2466 May be constructed using the C{'|'} operator. 2467 """
2468 - def __init__( self, exprs, savelist = False ):
2469 super(MatchFirst,self).__init__(exprs, savelist) 2470 if exprs: 2471 self.mayReturnEmpty = False 2472 for e in self.exprs: 2473 if e.mayReturnEmpty: 2474 self.mayReturnEmpty = True 2475 break 2476 else: 2477 self.mayReturnEmpty = True
2478
2479 - def parseImpl( self, instring, loc, doActions=True ):
2480 maxExcLoc = -1 2481 maxException = None 2482 for e in self.exprs: 2483 try: 2484 ret = e._parse( instring, loc, doActions ) 2485 return ret 2486 except ParseException, err: 2487 if err.loc > maxExcLoc: 2488 maxException = err 2489 maxExcLoc = err.loc 2490 except IndexError: 2491 if len(instring) > maxExcLoc: 2492 maxException = ParseException(instring,len(instring),e.errmsg,self) 2493 maxExcLoc = len(instring) 2494 2495 # only got here if no expression matched, raise exception for match that made it the furthest 2496 else: 2497 if maxException is not None: 2498 raise maxException 2499 else: 2500 raise ParseException(instring, loc, "no defined alternatives to match", self)
2501
2502 - def __ior__(self, other ):
2503 if isinstance( other, basestring ): 2504 other = ParserElement.literalStringClass( other ) 2505 return self.append( other ) #MatchFirst( [ self, other ] )
2506
2507 - def __str__( self ):
2508 if hasattr(self,"name"): 2509 return self.name 2510 2511 if self.strRepr is None: 2512 self.strRepr = "{" + " | ".join( [ _ustr(e) for e in self.exprs ] ) + "}" 2513 2514 return self.strRepr
2515
2516 - def checkRecursion( self, parseElementList ):
2517 subRecCheckList = parseElementList[:] + [ self ] 2518 for e in self.exprs: 2519 e.checkRecursion( subRecCheckList )
2520 2521
2522 -class Each(ParseExpression):
2523 """Requires all given C{ParseExpression}s to be found, but in any order. 2524 Expressions may be separated by whitespace. 2525 May be constructed using the C{'&'} operator. 2526 """
2527 - def __init__( self, exprs, savelist = True ):
2528 super(Each,self).__init__(exprs, savelist) 2529 self.mayReturnEmpty = True 2530 for e in self.exprs: 2531 if not e.mayReturnEmpty: 2532 self.mayReturnEmpty = False 2533 break 2534 self.skipWhitespace = True 2535 self.initExprGroups = True
2536
2537 - def parseImpl( self, instring, loc, doActions=True ):
2538 if self.initExprGroups: 2539 opt1 = [ e.expr for e in self.exprs if isinstance(e,Optional) ] 2540 opt2 = [ e for e in self.exprs if e.mayReturnEmpty and e not in opt1 ] 2541 self.optionals = opt1 + opt2 2542 self.multioptionals = [ e.expr for e in self.exprs if isinstance(e,ZeroOrMore) ] 2543 self.multirequired = [ e.expr for e in self.exprs if isinstance(e,OneOrMore) ] 2544 self.required = [ e for e in self.exprs if not isinstance(e,(Optional,ZeroOrMore,OneOrMore)) ] 2545 self.required += self.multirequired 2546 self.initExprGroups = False 2547 tmpLoc = loc 2548 tmpReqd = self.required[:] 2549 tmpOpt = self.optionals[:] 2550 matchOrder = [] 2551 2552 keepMatching = True 2553 while keepMatching: 2554 tmpExprs = tmpReqd + tmpOpt + self.multioptionals + self.multirequired 2555 failed = [] 2556 for e in tmpExprs: 2557 try: 2558 tmpLoc = e.tryParse( instring, tmpLoc ) 2559 except ParseException: 2560 failed.append(e) 2561 else: 2562 matchOrder.append(e) 2563 if e in tmpReqd: 2564 tmpReqd.remove(e) 2565 elif e in tmpOpt: 2566 tmpOpt.remove(e) 2567 if len(failed) == len(tmpExprs): 2568 keepMatching = False 2569 2570 if tmpReqd: 2571 missing = ", ".join( [ _ustr(e) for e in tmpReqd ] ) 2572 raise ParseException(instring,loc,"Missing one or more required elements (%s)" % missing ) 2573 2574 # add any unmatched Optionals, in case they have default values defined 2575 matchOrder += [e for e in self.exprs if isinstance(e,Optional) and e.expr in tmpOpt] 2576 2577 resultlist = [] 2578 for e in matchOrder: 2579 loc,results = e._parse(instring,loc,doActions) 2580 resultlist.append(results) 2581 2582 finalResults = ParseResults([]) 2583 for r in resultlist: 2584 dups = {} 2585 for k in r.keys(): 2586 if k in finalResults.keys(): 2587 tmp = ParseResults(finalResults[k]) 2588 tmp += ParseResults(r[k]) 2589 dups[k] = tmp 2590 finalResults += ParseResults(r) 2591 for k,v in dups.items(): 2592 finalResults[k] = v 2593 return loc, finalResults
2594
2595 - def __str__( self ):
2596 if hasattr(self,"name"): 2597 return self.name 2598 2599 if self.strRepr is None: 2600 self.strRepr = "{" + " & ".join( [ _ustr(e) for e in self.exprs ] ) + "}" 2601 2602 return self.strRepr
2603
2604 - def checkRecursion( self, parseElementList ):
2605 subRecCheckList = parseElementList[:] + [ self ] 2606 for e in self.exprs: 2607 e.checkRecursion( subRecCheckList )
2608 2609
2610 -class ParseElementEnhance(ParserElement):
2611 """Abstract subclass of C{ParserElement}, for combining and post-processing parsed tokens."""
2612 - def __init__( self, expr, savelist=False ):
2613 super(ParseElementEnhance,self).__init__(savelist) 2614 if isinstance( expr, basestring ): 2615 expr = Literal(expr) 2616 self.expr = expr 2617 self.strRepr = None 2618 if expr is not None: 2619 self.mayIndexError = expr.mayIndexError 2620 self.mayReturnEmpty = expr.mayReturnEmpty 2621 self.setWhitespaceChars( expr.whiteChars ) 2622 self.skipWhitespace = expr.skipWhitespace 2623 self.saveAsList = expr.saveAsList 2624 self.callPreparse = expr.callPreparse 2625 self.ignoreExprs.extend(expr.ignoreExprs)
2626
2627 - def parseImpl( self, instring, loc, doActions=True ):
2628 if self.expr is not None: 2629 return self.expr._parse( instring, loc, doActions, callPreParse=False ) 2630 else: 2631 raise ParseException("",loc,self.errmsg,self)
2632
2633 - def leaveWhitespace( self ):
2634 self.skipWhitespace = False 2635 self.expr = self.expr.copy() 2636 if self.expr is not None: 2637 self.expr.leaveWhitespace() 2638 return self
2639
2640 - def ignore( self, other ):
2641 if isinstance( other, Suppress ): 2642 if other not in self.ignoreExprs: 2643 super( ParseElementEnhance, self).ignore( other ) 2644 if self.expr is not None: 2645 self.expr.ignore( self.ignoreExprs[-1] ) 2646 else: 2647 super( ParseElementEnhance, self).ignore( other ) 2648 if self.expr is not None: 2649 self.expr.ignore( self.ignoreExprs[-1] ) 2650 return self
2651
2652 - def streamline( self ):
2653 super(ParseElementEnhance,self).streamline() 2654 if self.expr is not None: 2655 self.expr.streamline() 2656 return self
2657
2658 - def checkRecursion( self, parseElementList ):
2659 if self in parseElementList: 2660 raise RecursiveGrammarException( parseElementList+[self] ) 2661 subRecCheckList = parseElementList[:] + [ self ] 2662 if self.expr is not None: 2663 self.expr.checkRecursion( subRecCheckList )
2664
2665 - def validate( self, validateTrace=[] ):
2666 tmp = validateTrace[:]+[self] 2667 if self.expr is not None: 2668 self.expr.validate(tmp) 2669 self.checkRecursion( [] )
2670
2671 - def __str__( self ):
2672 try: 2673 return super(ParseElementEnhance,self).__str__() 2674 except: 2675 pass 2676 2677 if self.strRepr is None and self.expr is not None: 2678 self.strRepr = "%s:(%s)" % ( self.__class__.__name__, _ustr(self.expr) ) 2679 return self.strRepr
2680 2681
2682 -class FollowedBy(ParseElementEnhance):
2683 """Lookahead matching of the given parse expression. C{FollowedBy} 2684 does *not* advance the parsing position within the input string, it only 2685 verifies that the specified parse expression matches at the current 2686 position. C{FollowedBy} always returns a null token list."""
2687 - def __init__( self, expr ):
2688 super(FollowedBy,self).__init__(expr) 2689 self.mayReturnEmpty = True
2690
2691 - def parseImpl( self, instring, loc, doActions=True ):
2692 self.expr.tryParse( instring, loc ) 2693 return loc, []
2694 2695
2696 -class NotAny(ParseElementEnhance):
2697 """Lookahead to disallow matching with the given parse expression. C{NotAny} 2698 does *not* advance the parsing position within the input string, it only 2699 verifies that the specified parse expression does *not* match at the current 2700 position. Also, C{NotAny} does *not* skip over leading whitespace. C{NotAny} 2701 always returns a null token list. May be constructed using the '~' operator."""
2702 - def __init__( self, expr ):
2703 super(NotAny,self).__init__(expr) 2704 #~ self.leaveWhitespace() 2705 self.skipWhitespace = False # do NOT use self.leaveWhitespace(), don't want to propagate to exprs 2706 self.mayReturnEmpty = True 2707 self.errmsg = "Found unwanted token, "+_ustr(self.expr)
2708
2709 - def parseImpl( self, instring, loc, doActions=True ):
2710 try: 2711 self.expr.tryParse( instring, loc ) 2712 except (ParseException,IndexError): 2713 pass 2714 else: 2715 #~ raise ParseException(instring, loc, self.errmsg ) 2716 exc = self.myException 2717 exc.loc = loc 2718 exc.pstr = instring 2719 raise exc 2720 return loc, []
2721
2722 - def __str__( self ):
2723 if hasattr(self,"name"): 2724 return self.name 2725 2726 if self.strRepr is None: 2727 self.strRepr = "~{" + _ustr(self.expr) + "}" 2728 2729 return self.strRepr
2730 2731
2732 -class ZeroOrMore(ParseElementEnhance):
2733 """Optional repetition of zero or more of the given expression."""
2734 - def __init__( self, expr ):
2735 super(ZeroOrMore,self).__init__(expr) 2736 self.mayReturnEmpty = True
2737
2738 - def parseImpl( self, instring, loc, doActions=True ):
2739 tokens = [] 2740 try: 2741 loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False ) 2742 hasIgnoreExprs = ( len(self.ignoreExprs) > 0 ) 2743 while 1: 2744 if hasIgnoreExprs: 2745 preloc = self._skipIgnorables( instring, loc ) 2746 else: 2747 preloc = loc 2748 loc, tmptokens = self.expr._parse( instring, preloc, doActions ) 2749 if tmptokens or tmptokens.keys(): 2750 tokens += tmptokens 2751 except (ParseException,IndexError): 2752 pass 2753 2754 return loc, tokens
2755
2756 - def __str__( self ):
2757 if hasattr(self,"name"): 2758 return self.name 2759 2760 if self.strRepr is None: 2761 self.strRepr = "[" + _ustr(self.expr) + "]..." 2762 2763 return self.strRepr
2764
2765 - def setResultsName( self, name, listAllMatches=False ):
2766 ret = super(ZeroOrMore,self).setResultsName(name,listAllMatches) 2767 ret.saveAsList = True 2768 return ret
2769 2770
2771 -class OneOrMore(ParseElementEnhance):
2772 """Repetition of one or more of the given expression."""
2773 - def parseImpl( self, instring, loc, doActions=True ):
2774 # must be at least one 2775 loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False ) 2776 try: 2777 hasIgnoreExprs = ( len(self.ignoreExprs) > 0 ) 2778 while 1: 2779 if hasIgnoreExprs: 2780 preloc = self._skipIgnorables( instring, loc ) 2781 else: 2782 preloc = loc 2783 loc, tmptokens = self.expr._parse( instring, preloc, doActions ) 2784 if tmptokens or tmptokens.keys(): 2785 tokens += tmptokens 2786 except (ParseException,IndexError): 2787 pass 2788 2789 return loc, tokens
2790
2791 - def __str__( self ):
2792 if hasattr(self,"name"): 2793 return self.name 2794 2795 if self.strRepr is None: 2796 self.strRepr = "{" + _ustr(self.expr) + "}..." 2797 2798 return self.strRepr
2799
2800 - def setResultsName( self, name, listAllMatches=False ):
2801 ret = super(OneOrMore,self).setResultsName(name,listAllMatches) 2802 ret.saveAsList = True 2803 return ret
2804
2805 -class _NullToken(object):
2806 - def __bool__(self):
2807 return False
2808 __nonzero__ = __bool__
2809 - def __str__(self):
2810 return ""
2811 2812 _optionalNotMatched = _NullToken()
2813 -class Optional(ParseElementEnhance):
2814 """Optional matching of the given expression. 2815 A default return string can also be specified, if the optional expression 2816 is not found. 2817 """
2818 - def __init__( self, exprs, default=_optionalNotMatched ):
2819 super(Optional,self).__init__( exprs, savelist=False ) 2820 self.defaultValue = default 2821 self.mayReturnEmpty = True
2822
2823 - def parseImpl( self, instring, loc, doActions=True ):
2824 try: 2825 loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False ) 2826 except (ParseException,IndexError): 2827 if self.defaultValue is not _optionalNotMatched: 2828 if self.expr.resultsName: 2829 tokens = ParseResults([ self.defaultValue ]) 2830 tokens[self.expr.resultsName] = self.defaultValue 2831 else: 2832 tokens = [ self.defaultValue ] 2833 else: 2834 tokens = [] 2835 return loc, tokens
2836
2837 - def __str__( self ):
2838 if hasattr(self,"name"): 2839 return self.name 2840 2841 if self.strRepr is None: 2842 self.strRepr = "[" + _ustr(self.expr) + "]" 2843 2844 return self.strRepr
2845 2846
2847 -class SkipTo(ParseElementEnhance):
2848 """Token for skipping over all undefined text until the matched expression is found. 2849 If C{include} is set to true, the matched expression is also parsed (the skipped text 2850 and matched expression are returned as a 2-element list). The C{ignore} 2851 argument is used to define grammars (typically quoted strings and comments) that 2852 might contain false matches. 2853 """
2854 - def __init__( self, other, include=False, ignore=None, failOn=None ):
2855 super( SkipTo, self ).__init__( other ) 2856 self.ignoreExpr = ignore 2857 self.mayReturnEmpty = True 2858 self.mayIndexError = False 2859 self.includeMatch = include 2860 self.asList = False 2861 if failOn is not None and isinstance(failOn, basestring): 2862 self.failOn = Literal(failOn) 2863 else: 2864 self.failOn = failOn 2865 self.errmsg = "No match found for "+_ustr(self.expr)
2866
2867 - def parseImpl( self, instring, loc, doActions=True ):
2868 startLoc = loc 2869 instrlen = len(instring) 2870 expr = self.expr 2871 failParse = False 2872 while loc <= instrlen: 2873 try: 2874 if self.failOn: 2875 try: 2876 self.failOn.tryParse(instring, loc) 2877 except ParseBaseException: 2878 pass 2879 else: 2880 failParse = True 2881 raise ParseException(instring, loc, "Found expression " + str(self.failOn)) 2882 failParse = False 2883 if self.ignoreExpr is not None: 2884 while 1: 2885 try: 2886 loc = self.ignoreExpr.tryParse(instring,loc) 2887 # print "found ignoreExpr, advance to", loc 2888 except ParseBaseException: 2889 break 2890 expr._parse( instring, loc, doActions=False, callPreParse=False ) 2891 skipText = instring[startLoc:loc] 2892 if self.includeMatch: 2893 loc,mat = expr._parse(instring,loc,doActions,callPreParse=False) 2894 if mat: 2895 skipRes = ParseResults( skipText ) 2896 skipRes += mat 2897 return loc, [ skipRes ] 2898 else: 2899 return loc, [ skipText ] 2900 else: 2901 return loc, [ skipText ] 2902 except (ParseException,IndexError): 2903 if failParse: 2904 raise 2905 else: 2906 loc += 1 2907 exc = self.myException 2908 exc.loc = loc 2909 exc.pstr = instring 2910 raise exc
2911
2912 -class Forward(ParseElementEnhance):
2913 """Forward declaration of an expression to be defined later - 2914 used for recursive grammars, such as algebraic infix notation. 2915 When the expression is known, it is assigned to the C{Forward} variable using the '<<' operator. 2916 2917 Note: take care when assigning to C{Forward} not to overlook precedence of operators. 2918 Specifically, '|' has a lower precedence than '<<', so that:: 2919 fwdExpr << a | b | c 2920 will actually be evaluated as:: 2921 (fwdExpr << a) | b | c 2922 thereby leaving b and c out as parseable alternatives. It is recommended that you 2923 explicitly group the values inserted into the C{Forward}:: 2924 fwdExpr << (a | b | c) 2925 Converting to use the '<<=' operator instead will avoid this problem. 2926 """
2927 - def __init__( self, other=None ):
2928 super(Forward,self).__init__( other, savelist=False )
2929
2930 - def __lshift__( self, other ):
2931 if isinstance( other, basestring ): 2932 other = ParserElement.literalStringClass(other) 2933 self.expr = other 2934 self.mayReturnEmpty = other.mayReturnEmpty 2935 self.strRepr = None 2936 self.mayIndexError = self.expr.mayIndexError 2937 self.mayReturnEmpty = self.expr.mayReturnEmpty 2938 self.setWhitespaceChars( self.expr.whiteChars ) 2939 self.skipWhitespace = self.expr.skipWhitespace 2940 self.saveAsList = self.expr.saveAsList 2941 self.ignoreExprs.extend(self.expr.ignoreExprs) 2942 return None
2943 __ilshift__ = __lshift__ 2944
2945 - def leaveWhitespace( self ):
2946 self.skipWhitespace = False 2947 return self
2948
2949 - def streamline( self ):
2950 if not self.streamlined: 2951 self.streamlined = True 2952 if self.expr is not None: 2953 self.expr.streamline() 2954 return self
2955
2956 - def validate( self, validateTrace=[] ):
2957 if self not in validateTrace: 2958 tmp = validateTrace[:]+[self] 2959 if self.expr is not None: 2960 self.expr.validate(tmp) 2961 self.checkRecursion([])
2962
2963 - def __str__( self ):
2964 if hasattr(self,"name"): 2965 return self.name 2966 2967 self._revertClass = self.__class__ 2968 self.__class__ = _ForwardNoRecurse 2969 try: 2970 if self.expr is not None: 2971 retString = _ustr(self.expr) 2972 else: 2973 retString = "None" 2974 finally: 2975 self.__class__ = self._revertClass 2976 return self.__class__.__name__ + ": " + retString
2977
2978 - def copy(self):
2979 if self.expr is not None: 2980 return super(Forward,self).copy() 2981 else: 2982 ret = Forward() 2983 ret << self 2984 return ret
2985
2986 -class _ForwardNoRecurse(Forward):
2987 - def __str__( self ):
2988 return "..."
2989
2990 -class TokenConverter(ParseElementEnhance):
2991 """Abstract subclass of C{ParseExpression}, for converting parsed results."""
2992 - def __init__( self, expr, savelist=False ):
2993 super(TokenConverter,self).__init__( expr )#, savelist ) 2994 self.saveAsList = False
2995
2996 -class Upcase(TokenConverter):
2997 """Converter to upper case all matching tokens."""
2998 - def __init__(self, *args):
2999 super(Upcase,self).__init__(*args) 3000 warnings.warn("Upcase class is deprecated, use upcaseTokens parse action instead", 3001 DeprecationWarning,stacklevel=2)
3002
3003 - def postParse( self, instring, loc, tokenlist ):
3004 return list(map( string.upper, tokenlist ))
3005 3006
3007 -class Combine(TokenConverter):
3008 """Converter to concatenate all matching tokens to a single string. 3009 By default, the matching patterns must also be contiguous in the input string; 3010 this can be disabled by specifying C{'adjacent=False'} in the constructor. 3011 """
3012 - def __init__( self, expr, joinString="", adjacent=True ):
3013 super(Combine,self).__init__( expr ) 3014 # suppress whitespace-stripping in contained parse expressions, but re-enable it on the Combine itself 3015 if adjacent: 3016 self.leaveWhitespace() 3017 self.adjacent = adjacent 3018 self.skipWhitespace = True 3019 self.joinString = joinString 3020 self.callPreparse = True
3021
3022 - def ignore( self, other ):
3023 if self.adjacent: 3024 ParserElement.ignore(self, other) 3025 else: 3026 super( Combine, self).ignore( other ) 3027 return self
3028
3029 - def postParse( self, instring, loc, tokenlist ):
3030 retToks = tokenlist.copy() 3031 del retToks[:] 3032 retToks += ParseResults([ "".join(tokenlist._asStringList(self.joinString)) ], modal=self.modalResults) 3033 3034 if self.resultsName and len(retToks.keys())>0: 3035 return [ retToks ] 3036 else: 3037 return retToks
3038
3039 -class Group(TokenConverter):
3040 """Converter to return the matched tokens as a list - useful for returning tokens of C{L{ZeroOrMore}} and C{L{OneOrMore}} expressions."""
3041 - def __init__( self, expr ):
3042 super(Group,self).__init__( expr ) 3043 self.saveAsList = True
3044
3045 - def postParse( self, instring, loc, tokenlist ):
3046 return [ tokenlist ]
3047
3048 -class Dict(TokenConverter):
3049 """Converter to return a repetitive expression as a list, but also as a dictionary. 3050 Each element can also be referenced using the first token in the expression as its key. 3051 Useful for tabular report scraping when the first column can be used as a item key. 3052 """
3053 - def __init__( self, exprs ):
3054 super(Dict,self).__init__( exprs ) 3055 self.saveAsList = True
3056
3057 - def postParse( self, instring, loc, tokenlist ):
3058 for i,tok in enumerate(tokenlist): 3059 if len(tok) == 0: 3060 continue 3061 ikey = tok[0] 3062 if isinstance(ikey,int): 3063 ikey = _ustr(tok[0]).strip() 3064 if len(tok)==1: 3065 tokenlist[ikey] = _ParseResultsWithOffset("",i) 3066 elif len(tok)==2 and not isinstance(tok[1],ParseResults): 3067 tokenlist[ikey] = _ParseResultsWithOffset(tok[1],i) 3068 else: 3069 dictvalue = tok.copy() #ParseResults(i) 3070 del dictvalue[0] 3071 if len(dictvalue)!= 1 or (isinstance(dictvalue,ParseResults) and dictvalue.keys()): 3072 tokenlist[ikey] = _ParseResultsWithOffset(dictvalue,i) 3073 else: 3074 tokenlist[ikey] = _ParseResultsWithOffset(dictvalue[0],i) 3075 3076 if self.resultsName: 3077 return [ tokenlist ] 3078 else: 3079 return tokenlist
3080 3081
3082 -class Suppress(TokenConverter):
3083 """Converter for ignoring the results of a parsed expression."""
3084 - def postParse( self, instring, loc, tokenlist ):
3085 return []
3086
3087 - def suppress( self ):
3088 return self
3089 3090
3091 -class OnlyOnce(object):
3092 """Wrapper for parse actions, to ensure they are only called once."""
3093 - def __init__(self, methodCall):
3094 self.callable = _trim_arity(methodCall) 3095 self.called = False
3096 - def __call__(self,s,l,t):
3097 if not self.called: 3098 results = self.callable(s,l,t) 3099 self.called = True 3100 return results 3101 raise ParseException(s,l,"")
3102 - def reset(self):
3103 self.called = False
3104
3105 -def traceParseAction(f):
3106 """Decorator for debugging parse actions.""" 3107 f = _trim_arity(f) 3108 def z(*paArgs): 3109 thisFunc = f.func_name 3110 s,l,t = paArgs[-3:] 3111 if len(paArgs)>3: 3112 thisFunc = paArgs[0].__class__.__name__ + '.' + thisFunc 3113 sys.stderr.write( ">>entering %s(line: '%s', %d, %s)\n" % (thisFunc,line(l,s),l,t) ) 3114 try: 3115 ret = f(*paArgs) 3116 except Exception: 3117 exc = sys.exc_info()[1] 3118 sys.stderr.write( "<<leaving %s (exception: %s)\n" % (thisFunc,exc) ) 3119 raise 3120 sys.stderr.write( "<<leaving %s (ret: %s)\n" % (thisFunc,ret) ) 3121 return ret
3122 try: 3123 z.__name__ = f.__name__ 3124 except AttributeError: 3125 pass 3126 return z 3127 3128 # 3129 # global helpers 3130 #
3131 -def delimitedList( expr, delim=",", combine=False ):
3132 """Helper to define a delimited list of expressions - the delimiter defaults to ','. 3133 By default, the list elements and delimiters can have intervening whitespace, and 3134 comments, but this can be overridden by passing C{combine=True} in the constructor. 3135 If C{combine} is set to C{True}, the matching tokens are returned as a single token 3136 string, with the delimiters included; otherwise, the matching tokens are returned 3137 as a list of tokens, with the delimiters suppressed. 3138 """ 3139 dlName = _ustr(expr)+" ["+_ustr(delim)+" "+_ustr(expr)+"]..." 3140 if combine: 3141 return Combine( expr + ZeroOrMore( delim + expr ) ).setName(dlName) 3142 else: 3143 return ( expr + ZeroOrMore( Suppress( delim ) + expr ) ).setName(dlName)
3144
3145 -def countedArray( expr, intExpr=None ):
3146 """Helper to define a counted list of expressions. 3147 This helper defines a pattern of the form:: 3148 integer expr expr expr... 3149 where the leading integer tells how many expr expressions follow. 3150 The matched tokens returns the array of expr tokens as a list - the leading count token is suppressed. 3151 """ 3152 arrayExpr = Forward() 3153 def countFieldParseAction(s,l,t): 3154 n = t[0] 3155 arrayExpr << (n and Group(And([expr]*n)) or Group(empty)) 3156 return []
3157 if intExpr is None: 3158 intExpr = Word(nums).setParseAction(lambda t:int(t[0])) 3159 else: 3160 intExpr = intExpr.copy() 3161 intExpr.setName("arrayLen") 3162 intExpr.addParseAction(countFieldParseAction, callDuringTry=True) 3163 return ( intExpr + arrayExpr ) 3164
3165 -def _flatten(L):
3166 ret = [] 3167 for i in L: 3168 if isinstance(i,list): 3169 ret.extend(_flatten(i)) 3170 else: 3171 ret.append(i) 3172 return ret
3173
3174 -def matchPreviousLiteral(expr):
3175 """Helper to define an expression that is indirectly defined from 3176 the tokens matched in a previous expression, that is, it looks 3177 for a 'repeat' of a previous expression. For example:: 3178 first = Word(nums) 3179 second = matchPreviousLiteral(first) 3180 matchExpr = first + ":" + second 3181 will match C{"1:1"}, but not C{"1:2"}. Because this matches a 3182 previous literal, will also match the leading C{"1:1"} in C{"1:10"}. 3183 If this is not desired, use C{matchPreviousExpr}. 3184 Do *not* use with packrat parsing enabled. 3185 """ 3186 rep = Forward() 3187 def copyTokenToRepeater(s,l,t): 3188 if t: 3189 if len(t) == 1: 3190 rep << t[0] 3191 else: 3192 # flatten t tokens 3193 tflat = _flatten(t.asList()) 3194 rep << And( [ Literal(tt) for tt in tflat ] ) 3195 else: 3196 rep << Empty()
3197 expr.addParseAction(copyTokenToRepeater, callDuringTry=True) 3198 return rep 3199
3200 -def matchPreviousExpr(expr):
3201 """Helper to define an expression that is indirectly defined from 3202 the tokens matched in a previous expression, that is, it looks 3203 for a 'repeat' of a previous expression. For example:: 3204 first = Word(nums) 3205 second = matchPreviousExpr(first) 3206 matchExpr = first + ":" + second 3207 will match C{"1:1"}, but not C{"1:2"}. Because this matches by 3208 expressions, will *not* match the leading C{"1:1"} in C{"1:10"}; 3209 the expressions are evaluated first, and then compared, so 3210 C{"1"} is compared with C{"10"}. 3211 Do *not* use with packrat parsing enabled. 3212 """ 3213 rep = Forward() 3214 e2 = expr.copy() 3215 rep << e2 3216 def copyTokenToRepeater(s,l,t): 3217 matchTokens = _flatten(t.asList()) 3218 def mustMatchTheseTokens(s,l,t): 3219 theseTokens = _flatten(t.asList()) 3220 if theseTokens != matchTokens: 3221 raise ParseException("",0,"")
3222 rep.setParseAction( mustMatchTheseTokens, callDuringTry=True ) 3223 expr.addParseAction(copyTokenToRepeater, callDuringTry=True) 3224 return rep 3225
3227 #~ escape these chars: ^-] 3228 for c in r"\^-]": 3229 s = s.replace(c,_bslash+c) 3230 s = s.replace("\n",r"\n") 3231 s = s.replace("\t",r"\t") 3232 return _ustr(s)
3233
3234 -def oneOf( strs, caseless=False, useRegex=True ):
3235 """Helper to quickly define a set of alternative Literals, and makes sure to do 3236 longest-first testing when there is a conflict, regardless of the input order, 3237 but returns a C{L{MatchFirst}} for best performance. 3238 3239 Parameters: 3240 - strs - a string of space-delimited literals, or a list of string literals 3241 - caseless - (default=False) - treat all literals as caseless 3242 - useRegex - (default=True) - as an optimization, will generate a Regex 3243 object; otherwise, will generate a C{MatchFirst} object (if C{caseless=True}, or 3244 if creating a C{Regex} raises an exception) 3245 """ 3246 if caseless: 3247 isequal = ( lambda a,b: a.upper() == b.upper() ) 3248 masks = ( lambda a,b: b.upper().startswith(a.upper()) ) 3249 parseElementClass = CaselessLiteral 3250 else: 3251 isequal = ( lambda a,b: a == b ) 3252 masks = ( lambda a,b: b.startswith(a) ) 3253 parseElementClass = Literal 3254 3255 if isinstance(strs,(list,tuple)): 3256 symbols = list(strs[:]) 3257 elif isinstance(strs,basestring): 3258 symbols = strs.split() 3259 else: 3260 warnings.warn("Invalid argument to oneOf, expected string or list", 3261 SyntaxWarning, stacklevel=2) 3262 3263 i = 0 3264 while i < len(symbols)-1: 3265 cur = symbols[i] 3266 for j,other in enumerate(symbols[i+1:]): 3267 if ( isequal(other, cur) ): 3268 del symbols[i+j+1] 3269 break 3270 elif ( masks(cur, other) ): 3271 del symbols[i+j+1] 3272 symbols.insert(i,other) 3273 cur = other 3274 break 3275 else: 3276 i += 1 3277 3278 if not caseless and useRegex: 3279 #~ print (strs,"->", "|".join( [ _escapeRegexChars(sym) for sym in symbols] )) 3280 try: 3281 if len(symbols)==len("".join(symbols)): 3282 return Regex( "[%s]" % "".join( [ _escapeRegexRangeChars(sym) for sym in symbols] ) ) 3283 else: 3284 return Regex( "|".join( [ re.escape(sym) for sym in symbols] ) ) 3285 except: 3286 warnings.warn("Exception creating Regex for oneOf, building MatchFirst", 3287 SyntaxWarning, stacklevel=2) 3288 3289 3290 # last resort, just use MatchFirst 3291 return MatchFirst( [ parseElementClass(sym) for sym in symbols ] )
3292
3293 -def dictOf( key, value ):
3294 """Helper to easily and clearly define a dictionary by specifying the respective patterns 3295 for the key and value. Takes care of defining the C{L{Dict}}, C{L{ZeroOrMore}}, and C{L{Group}} tokens 3296 in the proper order. The key pattern can include delimiting markers or punctuation, 3297 as long as they are suppressed, thereby leaving the significant key text. The value 3298 pattern can include named results, so that the C{Dict} results can include named token 3299 fields. 3300 """ 3301 return Dict( ZeroOrMore( Group ( key + value ) ) )
3302
3303 -def originalTextFor(expr, asString=True):
3304 """Helper to return the original, untokenized text for a given expression. Useful to 3305 restore the parsed fields of an HTML start tag into the raw tag text itself, or to 3306 revert separate tokens with intervening whitespace back to the original matching 3307 input text. Simpler to use than the parse action C{L{keepOriginalText}}, and does not 3308 require the inspect module to chase up the call stack. By default, returns a 3309 string containing the original parsed text. 3310 3311 If the optional C{asString} argument is passed as C{False}, then the return value is a 3312 C{L{ParseResults}} containing any results names that were originally matched, and a 3313 single token containing the original matched text from the input string. So if 3314 the expression passed to C{L{originalTextFor}} contains expressions with defined 3315 results names, you must set C{asString} to C{False} if you want to preserve those 3316 results name values.""" 3317 locMarker = Empty().setParseAction(lambda s,loc,t: loc) 3318 endlocMarker = locMarker.copy() 3319 endlocMarker.callPreparse = False 3320 matchExpr = locMarker("_original_start") + expr + endlocMarker("_original_end") 3321 if asString: 3322 extractText = lambda s,l,t: s[t._original_start:t._original_end] 3323 else: 3324 def extractText(s,l,t): 3325 del t[:] 3326 t.insert(0, s[t._original_start:t._original_end]) 3327 del t["_original_start"] 3328 del t["_original_end"]
3329 matchExpr.setParseAction(extractText) 3330 return matchExpr 3331
3332 -def ungroup(expr):
3333 """Helper to undo pyparsing's default grouping of And expressions, even 3334 if all but one are non-empty.""" 3335 return TokenConverter(expr).setParseAction(lambda t:t[0]) 3336 3337 # convenience constants for positional expressions 3338 empty = Empty().setName("empty") 3339 lineStart = LineStart().setName("lineStart") 3340 lineEnd = LineEnd().setName("lineEnd") 3341 stringStart = StringStart().setName("stringStart") 3342 stringEnd = StringEnd().setName("stringEnd") 3343 3344 _escapedPunc = Word( _bslash, r"\[]-*.$+^?()~ ", exact=2 ).setParseAction(lambda s,l,t:t[0][1]) 3345 _printables_less_backslash = "".join([ c for c in printables if c not in r"\]" ]) 3346 _escapedHexChar = Regex(r"\\0?[xX][0-9a-fA-F]+").setParseAction(lambda s,l,t:unichr(int(t[0].lstrip(r'\0x'),16))) 3347 _escapedOctChar = Regex(r"\\0[0-7]+").setParseAction(lambda s,l,t:unichr(int(t[0][1:],8))) 3348 _singleChar = _escapedPunc | _escapedHexChar | _escapedOctChar | Word(_printables_less_backslash,exact=1) 3349 _charRange = Group(_singleChar + Suppress("-") + _singleChar) 3350 _reBracketExpr = Literal("[") + Optional("^").setResultsName("negate") + Group( OneOrMore( _charRange | _singleChar ) ).setResultsName("body") + "]" 3351 3352 _expanded = lambda p: (isinstance(p,ParseResults) and ''.join([ unichr(c) for c in range(ord(p[0]),ord(p[1])+1) ]) or p) 3353
3354 -def srange(s):
3355 r"""Helper to easily define string ranges for use in Word construction. Borrows 3356 syntax from regexp '[]' string range definitions:: 3357 srange("[0-9]") -> "0123456789" 3358 srange("[a-z]") -> "abcdefghijklmnopqrstuvwxyz" 3359 srange("[a-z$_]") -> "abcdefghijklmnopqrstuvwxyz$_" 3360 The input string must be enclosed in []'s, and the returned string is the expanded 3361 character set joined into a single string. 3362 The values enclosed in the []'s may be:: 3363 a single character 3364 an escaped character with a leading backslash (such as \- or \]) 3365 an escaped hex character with a leading '\x' (\x21, which is a '!' character) 3366 (\0x## is also supported for backwards compatibility) 3367 an escaped octal character with a leading '\0' (\041, which is a '!' character) 3368 a range of any of the above, separated by a dash ('a-z', etc.) 3369 any combination of the above ('aeiouy', 'a-zA-Z0-9_$', etc.) 3370 """ 3371 try: 3372 return "".join([_expanded(part) for part in _reBracketExpr.parseString(s).body]) 3373 except: 3374 return ""
3375
3376 -def matchOnlyAtCol(n):
3377 """Helper method for defining parse actions that require matching at a specific 3378 column in the input text. 3379 """ 3380 def verifyCol(strg,locn,toks): 3381 if col(locn,strg) != n: 3382 raise ParseException(strg,locn,"matched token not at column %d" % n)
3383 return verifyCol 3384
3385 -def replaceWith(replStr):
3386 """Helper method for common parse actions that simply return a literal value. Especially 3387 useful when used with C{L{transformString<ParserElement.transformString>}()}. 3388 """ 3389 def _replFunc(*args): 3390 return [replStr]
3391 return _replFunc 3392
3393 -def removeQuotes(s,l,t):
3394 """Helper parse action for removing quotation marks from parsed quoted strings. 3395 To use, add this parse action to quoted string using:: 3396 quotedString.setParseAction( removeQuotes ) 3397 """ 3398 return t[0][1:-1]
3399
3400 -def upcaseTokens(s,l,t):
3401 """Helper parse action to convert tokens to upper case.""" 3402 return [ tt.upper() for tt in map(_ustr,t) ]
3403
3404 -def downcaseTokens(s,l,t):
3405 """Helper parse action to convert tokens to lower case.""" 3406 return [ tt.lower() for tt in map(_ustr,t) ]
3407
3408 -def keepOriginalText(s,startLoc,t):
3409 """DEPRECATED - use new helper method C{L{originalTextFor}}. 3410 Helper parse action to preserve original parsed text, 3411 overriding any nested parse actions.""" 3412 try: 3413 endloc = getTokensEndLoc() 3414 except ParseException: 3415 raise ParseFatalException("incorrect usage of keepOriginalText - may only be called as a parse action") 3416 del t[:] 3417 t += ParseResults(s[startLoc:endloc]) 3418 return t
3419
3420 -def getTokensEndLoc():
3421 """Method to be called from within a parse action to determine the end 3422 location of the parsed tokens.""" 3423 import inspect 3424 fstack = inspect.stack() 3425 try: 3426 # search up the stack (through intervening argument normalizers) for correct calling routine 3427 for f in fstack[2:]: 3428 if f[3] == "_parseNoCache": 3429 endloc = f[0].f_locals["loc"] 3430 return endloc 3431 else: 3432 raise ParseFatalException("incorrect usage of getTokensEndLoc - may only be called from within a parse action") 3433 finally: 3434 del fstack
3435
3436 -def _makeTags(tagStr, xml):
3437 """Internal helper to construct opening and closing tag expressions, given a tag name""" 3438 if isinstance(tagStr,basestring): 3439 resname = tagStr 3440 tagStr = Keyword(tagStr, caseless=not xml) 3441 else: 3442 resname = tagStr.name 3443 3444 tagAttrName = Word(alphas,alphanums+"_-:") 3445 if (xml): 3446 tagAttrValue = dblQuotedString.copy().setParseAction( removeQuotes ) 3447 openTag = Suppress("<") + tagStr("tag") + \ 3448 Dict(ZeroOrMore(Group( tagAttrName + Suppress("=") + tagAttrValue ))) + \ 3449 Optional("/",default=[False]).setResultsName("empty").setParseAction(lambda s,l,t:t[0]=='/') + Suppress(">") 3450 else: 3451 printablesLessRAbrack = "".join( [ c for c in printables if c not in ">" ] ) 3452 tagAttrValue = quotedString.copy().setParseAction( removeQuotes ) | Word(printablesLessRAbrack) 3453 openTag = Suppress("<") + tagStr("tag") + \ 3454 Dict(ZeroOrMore(Group( tagAttrName.setParseAction(downcaseTokens) + \ 3455 Optional( Suppress("=") + tagAttrValue ) ))) + \ 3456 Optional("/",default=[False]).setResultsName("empty").setParseAction(lambda s,l,t:t[0]=='/') + Suppress(">") 3457 closeTag = Combine(_L("</") + tagStr + ">") 3458 3459 openTag = openTag.setResultsName("start"+"".join(resname.replace(":"," ").title().split())).setName("<%s>" % tagStr) 3460 closeTag = closeTag.setResultsName("end"+"".join(resname.replace(":"," ").title().split())).setName("</%s>" % tagStr) 3461 openTag.tag = resname 3462 closeTag.tag = resname 3463 return openTag, closeTag
3464
3465 -def makeHTMLTags(tagStr):
3466 """Helper to construct opening and closing tag expressions for HTML, given a tag name""" 3467 return _makeTags( tagStr, False )
3468
3469 -def makeXMLTags(tagStr):
3470 """Helper to construct opening and closing tag expressions for XML, given a tag name""" 3471 return _makeTags( tagStr, True )
3472
3473 -def withAttribute(*args,**attrDict):
3474 """Helper to create a validating parse action to be used with start tags created 3475 with C{L{makeXMLTags}} or C{L{makeHTMLTags}}. Use C{withAttribute} to qualify a starting tag 3476 with a required attribute value, to avoid false matches on common tags such as 3477 C{<TD>} or C{<DIV>}. 3478 3479 Call C{withAttribute} with a series of attribute names and values. Specify the list 3480 of filter attributes names and values as: 3481 - keyword arguments, as in C{(align="right")}, or 3482 - as an explicit dict with C{**} operator, when an attribute name is also a Python 3483 reserved word, as in C{**{"class":"Customer", "align":"right"}} 3484 - a list of name-value tuples, as in ( ("ns1:class", "Customer"), ("ns2:align","right") ) 3485 For attribute names with a namespace prefix, you must use the second form. Attribute 3486 names are matched insensitive to upper/lower case. 3487 3488 To verify that the attribute exists, but without specifying a value, pass 3489 C{withAttribute.ANY_VALUE} as the value. 3490 """ 3491 if args: 3492 attrs = args[:] 3493 else: 3494 attrs = attrDict.items() 3495 attrs = [(k,v) for k,v in attrs] 3496 def pa(s,l,tokens): 3497 for attrName,attrValue in attrs: 3498 if attrName not in tokens: 3499 raise ParseException(s,l,"no matching attribute " + attrName) 3500 if attrValue != withAttribute.ANY_VALUE and tokens[attrName] != attrValue: 3501 raise ParseException(s,l,"attribute '%s' has value '%s', must be '%s'" % 3502 (attrName, tokens[attrName], attrValue))
3503 return pa 3504 withAttribute.ANY_VALUE = object() 3505 3506 opAssoc = _Constants() 3507 opAssoc.LEFT = object() 3508 opAssoc.RIGHT = object() 3509
3510 -def operatorPrecedence( baseExpr, opList ):
3511 """Helper method for constructing grammars of expressions made up of 3512 operators working in a precedence hierarchy. Operators may be unary or 3513 binary, left- or right-associative. Parse actions can also be attached 3514 to operator expressions. 3515 3516 Parameters: 3517 - baseExpr - expression representing the most basic element for the nested 3518 - opList - list of tuples, one for each operator precedence level in the 3519 expression grammar; each tuple is of the form 3520 (opExpr, numTerms, rightLeftAssoc, parseAction), where: 3521 - opExpr is the pyparsing expression for the operator; 3522 may also be a string, which will be converted to a Literal; 3523 if numTerms is 3, opExpr is a tuple of two expressions, for the 3524 two operators separating the 3 terms 3525 - numTerms is the number of terms for this operator (must 3526 be 1, 2, or 3) 3527 - rightLeftAssoc is the indicator whether the operator is 3528 right or left associative, using the pyparsing-defined 3529 constants C{opAssoc.RIGHT} and C{opAssoc.LEFT}. 3530 - parseAction is the parse action to be associated with 3531 expressions matching this operator expression (the 3532 parse action tuple member may be omitted) 3533 """ 3534 ret = Forward() 3535 lastExpr = baseExpr | ( Suppress('(') + ret + Suppress(')') ) 3536 for i,operDef in enumerate(opList): 3537 opExpr,arity,rightLeftAssoc,pa = (operDef + (None,))[:4] 3538 if arity == 3: 3539 if opExpr is None or len(opExpr) != 2: 3540 raise ValueError("if numterms=3, opExpr must be a tuple or list of two expressions") 3541 opExpr1, opExpr2 = opExpr 3542 thisExpr = Forward()#.setName("expr%d" % i) 3543 if rightLeftAssoc == opAssoc.LEFT: 3544 if arity == 1: 3545 matchExpr = FollowedBy(lastExpr + opExpr) + Group( lastExpr + OneOrMore( opExpr ) ) 3546 elif arity == 2: 3547 if opExpr is not None: 3548 matchExpr = FollowedBy(lastExpr + opExpr + lastExpr) + Group( lastExpr + OneOrMore( opExpr + lastExpr ) ) 3549 else: 3550 matchExpr = FollowedBy(lastExpr+lastExpr) + Group( lastExpr + OneOrMore(lastExpr) ) 3551 elif arity == 3: 3552 matchExpr = FollowedBy(lastExpr + opExpr1 + lastExpr + opExpr2 + lastExpr) + \ 3553 Group( lastExpr + opExpr1 + lastExpr + opExpr2 + lastExpr ) 3554 else: 3555 raise ValueError("operator must be unary (1), binary (2), or ternary (3)") 3556 elif rightLeftAssoc == opAssoc.RIGHT: 3557 if arity == 1: 3558 # try to avoid LR with this extra test 3559 if not isinstance(opExpr, Optional): 3560 opExpr = Optional(opExpr) 3561 matchExpr = FollowedBy(opExpr.expr + thisExpr) + Group( opExpr + thisExpr ) 3562 elif arity == 2: 3563 if opExpr is not None: 3564 matchExpr = FollowedBy(lastExpr + opExpr + thisExpr) + Group( lastExpr + OneOrMore( opExpr + thisExpr ) ) 3565 else: 3566 matchExpr = FollowedBy(lastExpr + thisExpr) + Group( lastExpr + OneOrMore( thisExpr ) ) 3567 elif arity == 3: 3568 matchExpr = FollowedBy(lastExpr + opExpr1 + thisExpr + opExpr2 + thisExpr) + \ 3569 Group( lastExpr + opExpr1 + thisExpr + opExpr2 + thisExpr ) 3570 else: 3571 raise ValueError("operator must be unary (1), binary (2), or ternary (3)") 3572 else: 3573 raise ValueError("operator must indicate right or left associativity") 3574 if pa: 3575 matchExpr.setParseAction( pa ) 3576 thisExpr << ( matchExpr | lastExpr ) 3577 lastExpr = thisExpr 3578 ret << lastExpr 3579 return ret
3580 3581 dblQuotedString = Regex(r'"(?:[^"\n\r\\]|(?:"")|(?:\\x[0-9a-fA-F]+)|(?:\\.))*"').setName("string enclosed in double quotes") 3582 sglQuotedString = Regex(r"'(?:[^'\n\r\\]|(?:'')|(?:\\x[0-9a-fA-F]+)|(?:\\.))*'").setName("string enclosed in single quotes") 3583 quotedString = Regex(r'''(?:"(?:[^"\n\r\\]|(?:"")|(?:\\x[0-9a-fA-F]+)|(?:\\.))*")|(?:'(?:[^'\n\r\\]|(?:'')|(?:\\x[0-9a-fA-F]+)|(?:\\.))*')''').setName("quotedString using single or double quotes") 3584 unicodeString = Combine(_L('u') + quotedString.copy()) 3585
3586 -def nestedExpr(opener="(", closer=")", content=None, ignoreExpr=quotedString.copy()):
3587 """Helper method for defining nested lists enclosed in opening and closing 3588 delimiters ("(" and ")" are the default). 3589 3590 Parameters: 3591 - opener - opening character for a nested list (default="("); can also be a pyparsing expression 3592 - closer - closing character for a nested list (default=")"); can also be a pyparsing expression 3593 - content - expression for items within the nested lists (default=None) 3594 - ignoreExpr - expression for ignoring opening and closing delimiters (default=quotedString) 3595 3596 If an expression is not provided for the content argument, the nested 3597 expression will capture all whitespace-delimited content between delimiters 3598 as a list of separate values. 3599 3600 Use the C{ignoreExpr} argument to define expressions that may contain 3601 opening or closing characters that should not be treated as opening 3602 or closing characters for nesting, such as quotedString or a comment 3603 expression. Specify multiple expressions using an C{L{Or}} or C{L{MatchFirst}}. 3604 The default is L{quotedString}, but if no expressions are to be ignored, 3605 then pass C{None} for this argument. 3606 """ 3607 if opener == closer: 3608 raise ValueError("opening and closing strings cannot be the same") 3609 if content is None: 3610 if isinstance(opener,basestring) and isinstance(closer,basestring): 3611 if len(opener) == 1 and len(closer)==1: 3612 if ignoreExpr is not None: 3613 content = (Combine(OneOrMore(~ignoreExpr + 3614 CharsNotIn(opener+closer+ParserElement.DEFAULT_WHITE_CHARS,exact=1)) 3615 ).setParseAction(lambda t:t[0].strip())) 3616 else: 3617 content = (empty.copy()+CharsNotIn(opener+closer+ParserElement.DEFAULT_WHITE_CHARS 3618 ).setParseAction(lambda t:t[0].strip())) 3619 else: 3620 if ignoreExpr is not None: 3621 content = (Combine(OneOrMore(~ignoreExpr + 3622 ~Literal(opener) + ~Literal(closer) + 3623 CharsNotIn(ParserElement.DEFAULT_WHITE_CHARS,exact=1)) 3624 ).setParseAction(lambda t:t[0].strip())) 3625 else: 3626 content = (Combine(OneOrMore(~Literal(opener) + ~Literal(closer) + 3627 CharsNotIn(ParserElement.DEFAULT_WHITE_CHARS,exact=1)) 3628 ).setParseAction(lambda t:t[0].strip())) 3629 else: 3630 raise ValueError("opening and closing arguments must be strings if no content expression is given") 3631 ret = Forward() 3632 if ignoreExpr is not None: 3633 ret << Group( Suppress(opener) + ZeroOrMore( ignoreExpr | ret | content ) + Suppress(closer) ) 3634 else: 3635 ret << Group( Suppress(opener) + ZeroOrMore( ret | content ) + Suppress(closer) ) 3636 return ret
3637
3638 -def indentedBlock(blockStatementExpr, indentStack, indent=True):
3639 """Helper method for defining space-delimited indentation blocks, such as 3640 those used to define block statements in Python source code. 3641 3642 Parameters: 3643 - blockStatementExpr - expression defining syntax of statement that 3644 is repeated within the indented block 3645 - indentStack - list created by caller to manage indentation stack 3646 (multiple statementWithIndentedBlock expressions within a single grammar 3647 should share a common indentStack) 3648 - indent - boolean indicating whether block must be indented beyond the 3649 the current level; set to False for block of left-most statements 3650 (default=True) 3651 3652 A valid block must contain at least one C{blockStatement}. 3653 """ 3654 def checkPeerIndent(s,l,t): 3655 if l >= len(s): return 3656 curCol = col(l,s) 3657 if curCol != indentStack[-1]: 3658 if curCol > indentStack[-1]: 3659 raise ParseFatalException(s,l,"illegal nesting") 3660 raise ParseException(s,l,"not a peer entry")
3661 3662 def checkSubIndent(s,l,t): 3663 curCol = col(l,s) 3664 if curCol > indentStack[-1]: 3665 indentStack.append( curCol ) 3666 else: 3667 raise ParseException(s,l,"not a subentry") 3668 3669 def checkUnindent(s,l,t): 3670 if l >= len(s): return 3671 curCol = col(l,s) 3672 if not(indentStack and curCol < indentStack[-1] and curCol <= indentStack[-2]): 3673 raise ParseException(s,l,"not an unindent") 3674 indentStack.pop() 3675 3676 NL = OneOrMore(LineEnd().setWhitespaceChars("\t ").suppress()) 3677 INDENT = Empty() + Empty().setParseAction(checkSubIndent) 3678 PEER = Empty().setParseAction(checkPeerIndent) 3679 UNDENT = Empty().setParseAction(checkUnindent) 3680 if indent: 3681 smExpr = Group( Optional(NL) + 3682 #~ FollowedBy(blockStatementExpr) + 3683 INDENT + (OneOrMore( PEER + Group(blockStatementExpr) + Optional(NL) )) + UNDENT) 3684 else: 3685 smExpr = Group( Optional(NL) + 3686 (OneOrMore( PEER + Group(blockStatementExpr) + Optional(NL) )) ) 3687 blockStatementExpr.ignore(_bslash + LineEnd()) 3688 return smExpr 3689 3690 alphas8bit = srange(r"[\0xc0-\0xd6\0xd8-\0xf6\0xf8-\0xff]") 3691 punc8bit = srange(r"[\0xa1-\0xbf\0xd7\0xf7]") 3692 3693 anyOpenTag,anyCloseTag = makeHTMLTags(Word(alphas,alphanums+"_:")) 3694 commonHTMLEntity = Combine(_L("&") + oneOf("gt lt amp nbsp quot").setResultsName("entity") +";").streamline() 3695 _htmlEntityMap = dict(zip("gt lt amp nbsp quot".split(),'><& "')) 3696 replaceHTMLEntity = lambda t : t.entity in _htmlEntityMap and _htmlEntityMap[t.entity] or None 3697 3698 # it's easy to get these comment structures wrong - they're very common, so may as well make them available 3699 cStyleComment = Regex(r"/\*(?:[^*]*\*+)+?/").setName("C style comment") 3700 3701 htmlComment = Regex(r"<!--[\s\S]*?-->") 3702 restOfLine = Regex(r".*").leaveWhitespace() 3703 dblSlashComment = Regex(r"\/\/(\\\n|.)*").setName("// comment") 3704 cppStyleComment = Regex(r"/(?:\*(?:[^*]*\*+)+?/|/[^\n]*(?:\n[^\n]*)*?(?:(?<!\\)|\Z))").setName("C++ style comment") 3705 3706 javaStyleComment = cppStyleComment 3707 pythonStyleComment = Regex(r"#.*").setName("Python style comment") 3708 _noncomma = "".join( [ c for c in printables if c != "," ] ) 3709 _commasepitem = Combine(OneOrMore(Word(_noncomma) + 3710 Optional( Word(" \t") + 3711 ~Literal(",") + ~LineEnd() ) ) ).streamline().setName("commaItem") 3712 commaSeparatedList = delimitedList( Optional( quotedString.copy() | _commasepitem, default="") ).setName("commaSeparatedList") 3713 3714 3715 if __name__ == "__main__": 3716
3717 - def test( teststring ):
3718 try: 3719 tokens = simpleSQL.parseString( teststring ) 3720 tokenlist = tokens.asList() 3721 print (teststring + "->" + str(tokenlist)) 3722 print ("tokens = " + str(tokens)) 3723 print ("tokens.columns = " + str(tokens.columns)) 3724 print ("tokens.tables = " + str(tokens.tables)) 3725 print (tokens.asXML("SQL",True)) 3726 except ParseBaseException: 3727 err = sys.exc_info()[1] 3728 print (teststring + "->") 3729 print (err.line) 3730 print (" "*(err.column-1) + "^") 3731 print (err) 3732 print()
3733 3734 selectToken = CaselessLiteral( "select" ) 3735 fromToken = CaselessLiteral( "from" ) 3736 3737 ident = Word( alphas, alphanums + "_$" ) 3738 columnName = delimitedList( ident, ".", combine=True ).setParseAction( upcaseTokens ) 3739 columnNameList = Group( delimitedList( columnName ) )#.setName("columns") 3740 tableName = delimitedList( ident, ".", combine=True ).setParseAction( upcaseTokens ) 3741 tableNameList = Group( delimitedList( tableName ) )#.setName("tables") 3742 simpleSQL = ( selectToken + \ 3743 ( '*' | columnNameList ).setResultsName( "columns" ) + \ 3744 fromToken + \ 3745 tableNameList.setResultsName( "tables" ) ) 3746 3747 test( "SELECT * from XYZZY, ABC" ) 3748 test( "select * from SYS.XYZZY" ) 3749 test( "Select A from Sys.dual" ) 3750 test( "Select AA,BB,CC from Sys.dual" ) 3751 test( "Select A, B, C from Sys.dual" ) 3752 test( "Select A, B, C from Sys.dual" ) 3753 test( "Xelect A, B, C from Sys.dual" ) 3754 test( "Select A, B, C frox Sys.dual" ) 3755 test( "Select" ) 3756 test( "Select ^^^ frox Sys.dual" ) 3757 test( "Select A, B, C from Sys.dual, Table2 " ) 3758
pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.WordStart-class.html0000644000175000017500000004330712032466316023644 0ustar zigozigo pyparsing.pyparsing.WordStart
Package pyparsing :: Module pyparsing :: Class WordStart
[frames] | no frames]

Class WordStart

source code

   object --+            
            |            
ParserElement --+        
                |        
            Token --+    
                    |    
       _PositionToken --+
                        |
                       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). To emulate the  behavior of regular expressions, use WordStart(alphanums). WordStart will also match at the beginning of the string being parsed, or at the beginning of a line.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, wordChars='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXY...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code

Inherited from Token: setName

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __str__, __sub__, __xor__, addParseAction, checkRecursion, copy, getException, ignore, leaveWhitespace, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, wordChars='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXY...)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

pyparsing-2.0.1/htmldoc/toc.html0000644000175000017500000000221612032466315015340 0ustar zigozigo Table of Contents

Table of Contents


Everything

Modules

pyparsing.pyparsing

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.OneOrMore-class.html0000644000175000017500000004671712032466315023567 0ustar zigozigo pyparsing.pyparsing.OneOrMore
Package pyparsing :: Module pyparsing :: Class OneOrMore
[frames] | no frames]

Class OneOrMore

source code

     object --+        
              |        
  ParserElement --+    
                  |    
ParseElementEnhance --+
                      |
                     OneOrMore

Repetition of one or more of the given expression.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
parseImpl(self, instring, loc, doActions=True) source code
 
__str__(self)
str(x)
source code
 
setResultsName(self, name, listAllMatches=False)
Define name for referencing matching tokens as a nested attribute of the returned parse results.
source code

Inherited from ParseElementEnhance: __init__, checkRecursion, ignore, leaveWhitespace, streamline, validate

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, copy, getException, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setName, setParseAction, setWhitespaceChars, suppress, transformString, tryParse

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables
  __slotnames__ = []

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

setResultsName(self, name, listAllMatches=False)

source code 

Define name for referencing matching tokens as a nested attribute of the returned parse results. NOTE: this returns a *copy* of the original ParserElement object; this is so that the client can define a basic element, such as an integer, and reference it in multiple places with different names.

You can also set results names using the abbreviated syntax, expr("name") in place of expr.setResultsName("name") - see __call__.

Overrides: ParserElement.setResultsName
(inherited documentation)

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.TokenConverter-class.html0000644000175000017500000003773712032466316024675 0ustar zigozigo pyparsing.pyparsing.TokenConverter
Package pyparsing :: Module pyparsing :: Class TokenConverter
[frames] | no frames]

Class TokenConverter

source code

     object --+        
              |        
  ParserElement --+    
                  |    
ParseElementEnhance --+
                      |
                     TokenConverter
Known Subclasses:

Abstract subclass of ParseExpression, for converting parsed results.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, expr, savelist=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from ParseElementEnhance: __str__, checkRecursion, ignore, leaveWhitespace, parseImpl, streamline, validate

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, copy, getException, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setName, setParseAction, setResultsName, setWhitespaceChars, suppress, transformString, tryParse

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, expr, savelist=False)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

pyparsing-2.0.1/htmldoc/epydoc.css0000644000175000017500000003773112032466315015674 0ustar zigozigo /* Epydoc CSS Stylesheet * * This stylesheet can be used to customize the appearance of epydoc's * HTML output. * */ /* Default Colors & Styles * - Set the default foreground & background color with 'body'; and * link colors with 'a:link' and 'a:visited'. * - Use bold for decision list terms. * - The heading styles defined here are used for headings *within* * docstring descriptions. All headings used by epydoc itself use * either class='epydoc' or class='toc' (CSS styles for both * defined below). */ body { background: #ffffff; color: #000000; } p { margin-top: 0.5em; margin-bottom: 0.5em; } a:link { color: #0000ff; } a:visited { color: #204080; } dt { font-weight: bold; } h1 { font-size: +140%; font-style: italic; font-weight: bold; } h2 { font-size: +125%; font-style: italic; font-weight: bold; } h3 { font-size: +110%; font-style: italic; font-weight: normal; } code { font-size: 100%; } /* N.B.: class, not pseudoclass */ a.link { font-family: monospace; } /* Page Header & Footer * - The standard page header consists of a navigation bar (with * pointers to standard pages such as 'home' and 'trees'); a * breadcrumbs list, which can be used to navigate to containing * classes or modules; options links, to show/hide private * variables and to show/hide frames; and a page title (using *

). The page title may be followed by a link to the * corresponding source code (using 'span.codelink'). * - The footer consists of a navigation bar, a timestamp, and a * pointer to epydoc's homepage. */ h1.epydoc { margin: 0; font-size: +140%; font-weight: bold; } h2.epydoc { font-size: +130%; font-weight: bold; } h3.epydoc { font-size: +115%; font-weight: bold; margin-top: 0.2em; } td h3.epydoc { font-size: +115%; font-weight: bold; margin-bottom: 0; } table.navbar { background: #a0c0ff; color: #000000; border: 2px groove #c0d0d0; } table.navbar table { color: #000000; } th.navbar-select { background: #70b0ff; color: #000000; } table.navbar a { text-decoration: none; } table.navbar a:link { color: #0000ff; } table.navbar a:visited { color: #204080; } span.breadcrumbs { font-size: 85%; font-weight: bold; } span.options { font-size: 70%; } span.codelink { font-size: 85%; } td.footer { font-size: 85%; } /* Table Headers * - Each summary table and details section begins with a 'header' * row. This row contains a section title (marked by * 'span.table-header') as well as a show/hide private link * (marked by 'span.options', defined above). * - Summary tables that contain user-defined groups mark those * groups using 'group header' rows. */ td.table-header { background: #70b0ff; color: #000000; border: 1px solid #608090; } td.table-header table { color: #000000; } td.table-header table a:link { color: #0000ff; } td.table-header table a:visited { color: #204080; } span.table-header { font-size: 120%; font-weight: bold; } th.group-header { background: #c0e0f8; color: #000000; text-align: left; font-style: italic; font-size: 115%; border: 1px solid #608090; } /* Summary Tables (functions, variables, etc) * - Each object is described by a single row of the table with * two cells. The left cell gives the object's type, and is * marked with 'code.summary-type'. The right cell gives the * object's name and a summary description. * - CSS styles for the table's header and group headers are * defined above, under 'Table Headers' */ table.summary { border-collapse: collapse; background: #e8f0f8; color: #000000; border: 1px solid #608090; margin-bottom: 0.5em; } td.summary { border: 1px solid #608090; } code.summary-type { font-size: 85%; } table.summary a:link { color: #0000ff; } table.summary a:visited { color: #204080; } /* Details Tables (functions, variables, etc) * - Each object is described in its own div. * - A single-row summary table w/ table-header is used as * a header for each details section (CSS style for table-header * is defined above, under 'Table Headers'). */ table.details { border-collapse: collapse; background: #e8f0f8; color: #000000; border: 1px solid #608090; margin: .2em 0 0 0; } table.details table { color: #000000; } table.details a:link { color: #0000ff; } table.details a:visited { color: #204080; } /* Fields */ dl.fields { margin-left: 2em; margin-top: 1em; margin-bottom: 1em; } dl.fields dd ul { margin-left: 0em; padding-left: 0em; } dl.fields dd ul li ul { margin-left: 2em; padding-left: 0em; } div.fields { margin-left: 2em; } div.fields p { margin-bottom: 0.5em; } /* Index tables (identifier index, term index, etc) * - link-index is used for indices containing lists of links * (namely, the identifier index & term index). * - index-where is used in link indices for the text indicating * the container/source for each link. * - metadata-index is used for indices containing metadata * extracted from fields (namely, the bug index & todo index). */ table.link-index { border-collapse: collapse; background: #e8f0f8; color: #000000; border: 1px solid #608090; } td.link-index { border-width: 0px; } table.link-index a:link { color: #0000ff; } table.link-index a:visited { color: #204080; } span.index-where { font-size: 70%; } table.metadata-index { border-collapse: collapse; background: #e8f0f8; color: #000000; border: 1px solid #608090; margin: .2em 0 0 0; } td.metadata-index { border-width: 1px; border-style: solid; } table.metadata-index a:link { color: #0000ff; } table.metadata-index a:visited { color: #204080; } /* Function signatures * - sig* is used for the signature in the details section. * - .summary-sig* is used for the signature in the summary * table, and when listing property accessor functions. * */ .sig-name { color: #006080; } .sig-arg { color: #008060; } .sig-default { color: #602000; } .summary-sig { font-family: monospace; } .summary-sig-name { color: #006080; font-weight: bold; } table.summary a.summary-sig-name:link { color: #006080; font-weight: bold; } table.summary a.summary-sig-name:visited { color: #006080; font-weight: bold; } .summary-sig-arg { color: #006040; } .summary-sig-default { color: #501800; } /* Subclass list */ ul.subclass-list { display: inline; } ul.subclass-list li { display: inline; } /* To render variables, classes etc. like functions */ table.summary .summary-name { color: #006080; font-weight: bold; font-family: monospace; } table.summary a.summary-name:link { color: #006080; font-weight: bold; font-family: monospace; } table.summary a.summary-name:visited { color: #006080; font-weight: bold; font-family: monospace; } /* Variable values * - In the 'variable details' sections, each varaible's value is * listed in a 'pre.variable' box. The width of this box is * restricted to 80 chars; if the value's repr is longer than * this it will be wrapped, using a backslash marked with * class 'variable-linewrap'. If the value's repr is longer * than 3 lines, the rest will be ellided; and an ellipsis * marker ('...' marked with 'variable-ellipsis') will be used. * - If the value is a string, its quote marks will be marked * with 'variable-quote'. * - If the variable is a regexp, it is syntax-highlighted using * the re* CSS classes. */ pre.variable { padding: .5em; margin: 0; background: #dce4ec; color: #000000; border: 1px solid #708890; } .variable-linewrap { color: #604000; font-weight: bold; } .variable-ellipsis { color: #604000; font-weight: bold; } .variable-quote { color: #604000; font-weight: bold; } .variable-group { color: #008000; font-weight: bold; } .variable-op { color: #604000; font-weight: bold; } .variable-string { color: #006030; } .variable-unknown { color: #a00000; font-weight: bold; } .re { color: #000000; } .re-char { color: #006030; } .re-op { color: #600000; } .re-group { color: #003060; } .re-ref { color: #404040; } /* Base tree * - Used by class pages to display the base class hierarchy. */ pre.base-tree { font-size: 80%; margin: 0; } /* Frames-based table of contents headers * - Consists of two frames: one for selecting modules; and * the other listing the contents of the selected module. * - h1.toc is used for each frame's heading * - h2.toc is used for subheadings within each frame. */ h1.toc { text-align: center; font-size: 105%; margin: 0; font-weight: bold; padding: 0; } h2.toc { font-size: 100%; font-weight: bold; margin: 0.5em 0 0 -0.3em; } /* Syntax Highlighting for Source Code * - doctest examples are displayed in a 'pre.py-doctest' block. * If the example is in a details table entry, then it will use * the colors specified by the 'table pre.py-doctest' line. * - Source code listings are displayed in a 'pre.py-src' block. * Each line is marked with 'span.py-line' (used to draw a line * down the left margin, separating the code from the line * numbers). Line numbers are displayed with 'span.py-lineno'. * The expand/collapse block toggle button is displayed with * 'a.py-toggle' (Note: the CSS style for 'a.py-toggle' should not * modify the font size of the text.) * - If a source code page is opened with an anchor, then the * corresponding code block will be highlighted. The code * block's header is highlighted with 'py-highlight-hdr'; and * the code block's body is highlighted with 'py-highlight'. * - The remaining py-* classes are used to perform syntax * highlighting (py-string for string literals, py-name for names, * etc.) */ pre.py-doctest { padding: .5em; margin: 1em; background: #e8f0f8; color: #000000; border: 1px solid #708890; } table pre.py-doctest { background: #dce4ec; color: #000000; } pre.py-src { border: 2px solid #000000; background: #f0f0f0; color: #000000; } .py-line { border-left: 2px solid #000000; margin-left: .2em; padding-left: .4em; } .py-lineno { font-style: italic; font-size: 90%; padding-left: .5em; } a.py-toggle { text-decoration: none; } div.py-highlight-hdr { border-top: 2px solid #000000; border-bottom: 2px solid #000000; background: #d8e8e8; } div.py-highlight { border-bottom: 2px solid #000000; background: #d0e0e0; } .py-prompt { color: #005050; font-weight: bold;} .py-more { color: #005050; font-weight: bold;} .py-string { color: #006030; } .py-comment { color: #003060; } .py-keyword { color: #600000; } .py-output { color: #404040; } .py-name { color: #000050; } .py-name:link { color: #000050 !important; } .py-name:visited { color: #000050 !important; } .py-number { color: #005000; } .py-defname { color: #000060; font-weight: bold; } .py-def-name { color: #000060; font-weight: bold; } .py-base-class { color: #000060; } .py-param { color: #000060; } .py-docstring { color: #006030; } .py-decorator { color: #804020; } /* Use this if you don't want links to names underlined: */ /*a.py-name { text-decoration: none; }*/ /* Graphs & Diagrams * - These CSS styles are used for graphs & diagrams generated using * Graphviz dot. 'img.graph-without-title' is used for bare * diagrams (to remove the border created by making the image * clickable). */ img.graph-without-title { border: none; } img.graph-with-title { border: 1px solid #000000; } span.graph-title { font-weight: bold; } span.graph-caption { } /* General-purpose classes * - 'p.indent-wrapped-lines' defines a paragraph whose first line * is not indented, but whose subsequent lines are. * - The 'nomargin-top' class is used to remove the top margin (e.g. * from lists). The 'nomargin' class is used to remove both the * top and bottom margin (but not the left or right margin -- * for lists, that would cause the bullets to disappear.) */ p.indent-wrapped-lines { padding: 0 0 0 7em; text-indent: -7em; margin: 0; } .nomargin-top { margin-top: 0; } .nomargin { margin-top: 0; margin-bottom: 0; } /* HTML Log */ div.log-block { padding: 0; margin: .5em 0 .5em 0; background: #e8f0f8; color: #000000; border: 1px solid #000000; } div.log-error { padding: .1em .3em .1em .3em; margin: 4px; background: #ffb0b0; color: #000000; border: 1px solid #000000; } div.log-warning { padding: .1em .3em .1em .3em; margin: 4px; background: #ffffb0; color: #000000; border: 1px solid #000000; } div.log-info { padding: .1em .3em .1em .3em; margin: 4px; background: #b0ffb0; color: #000000; border: 1px solid #000000; } h2.log-hdr { background: #70b0ff; color: #000000; margin: 0; padding: 0em 0.5em 0em 0.5em; border-bottom: 1px solid #000000; font-size: 110%; } p.log { font-weight: bold; margin: .5em 0 .5em 0; } tr.opt-changed { color: #000000; font-weight: bold; } tr.opt-default { color: #606060; } pre.log { margin: 0; padding: 0; padding-left: 1em; } pyparsing-2.0.1/htmldoc/pyparsing.pyparsing-module.html0000644000175000017500000025015612032466315022075 0ustar zigozigo pyparsing.pyparsing
Package pyparsing :: Module pyparsing
[frames] | no frames]

Module pyparsing

source code

pyparsing module - Classes and methods to define and execute parsing grammars

The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. With pyparsing, you don't need to learn a new syntax for defining grammars or matching expressions - the parsing module provides a library of classes that you use to construct the grammar directly in Python.

Here is a program to parse "Hello, World!" (or any greeting of the form "<salutation>, <addressee>!"):

   from pyparsing import Word, alphas

   # define grammar of a greeting
   greet = Word( alphas ) + "," + Word( alphas ) + "!"

   hello = "Hello, World!"
   print hello, "->", greet.parseString( hello )

The program outputs the following:

   Hello, World! -> ['Hello', ',', 'World', '!']

The Python representation of the grammar is quite readable, owing to the self-explanatory class names, and the use of '+', '|' and '^' operators.

The parsed results returned from parseString() can be accessed as a nested list, a dictionary, or an object with named attributes.

The pyparsing module handles some of the problems that are typically vexing when writing text parsers:

  • extra or missing whitespace (the above program will also handle "Hello,World!", "Hello , World !", etc.)
  • quoted strings
  • embedded comments

Version: 1.5.7

Author: Paul McGuire <ptmcg@users.sourceforge.net>

Classes
  ParseBaseException
base exception class for all parsing runtime exceptions
  ParseException
exception thrown when parse expressions don't match class; supported attributes by name are:
  ParseFatalException
user-throwable exception thrown when inconsistent parse content is found; stops all parsing immediately
  ParseSyntaxException
just like ParseFatalException, but thrown internally when an ErrorStop ('-' operator) indicates that parsing is to stop immediately because an unbacktrackable syntax error has been found
  RecursiveGrammarException
exception thrown by validate() if the grammar could be improperly recursive
  ParseResults
Structured parse results, to provide multiple means of access to the parsed data:
  ParserElement
Abstract base level parser element class.
  Token
Abstract ParserElement subclass, for defining atomic matching patterns.
  Empty
An empty token, will always match.
  NoMatch
A token that will never match.
  Literal
Token to exactly match a specified string.
  Keyword
Token to exactly match a specified string as a keyword, that is, it must be immediately followed by a non-keyword character.
  CaselessLiteral
Token to match a specified string, ignoring case of letters.
  CaselessKeyword
  Word
Token for matching words composed of allowed character sets.
  Regex
Token for matching strings that match a given regular expression.
  QuotedString
Token for matching strings that are delimited by quoting characters.
  CharsNotIn
Token for matching words composed of characters *not* in a given set.
  White
Special matching class for matching whitespace.
  GoToColumn
Token to advance to a specific column of input text; useful for tabular report scraping.
  LineStart
Matches if current position is at the beginning of a line within the parse string
  LineEnd
Matches if current position is at the end of a line within the parse string
  StringStart
Matches if current position is at the beginning of the parse string
  StringEnd
Matches if current position is at the end of the parse string
  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).
  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).
  ParseExpression
Abstract subclass of ParserElement, for combining and post-processing parsed tokens.
  And
Requires all given ParseExpressions to be found in the given order.
  Or
Requires that at least one ParseExpression is found.
  MatchFirst
Requires that at least one ParseExpression is found.
  Each
Requires all given ParseExpressions to be found, but in any order.
  ParseElementEnhance
Abstract subclass of ParserElement, for combining and post-processing parsed tokens.
  FollowedBy
Lookahead matching of the given parse expression.
  NotAny
Lookahead to disallow matching with the given parse expression.
  ZeroOrMore
Optional repetition of zero or more of the given expression.
  OneOrMore
Repetition of one or more of the given expression.
  Optional
Optional matching of the given expression.
  SkipTo
Token for skipping over all undefined text until the matched expression is found.
  Forward
Forward declaration of an expression to be defined later - used for recursive grammars, such as algebraic infix notation.
  TokenConverter
Abstract subclass of ParseExpression, for converting parsed results.
  Upcase
Converter to upper case all matching tokens.
  Combine
Converter to concatenate all matching tokens to a single string.
  Group
Converter to return the matched tokens as a list - useful for returning tokens of ZeroOrMore and OneOrMore expressions.
  Dict
Converter to return a repetitive expression as a list, but also as a dictionary.
  Suppress
Converter for ignoring the results of a parsed expression.
  OnlyOnce
Wrapper for parse actions, to ensure they are only called once.
Functions
 
col(loc, strg)
Returns current column within a string, counting newlines as line separators.
source code
 
lineno(loc, strg)
Returns current line number within a string, counting newlines as line separators.
source code
 
line(loc, strg)
Returns the line of text containing loc within a string, counting newlines as line separators.
source code
 
nullDebugAction(*args)
'Do-nothing' debug action, to suppress debugging output during parsing.
source code
 
traceParseAction(f)
Decorator for debugging parse actions.
source code
 
delimitedList(expr, delim=',', combine=False)
Helper to define a delimited list of expressions - the delimiter defaults to ','.
source code
 
countedArray(expr, intExpr=None)
Helper to define a counted list of expressions.
source code
 
matchPreviousLiteral(expr)
Helper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a 'repeat' of a previous expression.
source code
 
matchPreviousExpr(expr)
Helper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a 'repeat' of a previous expression.
source code
 
oneOf(strs, caseless=False, useRegex=True)
Helper to quickly define a set of alternative Literals, and makes sure to do longest-first testing when there is a conflict, regardless of the input order, but returns a MatchFirst for best performance.
source code
 
dictOf(key, value)
Helper to easily and clearly define a dictionary by specifying the respective patterns for the key and value.
source code
 
originalTextFor(expr, asString=True)
Helper to return the original, untokenized text for a given expression.
source code
 
ungroup(expr)
Helper to undo pyparsing's default grouping of And expressions, even if all but one are non-empty.
source code
 
srange(s)
Helper to easily define string ranges for use in Word construction.
source code
 
matchOnlyAtCol(n)
Helper method for defining parse actions that require matching at a specific column in the input text.
source code
 
replaceWith(replStr)
Helper method for common parse actions that simply return a literal value.
source code
 
removeQuotes(s, l, t)
Helper parse action for removing quotation marks from parsed quoted strings.
source code
 
upcaseTokens(s, l, t)
Helper parse action to convert tokens to upper case.
source code
 
downcaseTokens(s, l, t)
Helper parse action to convert tokens to lower case.
source code
 
keepOriginalText(s, startLoc, t)
DEPRECATED - use new helper method originalTextFor.
source code
 
makeHTMLTags(tagStr)
Helper to construct opening and closing tag expressions for HTML, given a tag name
source code
 
makeXMLTags(tagStr)
Helper to construct opening and closing tag expressions for XML, given a tag name
source code
 
withAttribute(*args, **attrDict)
Helper to create a validating parse action to be used with start tags created with makeXMLTags or makeHTMLTags.
source code
 
operatorPrecedence(baseExpr, opList)
Helper method for constructing grammars of expressions made up of operators working in a precedence hierarchy.
source code
 
nestedExpr(opener='(', closer=')', content=None, ignoreExpr=quotedString using single or double quotes)
Helper method for defining nested lists enclosed in opening and closing delimiters ("(" and ")" are the default).
source code
 
indentedBlock(blockStatementExpr, indentStack, indent=True)
Helper method for defining space-delimited indentation blocks, such as those used to define block statements in Python source code.
source code
 
replaceHTMLEntity(t) source code
Variables
  alphas = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
  nums = '0123456789'
  hexnums = '0123456789ABCDEFabcdef'
  alphanums = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW...
  printables = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKL...
  empty = empty
  lineStart = lineStart
  lineEnd = lineEnd
  stringStart = stringStart
  stringEnd = stringEnd
  opAssoc = _Constants()
  dblQuotedString = string enclosed in double quotes
  sglQuotedString = string enclosed in single quotes
  quotedString = quotedString using single or double quotes
  unicodeString = Combine:({"u" quotedString using single or dou...
  alphas8bit = u'ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîï...
  punc8bit = u'¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿×÷'
  commonHTMLEntity = Combine:({"&" Re:('gt|lt|amp|nbsp|quot') ";"})
  cStyleComment = C style comment
  htmlComment = Re:('<!--[\\s\\S]*?-->')
  restOfLine = Re:('.*')
  dblSlashComment = // comment
  cppStyleComment = C++ style comment
  javaStyleComment = C++ style comment
  pythonStyleComment = Python style comment
  commaSeparatedList = commaSeparatedList
  anyCloseTag = </W:(abcd...,abcd...)>
  anyOpenTag = <W:(abcd...,abcd...)>
Function Details

col(loc, strg)

source code 

Returns current column within a string, counting newlines as line separators. The first column is number 1.

Note: the default parsing behavior is to expand tabs in the input string before starting the parsing process. See ParserElement.parseString for more information on parsing strings containing <TAB>s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string.

lineno(loc, strg)

source code 

Returns current line number within a string, counting newlines as line separators. The first line is number 1.

Note: the default parsing behavior is to expand tabs in the input string before starting the parsing process. See ParserElement.parseString for more information on parsing strings containing <TAB>s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string.

delimitedList(expr, delim=',', combine=False)

source code 

Helper to define a delimited list of expressions - the delimiter defaults to ','. By default, the list elements and delimiters can have intervening whitespace, and comments, but this can be overridden by passing combine=True in the constructor. If combine is set to True, the matching tokens are returned as a single token string, with the delimiters included; otherwise, the matching tokens are returned as a list of tokens, with the delimiters suppressed.

countedArray(expr, intExpr=None)

source code 

Helper to define a counted list of expressions. This helper defines a pattern of the form:

   integer expr expr expr...

where the leading integer tells how many expr expressions follow. The matched tokens returns the array of expr tokens as a list - the leading count token is suppressed.

matchPreviousLiteral(expr)

source code 

Helper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a 'repeat' of a previous expression. For example:

   first = Word(nums)
   second = matchPreviousLiteral(first)
   matchExpr = first + ":" + second

will match "1:1", but not "1:2". Because this matches a previous literal, will also match the leading "1:1" in "1:10". If this is not desired, use matchPreviousExpr. Do *not* use with packrat parsing enabled.

matchPreviousExpr(expr)

source code 

Helper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a 'repeat' of a previous expression. For example:

   first = Word(nums)
   second = matchPreviousExpr(first)
   matchExpr = first + ":" + second

will match "1:1", but not "1:2". Because this matches by expressions, will *not* match the leading "1:1" in "1:10"; the expressions are evaluated first, and then compared, so "1" is compared with "10". Do *not* use with packrat parsing enabled.

oneOf(strs, caseless=False, useRegex=True)

source code 

Helper to quickly define a set of alternative Literals, and makes sure to do longest-first testing when there is a conflict, regardless of the input order, but returns a MatchFirst for best performance.

Parameters:

  • strs - a string of space-delimited literals, or a list of string literals
  • caseless - (default=False) - treat all literals as caseless
  • useRegex - (default=True) - as an optimization, will generate a Regex object; otherwise, will generate a MatchFirst object (if caseless=True, or if creating a Regex raises an exception)

dictOf(key, value)

source code 

Helper to easily and clearly define a dictionary by specifying the respective patterns for the key and value. Takes care of defining the Dict, ZeroOrMore, and Group tokens in the proper order. The key pattern can include delimiting markers or punctuation, as long as they are suppressed, thereby leaving the significant key text. The value pattern can include named results, so that the Dict results can include named token fields.

originalTextFor(expr, asString=True)

source code 

Helper to return the original, untokenized text for a given expression. Useful to restore the parsed fields of an HTML start tag into the raw tag text itself, or to revert separate tokens with intervening whitespace back to the original matching input text. Simpler to use than the parse action keepOriginalText, and does not require the inspect module to chase up the call stack. By default, returns a string containing the original parsed text.

If the optional asString argument is passed as False, then the return value is a ParseResults containing any results names that were originally matched, and a single token containing the original matched text from the input string. So if the expression passed to originalTextFor contains expressions with defined results names, you must set asString to False if you want to preserve those results name values.

srange(s)

source code 

Helper to easily define string ranges for use in Word construction. Borrows syntax from regexp '[]' string range definitions:

  srange("[0-9]")   -> "0123456789"
  srange("[a-z]")   -> "abcdefghijklmnopqrstuvwxyz"
  srange("[a-z$_]") -> "abcdefghijklmnopqrstuvwxyz$_"

The input string must be enclosed in []'s, and the returned string is the expanded character set joined into a single string. The values enclosed in the []'s may be:

  a single character
  an escaped character with a leading backslash (such as \- or \])
  an escaped hex character with a leading '\x' (\x21, which is a '!' character) 
    (\0x## is also supported for backwards compatibility) 
  an escaped octal character with a leading '\0' (\041, which is a '!' character)
  a range of any of the above, separated by a dash ('a-z', etc.)
  any combination of the above ('aeiouy', 'a-zA-Z0-9_$', etc.)

replaceWith(replStr)

source code 

Helper method for common parse actions that simply return a literal value. Especially useful when used with transformString().

removeQuotes(s, l, t)

source code 

Helper parse action for removing quotation marks from parsed quoted strings. To use, add this parse action to quoted string using:

 quotedString.setParseAction( removeQuotes )

keepOriginalText(s, startLoc, t)

source code 

DEPRECATED - use new helper method originalTextFor. Helper parse action to preserve original parsed text, overriding any nested parse actions.

withAttribute(*args, **attrDict)

source code 

Helper to create a validating parse action to be used with start tags created with makeXMLTags or makeHTMLTags. Use withAttribute to qualify a starting tag with a required attribute value, to avoid false matches on common tags such as <TD> or <DIV>.

Call withAttribute with a series of attribute names and values. Specify the list of filter attributes names and values as:

  • keyword arguments, as in (align="right"), or
  • as an explicit dict with ** operator, when an attribute name is also a Python reserved word, as in **{"class":"Customer", "align":"right"}
  • a list of name-value tuples, as in ( ("ns1:class", "Customer"), ("ns2:align","right") )

For attribute names with a namespace prefix, you must use the second form. Attribute names are matched insensitive to upper/lower case.

To verify that the attribute exists, but without specifying a value, pass withAttribute.ANY_VALUE as the value.

operatorPrecedence(baseExpr, opList)

source code 

Helper method for constructing grammars of expressions made up of operators working in a precedence hierarchy. Operators may be unary or binary, left- or right-associative. Parse actions can also be attached to operator expressions.

Parameters:

  • baseExpr - expression representing the most basic element for the nested
  • opList - list of tuples, one for each operator precedence level in the expression grammar; each tuple is of the form (opExpr, numTerms, rightLeftAssoc, parseAction), where:
    • opExpr is the pyparsing expression for the operator; may also be a string, which will be converted to a Literal; if numTerms is 3, opExpr is a tuple of two expressions, for the two operators separating the 3 terms
    • numTerms is the number of terms for this operator (must be 1, 2, or 3)
    • rightLeftAssoc is the indicator whether the operator is right or left associative, using the pyparsing-defined constants opAssoc.RIGHT and opAssoc.LEFT.
    • parseAction is the parse action to be associated with expressions matching this operator expression (the parse action tuple member may be omitted)

nestedExpr(opener='(', closer=')', content=None, ignoreExpr=quotedString using single or double quotes)

source code 

Helper method for defining nested lists enclosed in opening and closing delimiters ("(" and ")" are the default).

Parameters:

  • opener - opening character for a nested list (default="("); can also be a pyparsing expression
  • closer - closing character for a nested list (default=")"); can also be a pyparsing expression
  • content - expression for items within the nested lists (default=None)
  • ignoreExpr - expression for ignoring opening and closing delimiters (default=quotedString)

If an expression is not provided for the content argument, the nested expression will capture all whitespace-delimited content between delimiters as a list of separate values.

Use the ignoreExpr argument to define expressions that may contain opening or closing characters that should not be treated as opening or closing characters for nesting, such as quotedString or a comment expression. Specify multiple expressions using an Or or MatchFirst. The default is quotedString, but if no expressions are to be ignored, then pass None for this argument.

indentedBlock(blockStatementExpr, indentStack, indent=True)

source code 

Helper method for defining space-delimited indentation blocks, such as those used to define block statements in Python source code.

Parameters:

  • blockStatementExpr - expression defining syntax of statement that is repeated within the indented block
  • indentStack - list created by caller to manage indentation stack (multiple statementWithIndentedBlock expressions within a single grammar should share a common indentStack)
  • indent - boolean indicating whether block must be indented beyond the the current level; set to False for block of left-most statements (default=True)

A valid block must contain at least one blockStatement.


Variables Details

alphanums

Value:
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'

printables

Value:
'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\\
'()*+,-./:;<=>?@[\\]^_`{|}~'

unicodeString

Value:
Combine:({"u" quotedString using single or double quotes})

alphas8bit

Value:
u'ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ'

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.FollowedBy-class.html0000644000175000017500000004230112032466315023751 0ustar zigozigo pyparsing.pyparsing.FollowedBy
Package pyparsing :: Module pyparsing :: Class FollowedBy
[frames] | no frames]

Class FollowedBy

source code

     object --+        
              |        
  ParserElement --+    
                  |    
ParseElementEnhance --+
                      |
                     FollowedBy

Lookahead matching of the given parse expression. FollowedBy does *not* advance the parsing position within the input string, it only verifies that the specified parse expression matches at the current position. FollowedBy always returns a null token list.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, expr)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code

Inherited from ParseElementEnhance: __str__, checkRecursion, ignore, leaveWhitespace, streamline, validate

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, copy, getException, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setName, setParseAction, setResultsName, setWhitespaceChars, suppress, transformString, tryParse

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, expr)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.OnlyOnce-class.html0000644000175000017500000002160712032466315023437 0ustar zigozigo pyparsing.pyparsing.OnlyOnce
Package pyparsing :: Module pyparsing :: Class OnlyOnce
[frames] | no frames]

Class OnlyOnce

source code

object --+
         |
        OnlyOnce

Wrapper for parse actions, to ensure they are only called once.

Instance Methods
 
__init__(self, methodCall)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__call__(self, s, l, t) source code
 
reset(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, methodCall)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.ParseElementEnhance-class.html0000644000175000017500000006644412032466315025567 0ustar zigozigo pyparsing.pyparsing.ParseElementEnhance
Package pyparsing :: Module pyparsing :: Class ParseElementEnhance
[frames] | no frames]

Class ParseElementEnhance

source code

   object --+    
            |    
ParserElement --+
                |
               ParseElementEnhance
Known Subclasses:

Abstract subclass of ParserElement, for combining and post-processing parsed tokens.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, expr, savelist=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code
 
leaveWhitespace(self)
Disables the skipping of whitespace before matching the characters in the ParserElement's defined pattern.
source code
 
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.
source code
 
streamline(self) source code
 
checkRecursion(self, parseElementList) source code
 
validate(self, validateTrace=[])
Check defined expressions for valid structure, check for infinite recursive definitions.
source code
 
__str__(self)
str(x)
source code

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, copy, getException, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setName, setParseAction, setResultsName, setWhitespaceChars, suppress, transformString, tryParse

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, expr, savelist=False)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

leaveWhitespace(self)

source code 

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.

Overrides: ParserElement.leaveWhitespace
(inherited documentation)

ignore(self, other)

source code 

Define expression to be ignored (e.g., comments) while doing pattern matching; may be called repeatedly, to define multiple comment or other ignorable patterns.

Overrides: ParserElement.ignore
(inherited documentation)

streamline(self)

source code 
Overrides: ParserElement.streamline

checkRecursion(self, parseElementList)

source code 
Overrides: ParserElement.checkRecursion

validate(self, validateTrace=[])

source code 

Check defined expressions for valid structure, check for infinite recursive definitions.

Overrides: ParserElement.validate
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.Or-class.html0000644000175000017500000005142112032466315022266 0ustar zigozigo pyparsing.pyparsing.Or
Package pyparsing :: Module pyparsing :: Class Or
[frames] | no frames]

Class Or

source code

   object --+        
            |        
ParserElement --+    
                |    
  ParseExpression --+
                    |
                   Or

Requires that at least one ParseExpression is found. If two expressions match, the expression that matches the longest string will be used. May be constructed using the '^' operator.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, exprs, savelist=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parseImpl(self, instring, loc, doActions=True) source code
 
__ixor__(self, other) source code
 
__str__(self)
str(x)
source code
 
checkRecursion(self, parseElementList) source code

Inherited from ParseExpression: __getitem__, append, copy, ignore, leaveWhitespace, setResultsName, streamline, validate

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, getException, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setName, setParseAction, setWhitespaceChars, suppress, transformString, tryParse

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, exprs, savelist=False)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

checkRecursion(self, parseElementList)

source code 
Overrides: ParserElement.checkRecursion

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.Combine-class.html0000644000175000017500000004753512032466315023275 0ustar zigozigo pyparsing.pyparsing.Combine
Package pyparsing :: Module pyparsing :: Class Combine
[frames] | no frames]

Class Combine

source code

     object --+            
              |            
  ParserElement --+        
                  |        
ParseElementEnhance --+    
                      |    
         TokenConverter --+
                          |
                         Combine

Converter to concatenate all matching tokens to a single string. By default, the matching patterns must also be contiguous in the input string; this can be disabled by specifying 'adjacent=False' in the constructor.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, expr, joinString='', adjacent=True)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
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.
source code
 
postParse(self, instring, loc, tokenlist) source code

Inherited from ParseElementEnhance: __str__, checkRecursion, leaveWhitespace, parseImpl, streamline, validate

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, copy, getException, parseFile, parseString, parseWithTabs, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setName, setParseAction, setResultsName, setWhitespaceChars, suppress, transformString, tryParse

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables
  __slotnames__ = []

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, expr, joinString='', adjacent=True)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

ignore(self, other)

source code 

Define expression to be ignored (e.g., comments) while doing pattern matching; may be called repeatedly, to define multiple comment or other ignorable patterns.

Overrides: ParserElement.ignore
(inherited documentation)

postParse(self, instring, loc, tokenlist)

source code 
Overrides: ParserElement.postParse

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.ParseException-class.html0000644000175000017500000001652312032466315024643 0ustar zigozigo pyparsing.pyparsing.ParseException
Package pyparsing :: Module pyparsing :: Class ParseException
[frames] | no frames]

Class ParseException

source code

              object --+            
                       |            
exceptions.BaseException --+        
                           |        
        exceptions.Exception --+    
                               |    
              ParseBaseException --+
                                   |
                                  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
Instance Methods

Inherited from ParseBaseException: __dir__, __getattr__, __init__, __repr__, __str__, markInputline

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __setattr__, __setstate__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Properties

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.QuotedString-class.html0000644000175000017500000004767012032466315024351 0ustar zigozigo pyparsing.pyparsing.QuotedString
Package pyparsing :: Module pyparsing :: Class QuotedString
[frames] | no frames]

Class QuotedString

source code

   object --+        
            |        
ParserElement --+    
                |    
            Token --+
                    |
                   QuotedString

Token for matching strings that are delimited by quoting characters.

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self, quoteChar, escChar=None, escQuote=None, multiline=False, unquoteResults=True, endQuoteChar=None)
Defined with the following parameters:
source code
 
parseImpl(self, instring, loc, doActions=True) source code
 
__str__(self)
str(x)
source code

Inherited from Token: setName

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __sub__, __xor__, addParseAction, checkRecursion, copy, getException, ignore, leaveWhitespace, parseFile, parseString, parseWithTabs, postParse, preParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self, quoteChar, escChar=None, escQuote=None, multiline=False, unquoteResults=True, endQuoteChar=None)
(Constructor)

source code 

Defined with the following parameters:

  • quoteChar - string of one or more characters defining the quote delimiting string
  • escChar - character to escape quotes, typically backslash (default=None)
  • escQuote - special quote sequence to escape an embedded quote string (such as SQL's "" to escape an embedded ") (default=None)
  • multiline - boolean indicating whether quotes can span multiple lines (default=False)
  • unquoteResults - boolean indicating whether the matched text should be unquoted (default=True)
  • endQuoteChar - string of one or more characters defining the end of the quote delimited string (default=None => same as quoteChar)
Overrides: object.__init__

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

pyparsing-2.0.1/htmldoc/pyparsing.pyparsing.LineStart-class.html0000644000175000017500000004451612032466315023622 0ustar zigozigo pyparsing.pyparsing.LineStart
Package pyparsing :: Module pyparsing :: Class LineStart
[frames] | no frames]

Class LineStart

source code

   object --+            
            |            
ParserElement --+        
                |        
            Token --+    
                    |    
       _PositionToken --+
                        |
                       LineStart

Matches if current position is at the beginning of a line within the parse string

Nested Classes

Inherited from ParserElement: literalStringClass

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
preParse(self, instring, loc) source code
 
parseImpl(self, instring, loc, doActions=True) source code

Inherited from Token: setName

Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __hash__, __invert__, __mul__, __ne__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __rne__, __ror__, __rsub__, __rxor__, __str__, __sub__, __xor__, addParseAction, checkRecursion, copy, getException, ignore, leaveWhitespace, parseFile, parseString, parseWithTabs, postParse, scanString, searchString, setBreak, setDebug, setDebugActions, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods

Inherited from ParserElement: enablePackrat, inlineLiteralsUsing, resetCache, setDefaultWhitespaceChars

Class Variables

Inherited from ParserElement: DEFAULT_WHITE_CHARS, verbose_stacktrace

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

preParse(self, instring, loc)

source code 
Overrides: ParserElement.preParse

parseImpl(self, instring, loc, doActions=True)

source code 
Overrides: ParserElement.parseImpl

pyparsing-2.0.1/pyparsingClassDiagram.PNG0000644000175000017500000042405211170740075017076 0ustar zigozigoPNG  IHDR{ 7 IDATx]lSg/7RF}HCA4g"v.HL!RIDEQgii*pa*(&QIR&$e.M9)PBNHH_ey~T鄵dN7zADDDDDDˉ2)13 """"Z ?+цLh1#"""""ZnĈ[vm,n҆8mTjZ,iqDDDDDiČ 8^>Ըv8':hREcWOt>gq`FDDDD̴3X'9#UR=fAX,{,rJK+:,A!>4@#3%G 3/ު+몽=k3a}nKlӚݑۘ-?LLnPj8}i\$j3Oܾ2Wxw(}D91#t<\}o.6zᰫ.7.-|Չ[ũ.9͆Թ6>iQn5Q4hhdbGf$!:טb6oL_Je,3 =&b 4fov"M[eVOgֆDW4v&LÈVF&f,͉͂nB)D.Fj4jIJJ43{{{D,2Εmqc'ު|gcou]1L<0 #""""ZAZO'ݶ; so+a>d$j%]ϡjz%A05`TzZ3ٙr3h 3OWc~ qgŽj )N`i\nvqы )Uhd&FDDDDAЭl>0/drϡLS4h-oMVDDDDD+NuegJi*Ll`FDDDDz0* l*j&ƿ->HDDDDDܘ-7fbDDDDDDˍrc&FDDDDDܘ-7fbDDDDDDˍrc&FDDDDDܘ-7fbDDDDDDˍrc&FDDDDDt+ђaC W:"0#uk旿tDtz}C "31"""Z?w*+ Qf|Oh1#"""""ZnĈ31"""""Lh1#"""""ZnĈ31"""""LOCS^I_տsEf MDD31""Zsc}旿 iru3,L/jBa)&"-23WZj-kͯ^׿jݯ^\$;yEkM6[k4\ܯFDD47ĈhFWCm0+ūqSMi:gzUR \j5ǜa}%Pr9F˔ԾC_3|nÝ\ץJG/Gf~_IDDkn " خ}oKZsӀ݇t@}CkPquhRAk9EQQWT@E9?nҡ~H@ tn2a&FDDKOɈx/nfg.S>W{}&/k ć;c/kŷO<D(?S0Q ܉>!ID =Xt]̈́p8eߤj o6{9g^ѐD0~(\ik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175000017500000045476312171441332014637 0ustar zigozigo# module pyparsing.py # # Copyright (c) 2003-2013 Paul T. McGuire # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge, publish, # distribute, sublicense, and/or sell copies of the Software, and to # permit persons to whom the Software is furnished to do so, subject to # the following conditions: # # The above copyright notice and this permission notice shall be # included in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # __doc__ = \ """ pyparsing module - Classes and methods to define and execute parsing grammars The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. With pyparsing, you don't need to learn a new syntax for defining grammars or matching expressions - the parsing module provides a library of classes that you use to construct the grammar directly in Python. Here is a program to parse "Hello, World!" (or any greeting of the form C{", !"}):: from pyparsing import Word, alphas # define grammar of a greeting greet = Word( alphas ) + "," + Word( alphas ) + "!" hello = "Hello, World!" print (hello, "->", greet.parseString( hello )) The program outputs the following:: Hello, World! -> ['Hello', ',', 'World', '!'] The Python representation of the grammar is quite readable, owing to the self-explanatory class names, and the use of '+', '|' and '^' operators. The parsed results returned from C{parseString()} can be accessed as a nested list, a dictionary, or an object with named attributes. The pyparsing module handles some of the problems that are typically vexing when writing text parsers: - extra or missing whitespace (the above program will also handle "Hello,World!", "Hello , World !", etc.) - quoted strings - embedded comments """ __version__ = "2.0.1" __versionTime__ = "16 July 2013 22:22" __author__ = "Paul McGuire " import string from weakref import ref as wkref import copy import sys import warnings import re import sre_constants import collections #~ sys.stderr.write( "testing pyparsing module, version %s, %s\n" % (__version__,__versionTime__ ) ) __all__ = [ 'And', 'CaselessKeyword', 'CaselessLiteral', 'CharsNotIn', 'Combine', 'Dict', 'Each', 'Empty', 'FollowedBy', 'Forward', 'GoToColumn', 'Group', 'Keyword', 'LineEnd', 'LineStart', 'Literal', 'MatchFirst', 'NoMatch', 'NotAny', 'OneOrMore', 'OnlyOnce', 'Optional', 'Or', 'ParseBaseException', 'ParseElementEnhance', 'ParseException', 'ParseExpression', 'ParseFatalException', 'ParseResults', 'ParseSyntaxException', 'ParserElement', 'QuotedString', 'RecursiveGrammarException', 'Regex', 'SkipTo', 'StringEnd', 'StringStart', 'Suppress', 'Token', 'TokenConverter', 'Upcase', 'White', 'Word', 'WordEnd', 'WordStart', 'ZeroOrMore', 'alphanums', 'alphas', 'alphas8bit', 'anyCloseTag', 'anyOpenTag', 'cStyleComment', 'col', 'commaSeparatedList', 'commonHTMLEntity', 'countedArray', 'cppStyleComment', 'dblQuotedString', 'dblSlashComment', 'delimitedList', 'dictOf', 'downcaseTokens', 'empty', 'hexnums', 'htmlComment', 'javaStyleComment', 'keepOriginalText', 'line', 'lineEnd', 'lineStart', 'lineno', 'makeHTMLTags', 'makeXMLTags', 'matchOnlyAtCol', 'matchPreviousExpr', 'matchPreviousLiteral', 'nestedExpr', 'nullDebugAction', 'nums', 'oneOf', 'opAssoc', 'operatorPrecedence', 'printables', 'punc8bit', 'pythonStyleComment', 'quotedString', 'removeQuotes', 'replaceHTMLEntity', 'replaceWith', 'restOfLine', 'sglQuotedString', 'srange', 'stringEnd', 'stringStart', 'traceParseAction', 'unicodeString', 'upcaseTokens', 'withAttribute', 'indentedBlock', 'originalTextFor', 'ungroup', 'infixNotation', ] PY_3 = sys.version.startswith('3') if PY_3: _MAX_INT = sys.maxsize basestring = str unichr = chr _ustr = str # build list of single arg builtins, that can be used as parse actions singleArgBuiltins = [sum, len, sorted, reversed, list, tuple, set, any, all, min, max] else: _MAX_INT = sys.maxint range = xrange def _ustr(obj): """Drop-in replacement for str(obj) that tries to be Unicode friendly. It first tries str(obj). If that fails with a UnicodeEncodeError, then it tries unicode(obj). It then < returns the unicode object | encodes it with the default encoding | ... >. """ if isinstance(obj,unicode): return obj try: # If this works, then _ustr(obj) has the same behaviour as str(obj), so # it won't break any existing code. return str(obj) except UnicodeEncodeError: # The Python docs (http://docs.python.org/ref/customization.html#l2h-182) # state that "The return value must be a string object". However, does a # unicode object (being a subclass of basestring) count as a "string # object"? # If so, then return a unicode object: return unicode(obj) # Else encode it... but how? There are many choices... :) # Replace unprintables with escape codes? #return unicode(obj).encode(sys.getdefaultencoding(), 'backslashreplace_errors') # Replace unprintables with question marks? #return unicode(obj).encode(sys.getdefaultencoding(), 'replace') # ... # build list of single arg builtins, tolerant of Python version, that can be used as parse actions singleArgBuiltins = [] import __builtin__ for fname in "sum len sorted reversed list tuple set any all min max".split(): try: singleArgBuiltins.append(getattr(__builtin__,fname)) except AttributeError: continue def _xml_escape(data): """Escape &, <, >, ", ', etc. in a string of data.""" # ampersand must be replaced first from_symbols = '&><"\'' to_symbols = ('&'+s+';' for s in "amp gt lt quot apos".split()) for from_,to_ in zip(from_symbols, to_symbols): data = data.replace(from_, to_) return data class _Constants(object): pass alphas = string.ascii_lowercase + string.ascii_uppercase nums = "0123456789" hexnums = nums + "ABCDEFabcdef" alphanums = alphas + nums _bslash = chr(92) printables = "".join(c for c in string.printable if c not in string.whitespace) class ParseBaseException(Exception): """base exception class for all parsing runtime exceptions""" # Performance tuning: we construct a *lot* of these, so keep this # constructor as small and fast as possible def __init__( self, pstr, loc=0, msg=None, elem=None ): self.loc = loc if msg is None: self.msg = pstr self.pstr = "" else: self.msg = msg self.pstr = pstr self.parserElement = elem def __getattr__( self, aname ): """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 """ if( aname == "lineno" ): return lineno( self.loc, self.pstr ) elif( aname in ("col", "column") ): return col( self.loc, self.pstr ) elif( aname == "line" ): return line( self.loc, self.pstr ) else: raise AttributeError(aname) def __str__( self ): return "%s (at char %d), (line:%d, col:%d)" % \ ( self.msg, self.loc, self.lineno, self.column ) def __repr__( self ): return _ustr(self) def markInputline( self, markerString = ">!<" ): """Extracts the exception line from the input string, and marks the location of the exception with a special symbol. """ line_str = self.line line_column = self.column - 1 if markerString: line_str = "".join(line_str[:line_column], markerString, line_str[line_column:]) return line_str.strip() def __dir__(self): return "loc msg pstr parserElement lineno col line " \ "markInputline __str__ __repr__".split() class ParseException(ParseBaseException): """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 """ pass class ParseFatalException(ParseBaseException): """user-throwable exception thrown when inconsistent parse content is found; stops all parsing immediately""" pass class ParseSyntaxException(ParseFatalException): """just like C{L{ParseFatalException}}, but thrown internally when an C{L{ErrorStop}} ('-' operator) indicates that parsing is to stop immediately because an unbacktrackable syntax error has been found""" def __init__(self, pe): super(ParseSyntaxException, self).__init__( pe.pstr, pe.loc, pe.msg, pe.parserElement) #~ class ReparseException(ParseBaseException): #~ """Experimental class - parse actions can raise this exception to cause #~ pyparsing to reparse the input string: #~ - with a modified input string, and/or #~ - with a modified start location #~ Set the values of the ReparseException in the constructor, and raise the #~ exception in a parse action to cause pyparsing to use the new string/location. #~ Setting the values as None causes no change to be made. #~ """ #~ def __init_( self, newstring, restartLoc ): #~ self.newParseText = newstring #~ self.reparseLoc = restartLoc class RecursiveGrammarException(Exception): """exception thrown by C{validate()} if the grammar could be improperly recursive""" def __init__( self, parseElementList ): self.parseElementTrace = parseElementList def __str__( self ): return "RecursiveGrammarException: %s" % self.parseElementTrace class _ParseResultsWithOffset(object): def __init__(self,p1,p2): self.tup = (p1,p2) def __getitem__(self,i): return self.tup[i] def __repr__(self): return repr(self.tup) def setOffset(self,i): self.tup = (self.tup[0],i) class ParseResults(object): """Structured parse results, to provide multiple means of access to the parsed data: - as a list (C{len(results)}) - by list index (C{results[0], results[1]}, etc.) - by attribute (C{results.}) """ #~ __slots__ = ( "__toklist", "__tokdict", "__doinit", "__name", "__parent", "__accumNames", "__weakref__" ) def __new__(cls, toklist, name=None, asList=True, modal=True ): if isinstance(toklist, cls): return toklist retobj = object.__new__(cls) retobj.__doinit = True return retobj # Performance tuning: we construct a *lot* of these, so keep this # constructor as small and fast as possible def __init__( self, toklist, name=None, asList=True, modal=True, isinstance=isinstance ): if self.__doinit: self.__doinit = False self.__name = None self.__parent = None self.__accumNames = {} if isinstance(toklist, list): self.__toklist = toklist[:] else: self.__toklist = [toklist] self.__tokdict = dict() if name is not None and name: if not modal: self.__accumNames[name] = 0 if isinstance(name,int): name = _ustr(name) # will always return a str, but use _ustr for consistency self.__name = name if not toklist in (None,'',[]): if isinstance(toklist,basestring): toklist = [ toklist ] if asList: if isinstance(toklist,ParseResults): self[name] = _ParseResultsWithOffset(toklist.copy(),0) else: self[name] = _ParseResultsWithOffset(ParseResults(toklist[0]),0) self[name].__name = name else: try: self[name] = toklist[0] except (KeyError,TypeError,IndexError): self[name] = toklist def __getitem__( self, i ): if isinstance( i, (int,slice) ): return self.__toklist[i] else: if i not in self.__accumNames: return self.__tokdict[i][-1][0] else: return ParseResults([ v[0] for v in self.__tokdict[i] ]) def __setitem__( self, k, v, isinstance=isinstance ): if isinstance(v,_ParseResultsWithOffset): self.__tokdict[k] = self.__tokdict.get(k,list()) + [v] sub = v[0] elif isinstance(k,int): self.__toklist[k] = v sub = v else: self.__tokdict[k] = self.__tokdict.get(k,list()) + [_ParseResultsWithOffset(v,0)] sub = v if isinstance(sub,ParseResults): sub.__parent = wkref(self) def __delitem__( self, i ): if isinstance(i,(int,slice)): mylen = len( self.__toklist ) del self.__toklist[i] # convert int to slice if isinstance(i, int): if i < 0: i += mylen i = slice(i, i+1) # get removed indices removed = list(range(*i.indices(mylen))) removed.reverse() # fixup indices in token dictionary for name in self.__tokdict: occurrences = self.__tokdict[name] for j in removed: for k, (value, position) in enumerate(occurrences): occurrences[k] = _ParseResultsWithOffset(value, position - (position > j)) else: del self.__tokdict[i] def __contains__( self, k ): return k in self.__tokdict def __len__( self ): return len( self.__toklist ) def __bool__(self): return len( self.__toklist ) > 0 __nonzero__ = __bool__ def __iter__( self ): return iter( self.__toklist ) def __reversed__( self ): return iter( self.__toklist[::-1] ) def keys( self ): """Returns all named result keys.""" return self.__tokdict.keys() def pop( self, index=-1 ): """Removes and returns item at specified index (default=last). Will work with either numeric indices or dict-key indicies.""" ret = self[index] del self[index] return ret def get(self, key, defaultValue=None): """Returns named result matching the given key, or if there is no such name, then returns the given C{defaultValue} or C{None} if no C{defaultValue} is specified.""" if key in self: return self[key] else: return defaultValue def insert( self, index, insStr ): """Inserts new element at location index in the list of parsed tokens.""" self.__toklist.insert(index, insStr) # fixup indices in token dictionary for name in self.__tokdict: occurrences = self.__tokdict[name] for k, (value, position) in enumerate(occurrences): occurrences[k] = _ParseResultsWithOffset(value, position + (position > index)) def items( self ): """Returns all named result keys and values as a list of tuples.""" return [(k,self[k]) for k in self.__tokdict] def values( self ): """Returns all named result values.""" return [ v[-1][0] for v in self.__tokdict.values() ] def __getattr__( self, name ): if True: #name not in self.__slots__: if name in self.__tokdict: if name not in self.__accumNames: return self.__tokdict[name][-1][0] else: return ParseResults([ v[0] for v in self.__tokdict[name] ]) else: return "" return None def __add__( self, other ): ret = self.copy() ret += other return ret def __iadd__( self, other ): if other.__tokdict: offset = len(self.__toklist) addoffset = ( lambda a: (a<0 and offset) or (a+offset) ) otheritems = other.__tokdict.items() otherdictitems = [(k, _ParseResultsWithOffset(v[0],addoffset(v[1])) ) for (k,vlist) in otheritems for v in vlist] for k,v in otherdictitems: self[k] = v if isinstance(v[0],ParseResults): v[0].__parent = wkref(self) self.__toklist += other.__toklist self.__accumNames.update( other.__accumNames ) return self def __radd__(self, other): if isinstance(other,int) and other == 0: return self.copy() def __repr__( self ): return "(%s, %s)" % ( repr( self.__toklist ), repr( self.__tokdict ) ) def __str__( self ): out = [] for i in self.__toklist: if isinstance(i, ParseResults): out.append(_ustr(i)) else: out.append(repr(i)) return '[' + ', '.join(out) + ']' def _asStringList( self, sep='' ): out = [] for item in self.__toklist: if out and sep: out.append(sep) if isinstance( item, ParseResults ): out += item._asStringList() else: out.append( _ustr(item) ) return out def asList( self ): """Returns the parse results as a nested list of matching tokens, all converted to strings.""" out = [] for res in self.__toklist: if isinstance(res,ParseResults): out.append( res.asList() ) else: out.append( res ) return out def asDict( self ): """Returns the named parse results as dictionary.""" return dict( self.items() ) def copy( self ): """Returns a new copy of a C{ParseResults} object.""" ret = ParseResults( self.__toklist ) ret.__tokdict = self.__tokdict.copy() ret.__parent = self.__parent ret.__accumNames.update( self.__accumNames ) ret.__name = self.__name return ret def asXML( self, doctag=None, namedItemsOnly=False, indent="", formatted=True ): """Returns the parse results as XML. Tags are created for tokens and lists that have defined results names.""" nl = "\n" out = [] namedItems = dict((v[1],k) for (k,vlist) in self.__tokdict.items() for v in vlist) nextLevelIndent = indent + " " # collapse out indents if formatting is not desired if not formatted: indent = "" nextLevelIndent = "" nl = "" selfTag = None if doctag is not None: selfTag = doctag else: if self.__name: selfTag = self.__name if not selfTag: if namedItemsOnly: return "" else: selfTag = "ITEM" out += [ nl, indent, "<", selfTag, ">" ] worklist = self.__toklist for i,res in enumerate(worklist): if isinstance(res,ParseResults): if i in namedItems: out += [ res.asXML(namedItems[i], namedItemsOnly and doctag is None, nextLevelIndent, formatted)] else: out += [ res.asXML(None, namedItemsOnly and doctag is None, nextLevelIndent, formatted)] else: # individual token, see if there is a name for it resTag = None if i in namedItems: resTag = namedItems[i] if not resTag: if namedItemsOnly: continue else: resTag = "ITEM" xmlBodyText = _xml_escape(_ustr(res)) out += [ nl, nextLevelIndent, "<", resTag, ">", xmlBodyText, "" ] out += [ nl, indent, "" ] return "".join(out) def __lookup(self,sub): for k,vlist in self.__tokdict.items(): for v,loc in vlist: if sub is v: return k return None def getName(self): """Returns the results name for this token expression.""" if self.__name: return self.__name elif self.__parent: par = self.__parent() if par: return par.__lookup(self) else: return None elif (len(self) == 1 and len(self.__tokdict) == 1 and self.__tokdict.values()[0][0][1] in (0,-1)): return self.__tokdict.keys()[0] else: return None def dump(self,indent='',depth=0): """Diagnostic method for listing out the contents of a C{ParseResults}. Accepts an optional C{indent} argument so that this string can be embedded in a nested display of other data.""" out = [] out.append( indent+_ustr(self.asList()) ) keys = self.items() keys.sort() for k,v in keys: if out: out.append('\n') out.append( "%s%s- %s: " % (indent,(' '*depth), k) ) if isinstance(v,ParseResults): if v.keys(): out.append( v.dump(indent,depth+1) ) else: out.append(_ustr(v)) else: out.append(_ustr(v)) return "".join(out) # add support for pickle protocol def __getstate__(self): return ( self.__toklist, ( self.__tokdict.copy(), self.__parent is not None and self.__parent() or None, self.__accumNames, self.__name ) ) def __setstate__(self,state): self.__toklist = state[0] (self.__tokdict, par, inAccumNames, self.__name) = state[1] self.__accumNames = {} self.__accumNames.update(inAccumNames) if par is not None: self.__parent = wkref(par) else: self.__parent = None def __dir__(self): return dir(super(ParseResults,self)) + list(self.keys()) collections.MutableMapping.register(ParseResults) def col (loc,strg): """Returns current column within a string, counting newlines as line separators. The first column is number 1. Note: the default parsing behavior is to expand tabs in the input string before starting the parsing process. See L{I{ParserElement.parseString}} for more information on parsing strings containing C{}s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string. """ return (loc} for more information on parsing strings containing C{}s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string. """ return strg.count("\n",0,loc) + 1 def line( loc, strg ): """Returns the line of text containing loc within a string, counting newlines as line separators. """ lastCR = strg.rfind("\n", 0, loc) nextCR = strg.find("\n", loc) if nextCR >= 0: return strg[lastCR+1:nextCR] else: return strg[lastCR+1:] def _defaultStartDebugAction( instring, loc, expr ): print (("Match " + _ustr(expr) + " at loc " + _ustr(loc) + "(%d,%d)" % ( lineno(loc,instring), col(loc,instring) ))) def _defaultSuccessDebugAction( instring, startloc, endloc, expr, toks ): print ("Matched " + _ustr(expr) + " -> " + str(toks.asList())) def _defaultExceptionDebugAction( instring, loc, expr, exc ): print ("Exception raised:" + _ustr(exc)) def nullDebugAction(*args): """'Do-nothing' debug action, to suppress debugging output during parsing.""" pass # Only works on Python 3.x - nonlocal is toxic to Python 2 installs #~ 'decorator to trim function calls to match the arity of the target' #~ def _trim_arity(func, maxargs=3): #~ if func in singleArgBuiltins: #~ return lambda s,l,t: func(t) #~ limit = 0 #~ foundArity = False #~ def wrapper(*args): #~ nonlocal limit,foundArity #~ while 1: #~ try: #~ ret = func(*args[limit:]) #~ foundArity = True #~ return ret #~ except TypeError: #~ if limit == maxargs or foundArity: #~ raise #~ limit += 1 #~ continue #~ return wrapper # this version is Python 2.x-3.x cross-compatible 'decorator to trim function calls to match the arity of the target' def _trim_arity(func, maxargs=2): if func in singleArgBuiltins: return lambda s,l,t: func(t) limit = [0] foundArity = [False] def wrapper(*args): while 1: try: ret = func(*args[limit[0]:]) foundArity[0] = True return ret except TypeError: if limit[0] <= maxargs and not foundArity[0]: limit[0] += 1 continue raise return wrapper class ParserElement(object): """Abstract base level parser element class.""" DEFAULT_WHITE_CHARS = " \n\t\r" verbose_stacktrace = False def setDefaultWhitespaceChars( chars ): """Overrides the default whitespace chars """ ParserElement.DEFAULT_WHITE_CHARS = chars setDefaultWhitespaceChars = staticmethod(setDefaultWhitespaceChars) def inlineLiteralsUsing(cls): """ Set class to be used for inclusion of string literals into a parser. """ ParserElement.literalStringClass = cls inlineLiteralsUsing = staticmethod(inlineLiteralsUsing) def __init__( self, savelist=False ): self.parseAction = list() self.failAction = None #~ self.name = "" # don't define self.name, let subclasses try/except upcall self.strRepr = None self.resultsName = None self.saveAsList = savelist self.skipWhitespace = True self.whiteChars = ParserElement.DEFAULT_WHITE_CHARS self.copyDefaultWhiteChars = True self.mayReturnEmpty = False # used when checking for left-recursion self.keepTabs = False self.ignoreExprs = list() self.debug = False self.streamlined = False self.mayIndexError = True # used to optimize exception handling for subclasses that don't advance parse index self.errmsg = "" self.modalResults = True # used to mark results names as modal (report only last) or cumulative (list all) self.debugActions = ( None, None, None ) #custom debug actions self.re = None self.callPreparse = True # used to avoid redundant calls to preParse self.callDuringTry = False def copy( self ): """Make a copy of this C{ParserElement}. Useful for defining different parse actions for the same parsing pattern, using copies of the original parse element.""" cpy = copy.copy( self ) cpy.parseAction = self.parseAction[:] cpy.ignoreExprs = self.ignoreExprs[:] if self.copyDefaultWhiteChars: cpy.whiteChars = ParserElement.DEFAULT_WHITE_CHARS return cpy def setName( self, name ): """Define name for this expression, for use in debugging.""" self.name = name self.errmsg = "Expected " + self.name if hasattr(self,"exception"): self.exception.msg = self.errmsg return self def setResultsName( self, name, listAllMatches=False ): """Define name for referencing matching tokens as a nested attribute of the returned parse results. NOTE: this returns a *copy* of the original C{ParserElement} object; this is so that the client can define a basic element, such as an integer, and reference it in multiple places with different names. You can also set results names using the abbreviated syntax, C{expr("name")} in place of C{expr.setResultsName("name")} - see L{I{__call__}<__call__>}. """ newself = self.copy() if name.endswith("*"): name = name[:-1] listAllMatches=True newself.resultsName = name newself.modalResults = not listAllMatches return newself def setBreak(self,breakFlag = True): """Method to invoke the Python pdb debugger when this element is about to be parsed. Set C{breakFlag} to True to enable, False to disable. """ if breakFlag: _parseMethod = self._parse def breaker(instring, loc, doActions=True, callPreParse=True): import pdb pdb.set_trace() return _parseMethod( instring, loc, doActions, callPreParse ) breaker._originalParseMethod = _parseMethod self._parse = breaker else: if hasattr(self._parse,"_originalParseMethod"): self._parse = self._parse._originalParseMethod return self def setParseAction( self, *fns, **kwargs ): """Define action to perform when successfully matching parse element definition. Parse action fn is a callable method with 0-3 arguments, called as C{fn(s,loc,toks)}, C{fn(loc,toks)}, C{fn(toks)}, or just C{fn()}, where: - s = the original string being parsed (see note below) - loc = the location of the matching substring - toks = a list of the matched tokens, packaged as a C{L{ParseResults}} object If the functions in fns modify the tokens, they can return them as the return value from fn, and the modified list of tokens will replace the original. Otherwise, fn does not need to return any value. Note: the default parsing behavior is to expand tabs in the input string before starting the parsing process. See L{I{parseString}} for more information on parsing strings containing C{}s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string. """ self.parseAction = list(map(_trim_arity, list(fns))) self.callDuringTry = ("callDuringTry" in kwargs and kwargs["callDuringTry"]) return self def addParseAction( self, *fns, **kwargs ): """Add parse action to expression's list of parse actions. See L{I{setParseAction}}.""" self.parseAction += list(map(_trim_arity, list(fns))) self.callDuringTry = self.callDuringTry or ("callDuringTry" in kwargs and kwargs["callDuringTry"]) return self def setFailAction( self, fn ): """Define action to perform if parsing fails at this expression. Fail acton fn is a callable function that takes the arguments C{fn(s,loc,expr,err)} where: - s = string being parsed - loc = location where expression match was attempted and failed - expr = the parse expression that failed - err = the exception thrown The function returns no value. It may throw C{L{ParseFatalException}} if it is desired to stop parsing immediately.""" self.failAction = fn return self def _skipIgnorables( self, instring, loc ): exprsFound = True while exprsFound: exprsFound = False for e in self.ignoreExprs: try: while 1: loc,dummy = e._parse( instring, loc ) exprsFound = True except ParseException: pass return loc def preParse( self, instring, loc ): if self.ignoreExprs: loc = self._skipIgnorables( instring, loc ) if self.skipWhitespace: wt = self.whiteChars instrlen = len(instring) while loc < instrlen and instring[loc] in wt: loc += 1 return loc def parseImpl( self, instring, loc, doActions=True ): return loc, [] def postParse( self, instring, loc, tokenlist ): return tokenlist #~ @profile def _parseNoCache( self, instring, loc, doActions=True, callPreParse=True ): debugging = ( self.debug ) #and doActions ) if debugging or self.failAction: #~ print ("Match",self,"at loc",loc,"(%d,%d)" % ( lineno(loc,instring), col(loc,instring) )) if (self.debugActions[0] ): self.debugActions[0]( instring, loc, self ) if callPreParse and self.callPreparse: preloc = self.preParse( instring, loc ) else: preloc = loc tokensStart = preloc try: try: loc,tokens = self.parseImpl( instring, preloc, doActions ) except IndexError: raise ParseException( instring, len(instring), self.errmsg, self ) except ParseBaseException as err: #~ print ("Exception raised:", err) if self.debugActions[2]: self.debugActions[2]( instring, tokensStart, self, err ) if self.failAction: self.failAction( instring, tokensStart, self, err ) raise else: if callPreParse and self.callPreparse: preloc = self.preParse( instring, loc ) else: preloc = loc tokensStart = preloc if self.mayIndexError or loc >= len(instring): try: loc,tokens = self.parseImpl( instring, preloc, doActions ) except IndexError: raise ParseException( instring, len(instring), self.errmsg, self ) else: loc,tokens = self.parseImpl( instring, preloc, doActions ) tokens = self.postParse( instring, loc, tokens ) retTokens = ParseResults( tokens, self.resultsName, asList=self.saveAsList, modal=self.modalResults ) if self.parseAction and (doActions or self.callDuringTry): if debugging: try: for fn in self.parseAction: tokens = fn( instring, tokensStart, retTokens ) if tokens is not None: retTokens = ParseResults( tokens, self.resultsName, asList=self.saveAsList and isinstance(tokens,(ParseResults,list)), modal=self.modalResults ) except ParseBaseException as err: #~ print "Exception raised in user parse action:", err if (self.debugActions[2] ): self.debugActions[2]( instring, tokensStart, self, err ) raise else: for fn in self.parseAction: tokens = fn( instring, tokensStart, retTokens ) if tokens is not None: retTokens = ParseResults( tokens, self.resultsName, asList=self.saveAsList and isinstance(tokens,(ParseResults,list)), modal=self.modalResults ) if debugging: #~ print ("Matched",self,"->",retTokens.asList()) if (self.debugActions[1] ): self.debugActions[1]( instring, tokensStart, loc, self, retTokens ) return loc, retTokens def tryParse( self, instring, loc ): try: return self._parse( instring, loc, doActions=False )[0] except ParseFatalException: raise ParseException( instring, loc, self.errmsg, self) # this method gets repeatedly called during backtracking with the same arguments - # we can cache these arguments and save ourselves the trouble of re-parsing the contained expression def _parseCache( self, instring, loc, doActions=True, callPreParse=True ): lookup = (self,instring,loc,callPreParse,doActions) if lookup in ParserElement._exprArgCache: value = ParserElement._exprArgCache[ lookup ] if isinstance(value, Exception): raise value return (value[0],value[1].copy()) else: try: value = self._parseNoCache( instring, loc, doActions, callPreParse ) ParserElement._exprArgCache[ lookup ] = (value[0],value[1].copy()) return value except ParseBaseException as pe: pe.__traceback__ = None ParserElement._exprArgCache[ lookup ] = pe raise _parse = _parseNoCache # argument cache for optimizing repeated calls when backtracking through recursive expressions _exprArgCache = {} def resetCache(): ParserElement._exprArgCache.clear() resetCache = staticmethod(resetCache) _packratEnabled = False def enablePackrat(): """Enables "packrat" parsing, which adds memoizing to the parsing logic. Repeated parse attempts at the same string location (which happens often in many complex grammars) can immediately return a cached value, instead of re-executing parsing/validating code. Memoizing is done of both valid results and parsing exceptions. This speedup may break existing programs that use parse actions that have side-effects. For this reason, packrat parsing is disabled when you first import pyparsing. To activate the packrat feature, your program must call the class method C{ParserElement.enablePackrat()}. If your program uses C{psyco} to "compile as you go", you must call C{enablePackrat} before calling C{psyco.full()}. If you do not do this, Python will crash. For best results, call C{enablePackrat()} immediately after importing pyparsing. """ if not ParserElement._packratEnabled: ParserElement._packratEnabled = True ParserElement._parse = ParserElement._parseCache enablePackrat = staticmethod(enablePackrat) def parseString( self, instring, parseAll=False ): """Execute the parse expression with the given string. This is the main interface to the client code, once the complete expression has been built. If you want the grammar to require that the entire input string be successfully parsed, then set C{parseAll} to True (equivalent to ending the grammar with C{L{StringEnd()}}). Note: C{parseString} implicitly calls C{expandtabs()} on the input string, in order to report proper column numbers in parse actions. If the input string contains tabs and the grammar uses parse actions that use the C{loc} argument to index into the string being parsed, you can ensure you have a consistent view of the input string by: - calling C{parseWithTabs} on your grammar before calling C{parseString} (see L{I{parseWithTabs}}) - define your parse action using the full C{(s,loc,toks)} signature, and reference the input string using the parse action's C{s} argument - explictly expand the tabs in your input string before calling C{parseString} """ ParserElement.resetCache() if not self.streamlined: self.streamline() #~ self.saveAsList = True for e in self.ignoreExprs: e.streamline() if not self.keepTabs: instring = instring.expandtabs() try: loc, tokens = self._parse( instring, 0 ) if parseAll: loc = self.preParse( instring, loc ) se = Empty() + StringEnd() se._parse( instring, loc ) except ParseBaseException as exc: if ParserElement.verbose_stacktrace: raise else: # catch and re-raise exception from here, clears out pyparsing internal stack trace raise exc else: return tokens def scanString( self, instring, maxMatches=_MAX_INT, overlap=False ): """Scan the input string for expression matches. Each match will return the matching tokens, start location, and end location. May be called with optional C{maxMatches} argument, to clip scanning after 'n' matches are found. If C{overlap} is specified, then overlapping matches will be reported. Note that the start and end locations are reported relative to the string being parsed. See L{I{parseString}} for more information on parsing strings with embedded tabs.""" if not self.streamlined: self.streamline() for e in self.ignoreExprs: e.streamline() if not self.keepTabs: instring = _ustr(instring).expandtabs() instrlen = len(instring) loc = 0 preparseFn = self.preParse parseFn = self._parse ParserElement.resetCache() matches = 0 try: while loc <= instrlen and matches < maxMatches: try: preloc = preparseFn( instring, loc ) nextLoc,tokens = parseFn( instring, preloc, callPreParse=False ) except ParseException: loc = preloc+1 else: if nextLoc > loc: matches += 1 yield tokens, preloc, nextLoc if overlap: nextloc = preparseFn( instring, loc ) if nextloc > loc: loc = nextLoc else: loc += 1 else: loc = nextLoc else: loc = preloc+1 except ParseBaseException as exc: if ParserElement.verbose_stacktrace: raise else: # catch and re-raise exception from here, clears out pyparsing internal stack trace raise exc def transformString( self, instring ): """Extension to C{L{scanString}}, to modify matching text with modified tokens that may be returned from a parse action. To use C{transformString}, define a grammar and attach a parse action to it that modifies the returned token list. Invoking C{transformString()} on a target string will then scan for matches, and replace the matched text patterns according to the logic in the parse action. C{transformString()} returns the resulting transformed string.""" out = [] lastE = 0 # force preservation of s, to minimize unwanted transformation of string, and to # keep string locs straight between transformString and scanString self.keepTabs = True try: for t,s,e in self.scanString( instring ): out.append( instring[lastE:s] ) if t: if isinstance(t,ParseResults): out += t.asList() elif isinstance(t,list): out += t else: out.append(t) lastE = e out.append(instring[lastE:]) out = [o for o in out if o] return "".join(map(_ustr,_flatten(out))) except ParseBaseException as exc: if ParserElement.verbose_stacktrace: raise else: # catch and re-raise exception from here, clears out pyparsing internal stack trace raise exc def searchString( self, instring, maxMatches=_MAX_INT ): """Another extension to C{L{scanString}}, simplifying the access to the tokens found to match the given parse expression. May be called with optional C{maxMatches} argument, to clip searching after 'n' matches are found. """ try: return ParseResults([ t for t,s,e in self.scanString( instring, maxMatches ) ]) except ParseBaseException as exc: if ParserElement.verbose_stacktrace: raise else: # catch and re-raise exception from here, clears out pyparsing internal stack trace raise exc def __add__(self, other ): """Implementation of + operator - returns C{L{And}}""" if isinstance( other, basestring ): other = ParserElement.literalStringClass( other ) if not isinstance( other, ParserElement ): warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), SyntaxWarning, stacklevel=2) return None return And( [ self, other ] ) def __radd__(self, other ): """Implementation of + operator when left operand is not a C{L{ParserElement}}""" if isinstance( other, basestring ): other = ParserElement.literalStringClass( other ) if not isinstance( other, ParserElement ): warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), SyntaxWarning, stacklevel=2) return None return other + self def __sub__(self, other): """Implementation of - operator, returns C{L{And}} with error stop""" if isinstance( other, basestring ): other = ParserElement.literalStringClass( other ) if not isinstance( other, ParserElement ): warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), SyntaxWarning, stacklevel=2) return None return And( [ self, And._ErrorStop(), other ] ) def __rsub__(self, other ): """Implementation of - operator when left operand is not a C{L{ParserElement}}""" if isinstance( other, basestring ): other = ParserElement.literalStringClass( other ) if not isinstance( other, ParserElement ): warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), SyntaxWarning, stacklevel=2) return None return other - self def __mul__(self,other): """Implementation of * operator, allows use of C{expr * 3} in place of C{expr + expr + expr}. Expressions may also me multiplied by a 2-integer tuple, similar to C{{min,max}} multipliers in regular expressions. Tuples may also include C{None} as in: - C{expr*(n,None)} or C{expr*(n,)} is equivalent to C{expr*n + L{ZeroOrMore}(expr)} (read as "at least n instances of C{expr}") - C{expr*(None,n)} is equivalent to C{expr*(0,n)} (read as "0 to n instances of C{expr}") - C{expr*(None,None)} is equivalent to C{L{ZeroOrMore}(expr)} - C{expr*(1,None)} is equivalent to C{L{OneOrMore}(expr)} Note that C{expr*(None,n)} does not raise an exception if more than n exprs exist in the input stream; that is, C{expr*(None,n)} does not enforce a maximum number of expr occurrences. If this behavior is desired, then write C{expr*(None,n) + ~expr} """ if isinstance(other,int): minElements, optElements = other,0 elif isinstance(other,tuple): other = (other + (None, None))[:2] if other[0] is None: other = (0, other[1]) if isinstance(other[0],int) and other[1] is None: if other[0] == 0: return ZeroOrMore(self) if other[0] == 1: return OneOrMore(self) else: return self*other[0] + ZeroOrMore(self) elif isinstance(other[0],int) and isinstance(other[1],int): minElements, optElements = other optElements -= minElements else: raise TypeError("cannot multiply 'ParserElement' and ('%s','%s') objects", type(other[0]),type(other[1])) else: raise TypeError("cannot multiply 'ParserElement' and '%s' objects", type(other)) if minElements < 0: raise ValueError("cannot multiply ParserElement by negative value") if optElements < 0: raise ValueError("second tuple value must be greater or equal to first tuple value") if minElements == optElements == 0: raise ValueError("cannot multiply ParserElement by 0 or (0,0)") if (optElements): def makeOptionalList(n): if n>1: return Optional(self + makeOptionalList(n-1)) else: return Optional(self) if minElements: if minElements == 1: ret = self + makeOptionalList(optElements) else: ret = And([self]*minElements) + makeOptionalList(optElements) else: ret = makeOptionalList(optElements) else: if minElements == 1: ret = self else: ret = And([self]*minElements) return ret def __rmul__(self, other): return self.__mul__(other) def __or__(self, other ): """Implementation of | operator - returns C{L{MatchFirst}}""" if isinstance( other, basestring ): other = ParserElement.literalStringClass( other ) if not isinstance( other, ParserElement ): warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), SyntaxWarning, stacklevel=2) return None return MatchFirst( [ self, other ] ) def __ror__(self, other ): """Implementation of | operator when left operand is not a C{L{ParserElement}}""" if isinstance( other, basestring ): other = ParserElement.literalStringClass( other ) if not isinstance( other, ParserElement ): warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), SyntaxWarning, stacklevel=2) return None return other | self def __xor__(self, other ): """Implementation of ^ operator - returns C{L{Or}}""" if isinstance( other, basestring ): other = ParserElement.literalStringClass( other ) if not isinstance( other, ParserElement ): warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), SyntaxWarning, stacklevel=2) return None return Or( [ self, other ] ) def __rxor__(self, other ): """Implementation of ^ operator when left operand is not a C{L{ParserElement}}""" if isinstance( other, basestring ): other = ParserElement.literalStringClass( other ) if not isinstance( other, ParserElement ): warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), SyntaxWarning, stacklevel=2) return None return other ^ self def __and__(self, other ): """Implementation of & operator - returns C{L{Each}}""" if isinstance( other, basestring ): other = ParserElement.literalStringClass( other ) if not isinstance( other, ParserElement ): warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), SyntaxWarning, stacklevel=2) return None return Each( [ self, other ] ) def __rand__(self, other ): """Implementation of & operator when left operand is not a C{L{ParserElement}}""" if isinstance( other, basestring ): other = ParserElement.literalStringClass( other ) if not isinstance( other, ParserElement ): warnings.warn("Cannot combine element of type %s with ParserElement" % type(other), SyntaxWarning, stacklevel=2) return None return other & self def __invert__( self ): """Implementation of ~ operator - returns C{L{NotAny}}""" return NotAny( self ) def __call__(self, name): """Shortcut for C{L{setResultsName}}, with C{listAllMatches=default}:: userdata = Word(alphas).setResultsName("name") + Word(nums+"-").setResultsName("socsecno") could be written as:: userdata = Word(alphas)("name") + Word(nums+"-")("socsecno") If C{name} is given with a trailing C{'*'} character, then C{listAllMatches} will be passed as C{True}. """ return self.setResultsName(name) def suppress( self ): """Suppresses the output of this C{ParserElement}; useful to keep punctuation from cluttering up returned output. """ return Suppress( self ) def leaveWhitespace( self ): """Disables the skipping of whitespace before matching the characters in the C{ParserElement}'s defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars. """ self.skipWhitespace = False return self def setWhitespaceChars( self, chars ): """Overrides the default whitespace chars """ self.skipWhitespace = True self.whiteChars = chars self.copyDefaultWhiteChars = False return self def parseWithTabs( self ): """Overrides default behavior to expand C{}s to spaces before parsing the input string. Must be called before C{parseString} when the input grammar contains elements that match C{} characters.""" self.keepTabs = True return self def 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. """ if isinstance( other, Suppress ): if other not in self.ignoreExprs: self.ignoreExprs.append( other.copy() ) else: self.ignoreExprs.append( Suppress( other.copy() ) ) return self def setDebugActions( self, startAction, successAction, exceptionAction ): """Enable display of debugging messages while doing pattern matching.""" self.debugActions = (startAction or _defaultStartDebugAction, successAction or _defaultSuccessDebugAction, exceptionAction or _defaultExceptionDebugAction) self.debug = True return self def setDebug( self, flag=True ): """Enable display of debugging messages while doing pattern matching. Set C{flag} to True to enable, False to disable.""" if flag: self.setDebugActions( _defaultStartDebugAction, _defaultSuccessDebugAction, _defaultExceptionDebugAction ) else: self.debug = False return self def __str__( self ): return self.name def __repr__( self ): return _ustr(self) def streamline( self ): self.streamlined = True self.strRepr = None return self def checkRecursion( self, parseElementList ): pass def validate( self, validateTrace=[] ): """Check defined expressions for valid structure, check for infinite recursive definitions.""" self.checkRecursion( [] ) def parseFile( self, file_or_filename, parseAll=False ): """Execute the parse expression on the given file or filename. If a filename is specified (instead of a file object), the entire file is opened, read, and closed before parsing. """ try: file_contents = file_or_filename.read() except AttributeError: f = open(file_or_filename, "r") file_contents = f.read() f.close() try: return self.parseString(file_contents, parseAll) except ParseBaseException as exc: if ParserElement.verbose_stacktrace: raise else: # catch and re-raise exception from here, clears out pyparsing internal stack trace raise exc def __eq__(self,other): if isinstance(other, ParserElement): return self is other or self.__dict__ == other.__dict__ elif isinstance(other, basestring): try: self.parseString(_ustr(other), parseAll=True) return True except ParseBaseException: return False else: return super(ParserElement,self)==other def __ne__(self,other): return not (self == other) def __hash__(self): return hash(id(self)) def __req__(self,other): return self == other def __rne__(self,other): return not (self == other) class Token(ParserElement): """Abstract C{ParserElement} subclass, for defining atomic matching patterns.""" def __init__( self ): super(Token,self).__init__( savelist=False ) def setName(self, name): s = super(Token,self).setName(name) self.errmsg = "Expected " + self.name return s class Empty(Token): """An empty token, will always match.""" def __init__( self ): super(Empty,self).__init__() self.name = "Empty" self.mayReturnEmpty = True self.mayIndexError = False class NoMatch(Token): """A token that will never match.""" def __init__( self ): super(NoMatch,self).__init__() self.name = "NoMatch" self.mayReturnEmpty = True self.mayIndexError = False self.errmsg = "Unmatchable token" def parseImpl( self, instring, loc, doActions=True ): raise ParseException(instring, loc, self.errmsg, self) class Literal(Token): """Token to exactly match a specified string.""" def __init__( self, matchString ): super(Literal,self).__init__() self.match = matchString self.matchLen = len(matchString) try: self.firstMatchChar = matchString[0] except IndexError: warnings.warn("null string passed to Literal; use Empty() instead", SyntaxWarning, stacklevel=2) self.__class__ = Empty self.name = '"%s"' % _ustr(self.match) self.errmsg = "Expected " + self.name self.mayReturnEmpty = False self.mayIndexError = False # Performance tuning: this routine gets called a *lot* # if this is a single character match string and the first character matches, # short-circuit as quickly as possible, and avoid calling startswith #~ @profile def parseImpl( self, instring, loc, doActions=True ): if (instring[loc] == self.firstMatchChar and (self.matchLen==1 or instring.startswith(self.match,loc)) ): return loc+self.matchLen, self.match raise ParseException(instring, loc, self.errmsg, self) _L = Literal ParserElement.literalStringClass = Literal class Keyword(Token): """Token to exactly match a specified string as a keyword, that is, it must be immediately followed by a non-keyword character. Compare with C{L{Literal}}:: Literal("if") will match the leading C{'if'} in C{'ifAndOnlyIf'}. Keyword("if") will not; it will only match the leading C{'if'} in C{'if x=1'}, or C{'if(y==2)'} Accepts two optional constructor arguments in addition to the keyword string: C{identChars} is a string of characters that would be valid identifier characters, defaulting to all alphanumerics + "_" and "$"; C{caseless} allows case-insensitive matching, default is C{False}. """ DEFAULT_KEYWORD_CHARS = alphanums+"_$" def __init__( self, matchString, identChars=DEFAULT_KEYWORD_CHARS, caseless=False ): super(Keyword,self).__init__() self.match = matchString self.matchLen = len(matchString) try: self.firstMatchChar = matchString[0] except IndexError: warnings.warn("null string passed to Keyword; use Empty() instead", SyntaxWarning, stacklevel=2) self.name = '"%s"' % self.match self.errmsg = "Expected " + self.name self.mayReturnEmpty = False self.mayIndexError = False self.caseless = caseless if caseless: self.caselessmatch = matchString.upper() identChars = identChars.upper() self.identChars = set(identChars) def parseImpl( self, instring, loc, doActions=True ): if self.caseless: if ( (instring[ loc:loc+self.matchLen ].upper() == self.caselessmatch) and (loc >= len(instring)-self.matchLen or instring[loc+self.matchLen].upper() not in self.identChars) and (loc == 0 or instring[loc-1].upper() not in self.identChars) ): return loc+self.matchLen, self.match else: if (instring[loc] == self.firstMatchChar and (self.matchLen==1 or instring.startswith(self.match,loc)) and (loc >= len(instring)-self.matchLen or instring[loc+self.matchLen] not in self.identChars) and (loc == 0 or instring[loc-1] not in self.identChars) ): return loc+self.matchLen, self.match raise ParseException(instring, loc, self.errmsg, self) def copy(self): c = super(Keyword,self).copy() c.identChars = Keyword.DEFAULT_KEYWORD_CHARS return c def setDefaultKeywordChars( chars ): """Overrides the default Keyword chars """ Keyword.DEFAULT_KEYWORD_CHARS = chars setDefaultKeywordChars = staticmethod(setDefaultKeywordChars) class CaselessLiteral(Literal): """Token to match a specified string, ignoring case of letters. Note: the matched results will always be in the case of the given match string, NOT the case of the input text. """ def __init__( self, matchString ): super(CaselessLiteral,self).__init__( matchString.upper() ) # Preserve the defining literal. self.returnString = matchString self.name = "'%s'" % self.returnString self.errmsg = "Expected " + self.name def parseImpl( self, instring, loc, doActions=True ): if instring[ loc:loc+self.matchLen ].upper() == self.match: return loc+self.matchLen, self.returnString raise ParseException(instring, loc, self.errmsg, self) class CaselessKeyword(Keyword): def __init__( self, matchString, identChars=Keyword.DEFAULT_KEYWORD_CHARS ): super(CaselessKeyword,self).__init__( matchString, identChars, caseless=True ) def parseImpl( self, instring, loc, doActions=True ): if ( (instring[ loc:loc+self.matchLen ].upper() == self.caselessmatch) and (loc >= len(instring)-self.matchLen or instring[loc+self.matchLen].upper() not in self.identChars) ): return loc+self.matchLen, self.match raise ParseException(instring, loc, self.errmsg, self) class Word(Token): """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. The default value for C{min} is 1 (a minimum value < 1 is not valid); the default values for C{max} and C{exact} are 0, meaning no maximum or exact length restriction. An optional C{exclude} parameter can list characters that might be found in the input C{bodyChars} string; useful to define a word of all printables except for one or two characters, for instance. """ def __init__( self, initChars, bodyChars=None, min=1, max=0, exact=0, asKeyword=False, excludeChars=None ): super(Word,self).__init__() if excludeChars: initChars = ''.join(c for c in initChars if c not in excludeChars) if bodyChars: bodyChars = ''.join(c for c in bodyChars if c not in excludeChars) self.initCharsOrig = initChars self.initChars = set(initChars) if bodyChars : self.bodyCharsOrig = bodyChars self.bodyChars = set(bodyChars) else: self.bodyCharsOrig = initChars self.bodyChars = set(initChars) self.maxSpecified = max > 0 if min < 1: raise ValueError("cannot specify a minimum length < 1; use Optional(Word()) if zero-length word is permitted") self.minLen = min if max > 0: self.maxLen = max else: self.maxLen = _MAX_INT if exact > 0: self.maxLen = exact self.minLen = exact self.name = _ustr(self) self.errmsg = "Expected " + self.name self.mayIndexError = False self.asKeyword = asKeyword if ' ' not in self.initCharsOrig+self.bodyCharsOrig and (min==1 and max==0 and exact==0): if self.bodyCharsOrig == self.initCharsOrig: self.reString = "[%s]+" % _escapeRegexRangeChars(self.initCharsOrig) elif len(self.bodyCharsOrig) == 1: self.reString = "%s[%s]*" % \ (re.escape(self.initCharsOrig), _escapeRegexRangeChars(self.bodyCharsOrig),) else: self.reString = "[%s][%s]*" % \ (_escapeRegexRangeChars(self.initCharsOrig), _escapeRegexRangeChars(self.bodyCharsOrig),) if self.asKeyword: self.reString = r"\b"+self.reString+r"\b" try: self.re = re.compile( self.reString ) except: self.re = None def parseImpl( self, instring, loc, doActions=True ): if self.re: result = self.re.match(instring,loc) if not result: raise ParseException(instring, loc, self.errmsg, self) loc = result.end() return loc, result.group() if not(instring[ loc ] in self.initChars): raise ParseException(instring, loc, self.errmsg, self) start = loc loc += 1 instrlen = len(instring) bodychars = self.bodyChars maxloc = start + self.maxLen maxloc = min( maxloc, instrlen ) while loc < maxloc and instring[loc] in bodychars: loc += 1 throwException = False if loc - start < self.minLen: throwException = True if self.maxSpecified and loc < instrlen and instring[loc] in bodychars: throwException = True if self.asKeyword: if (start>0 and instring[start-1] in bodychars) or (loc4: return s[:4]+"..." else: return s if ( self.initCharsOrig != self.bodyCharsOrig ): self.strRepr = "W:(%s,%s)" % ( charsAsStr(self.initCharsOrig), charsAsStr(self.bodyCharsOrig) ) else: self.strRepr = "W:(%s)" % charsAsStr(self.initCharsOrig) return self.strRepr class Regex(Token): """Token for matching strings that match a given regular expression. Defined with string specifying the regular expression in a form recognized by the inbuilt Python re module. """ compiledREtype = type(re.compile("[A-Z]")) def __init__( self, pattern, flags=0): """The parameters C{pattern} and C{flags} are passed to the C{re.compile()} function as-is. See the Python C{re} module for an explanation of the acceptable patterns and flags.""" super(Regex,self).__init__() if isinstance(pattern, basestring): if len(pattern) == 0: warnings.warn("null string passed to Regex; use Empty() instead", SyntaxWarning, stacklevel=2) self.pattern = pattern self.flags = flags try: self.re = re.compile(self.pattern, self.flags) self.reString = self.pattern except sre_constants.error: warnings.warn("invalid pattern (%s) passed to Regex" % pattern, SyntaxWarning, stacklevel=2) raise elif isinstance(pattern, Regex.compiledREtype): self.re = pattern self.pattern = \ self.reString = str(pattern) self.flags = flags else: raise ValueError("Regex may only be constructed with a string or a compiled RE object") self.name = _ustr(self) self.errmsg = "Expected " + self.name self.mayIndexError = False self.mayReturnEmpty = True def parseImpl( self, instring, loc, doActions=True ): result = self.re.match(instring,loc) if not result: raise ParseException(instring, loc, self.errmsg, self) loc = result.end() d = result.groupdict() ret = ParseResults(result.group()) if d: for k in d: ret[k] = d[k] return loc,ret def __str__( self ): try: return super(Regex,self).__str__() except: pass if self.strRepr is None: self.strRepr = "Re:(%s)" % repr(self.pattern) return self.strRepr class QuotedString(Token): """Token for matching strings that are delimited by quoting characters. """ def __init__( self, quoteChar, escChar=None, escQuote=None, multiline=False, unquoteResults=True, endQuoteChar=None): """ Defined with the following parameters: - quoteChar - string of one or more characters defining the quote delimiting string - escChar - character to escape quotes, typically backslash (default=None) - escQuote - special quote sequence to escape an embedded quote string (such as SQL's "" to escape an embedded ") (default=None) - multiline - boolean indicating whether quotes can span multiple lines (default=C{False}) - unquoteResults - boolean indicating whether the matched text should be unquoted (default=C{True}) - endQuoteChar - string of one or more characters defining the end of the quote delimited string (default=C{None} => same as quoteChar) """ super(QuotedString,self).__init__() # remove white space from quote chars - wont work anyway quoteChar = quoteChar.strip() if len(quoteChar) == 0: warnings.warn("quoteChar cannot be the empty string",SyntaxWarning,stacklevel=2) raise SyntaxError() if endQuoteChar is None: endQuoteChar = quoteChar else: endQuoteChar = endQuoteChar.strip() if len(endQuoteChar) == 0: warnings.warn("endQuoteChar cannot be the empty string",SyntaxWarning,stacklevel=2) raise SyntaxError() self.quoteChar = quoteChar self.quoteCharLen = len(quoteChar) self.firstQuoteChar = quoteChar[0] self.endQuoteChar = endQuoteChar self.endQuoteCharLen = len(endQuoteChar) self.escChar = escChar self.escQuote = escQuote self.unquoteResults = unquoteResults if multiline: self.flags = re.MULTILINE | re.DOTALL self.pattern = r'%s(?:[^%s%s]' % \ ( re.escape(self.quoteChar), _escapeRegexRangeChars(self.endQuoteChar[0]), (escChar is not None and _escapeRegexRangeChars(escChar) or '') ) else: self.flags = 0 self.pattern = r'%s(?:[^%s\n\r%s]' % \ ( re.escape(self.quoteChar), _escapeRegexRangeChars(self.endQuoteChar[0]), (escChar is not None and _escapeRegexRangeChars(escChar) or '') ) if len(self.endQuoteChar) > 1: self.pattern += ( '|(?:' + ')|(?:'.join("%s[^%s]" % (re.escape(self.endQuoteChar[:i]), _escapeRegexRangeChars(self.endQuoteChar[i])) for i in range(len(self.endQuoteChar)-1,0,-1)) + ')' ) if escQuote: self.pattern += (r'|(?:%s)' % re.escape(escQuote)) if escChar: self.pattern += (r'|(?:%s.)' % re.escape(escChar)) charset = ''.join(set(self.quoteChar[0]+self.endQuoteChar[0])).replace('^',r'\^').replace('-',r'\-') self.escCharReplacePattern = re.escape(self.escChar)+("([%s])" % charset) self.pattern += (r')*%s' % re.escape(self.endQuoteChar)) try: self.re = re.compile(self.pattern, self.flags) self.reString = self.pattern except sre_constants.error: warnings.warn("invalid pattern (%s) passed to Regex" % self.pattern, SyntaxWarning, stacklevel=2) raise self.name = _ustr(self) self.errmsg = "Expected " + self.name self.mayIndexError = False self.mayReturnEmpty = True def parseImpl( self, instring, loc, doActions=True ): result = instring[loc] == self.firstQuoteChar and self.re.match(instring,loc) or None if not result: raise ParseException(instring, loc, self.errmsg, self) loc = result.end() ret = result.group() if self.unquoteResults: # strip off quotes ret = ret[self.quoteCharLen:-self.endQuoteCharLen] if isinstance(ret,basestring): # replace escaped characters if self.escChar: ret = re.sub(self.escCharReplacePattern,"\g<1>",ret) # replace escaped quotes if self.escQuote: ret = ret.replace(self.escQuote, self.endQuoteChar) return loc, ret def __str__( self ): try: return super(QuotedString,self).__str__() except: pass if self.strRepr is None: self.strRepr = "quoted string, starting with %s ending with %s" % (self.quoteChar, self.endQuoteChar) return self.strRepr class CharsNotIn(Token): """Token for matching words composed of characters *not* in a given set. Defined with string containing all disallowed characters, and an optional minimum, maximum, and/or exact length. The default value for C{min} is 1 (a minimum value < 1 is not valid); the default values for C{max} and C{exact} are 0, meaning no maximum or exact length restriction. """ def __init__( self, notChars, min=1, max=0, exact=0 ): super(CharsNotIn,self).__init__() self.skipWhitespace = False self.notChars = notChars if min < 1: raise ValueError("cannot specify a minimum length < 1; use Optional(CharsNotIn()) if zero-length char group is permitted") self.minLen = min if max > 0: self.maxLen = max else: self.maxLen = _MAX_INT if exact > 0: self.maxLen = exact self.minLen = exact self.name = _ustr(self) self.errmsg = "Expected " + self.name self.mayReturnEmpty = ( self.minLen == 0 ) self.mayIndexError = False def parseImpl( self, instring, loc, doActions=True ): if instring[loc] in self.notChars: raise ParseException(instring, loc, self.errmsg, self) start = loc loc += 1 notchars = self.notChars maxlen = min( start+self.maxLen, len(instring) ) while loc < maxlen and \ (instring[loc] not in notchars): loc += 1 if loc - start < self.minLen: raise ParseException(instring, loc, self.errmsg, self) return loc, instring[start:loc] def __str__( self ): try: return super(CharsNotIn, self).__str__() except: pass if self.strRepr is None: if len(self.notChars) > 4: self.strRepr = "!W:(%s...)" % self.notChars[:4] else: self.strRepr = "!W:(%s)" % self.notChars return self.strRepr class White(Token): """Special matching class for matching whitespace. Normally, whitespace is ignored by pyparsing grammars. This class is included when some whitespace structures are significant. Define with a string containing the whitespace characters to be matched; default is C{" \\t\\r\\n"}. Also takes optional C{min}, C{max}, and C{exact} arguments, as defined for the C{L{Word}} class.""" whiteStrs = { " " : "", "\t": "", "\n": "", "\r": "", "\f": "", } def __init__(self, ws=" \t\r\n", min=1, max=0, exact=0): super(White,self).__init__() self.matchWhite = ws self.setWhitespaceChars( "".join(c for c in self.whiteChars if c not in self.matchWhite) ) #~ self.leaveWhitespace() self.name = ("".join(White.whiteStrs[c] for c in self.matchWhite)) self.mayReturnEmpty = True self.errmsg = "Expected " + self.name self.minLen = min if max > 0: self.maxLen = max else: self.maxLen = _MAX_INT if exact > 0: self.maxLen = exact self.minLen = exact def parseImpl( self, instring, loc, doActions=True ): if not(instring[ loc ] in self.matchWhite): raise ParseException(instring, loc, self.errmsg, self) start = loc loc += 1 maxloc = start + self.maxLen maxloc = min( maxloc, len(instring) ) while loc < maxloc and instring[loc] in self.matchWhite: loc += 1 if loc - start < self.minLen: raise ParseException(instring, loc, self.errmsg, self) return loc, instring[start:loc] class _PositionToken(Token): def __init__( self ): super(_PositionToken,self).__init__() self.name=self.__class__.__name__ self.mayReturnEmpty = True self.mayIndexError = False class GoToColumn(_PositionToken): """Token to advance to a specific column of input text; useful for tabular report scraping.""" def __init__( self, colno ): super(GoToColumn,self).__init__() self.col = colno def preParse( self, instring, loc ): if col(loc,instring) != self.col: instrlen = len(instring) if self.ignoreExprs: loc = self._skipIgnorables( instring, loc ) while loc < instrlen and instring[loc].isspace() and col( loc, instring ) != self.col : loc += 1 return loc def parseImpl( self, instring, loc, doActions=True ): thiscol = col( loc, instring ) if thiscol > self.col: raise ParseException( instring, loc, "Text not in expected column", self ) newloc = loc + self.col - thiscol ret = instring[ loc: newloc ] return newloc, ret class LineStart(_PositionToken): """Matches if current position is at the beginning of a line within the parse string""" def __init__( self ): super(LineStart,self).__init__() self.setWhitespaceChars( ParserElement.DEFAULT_WHITE_CHARS.replace("\n","") ) self.errmsg = "Expected start of line" def preParse( self, instring, loc ): preloc = super(LineStart,self).preParse(instring,loc) if instring[preloc] == "\n": loc += 1 return loc def parseImpl( self, instring, loc, doActions=True ): if not( loc==0 or (loc == self.preParse( instring, 0 )) or (instring[loc-1] == "\n") ): #col(loc, instring) != 1: raise ParseException(instring, loc, self.errmsg, self) return loc, [] class LineEnd(_PositionToken): """Matches if current position is at the end of a line within the parse string""" def __init__( self ): super(LineEnd,self).__init__() self.setWhitespaceChars( ParserElement.DEFAULT_WHITE_CHARS.replace("\n","") ) self.errmsg = "Expected end of line" def parseImpl( self, instring, loc, doActions=True ): if loc len(instring): return loc, [] else: raise ParseException(instring, loc, self.errmsg, self) class WordStart(_PositionToken): """Matches if the current position is at the beginning of a Word, and is not preceded by any character in a given set of C{wordChars} (default=C{printables}). To emulate the C{\b} behavior of regular expressions, use C{WordStart(alphanums)}. C{WordStart} will also match at the beginning of the string being parsed, or at the beginning of a line. """ def __init__(self, wordChars = printables): super(WordStart,self).__init__() self.wordChars = set(wordChars) self.errmsg = "Not at the start of a word" def parseImpl(self, instring, loc, doActions=True ): if loc != 0: if (instring[loc-1] in self.wordChars or instring[loc] not in self.wordChars): raise ParseException(instring, loc, self.errmsg, self) return loc, [] class WordEnd(_PositionToken): """Matches if the current position is at the end of a Word, and is not followed by any character in a given set of C{wordChars} (default=C{printables}). To emulate the C{\b} behavior of regular expressions, use C{WordEnd(alphanums)}. C{WordEnd} will also match at the end of the string being parsed, or at the end of a line. """ def __init__(self, wordChars = printables): super(WordEnd,self).__init__() self.wordChars = set(wordChars) self.skipWhitespace = False self.errmsg = "Not at the end of a word" def parseImpl(self, instring, loc, doActions=True ): instrlen = len(instring) if instrlen>0 and loc maxExcLoc: maxException = err maxExcLoc = err.loc except IndexError: if len(instring) > maxExcLoc: maxException = ParseException(instring,len(instring),e.errmsg,self) maxExcLoc = len(instring) else: if loc2 > maxMatchLoc: maxMatchLoc = loc2 maxMatchExp = e if maxMatchLoc < 0: if maxException is not None: raise maxException else: raise ParseException(instring, loc, "no defined alternatives to match", self) return maxMatchExp._parse( instring, loc, doActions ) def __ixor__(self, other ): if isinstance( other, basestring ): other = ParserElement.literalStringClass( other ) return self.append( other ) #Or( [ self, other ] ) def __str__( self ): if hasattr(self,"name"): return self.name if self.strRepr is None: self.strRepr = "{" + " ^ ".join(_ustr(e) for e in self.exprs) + "}" return self.strRepr def checkRecursion( self, parseElementList ): subRecCheckList = parseElementList[:] + [ self ] for e in self.exprs: e.checkRecursion( subRecCheckList ) class MatchFirst(ParseExpression): """Requires that at least one C{ParseExpression} is found. If two expressions match, the first one listed is the one that will match. May be constructed using the C{'|'} operator. """ def __init__( self, exprs, savelist = False ): super(MatchFirst,self).__init__(exprs, savelist) if exprs: self.mayReturnEmpty = False for e in self.exprs: if e.mayReturnEmpty: self.mayReturnEmpty = True break else: self.mayReturnEmpty = True def parseImpl( self, instring, loc, doActions=True ): maxExcLoc = -1 maxException = None for e in self.exprs: try: ret = e._parse( instring, loc, doActions ) return ret except ParseException as err: if err.loc > maxExcLoc: maxException = err maxExcLoc = err.loc except IndexError: if len(instring) > maxExcLoc: maxException = ParseException(instring,len(instring),e.errmsg,self) maxExcLoc = len(instring) # only got here if no expression matched, raise exception for match that made it the furthest else: if maxException is not None: raise maxException else: raise ParseException(instring, loc, "no defined alternatives to match", self) def __ior__(self, other ): if isinstance( other, basestring ): other = ParserElement.literalStringClass( other ) return self.append( other ) #MatchFirst( [ self, other ] ) def __str__( self ): if hasattr(self,"name"): return self.name if self.strRepr is None: self.strRepr = "{" + " | ".join(_ustr(e) for e in self.exprs) + "}" return self.strRepr def checkRecursion( self, parseElementList ): subRecCheckList = parseElementList[:] + [ self ] for e in self.exprs: e.checkRecursion( subRecCheckList ) class Each(ParseExpression): """Requires all given C{ParseExpression}s to be found, but in any order. Expressions may be separated by whitespace. May be constructed using the C{'&'} operator. """ def __init__( self, exprs, savelist = True ): super(Each,self).__init__(exprs, savelist) self.mayReturnEmpty = True for e in self.exprs: if not e.mayReturnEmpty: self.mayReturnEmpty = False break self.skipWhitespace = True self.initExprGroups = True def parseImpl( self, instring, loc, doActions=True ): if self.initExprGroups: opt1 = [ e.expr for e in self.exprs if isinstance(e,Optional) ] opt2 = [ e for e in self.exprs if e.mayReturnEmpty and e not in opt1 ] self.optionals = opt1 + opt2 self.multioptionals = [ e.expr for e in self.exprs if isinstance(e,ZeroOrMore) ] self.multirequired = [ e.expr for e in self.exprs if isinstance(e,OneOrMore) ] self.required = [ e for e in self.exprs if not isinstance(e,(Optional,ZeroOrMore,OneOrMore)) ] self.required += self.multirequired self.initExprGroups = False tmpLoc = loc tmpReqd = self.required[:] tmpOpt = self.optionals[:] matchOrder = [] keepMatching = True while keepMatching: tmpExprs = tmpReqd + tmpOpt + self.multioptionals + self.multirequired failed = [] for e in tmpExprs: try: tmpLoc = e.tryParse( instring, tmpLoc ) except ParseException: failed.append(e) else: matchOrder.append(e) if e in tmpReqd: tmpReqd.remove(e) elif e in tmpOpt: tmpOpt.remove(e) if len(failed) == len(tmpExprs): keepMatching = False if tmpReqd: missing = ", ".join(_ustr(e) for e in tmpReqd) raise ParseException(instring,loc,"Missing one or more required elements (%s)" % missing ) # add any unmatched Optionals, in case they have default values defined matchOrder += [e for e in self.exprs if isinstance(e,Optional) and e.expr in tmpOpt] resultlist = [] for e in matchOrder: loc,results = e._parse(instring,loc,doActions) resultlist.append(results) finalResults = ParseResults([]) for r in resultlist: dups = {} for k in r.keys(): if k in finalResults.keys(): tmp = ParseResults(finalResults[k]) tmp += ParseResults(r[k]) dups[k] = tmp finalResults += ParseResults(r) for k,v in dups.items(): finalResults[k] = v return loc, finalResults def __str__( self ): if hasattr(self,"name"): return self.name if self.strRepr is None: self.strRepr = "{" + " & ".join(_ustr(e) for e in self.exprs) + "}" return self.strRepr def checkRecursion( self, parseElementList ): subRecCheckList = parseElementList[:] + [ self ] for e in self.exprs: e.checkRecursion( subRecCheckList ) class ParseElementEnhance(ParserElement): """Abstract subclass of C{ParserElement}, for combining and post-processing parsed tokens.""" def __init__( self, expr, savelist=False ): super(ParseElementEnhance,self).__init__(savelist) if isinstance( expr, basestring ): expr = Literal(expr) self.expr = expr self.strRepr = None if expr is not None: self.mayIndexError = expr.mayIndexError self.mayReturnEmpty = expr.mayReturnEmpty self.setWhitespaceChars( expr.whiteChars ) self.skipWhitespace = expr.skipWhitespace self.saveAsList = expr.saveAsList self.callPreparse = expr.callPreparse self.ignoreExprs.extend(expr.ignoreExprs) def parseImpl( self, instring, loc, doActions=True ): if self.expr is not None: return self.expr._parse( instring, loc, doActions, callPreParse=False ) else: raise ParseException("",loc,self.errmsg,self) def leaveWhitespace( self ): self.skipWhitespace = False self.expr = self.expr.copy() if self.expr is not None: self.expr.leaveWhitespace() return self def ignore( self, other ): if isinstance( other, Suppress ): if other not in self.ignoreExprs: super( ParseElementEnhance, self).ignore( other ) if self.expr is not None: self.expr.ignore( self.ignoreExprs[-1] ) else: super( ParseElementEnhance, self).ignore( other ) if self.expr is not None: self.expr.ignore( self.ignoreExprs[-1] ) return self def streamline( self ): super(ParseElementEnhance,self).streamline() if self.expr is not None: self.expr.streamline() return self def checkRecursion( self, parseElementList ): if self in parseElementList: raise RecursiveGrammarException( parseElementList+[self] ) subRecCheckList = parseElementList[:] + [ self ] if self.expr is not None: self.expr.checkRecursion( subRecCheckList ) def validate( self, validateTrace=[] ): tmp = validateTrace[:]+[self] if self.expr is not None: self.expr.validate(tmp) self.checkRecursion( [] ) def __str__( self ): try: return super(ParseElementEnhance,self).__str__() except: pass if self.strRepr is None and self.expr is not None: self.strRepr = "%s:(%s)" % ( self.__class__.__name__, _ustr(self.expr) ) return self.strRepr class FollowedBy(ParseElementEnhance): """Lookahead matching of the given parse expression. C{FollowedBy} does *not* advance the parsing position within the input string, it only verifies that the specified parse expression matches at the current position. C{FollowedBy} always returns a null token list.""" def __init__( self, expr ): super(FollowedBy,self).__init__(expr) self.mayReturnEmpty = True def parseImpl( self, instring, loc, doActions=True ): self.expr.tryParse( instring, loc ) return loc, [] class NotAny(ParseElementEnhance): """Lookahead to disallow matching with the given parse expression. C{NotAny} does *not* advance the parsing position within the input string, it only verifies that the specified parse expression does *not* match at the current position. Also, C{NotAny} does *not* skip over leading whitespace. C{NotAny} always returns a null token list. May be constructed using the '~' operator.""" def __init__( self, expr ): super(NotAny,self).__init__(expr) #~ self.leaveWhitespace() self.skipWhitespace = False # do NOT use self.leaveWhitespace(), don't want to propagate to exprs self.mayReturnEmpty = True self.errmsg = "Found unwanted token, "+_ustr(self.expr) def parseImpl( self, instring, loc, doActions=True ): try: self.expr.tryParse( instring, loc ) except (ParseException,IndexError): pass else: raise ParseException(instring, loc, self.errmsg, self) return loc, [] def __str__( self ): if hasattr(self,"name"): return self.name if self.strRepr is None: self.strRepr = "~{" + _ustr(self.expr) + "}" return self.strRepr class ZeroOrMore(ParseElementEnhance): """Optional repetition of zero or more of the given expression.""" def __init__( self, expr ): super(ZeroOrMore,self).__init__(expr) self.mayReturnEmpty = True def parseImpl( self, instring, loc, doActions=True ): tokens = [] try: loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False ) hasIgnoreExprs = ( len(self.ignoreExprs) > 0 ) while 1: if hasIgnoreExprs: preloc = self._skipIgnorables( instring, loc ) else: preloc = loc loc, tmptokens = self.expr._parse( instring, preloc, doActions ) if tmptokens or tmptokens.keys(): tokens += tmptokens except (ParseException,IndexError): pass return loc, tokens def __str__( self ): if hasattr(self,"name"): return self.name if self.strRepr is None: self.strRepr = "[" + _ustr(self.expr) + "]..." return self.strRepr def setResultsName( self, name, listAllMatches=False ): ret = super(ZeroOrMore,self).setResultsName(name,listAllMatches) ret.saveAsList = True return ret class OneOrMore(ParseElementEnhance): """Repetition of one or more of the given expression.""" def parseImpl( self, instring, loc, doActions=True ): # must be at least one loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False ) try: hasIgnoreExprs = ( len(self.ignoreExprs) > 0 ) while 1: if hasIgnoreExprs: preloc = self._skipIgnorables( instring, loc ) else: preloc = loc loc, tmptokens = self.expr._parse( instring, preloc, doActions ) if tmptokens or tmptokens.keys(): tokens += tmptokens except (ParseException,IndexError): pass return loc, tokens def __str__( self ): if hasattr(self,"name"): return self.name if self.strRepr is None: self.strRepr = "{" + _ustr(self.expr) + "}..." return self.strRepr def setResultsName( self, name, listAllMatches=False ): ret = super(OneOrMore,self).setResultsName(name,listAllMatches) ret.saveAsList = True return ret class _NullToken(object): def __bool__(self): return False __nonzero__ = __bool__ def __str__(self): return "" _optionalNotMatched = _NullToken() class Optional(ParseElementEnhance): """Optional matching of the given expression. A default return string can also be specified, if the optional expression is not found. """ def __init__( self, exprs, default=_optionalNotMatched ): super(Optional,self).__init__( exprs, savelist=False ) self.defaultValue = default self.mayReturnEmpty = True def parseImpl( self, instring, loc, doActions=True ): try: loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False ) except (ParseException,IndexError): if self.defaultValue is not _optionalNotMatched: if self.expr.resultsName: tokens = ParseResults([ self.defaultValue ]) tokens[self.expr.resultsName] = self.defaultValue else: tokens = [ self.defaultValue ] else: tokens = [] return loc, tokens def __str__( self ): if hasattr(self,"name"): return self.name if self.strRepr is None: self.strRepr = "[" + _ustr(self.expr) + "]" return self.strRepr class SkipTo(ParseElementEnhance): """Token for skipping over all undefined text until the matched expression is found. If C{include} is set to true, the matched expression is also parsed (the skipped text and matched expression are returned as a 2-element list). The C{ignore} argument is used to define grammars (typically quoted strings and comments) that might contain false matches. """ def __init__( self, other, include=False, ignore=None, failOn=None ): super( SkipTo, self ).__init__( other ) self.ignoreExpr = ignore self.mayReturnEmpty = True self.mayIndexError = False self.includeMatch = include self.asList = False if failOn is not None and isinstance(failOn, basestring): self.failOn = Literal(failOn) else: self.failOn = failOn self.errmsg = "No match found for "+_ustr(self.expr) def parseImpl( self, instring, loc, doActions=True ): startLoc = loc instrlen = len(instring) expr = self.expr failParse = False while loc <= instrlen: try: if self.failOn: try: self.failOn.tryParse(instring, loc) except ParseBaseException: pass else: failParse = True raise ParseException(instring, loc, "Found expression " + str(self.failOn)) failParse = False if self.ignoreExpr is not None: while 1: try: loc = self.ignoreExpr.tryParse(instring,loc) # print("found ignoreExpr, advance to", loc) except ParseBaseException: break expr._parse( instring, loc, doActions=False, callPreParse=False ) skipText = instring[startLoc:loc] if self.includeMatch: loc,mat = expr._parse(instring,loc,doActions,callPreParse=False) if mat: skipRes = ParseResults( skipText ) skipRes += mat return loc, [ skipRes ] else: return loc, [ skipText ] else: return loc, [ skipText ] except (ParseException,IndexError): if failParse: raise else: loc += 1 raise ParseException(instring, loc, self.errmsg, self) class Forward(ParseElementEnhance): """Forward declaration of an expression to be defined later - used for recursive grammars, such as algebraic infix notation. When the expression is known, it is assigned to the C{Forward} variable using the '<<' operator. Note: take care when assigning to C{Forward} not to overlook precedence of operators. Specifically, '|' has a lower precedence than '<<', so that:: fwdExpr << a | b | c will actually be evaluated as:: (fwdExpr << a) | b | c thereby leaving b and c out as parseable alternatives. It is recommended that you explicitly group the values inserted into the C{Forward}:: fwdExpr << (a | b | c) Converting to use the '<<=' operator instead will avoid this problem. """ def __init__( self, other=None ): super(Forward,self).__init__( other, savelist=False ) def __ilshift__( self, other ): if isinstance( other, basestring ): other = ParserElement.literalStringClass(other) self.expr = other self.mayReturnEmpty = other.mayReturnEmpty self.strRepr = None self.mayIndexError = self.expr.mayIndexError self.mayReturnEmpty = self.expr.mayReturnEmpty self.setWhitespaceChars( self.expr.whiteChars ) self.skipWhitespace = self.expr.skipWhitespace self.saveAsList = self.expr.saveAsList self.ignoreExprs.extend(self.expr.ignoreExprs) return self def __lshift__(self, other): warnings.warn("Operator '<<' is deprecated, use '<<=' instead", DeprecationWarning,stacklevel=2) self <<= other return None def leaveWhitespace( self ): self.skipWhitespace = False return self def streamline( self ): if not self.streamlined: self.streamlined = True if self.expr is not None: self.expr.streamline() return self def validate( self, validateTrace=[] ): if self not in validateTrace: tmp = validateTrace[:]+[self] if self.expr is not None: self.expr.validate(tmp) self.checkRecursion([]) def __str__( self ): if hasattr(self,"name"): return self.name self._revertClass = self.__class__ self.__class__ = _ForwardNoRecurse try: if self.expr is not None: retString = _ustr(self.expr) else: retString = "None" finally: self.__class__ = self._revertClass return self.__class__.__name__ + ": " + retString def copy(self): if self.expr is not None: return super(Forward,self).copy() else: ret = Forward() ret << self return ret class _ForwardNoRecurse(Forward): def __str__( self ): return "..." class TokenConverter(ParseElementEnhance): """Abstract subclass of C{ParseExpression}, for converting parsed results.""" def __init__( self, expr, savelist=False ): super(TokenConverter,self).__init__( expr )#, savelist ) self.saveAsList = False class Upcase(TokenConverter): """Converter to upper case all matching tokens.""" def __init__(self, *args): super(Upcase,self).__init__(*args) warnings.warn("Upcase class is deprecated, use upcaseTokens parse action instead", DeprecationWarning,stacklevel=2) def postParse( self, instring, loc, tokenlist ): return list(map( str.upper, tokenlist )) class Combine(TokenConverter): """Converter to concatenate all matching tokens to a single string. By default, the matching patterns must also be contiguous in the input string; this can be disabled by specifying C{'adjacent=False'} in the constructor. """ def __init__( self, expr, joinString="", adjacent=True ): super(Combine,self).__init__( expr ) # suppress whitespace-stripping in contained parse expressions, but re-enable it on the Combine itself if adjacent: self.leaveWhitespace() self.adjacent = adjacent self.skipWhitespace = True self.joinString = joinString self.callPreparse = True def ignore( self, other ): if self.adjacent: ParserElement.ignore(self, other) else: super( Combine, self).ignore( other ) return self def postParse( self, instring, loc, tokenlist ): retToks = tokenlist.copy() del retToks[:] retToks += ParseResults([ "".join(tokenlist._asStringList(self.joinString)) ], modal=self.modalResults) if self.resultsName and len(retToks.keys())>0: return [ retToks ] else: return retToks class Group(TokenConverter): """Converter to return the matched tokens as a list - useful for returning tokens of C{L{ZeroOrMore}} and C{L{OneOrMore}} expressions.""" def __init__( self, expr ): super(Group,self).__init__( expr ) self.saveAsList = True def postParse( self, instring, loc, tokenlist ): return [ tokenlist ] class Dict(TokenConverter): """Converter to return a repetitive expression as a list, but also as a dictionary. Each element can also be referenced using the first token in the expression as its key. Useful for tabular report scraping when the first column can be used as a item key. """ def __init__( self, exprs ): super(Dict,self).__init__( exprs ) self.saveAsList = True def postParse( self, instring, loc, tokenlist ): for i,tok in enumerate(tokenlist): if len(tok) == 0: continue ikey = tok[0] if isinstance(ikey,int): ikey = _ustr(tok[0]).strip() if len(tok)==1: tokenlist[ikey] = _ParseResultsWithOffset("",i) elif len(tok)==2 and not isinstance(tok[1],ParseResults): tokenlist[ikey] = _ParseResultsWithOffset(tok[1],i) else: dictvalue = tok.copy() #ParseResults(i) del dictvalue[0] if len(dictvalue)!= 1 or (isinstance(dictvalue,ParseResults) and dictvalue.keys()): tokenlist[ikey] = _ParseResultsWithOffset(dictvalue,i) else: tokenlist[ikey] = _ParseResultsWithOffset(dictvalue[0],i) if self.resultsName: return [ tokenlist ] else: return tokenlist class Suppress(TokenConverter): """Converter for ignoring the results of a parsed expression.""" def postParse( self, instring, loc, tokenlist ): return [] def suppress( self ): return self class OnlyOnce(object): """Wrapper for parse actions, to ensure they are only called once.""" def __init__(self, methodCall): self.callable = _trim_arity(methodCall) self.called = False def __call__(self,s,l,t): if not self.called: results = self.callable(s,l,t) self.called = True return results raise ParseException(s,l,"") def reset(self): self.called = False def traceParseAction(f): """Decorator for debugging parse actions.""" f = _trim_arity(f) def z(*paArgs): thisFunc = f.func_name s,l,t = paArgs[-3:] if len(paArgs)>3: thisFunc = paArgs[0].__class__.__name__ + '.' + thisFunc sys.stderr.write( ">>entering %s(line: '%s', %d, %s)\n" % (thisFunc,line(l,s),l,t) ) try: ret = f(*paArgs) except Exception as exc: sys.stderr.write( "<", "|".join( [ _escapeRegexChars(sym) for sym in symbols] )) try: if len(symbols)==len("".join(symbols)): return Regex( "[%s]" % "".join(_escapeRegexRangeChars(sym) for sym in symbols) ) else: return Regex( "|".join(re.escape(sym) for sym in symbols) ) except: warnings.warn("Exception creating Regex for oneOf, building MatchFirst", SyntaxWarning, stacklevel=2) # last resort, just use MatchFirst return MatchFirst( [ parseElementClass(sym) for sym in symbols ] ) def dictOf( key, value ): """Helper to easily and clearly define a dictionary by specifying the respective patterns for the key and value. Takes care of defining the C{L{Dict}}, C{L{ZeroOrMore}}, and C{L{Group}} tokens in the proper order. The key pattern can include delimiting markers or punctuation, as long as they are suppressed, thereby leaving the significant key text. The value pattern can include named results, so that the C{Dict} results can include named token fields. """ return Dict( ZeroOrMore( Group ( key + value ) ) ) def originalTextFor(expr, asString=True): """Helper to return the original, untokenized text for a given expression. Useful to restore the parsed fields of an HTML start tag into the raw tag text itself, or to revert separate tokens with intervening whitespace back to the original matching input text. Simpler to use than the parse action C{L{keepOriginalText}}, and does not require the inspect module to chase up the call stack. By default, returns a string containing the original parsed text. If the optional C{asString} argument is passed as C{False}, then the return value is a C{L{ParseResults}} containing any results names that were originally matched, and a single token containing the original matched text from the input string. So if the expression passed to C{L{originalTextFor}} contains expressions with defined results names, you must set C{asString} to C{False} if you want to preserve those results name values.""" locMarker = Empty().setParseAction(lambda s,loc,t: loc) endlocMarker = locMarker.copy() endlocMarker.callPreparse = False matchExpr = locMarker("_original_start") + expr + endlocMarker("_original_end") if asString: extractText = lambda s,l,t: s[t._original_start:t._original_end] else: def extractText(s,l,t): del t[:] t.insert(0, s[t._original_start:t._original_end]) del t["_original_start"] del t["_original_end"] matchExpr.setParseAction(extractText) return matchExpr def ungroup(expr): """Helper to undo pyparsing's default grouping of And expressions, even if all but one are non-empty.""" return TokenConverter(expr).setParseAction(lambda t:t[0]) # convenience constants for positional expressions empty = Empty().setName("empty") lineStart = LineStart().setName("lineStart") lineEnd = LineEnd().setName("lineEnd") stringStart = StringStart().setName("stringStart") stringEnd = StringEnd().setName("stringEnd") _escapedPunc = Word( _bslash, r"\[]-*.$+^?()~ ", exact=2 ).setParseAction(lambda s,l,t:t[0][1]) _escapedHexChar = Regex(r"\\0?[xX][0-9a-fA-F]+").setParseAction(lambda s,l,t:unichr(int(t[0].lstrip(r'\0x'),16))) _escapedOctChar = Regex(r"\\0[0-7]+").setParseAction(lambda s,l,t:unichr(int(t[0][1:],8))) _singleChar = _escapedPunc | _escapedHexChar | _escapedOctChar | Word(printables, excludeChars=r'\]', exact=1) _charRange = Group(_singleChar + Suppress("-") + _singleChar) _reBracketExpr = Literal("[") + Optional("^").setResultsName("negate") + Group( OneOrMore( _charRange | _singleChar ) ).setResultsName("body") + "]" _expanded = lambda p: (isinstance(p,ParseResults) and ''.join(unichr(c) for c in range(ord(p[0]),ord(p[1])+1)) or p) def srange(s): r"""Helper to easily define string ranges for use in Word construction. Borrows syntax from regexp '[]' string range definitions:: srange("[0-9]") -> "0123456789" srange("[a-z]") -> "abcdefghijklmnopqrstuvwxyz" srange("[a-z$_]") -> "abcdefghijklmnopqrstuvwxyz$_" The input string must be enclosed in []'s, and the returned string is the expanded character set joined into a single string. The values enclosed in the []'s may be:: a single character an escaped character with a leading backslash (such as \- or \]) an escaped hex character with a leading '\x' (\x21, which is a '!' character) (\0x## is also supported for backwards compatibility) an escaped octal character with a leading '\0' (\041, which is a '!' character) a range of any of the above, separated by a dash ('a-z', etc.) any combination of the above ('aeiouy', 'a-zA-Z0-9_$', etc.) """ try: return "".join(_expanded(part) for part in _reBracketExpr.parseString(s).body) except: return "" def matchOnlyAtCol(n): """Helper method for defining parse actions that require matching at a specific column in the input text. """ def verifyCol(strg,locn,toks): if col(locn,strg) != n: raise ParseException(strg,locn,"matched token not at column %d" % n) return verifyCol def replaceWith(replStr): """Helper method for common parse actions that simply return a literal value. Especially useful when used with C{L{transformString}()}. """ def _replFunc(*args): return [replStr] return _replFunc def removeQuotes(s,l,t): """Helper parse action for removing quotation marks from parsed quoted strings. To use, add this parse action to quoted string using:: quotedString.setParseAction( removeQuotes ) """ return t[0][1:-1] def upcaseTokens(s,l,t): """Helper parse action to convert tokens to upper case.""" return [ tt.upper() for tt in map(_ustr,t) ] def downcaseTokens(s,l,t): """Helper parse action to convert tokens to lower case.""" return [ tt.lower() for tt in map(_ustr,t) ] def keepOriginalText(s,startLoc,t): """DEPRECATED - use new helper method C{L{originalTextFor}}. Helper parse action to preserve original parsed text, overriding any nested parse actions.""" try: endloc = getTokensEndLoc() except ParseException: raise ParseFatalException("incorrect usage of keepOriginalText - may only be called as a parse action") del t[:] t += ParseResults(s[startLoc:endloc]) return t def getTokensEndLoc(): """Method to be called from within a parse action to determine the end location of the parsed tokens.""" import inspect fstack = inspect.stack() try: # search up the stack (through intervening argument normalizers) for correct calling routine for f in fstack[2:]: if f[3] == "_parseNoCache": endloc = f[0].f_locals["loc"] return endloc else: raise ParseFatalException("incorrect usage of getTokensEndLoc - may only be called from within a parse action") finally: del fstack def _makeTags(tagStr, xml): """Internal helper to construct opening and closing tag expressions, given a tag name""" if isinstance(tagStr,basestring): resname = tagStr tagStr = Keyword(tagStr, caseless=not xml) else: resname = tagStr.name tagAttrName = Word(alphas,alphanums+"_-:") if (xml): tagAttrValue = dblQuotedString.copy().setParseAction( removeQuotes ) openTag = Suppress("<") + tagStr("tag") + \ Dict(ZeroOrMore(Group( tagAttrName + Suppress("=") + tagAttrValue ))) + \ Optional("/",default=[False]).setResultsName("empty").setParseAction(lambda s,l,t:t[0]=='/') + Suppress(">") else: printablesLessRAbrack = "".join(c for c in printables if c not in ">") tagAttrValue = quotedString.copy().setParseAction( removeQuotes ) | Word(printablesLessRAbrack) openTag = Suppress("<") + tagStr("tag") + \ Dict(ZeroOrMore(Group( tagAttrName.setParseAction(downcaseTokens) + \ Optional( Suppress("=") + tagAttrValue ) ))) + \ Optional("/",default=[False]).setResultsName("empty").setParseAction(lambda s,l,t:t[0]=='/') + Suppress(">") closeTag = Combine(_L("") openTag = openTag.setResultsName("start"+"".join(resname.replace(":"," ").title().split())).setName("<%s>" % tagStr) closeTag = closeTag.setResultsName("end"+"".join(resname.replace(":"," ").title().split())).setName("" % tagStr) openTag.tag = resname closeTag.tag = resname return openTag, closeTag def makeHTMLTags(tagStr): """Helper to construct opening and closing tag expressions for HTML, given a tag name""" return _makeTags( tagStr, False ) def makeXMLTags(tagStr): """Helper to construct opening and closing tag expressions for XML, given a tag name""" return _makeTags( tagStr, True ) def withAttribute(*args,**attrDict): """Helper to create a validating parse action to be used with start tags created with C{L{makeXMLTags}} or C{L{makeHTMLTags}}. Use C{withAttribute} to qualify a starting tag with a required attribute value, to avoid false matches on common tags such as C{} or C{
}. Call C{withAttribute} with a series of attribute names and values. Specify the list of filter attributes names and values as: - keyword arguments, as in C{(align="right")}, or - as an explicit dict with C{**} operator, when an attribute name is also a Python reserved word, as in C{**{"class":"Customer", "align":"right"}} - a list of name-value tuples, as in ( ("ns1:class", "Customer"), ("ns2:align","right") ) For attribute names with a namespace prefix, you must use the second form. Attribute names are matched insensitive to upper/lower case. To verify that the attribute exists, but without specifying a value, pass C{withAttribute.ANY_VALUE} as the value. """ if args: attrs = args[:] else: attrs = attrDict.items() attrs = [(k,v) for k,v in attrs] def pa(s,l,tokens): for attrName,attrValue in attrs: if attrName not in tokens: raise ParseException(s,l,"no matching attribute " + attrName) if attrValue != withAttribute.ANY_VALUE and tokens[attrName] != attrValue: raise ParseException(s,l,"attribute '%s' has value '%s', must be '%s'" % (attrName, tokens[attrName], attrValue)) return pa withAttribute.ANY_VALUE = object() opAssoc = _Constants() opAssoc.LEFT = object() opAssoc.RIGHT = object() def infixNotation( baseExpr, opList, lpar=Suppress('('), rpar=Suppress(')') ): """Helper method for constructing grammars of expressions made up of operators working in a precedence hierarchy. Operators may be unary or binary, left- or right-associative. Parse actions can also be attached to operator expressions. Parameters: - baseExpr - expression representing the most basic element for the nested - opList - list of tuples, one for each operator precedence level in the expression grammar; each tuple is of the form (opExpr, numTerms, rightLeftAssoc, parseAction), where: - opExpr is the pyparsing expression for the operator; may also be a string, which will be converted to a Literal; if numTerms is 3, opExpr is a tuple of two expressions, for the two operators separating the 3 terms - numTerms is the number of terms for this operator (must be 1, 2, or 3) - rightLeftAssoc is the indicator whether the operator is right or left associative, using the pyparsing-defined constants C{opAssoc.RIGHT} and C{opAssoc.LEFT}. - parseAction is the parse action to be associated with expressions matching this operator expression (the parse action tuple member may be omitted) - lpar - expression for matching left-parentheses (default=Suppress('(')) - rpar - expression for matching right-parentheses (default=Suppress(')')) """ ret = Forward() lastExpr = baseExpr | ( lpar + ret + rpar ) for i,operDef in enumerate(opList): opExpr,arity,rightLeftAssoc,pa = (operDef + (None,))[:4] if arity == 3: if opExpr is None or len(opExpr) != 2: raise ValueError("if numterms=3, opExpr must be a tuple or list of two expressions") opExpr1, opExpr2 = opExpr thisExpr = Forward()#.setName("expr%d" % i) if rightLeftAssoc == opAssoc.LEFT: if arity == 1: matchExpr = FollowedBy(lastExpr + opExpr) + Group( lastExpr + OneOrMore( opExpr ) ) elif arity == 2: if opExpr is not None: matchExpr = FollowedBy(lastExpr + opExpr + lastExpr) + Group( lastExpr + OneOrMore( opExpr + lastExpr ) ) else: matchExpr = FollowedBy(lastExpr+lastExpr) + Group( lastExpr + OneOrMore(lastExpr) ) elif arity == 3: matchExpr = FollowedBy(lastExpr + opExpr1 + lastExpr + opExpr2 + lastExpr) + \ Group( lastExpr + opExpr1 + lastExpr + opExpr2 + lastExpr ) else: raise ValueError("operator must be unary (1), binary (2), or ternary (3)") elif rightLeftAssoc == opAssoc.RIGHT: if arity == 1: # try to avoid LR with this extra test if not isinstance(opExpr, Optional): opExpr = Optional(opExpr) matchExpr = FollowedBy(opExpr.expr + thisExpr) + Group( opExpr + thisExpr ) elif arity == 2: if opExpr is not None: matchExpr = FollowedBy(lastExpr + opExpr + thisExpr) + Group( lastExpr + OneOrMore( opExpr + thisExpr ) ) else: matchExpr = FollowedBy(lastExpr + thisExpr) + Group( lastExpr + OneOrMore( thisExpr ) ) elif arity == 3: matchExpr = FollowedBy(lastExpr + opExpr1 + thisExpr + opExpr2 + thisExpr) + \ Group( lastExpr + opExpr1 + thisExpr + opExpr2 + thisExpr ) else: raise ValueError("operator must be unary (1), binary (2), or ternary (3)") else: raise ValueError("operator must indicate right or left associativity") if pa: matchExpr.setParseAction( pa ) thisExpr << ( matchExpr | lastExpr ) lastExpr = thisExpr ret << lastExpr return ret operatorPrecedence = infixNotation dblQuotedString = Regex(r'"(?:[^"\n\r\\]|(?:"")|(?:\\x[0-9a-fA-F]+)|(?:\\.))*"').setName("string enclosed in double quotes") sglQuotedString = Regex(r"'(?:[^'\n\r\\]|(?:'')|(?:\\x[0-9a-fA-F]+)|(?:\\.))*'").setName("string enclosed in single quotes") quotedString = Regex(r'''(?:"(?:[^"\n\r\\]|(?:"")|(?:\\x[0-9a-fA-F]+)|(?:\\.))*")|(?:'(?:[^'\n\r\\]|(?:'')|(?:\\x[0-9a-fA-F]+)|(?:\\.))*')''').setName("quotedString using single or double quotes") unicodeString = Combine(_L('u') + quotedString.copy()) def nestedExpr(opener="(", closer=")", content=None, ignoreExpr=quotedString.copy()): """Helper method for defining nested lists enclosed in opening and closing delimiters ("(" and ")" are the default). Parameters: - opener - opening character for a nested list (default="("); can also be a pyparsing expression - closer - closing character for a nested list (default=")"); can also be a pyparsing expression - content - expression for items within the nested lists (default=None) - ignoreExpr - expression for ignoring opening and closing delimiters (default=quotedString) If an expression is not provided for the content argument, the nested expression will capture all whitespace-delimited content between delimiters as a list of separate values. Use the C{ignoreExpr} argument to define expressions that may contain opening or closing characters that should not be treated as opening or closing characters for nesting, such as quotedString or a comment expression. Specify multiple expressions using an C{L{Or}} or C{L{MatchFirst}}. The default is L{quotedString}, but if no expressions are to be ignored, then pass C{None} for this argument. """ if opener == closer: raise ValueError("opening and closing strings cannot be the same") if content is None: if isinstance(opener,basestring) and isinstance(closer,basestring): if len(opener) == 1 and len(closer)==1: if ignoreExpr is not None: content = (Combine(OneOrMore(~ignoreExpr + CharsNotIn(opener+closer+ParserElement.DEFAULT_WHITE_CHARS,exact=1)) ).setParseAction(lambda t:t[0].strip())) else: content = (empty.copy()+CharsNotIn(opener+closer+ParserElement.DEFAULT_WHITE_CHARS ).setParseAction(lambda t:t[0].strip())) else: if ignoreExpr is not None: content = (Combine(OneOrMore(~ignoreExpr + ~Literal(opener) + ~Literal(closer) + CharsNotIn(ParserElement.DEFAULT_WHITE_CHARS,exact=1)) ).setParseAction(lambda t:t[0].strip())) else: content = (Combine(OneOrMore(~Literal(opener) + ~Literal(closer) + CharsNotIn(ParserElement.DEFAULT_WHITE_CHARS,exact=1)) ).setParseAction(lambda t:t[0].strip())) else: raise ValueError("opening and closing arguments must be strings if no content expression is given") ret = Forward() if ignoreExpr is not None: ret << Group( Suppress(opener) + ZeroOrMore( ignoreExpr | ret | content ) + Suppress(closer) ) else: ret << Group( Suppress(opener) + ZeroOrMore( ret | content ) + Suppress(closer) ) return ret def indentedBlock(blockStatementExpr, indentStack, indent=True): """Helper method for defining space-delimited indentation blocks, such as those used to define block statements in Python source code. Parameters: - blockStatementExpr - expression defining syntax of statement that is repeated within the indented block - indentStack - list created by caller to manage indentation stack (multiple statementWithIndentedBlock expressions within a single grammar should share a common indentStack) - indent - boolean indicating whether block must be indented beyond the the current level; set to False for block of left-most statements (default=True) A valid block must contain at least one C{blockStatement}. """ def checkPeerIndent(s,l,t): if l >= len(s): return curCol = col(l,s) if curCol != indentStack[-1]: if curCol > indentStack[-1]: raise ParseFatalException(s,l,"illegal nesting") raise ParseException(s,l,"not a peer entry") def checkSubIndent(s,l,t): curCol = col(l,s) if curCol > indentStack[-1]: indentStack.append( curCol ) else: raise ParseException(s,l,"not a subentry") def checkUnindent(s,l,t): if l >= len(s): return curCol = col(l,s) if not(indentStack and curCol < indentStack[-1] and curCol <= indentStack[-2]): raise ParseException(s,l,"not an unindent") indentStack.pop() NL = OneOrMore(LineEnd().setWhitespaceChars("\t ").suppress()) INDENT = Empty() + Empty().setParseAction(checkSubIndent) PEER = Empty().setParseAction(checkPeerIndent) UNDENT = Empty().setParseAction(checkUnindent) if indent: smExpr = Group( Optional(NL) + #~ FollowedBy(blockStatementExpr) + INDENT + (OneOrMore( PEER + Group(blockStatementExpr) + Optional(NL) )) + UNDENT) else: smExpr = Group( Optional(NL) + (OneOrMore( PEER + Group(blockStatementExpr) + Optional(NL) )) ) blockStatementExpr.ignore(_bslash + LineEnd()) return smExpr alphas8bit = srange(r"[\0xc0-\0xd6\0xd8-\0xf6\0xf8-\0xff]") punc8bit = srange(r"[\0xa1-\0xbf\0xd7\0xf7]") anyOpenTag,anyCloseTag = makeHTMLTags(Word(alphas,alphanums+"_:")) commonHTMLEntity = Combine(_L("&") + oneOf("gt lt amp nbsp quot").setResultsName("entity") +";").streamline() _htmlEntityMap = dict(zip("gt lt amp nbsp quot".split(),'><& "')) replaceHTMLEntity = lambda t : t.entity in _htmlEntityMap and _htmlEntityMap[t.entity] or None # it's easy to get these comment structures wrong - they're very common, so may as well make them available cStyleComment = Regex(r"/\*(?:[^*]*\*+)+?/").setName("C style comment") htmlComment = Regex(r"") restOfLine = Regex(r".*").leaveWhitespace() dblSlashComment = Regex(r"\/\/(\\\n|.)*").setName("// comment") cppStyleComment = Regex(r"/(?:\*(?:[^*]*\*+)+?/|/[^\n]*(?:\n[^\n]*)*?(?:(?" + str(tokenlist)) print ("tokens = " + str(tokens)) print ("tokens.columns = " + str(tokens.columns)) print ("tokens.tables = " + str(tokens.tables)) print (tokens.asXML("SQL",True)) except ParseBaseException as err: print (teststring + "->") print (err.line) print (" "*(err.column-1) + "^") print (err) print() selectToken = CaselessLiteral( "select" ) fromToken = CaselessLiteral( "from" ) ident = Word( alphas, alphanums + "_$" ) columnName = delimitedList( ident, ".", combine=True ).setParseAction( upcaseTokens ) columnNameList = Group( delimitedList( columnName ) )#.setName("columns") tableName = delimitedList( ident, ".", combine=True ).setParseAction( upcaseTokens ) tableNameList = Group( delimitedList( tableName ) )#.setName("tables") simpleSQL = ( selectToken + \ ( '*' | columnNameList ).setResultsName( "columns" ) + \ fromToken + \ tableNameList.setResultsName( "tables" ) ) test( "SELECT * from XYZZY, ABC" ) test( "select * from SYS.XYZZY" ) test( "Select A from Sys.dual" ) test( "Select AA,BB,CC from Sys.dual" ) test( "Select A, B, C from Sys.dual" ) test( "Select A, B, C from Sys.dual" ) test( "Xelect A, B, C from Sys.dual" ) test( "Select A, B, C frox Sys.dual" ) test( "Select" ) test( "Select ^^^ frox Sys.dual" ) test( "Select A, B, C from Sys.dual, Table2 " ) pyparsing-2.0.1/setup.py0000644000175000017500000000245012171421406013741 0ustar zigozigo#!/usr/bin/env python """Setup script for the pyparsing module distribution.""" from distutils.core import setup import sys import os from pyparsing import __version__ as pyparsing_version modules = ["pyparsing",] setup(# Distribution meta-data name = "pyparsing", version = pyparsing_version, description = "Python parsing module", author = "Paul McGuire", author_email = "ptmcg@users.sourceforge.net", url = "http://pyparsing.wikispaces.com/", download_url = "http://sourceforge.net/project/showfiles.php?group_id=97203", license = "MIT License", py_modules = modules, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Intended Audience :: Information Technology', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.0', 'Programming Language :: Python :: 3.1', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', ] ) pyparsing-2.0.1/LICENSE0000644000175000017500000000202110704710234013226 0ustar zigozigoPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. pyparsing-2.0.1/examples/0000755000175000017500000000000012171444756014061 5ustar zigozigopyparsing-2.0.1/examples/sql2dot.py0000644000175000017500000000573112053614274016022 0ustar zigozigo#!/usr/bin/python # sql2dot.py # # Creates table graphics by parsing SQL table DML commands and # generating DOT language output. # # Adapted from a post at http://energyblog.blogspot.com/2006/04/blog-post_20.html. # sampleSQL = """ create table student ( student_id integer primary key, firstname varchar(20), lastname varchar(40), address1 varchar(80), address2 varchar(80), city varchar(30), state varchar(2), zipcode varchar(10), dob date ); create table classes ( class_id integer primary key, id varchar(8), maxsize integer, instructor varchar(40) ); create table student_registrations ( reg_id integer primary key, student_id integer, class_id integer ); alter table only student_registrations add constraint students_link foreign key (student_id) references students(student_id); alter table only student_registrations add constraint classes_link foreign key (class_id) references classes(class_id); """.upper() from pyparsing import Literal, CaselessLiteral, Word, delimitedList \ ,Optional, Combine, Group, alphas, nums, alphanums, Forward \ , oneOf, sglQuotedString, OneOrMore, ZeroOrMore, CharsNotIn \ , replaceWith skobki = "(" + ZeroOrMore(CharsNotIn(")")) + ")" field_def = OneOrMore(Word(alphas,alphanums+"_\"':-") | skobki) def field_act(s,loc,tok): return ("<"+tok[0]+"> " + " ".join(tok)).replace("\"","\\\"") field_def.setParseAction(field_act) field_list_def = delimitedList( field_def ) def field_list_act(toks): return " | ".join(toks) field_list_def.setParseAction(field_list_act) create_table_def = Literal("CREATE") + "TABLE" + Word(alphas,alphanums+"_").setResultsName("tablename") + \ "("+field_list_def.setResultsName("columns")+")"+ ";" def create_table_act(toks): return """"%(tablename)s" [\n\t label="<%(tablename)s> %(tablename)s | %(columns)s"\n\t shape="record"\n];""" % toks create_table_def.setParseAction(create_table_act) add_fkey_def=Literal("ALTER")+"TABLE"+"ONLY" + Word(alphanums+"_").setResultsName("fromtable") + "ADD" \ + "CONSTRAINT" + Word(alphanums+"_") + "FOREIGN"+"KEY"+"("+Word(alphanums+"_").setResultsName("fromcolumn")+")" \ +"REFERENCES"+Word(alphanums+"_").setResultsName("totable")+"("+Word(alphanums+"_").setResultsName("tocolumn")+")"+";" def add_fkey_act(toks): return """ "%(fromtable)s":%(fromcolumn)s -> "%(totable)s":%(tocolumn)s """ % toks add_fkey_def.setParseAction(add_fkey_act) other_statement_def = ( OneOrMore(CharsNotIn(";") ) + ";") other_statement_def.setParseAction( replaceWith("") ) comment_def = "--" + ZeroOrMore(CharsNotIn("\n")) comment_def.setParseAction( replaceWith("") ) statement_def = comment_def | create_table_def | add_fkey_def | other_statement_def defs = OneOrMore(statement_def) print("""digraph g { graph [ rankdir = "LR" ]; """) for i in defs.parseString(sampleSQL): if i!="": print(i) print("}")pyparsing-2.0.1/examples/removeLineBreaks.py0000644000175000017500000000276412053614273017671 0ustar zigozigo# removeLineBreaks.py # # Demonstration of the pyparsing module, converting text files # with hard line-breaks to text files with line breaks only # between paragraphs. (Helps when converting downloads from Project # Gutenberg - http://www.gutenberg.org - to import to word processing apps # that can reformat paragraphs once hard line-breaks are removed.) # # Uses parse actions and transformString to remove unwanted line breaks, # and to double up line breaks between paragraphs. # # Copyright 2006, by Paul McGuire # from pyparsing import * # define an expression for the body of a line of text - use a parse action to reject any # empty lines def mustBeNonBlank(s,l,t): if not t[0]: raise ParseException(s,l,"line body can't be empty") lineBody = SkipTo(lineEnd).setParseAction(mustBeNonBlank) # now define a line with a trailing lineEnd, to be replaced with a space character textLine = lineBody + Suppress(lineEnd).setParseAction(replaceWith(" ")) # define a paragraph, with a separating lineEnd, to be replaced with a double newline para = OneOrMore(textLine) + Suppress(lineEnd).setParseAction(replaceWith("\n\n")) # run a test test = """ Now is the time for all good men to come to the aid of their country. """ print(para.transformString(test)) # process an entire file z = para.transformString(file("Successful Methods of Public Speaking.txt").read()) file("Successful Methods of Public Speaking(2).txt","w").write(z) pyparsing-2.0.1/examples/eval_arith.py0000644000175000017500000001567612053614270016555 0ustar zigozigo# eval_arith.py # # Copyright 2009, 2011 Paul McGuire # # Expansion on the pyparsing example simpleArith.py, to include evaluation # of the parsed tokens. # # Added support for exponentiation, using right-to-left evaluation of # operands # from pyparsing import Word, nums, alphas, Combine, oneOf, \ opAssoc, operatorPrecedence, Literal class EvalConstant(object): "Class to evaluate a parsed constant or variable" vars_ = {} def __init__(self, tokens): self.value = tokens[0] def eval(self): if self.value in EvalConstant.vars_: return EvalConstant.vars_[self.value] else: return float(self.value) class EvalSignOp(object): "Class to evaluate expressions with a leading + or - sign" def __init__(self, tokens): self.sign, self.value = tokens[0] def eval(self): mult = {'+':1, '-':-1}[self.sign] return mult * self.value.eval() def operatorOperands(tokenlist): "generator to extract operators and operands in pairs" it = iter(tokenlist) while 1: try: yield (next(it), next(it)) except StopIteration: break class EvalPowerOp(object): "Class to evaluate multiplication and division expressions" def __init__(self, tokens): self.value = tokens[0] def eval(self): res = self.value[-1].eval() for val in self.value[-3::-2]: res = val.eval()**res return res class EvalMultOp(object): "Class to evaluate multiplication and division expressions" def __init__(self, tokens): self.value = tokens[0] def eval(self): prod = self.value[0].eval() for op,val in operatorOperands(self.value[1:]): if op == '*': prod *= val.eval() if op == '/': prod /= val.eval() return prod class EvalAddOp(object): "Class to evaluate addition and subtraction expressions" def __init__(self, tokens): self.value = tokens[0] def eval(self): sum = self.value[0].eval() for op,val in operatorOperands(self.value[1:]): if op == '+': sum += val.eval() if op == '-': sum -= val.eval() return sum class EvalComparisonOp(object): "Class to evaluate comparison expressions" opMap = { "<" : lambda a,b : a < b, "<=" : lambda a,b : a <= b, ">" : lambda a,b : a > b, ">=" : lambda a,b : a >= b, "!=" : lambda a,b : a != b, "=" : lambda a,b : a == b, "LT" : lambda a,b : a < b, "LE" : lambda a,b : a <= b, "GT" : lambda a,b : a > b, "GE" : lambda a,b : a >= b, "NE" : lambda a,b : a != b, "EQ" : lambda a,b : a == b, "<>" : lambda a,b : a != b, } def __init__(self, tokens): self.value = tokens[0] def eval(self): val1 = self.value[0].eval() for op,val in operatorOperands(self.value[1:]): fn = EvalComparisonOp.opMap[op] val2 = val.eval() if not fn(val1,val2): break val1 = val2 else: return True return False # define the parser integer = Word(nums) real = Combine(Word(nums) + "." + Word(nums)) variable = Word(alphas,exact=1) operand = real | integer | variable signop = oneOf('+ -') multop = oneOf('* /') plusop = oneOf('+ -') expop = Literal('**') # use parse actions to attach EvalXXX constructors to sub-expressions operand.setParseAction(EvalConstant) arith_expr = operatorPrecedence(operand, [ (signop, 1, opAssoc.RIGHT, EvalSignOp), (expop, 2, opAssoc.LEFT, EvalPowerOp), (multop, 2, opAssoc.LEFT, EvalMultOp), (plusop, 2, opAssoc.LEFT, EvalAddOp), ]) comparisonop = oneOf("< <= > >= != = <> LT GT LE GE EQ NE") comp_expr = operatorPrecedence(arith_expr, [ (comparisonop, 2, opAssoc.LEFT, EvalComparisonOp), ]) def main(): # sample expressions posted on comp.lang.python, asking for advice # in safely evaluating them rules=[ '( A - B ) = 0', '(A + B + C + D + E + F + G + H + I) = J', '(A + B + C + D + E + F + G + H) = I', '(A + B + C + D + E + F) = G', '(A + B + C + D + E) = (F + G + H + I + J)', '(A + B + C + D + E) = (F + G + H + I)', '(A + B + C + D + E) = F', '(A + B + C + D) = (E + F + G + H)', '(A + B + C) = (D + E + F)', '(A + B) = (C + D + E + F)', '(A + B) = (C + D)', '(A + B) = (C - D + E - F - G + H + I + J)', '(A + B) = C', '(A + B) = 0', '(A+B+C+D+E) = (F+G+H+I+J)', '(A+B+C+D) = (E+F+G+H)', '(A+B+C+D)=(E+F+G+H)', '(A+B+C)=(D+E+F)', '(A+B)=(C+D)', '(A+B)=C', '(A-B)=C', '(A/(B+C))', '(B/(C+D))', '(G + H) = I', '-0.99 LE ((A+B+C)-(D+E+F+G)) LE 0.99', '-0.99 LE (A-(B+C)) LE 0.99', '-1000.00 LE A LE 0.00', '-5000.00 LE A LE 0.00', 'A < B', 'A < 7000', 'A = -(B)', 'A = C', 'A = 0', 'A GT 0', 'A GT 0.00', 'A GT 7.00', 'A LE B', 'A LT -1000.00', 'A LT -5000', 'A LT 0', 'A=(B+C+D)', 'A=B', 'I = (G + H)', '0.00 LE A LE 4.00', '4.00 LT A LE 7.00', '0.00 LE A LE 4.00 LE E > D', '2**2**(A+3)', ] vars_={'A': 0, 'B': 1.1, 'C': 2.2, 'D': 3.3, 'E': 4.4, 'F': 5.5, 'G': 6.6, 'H':7.7, 'I':8.8, 'J':9.9} # define tests from given rules tests = [] for t in rules: t_orig = t t = t.replace("=","==") t = t.replace("EQ","==") t = t.replace("LE","<=") t = t.replace("GT",">") t = t.replace("LT","<") t = t.replace("GE",">=") t = t.replace("LE","<=") t = t.replace("NE","!=") t = t.replace("<>","!=") tests.append( (t_orig,eval(t,vars_)) ) # copy vars_ to EvalConstant lookup dict EvalConstant.vars_ = vars_ failed = 0 for test,expected in tests: ret = comp_expr.parseString(test)[0] parsedvalue = ret.eval() print(test, expected, parsedvalue, end=' ') if parsedvalue != expected: print("<<< FAIL") failed += 1 else: print() print() if failed: print(failed, "tests FAILED") else: print("all tests PASSED") if __name__=='__main__': main() pyparsing-2.0.1/examples/simpleArith.py0000644000175000017500000000442312053614274016710 0ustar zigozigo# # simpleArith.py # # Example of defining an arithmetic expression parser using # the operatorPrecedence helper method in pyparsing. # # Copyright 2006, by Paul McGuire # from pyparsing import * integer = Word(nums).setParseAction(lambda t:int(t[0])) variable = Word(alphas,exact=1) operand = integer | variable expop = Literal('^') signop = oneOf('+ -') multop = oneOf('* /') plusop = oneOf('+ -') factop = Literal('!') # To use the operatorPrecedence helper: # 1. Define the "atom" operand term of the grammar. # For this simple grammar, the smallest operand is either # and integer or a variable. This will be the first argument # to the operatorPrecedence method. # 2. Define a list of tuples for each level of operator # precendence. Each tuple is of the form # (opExpr, numTerms, rightLeftAssoc, parseAction), where # - opExpr is the pyparsing expression for the operator; # may also be a string, which will be converted to a Literal # - numTerms is the number of terms for this operator (must # be 1 or 2) # - rightLeftAssoc is the indicator whether the operator is # right or left associative, using the pyparsing-defined # constants opAssoc.RIGHT and opAssoc.LEFT. # - parseAction is the parse action to be associated with # expressions matching this operator expression (the # parse action tuple member may be omitted) # 3. Call operatorPrecedence passing the operand expression and # the operator precedence list, and save the returned value # as the generated pyparsing expression. You can then use # this expression to parse input strings, or incorporate it # into a larger, more complex grammar. # expr = operatorPrecedence( operand, [("!", 1, opAssoc.LEFT), ("^", 2, opAssoc.RIGHT), (signop, 1, opAssoc.RIGHT), (multop, 2, opAssoc.LEFT), (plusop, 2, opAssoc.LEFT),] ) test = ["9 + 2 + 3", "9 + 2 * 3", "(9 + 2) * 3", "(9 + -2) * 3", "(9 + -2) * 3^2^2", "(9! + -2) * 3^2^2", "M*X + B", "M*(X + B)", "1+2*-3^4*5+-+-6",] for t in test: print(t) print(expr.parseString(t)) print() pyparsing-2.0.1/examples/SimpleCalc.py0000644000175000017500000000605312053614266016445 0ustar zigozigo# SimpleCalc.py # # Demonstration of the parsing module, # Sample usage # # $ python SimpleCalc.py # Type in the string to be parse or 'quit' to exit the program # > g=67.89 + 7/5 # 69.29 # > g # 69.29 # > h=(6*g+8.8)-g # 355.25 # > h + 1 # 356.25 # > 87.89 + 7/5 # 89.29 # > ans+10 # 99.29 # > quit # Good bye! # # # Uncomment the line below for readline support on interactive terminal # import readline from pyparsing import ParseException, Word, alphas, alphanums import math # Debugging flag can be set to either "debug_flag=True" or "debug_flag=False" debug_flag=False variables = {} from fourFn import BNF, exprStack, fn, opn def evaluateStack( s ): op = s.pop() if op == 'unary -': return -evaluateStack( s ) if op in "+-*/^": op2 = evaluateStack( s ) op1 = evaluateStack( s ) return opn[op]( op1, op2 ) elif op == "PI": return math.pi # 3.1415926535 elif op == "E": return math.e # 2.718281828 elif op in fn: return fn[op]( evaluateStack( s ) ) elif op[0].isalpha(): if op in variables: return variables[op] raise Exception("invalid identifier '%s'" % op) else: return float( op ) arithExpr = BNF() ident = Word(alphas, alphanums).setName("identifier") assignment = ident("varname") + '=' + arithExpr pattern = assignment | arithExpr if __name__ == '__main__': # input_string input_string='' # Display instructions on how to quit the program print("Type in the string to be parsed or 'quit' to exit the program") input_string = input("> ") while input_string != 'quit': if input_string.lower() == 'debug': debug_flag=True input_string = input("> ") continue # Reset to an empty exprStack del exprStack[:] if input_string != '': # try parsing the input string try: L=pattern.parseString( input_string, parseAll=True ) except ParseException as err: L=['Parse Failure',input_string] # show result of parsing the input string if debug_flag: print(input_string, "->", L) if len(L)==0 or L[0] != 'Parse Failure': if debug_flag: print("exprStack=", exprStack) # calculate result , store a copy in ans , display the result to user try: result=evaluateStack(exprStack) except Exception as e: print(str(e)) else: variables['ans']=result print(result) # Assign result to a variable if required if L.varname: variables[L.varname] = result if debug_flag: print("variables=",variables) else: print('Parse Failure') print(err.line) print(" "*(err.column-1) + "^") print(err) # obtain new input string input_string = input("> ") # if user type 'quit' then say goodbye print("Good bye!") pyparsing-2.0.1/examples/dictExample.py0000644000175000017500000000311412053614267016664 0ustar zigozigo# # dictExample.py # # Illustration of using pyparsing's Dict class to process tabular data # # Copyright (c) 2003, Paul McGuire # from pyparsing import Literal, Word, Group, Dict, ZeroOrMore, alphas, nums, delimitedList import pprint testData = """ +-------+------+------+------+------+------+------+------+------+ | | A1 | B1 | C1 | D1 | A2 | B2 | C2 | D2 | +=======+======+======+======+======+======+======+======+======+ | min | 7 | 43 | 7 | 15 | 82 | 98 | 1 | 37 | | max | 11 | 52 | 10 | 17 | 85 | 112 | 4 | 39 | | ave | 9 | 47 | 8 | 16 | 84 | 106 | 3 | 38 | | sdev | 1 | 3 | 1 | 1 | 1 | 3 | 1 | 1 | +-------+------+------+------+------+------+------+------+------+ """ # define grammar for datatable heading = (Literal( "+-------+------+------+------+------+------+------+------+------+") + "| | A1 | B1 | C1 | D1 | A2 | B2 | C2 | D2 |" + "+=======+======+======+======+======+======+======+======+======+").suppress() vert = Literal("|").suppress() number = Word(nums) rowData = Group( vert + Word(alphas) + vert + delimitedList(number,"|") + vert ) trailing = Literal( "+-------+------+------+------+------+------+------+------+------+").suppress() datatable = heading + Dict( ZeroOrMore(rowData) ) + trailing # now parse data and print results data = datatable.parseString(testData) print(data) pprint.pprint(data.asList()) print("data keys=", list(data.keys())) print("data['min']=", data['min']) print("data.max", data.max) pyparsing-2.0.1/examples/sparser.py0000644000175000017500000003174212053614274016112 0ustar zigozigo#!/usr/bin/env python """ NAME: sparser.py SYNOPSIS: sparser.py [options] filename DESCRIPTION: The sparser.py script is a Specified PARSER. It is unique (as far as I can tell) because it doesn't care about the delimiter(s). The user specifies what is expected, and the order, for each line of text. All of the heavy lifting is handled by pyparsing (http://pyparsing.sf.net). OPTIONS: -h,--help this message -v,--version version -d,--debug turn on debug messages EXAMPLES: 1. As standalone sparser.py myfile 2. As library import sparser ... #Copyright (C) 2006 Tim Cera timcera@earthlink.net # # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the Free # Software Foundation; either version 2 of the License, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 675 Mass Ave, Cambridge, MA 02139, USA. """ #===imports====================== import sys import os import getopt import re import gzip from pyparsing import * #===globals====================== modname = "sparser" __version__ = "0.1" #--option args-- debug_p = 0 #opt_b=None #string arg, default is undefined #---positional args, default is empty--- pargs = [] #---other--- #===utilities==================== def msg(txt): """Send message to stdout.""" sys.stdout.write(txt) sys.stdout.flush() def debug(ftn, txt): """Used for debugging.""" if debug_p: sys.stdout.write("%s.%s:%s\n" % (modname, ftn, txt)) sys.stdout.flush() def fatal(ftn, txt): """If can't continue.""" msg = "%s.%s:FATAL:%s\n" % (modname, ftn, txt) raise SystemExit(msg) def usage(): """Prints the docstring.""" print(__doc__) #==================================== class ToInteger(TokenConverter): """Converter to make token into an integer.""" def postParse( self, instring, loc, tokenlist ): return int(tokenlist[0]) class ToFloat(TokenConverter): """Converter to make token into a float.""" def postParse( self, instring, loc, tokenlist ): return float(tokenlist[0]) class ParseFileLineByLine: """ Bring data from text files into a program, optionally parsing each line according to specifications in a parse definition file. ParseFileLineByLine instances can be used like normal file objects (i.e. by calling readline(), readlines(), and write()), but can also be used as sequences of lines in for-loops. ParseFileLineByLine objects also handle compression transparently. i.e. it is possible to read lines from a compressed text file as if it were not compressed. Compression is deduced from the file name suffixes '.Z' (compress/uncompress), '.gz' (gzip/gunzip), and '.bz2' (bzip2). The parse definition file name is developed based on the input file name. If the input file name is 'basename.ext', then the definition file is 'basename_def.ext'. If a definition file specific to the input file is not found, then the program searches for the file 'sparse.def' which would be the definition file for all files in that directory without a file specific definition file. Finally, ParseFileLineByLine objects accept file names that start with '~' or '~user' to indicate a home directory, as well as URLs (for reading only). Constructor: ParseFileLineByLine(|filename|, |mode|='"r"'), where |filename| is the name of the file (or a URL) and |mode| is one of '"r"' (read), '"w"' (write) or '"a"' (append, not supported for .Z files). """ def __init__(self, filename, mode = 'r'): """Opens input file, and if available the definition file. If the definition file is available __init__ will then create some pyparsing helper variables. """ if mode not in ['r', 'w', 'a']: raise IOError(0, 'Illegal mode: ' + repr(mode)) if string.find(filename, ':/') > 1: # URL if mode == 'w': raise IOError("can't write to a URL") import urllib.request, urllib.parse, urllib.error self.file = urllib.request.urlopen(filename) else: filename = os.path.expanduser(filename) if mode == 'r' or mode == 'a': if not os.path.exists(filename): raise IOError(2, 'No such file or directory: ' + filename) filen, file_extension = os.path.splitext(filename) command_dict = { ('.Z', 'r'): "self.file = os.popen('uncompress -c ' + filename, mode)", ('.gz', 'r'): "self.file = gzip.GzipFile(filename, 'rb')", ('.bz2', 'r'): "self.file = os.popen('bzip2 -dc ' + filename, mode)", ('.Z', 'w'): "self.file = os.popen('compress > ' + filename, mode)", ('.gz', 'w'): "self.file = gzip.GzipFile(filename, 'wb')", ('.bz2', 'w'): "self.file = os.popen('bzip2 > ' + filename, mode)", ('.Z', 'a'): "raise IOError, (0, 'Can\'t append to .Z files')", ('.gz', 'a'): "self.file = gzip.GzipFile(filename, 'ab')", ('.bz2', 'a'): "raise IOError, (0, 'Can\'t append to .bz2 files')", } exec(command_dict.get((file_extension, mode), 'self.file = open(filename, mode)')) self.grammar = None # Try to find a parse ('*_def.ext') definition file. First try to find # a file specific parse definition file, then look for 'sparse.def' # that would be the definition file for all files within the directory. # The definition file is pure Python. The one variable that needs to # be specified is 'parse'. The 'parse' variable is a list of tuples # defining the name, type, and because it is a list, the order of # variables on each line in the data file. The variable name is a # string, the type variable is defined as integer, real, and qString. # parse = [ # ('year', integer), # ('month', integer), # ('day', integer), # ('value', real), # ] definition_file_one = filen + "_def" + file_extension definition_file_two = os.path.dirname(filen) + os.sep + "sparse.def" if os.path.exists(definition_file_one): self.parsedef = definition_file_one elif os.path.exists(definition_file_two): self.parsedef = definition_file_two else: self.parsedef = None return None # Create some handy pyparsing constructs. I kept 'decimal_sep' so that # could easily change to parse if the decimal separator is a ",". decimal_sep = "." sign = oneOf("+ -") # part of printables without decimal_sep, +, - special_chars = string.replace('!"#$%&\'()*,./:;<=>?@[\\]^_`{|}~', decimal_sep, "") integer = ToInteger( Combine(Optional(sign) + Word(nums))).setName("integer") positive_integer = ToInteger( Combine(Optional("+") + Word(nums))).setName("integer") negative_integer = ToInteger( Combine("-" + Word(nums))).setName("integer") real = ToFloat( Combine(Optional(sign) + Word(nums) + decimal_sep + Optional(Word(nums)) + Optional(oneOf("E e") + Word(nums)))).setName("real") positive_real = ToFloat( Combine(Optional("+") + Word(nums) + decimal_sep + Optional(Word(nums)) + Optional(oneOf("E e") + Word(nums)))).setName("real") negative_real = ToFloat( Combine("-" + Word(nums) + decimal_sep + Optional(Word(nums)) + Optional(oneOf("E e") + Word(nums)))).setName("real") qString = ( sglQuotedString | dblQuotedString ).setName("qString") # add other characters we should skip over between interesting fields integer_junk = Optional( Suppress( Word(alphas + special_chars + decimal_sep))).setName("integer_junk") real_junk = Optional( Suppress( Word(alphas + special_chars))).setName("real_junk") qString_junk = SkipTo(qString).setName("qString_junk") # Now that 'integer', 'real', and 'qString' have been assigned I can # execute the definition file. exec(compile(open(self.parsedef).read(), self.parsedef, 'exec')) # Build the grammar, combination of the 'integer', 'real, 'qString', # and '*_junk' variables assigned above in the order specified in the # definition file. grammar = [] for nam, expr in parse: grammar.append( eval(expr.name + "_junk")) grammar.append( expr.setResultsName(nam) ) self.grammar = And( grammar[1:] + [restOfLine] ) def __del__(self): """Delete (close) the file wrapper.""" self.close() def __getitem__(self, item): """Used in 'for line in fp:' idiom.""" line = self.readline() if not line: raise IndexError return line def readline(self): """Reads (and optionally parses) a single line.""" line = self.file.readline() if self.grammar and line: try: return self.grammar.parseString(line).asDict() except ParseException: return self.readline() else: return line def readlines(self): """Returns a list of all lines (optionally parsed) in the file.""" if self.grammar: tot = [] # Used this way instead of a 'for' loop against # self.file.readlines() so that there wasn't two copies of the file # in memory. while 1: line = self.file.readline() if not line: break tot.append(line) return tot return self.file.readlines() def write(self, data): """Write to a file.""" self.file.write(data) def writelines(self, list): """Write a list to a file. Each item in the list is a line in the file. """ for line in list: self.file.write(line) def close(self): """Close the file.""" self.file.close() def flush(self): """Flush in memory contents to file.""" self.file.flush() #============================= def main(pargs): """This should only be used for testing. The primary mode of operation is as an imported library. """ input_file = sys.argv[1] fp = ParseFileLineByLine(input_file) for i in fp: print(i) #------------------------- if __name__ == '__main__': ftn = "main" opts, pargs = getopt.getopt(sys.argv[1:], 'hvd', ['help', 'version', 'debug', 'bb=']) for opt in opts: if opt[0] == '-h' or opt[0] == '--help': print(modname+": version="+__version__) usage() sys.exit(0) elif opt[0] == '-v' or opt[0] == '--version': print(modname+": version="+__version__) sys.exit(0) elif opt[0] == '-d' or opt[0] == '--debug': debug_p = 1 elif opt[0] == '--bb': opt_b = opt[1] #---make the object and run it--- main(pargs) #===Revision Log=== #Created by mkpythonproj: #2006-02-06 Tim Cera # pyparsing-2.0.1/examples/romanNumerals.py0000644000175000017500000000447612053614273017261 0ustar zigozigo# romanNumerals.py # # Copyright (c) 2006, Paul McGuire # from pyparsing import * def romanNumeralLiteral(numeralString, value): return Literal(numeralString).setParseAction(replaceWith(value)) one = romanNumeralLiteral("I",1) four = romanNumeralLiteral("IV",4) five = romanNumeralLiteral("V",5) nine = romanNumeralLiteral("IX",9) ten = romanNumeralLiteral("X",10) forty = romanNumeralLiteral("XL",40) fifty = romanNumeralLiteral("L",50) ninety = romanNumeralLiteral("XC",90) onehundred = romanNumeralLiteral("C",100) fourhundred = romanNumeralLiteral("CD",400) fivehundred = romanNumeralLiteral("D",500) ninehundred = romanNumeralLiteral("CM",900) onethousand = romanNumeralLiteral("M",1000) numeral = ( onethousand | ninehundred | fivehundred | fourhundred | onehundred | ninety | fifty | forty | ten | nine | five | four | one ).leaveWhitespace() romanNumeral = OneOrMore(numeral).setParseAction( lambda s,l,t : sum(t) ) # unit tests def makeRomanNumeral(n): def addDigit(n,limit,c,s): if n >= limit: n -= limit s += c return n,s ret = "" while n >= 1000: n,ret = addDigit(n,1000,"M",ret) while n >= 900: n,ret = addDigit(n, 900,"CM",ret) while n >= 500: n,ret = addDigit(n, 500,"D",ret) while n >= 400: n,ret = addDigit(n, 400,"CD",ret) while n >= 100: n,ret = addDigit(n, 100,"C",ret) while n >= 90: n,ret = addDigit(n, 90,"XC",ret) while n >= 50: n,ret = addDigit(n, 50,"L",ret) while n >= 40: n,ret = addDigit(n, 40,"XL",ret) while n >= 10: n,ret = addDigit(n, 10,"X",ret) while n >= 9: n,ret = addDigit(n, 9,"IX",ret) while n >= 5: n,ret = addDigit(n, 5,"V",ret) while n >= 4: n,ret = addDigit(n, 4,"IV",ret) while n >= 1: n,ret = addDigit(n, 1,"I",ret) return ret tests = " ".join([makeRomanNumeral(i) for i in range(1,5000+1)]) expected = 1 for t,s,e in romanNumeral.scanString(tests): if t[0] != expected: print("==>", end=' ') print(t,tests[s:e]) expected += 1 print() def test(rn): print(rn,romanNumeral.parseString(rn)) test("XVI") test("XXXIX") test("XIV") test("XIX") test("MCMLXXX") test("MMVI") pyparsing-2.0.1/examples/idlParse.py0000644000175000017500000001762212053614270016173 0ustar zigozigo# # idlparse.py # # an example of using the parsing module to be able to process a subset of the CORBA IDL grammar # # Copyright (c) 2003, Paul McGuire # from pyparsing import Literal, CaselessLiteral, Word, Upcase, OneOrMore, ZeroOrMore, \ Forward, NotAny, delimitedList, oneOf, Group, Optional, Combine, alphas, nums, restOfLine, cStyleComment, \ alphanums, printables, empty, quotedString, ParseException, ParseResults, Keyword, Regex import pprint #~ import tree2image bnf = None def CORBA_IDL_BNF(): global bnf if not bnf: # punctuation colon = Literal(":") lbrace = Literal("{") rbrace = Literal("}") lbrack = Literal("[") rbrack = Literal("]") lparen = Literal("(") rparen = Literal(")") equals = Literal("=") comma = Literal(",") dot = Literal(".") slash = Literal("/") bslash = Literal("\\") star = Literal("*") semi = Literal(";") langle = Literal("<") rangle = Literal(">") # keywords any_ = Keyword("any") attribute_ = Keyword("attribute") boolean_ = Keyword("boolean") case_ = Keyword("case") char_ = Keyword("char") const_ = Keyword("const") context_ = Keyword("context") default_ = Keyword("default") double_ = Keyword("double") enum_ = Keyword("enum") exception_ = Keyword("exception") false_ = Keyword("FALSE") fixed_ = Keyword("fixed") float_ = Keyword("float") inout_ = Keyword("inout") interface_ = Keyword("interface") in_ = Keyword("in") long_ = Keyword("long") module_ = Keyword("module") object_ = Keyword("Object") octet_ = Keyword("octet") oneway_ = Keyword("oneway") out_ = Keyword("out") raises_ = Keyword("raises") readonly_ = Keyword("readonly") sequence_ = Keyword("sequence") short_ = Keyword("short") string_ = Keyword("string") struct_ = Keyword("struct") switch_ = Keyword("switch") true_ = Keyword("TRUE") typedef_ = Keyword("typedef") unsigned_ = Keyword("unsigned") union_ = Keyword("union") void_ = Keyword("void") wchar_ = Keyword("wchar") wstring_ = Keyword("wstring") identifier = Word( alphas, alphanums + "_" ).setName("identifier") #~ real = Combine( Word(nums+"+-", nums) + dot + Optional( Word(nums) ) #~ + Optional( CaselessLiteral("E") + Word(nums+"+-",nums) ) ) real = Regex(r"[+-]?\d+\.\d*([Ee][+-]?\d+)?").setName("real") #~ integer = ( Combine( CaselessLiteral("0x") + Word( nums+"abcdefABCDEF" ) ) | #~ Word( nums+"+-", nums ) ).setName("int") integer = Regex(r"0x[0-9a-fA-F]+|[+-]?\d+").setName("int") udTypeName = delimitedList( identifier, "::", combine=True ).setName("udType") # have to use longest match for type, in case a user-defined type name starts with a keyword type, like "stringSeq" or "longArray" typeName = ( any_ ^ boolean_ ^ char_ ^ double_ ^ fixed_ ^ float_ ^ long_ ^ octet_ ^ short_ ^ string_ ^ wchar_ ^ wstring_ ^ udTypeName ).setName("type") sequenceDef = Forward().setName("seq") sequenceDef << Group( sequence_ + langle + ( sequenceDef | typeName ) + rangle ) typeDef = sequenceDef | ( typeName + Optional( lbrack + integer + rbrack ) ) typedefDef = Group( typedef_ + typeDef + identifier + semi ).setName("typedef") moduleDef = Forward() constDef = Group( const_ + typeDef + identifier + equals + ( real | integer | quotedString ) + semi ) #| quotedString ) exceptionItem = Group( typeDef + identifier + semi ) exceptionDef = ( exception_ + identifier + lbrace + ZeroOrMore( exceptionItem ) + rbrace + semi ) attributeDef = Optional( readonly_ ) + attribute_ + typeDef + identifier + semi paramlist = delimitedList( Group( ( inout_ | in_ | out_ ) + typeName + identifier ) ).setName( "paramlist" ) operationDef = ( ( void_ ^ typeDef ) + identifier + lparen + Optional( paramlist ) + rparen + \ Optional( raises_ + lparen + Group( delimitedList( typeName ) ) + rparen ) + semi ) interfaceItem = ( constDef | exceptionDef | attributeDef | operationDef ) interfaceDef = Group( interface_ + identifier + Optional( colon + delimitedList( typeName ) ) + lbrace + \ ZeroOrMore( interfaceItem ) + rbrace + semi ).setName("opnDef") moduleItem = ( interfaceDef | exceptionDef | constDef | typedefDef | moduleDef ) moduleDef << module_ + identifier + lbrace + ZeroOrMore( moduleItem ) + rbrace + semi bnf = ( moduleDef | OneOrMore( moduleItem ) ) singleLineComment = "//" + restOfLine bnf.ignore( singleLineComment ) bnf.ignore( cStyleComment ) return bnf testnum = 1 def test( strng ): global testnum print(strng) try: bnf = CORBA_IDL_BNF() tokens = bnf.parseString( strng ) print("tokens = ") pprint.pprint( tokens.asList() ) imgname = "idlParse%02d.bmp" % testnum testnum += 1 #~ tree2image.str2image( str(tokens.asList()), imgname ) except ParseException as err: print(err.line) print(" "*(err.column-1) + "^") print(err) print() if __name__ == "__main__": test( """ /* * a block comment * */ typedef string[10] tenStrings; typedef sequence stringSeq; typedef sequence< sequence > stringSeqSeq; interface QoSAdmin { stringSeq method1( in string arg1, inout long arg2 ); stringSeqSeq method2( in string arg1, inout long arg2, inout long arg3); string method3(); }; """ ) test( """ /* * a block comment * */ typedef string[10] tenStrings; typedef /** ** *** **** * * a block comment * */ sequence /*comment inside an And */ stringSeq; /* */ /**/ /***/ /****/ typedef sequence< sequence > stringSeqSeq; interface QoSAdmin { stringSeq method1( in string arg1, inout long arg2 ); stringSeqSeq method2( in string arg1, inout long arg2, inout long arg3); string method3(); }; """ ) test( r""" const string test="Test String\n"; const long a = 0; const long b = -100; const float c = 3.14159; const long d = 0x007f7f7f; exception TestException { string msg; sequence dataStrings; }; interface TestInterface { void method1( in string arg1, inout long arg2 ); }; """ ) test( """ module Test1 { exception TestException { string msg; ]; interface TestInterface { void method1( in string arg1, inout long arg2 ) raises ( TestException ); }; }; """ ) test( """ module Test1 { exception TestException { string msg; }; }; """ ) pyparsing-2.0.1/examples/tagCapture.py0000644000175000017500000000200312053614275016517 0ustar zigozigo# # tagCapture.py # # Simple demo showing how to match HTML tags # from pyparsing import * src = "this is test bold text normal text " def matchingCloseTag(other): ret = Forward() ret << anyCloseTag.copy() def setupMatchingClose(tokens): opentag = tokens[0] def mustMatch(tokens): if tokens[0][0].strip('<>/') != opentag: raise ParseException("",0,"") ret.setParseAction(mustMatch) other.addParseAction(setupMatchingClose) return ret for m in originalTextFor(anyOpenTag + SkipTo(matchingCloseTag(anyOpenTag), include=True, failOn=anyOpenTag) ).searchString(src): print(m.dump()) for m in originalTextFor(anyOpenTag + SkipTo(matchingCloseTag(anyOpenTag), include=True) ).searchString(src): print(m.dump()) pyparsing-2.0.1/examples/builtin_parse_action_demo.py0000644000175000017500000000156512053614267021636 0ustar zigozigo# # builtin_parse_action_demo.py # Copyright, 2012 - Paul McGuire # # Simple example of using builtin functions as parse actions. # from pyparsing import * integer = Word(nums).setParseAction(lambda t : int(t[0])) # make an expression that will match a list of ints (which # will be converted to actual ints by the parse action attached # to integer) nums = OneOrMore(integer) test = "2 54 34 2 211 66 43 2 0" print(test) # try each of these builtins as parse actions for fn in (sum, max, min, len, sorted, reversed, list, tuple, set, any, all): fn_name = fn.__name__ if fn is reversed: # reversed returns an iterator, we really want to show the list of items fn = lambda x : list(reversed(x)) # show how each builtin works as a free-standing parse action print(fn_name, nums.setParseAction(fn).parseString(test)) pyparsing-2.0.1/examples/TAP.py0000644000175000017500000001645312053633261015056 0ustar zigozigo# # TAP.py - TAP parser # # A pyparsing parser to process the output of the Perl # "Test Anything Protocol" # (http://search.cpan.org/~petdance/TAP-1.00/TAP.pm) # # TAP output lines are preceded or followed by a test number range: # 1..n # with 'n' TAP output lines. # # The general format of a TAP output line is: # ok/not ok (required) # Test number (recommended) # Description (recommended) # Directive (only when necessary) # # A TAP output line may also indicate abort of the test suit with the line: # Bail out! # optionally followed by a reason for bailing # # Copyright 2008, by Paul McGuire # from pyparsing import ParserElement,LineEnd,Optional,Word,nums,Regex,\ Literal,CaselessLiteral,Group,OneOrMore,Suppress,restOfLine,\ FollowedBy,empty __all__ = ['tapOutputParser', 'TAPTest', 'TAPSummary'] # newlines are significant whitespace, so set default skippable # whitespace to just spaces and tabs ParserElement.setDefaultWhitespaceChars(" \t") NL = LineEnd().suppress() integer = Word(nums) plan = '1..' + integer("ubound") OK,NOT_OK = map(Literal,['ok','not ok']) testStatus = (OK | NOT_OK) description = Regex("[^#\n]+") description.setParseAction(lambda t:t[0].lstrip('- ')) TODO,SKIP = map(CaselessLiteral,'TODO SKIP'.split()) directive = Group(Suppress('#') + (TODO + restOfLine | FollowedBy(SKIP) + restOfLine.copy().setParseAction(lambda t:['SKIP',t[0]]) )) commentLine = Suppress("#") + empty + restOfLine testLine = Group( Optional(OneOrMore(commentLine + NL))("comments") + testStatus("passed") + Optional(integer)("testNumber") + Optional(description)("description") + Optional(directive)("directive") ) bailLine = Group(Literal("Bail out!")("BAIL") + empty + Optional(restOfLine)("reason")) tapOutputParser = Optional(Group(plan)("plan") + NL) & \ Group(OneOrMore((testLine|bailLine) + NL))("tests") class TAPTest(object): def __init__(self,results): self.num = results.testNumber self.passed = (results.passed=="ok") self.skipped = self.todo = False if results.directive: self.skipped = (results.directive[0][0]=='SKIP') self.todo = (results.directive[0][0]=='TODO') @classmethod def bailedTest(cls,num): ret = TAPTest(empty.parseString("")) ret.num = num ret.skipped = True return ret class TAPSummary(object): def __init__(self,results): self.passedTests = [] self.failedTests = [] self.skippedTests = [] self.todoTests = [] self.bonusTests = [] self.bail = False if results.plan: expected = list(range(1, int(results.plan.ubound)+1)) else: expected = list(range(1,len(results.tests)+1)) for i,res in enumerate(results.tests): # test for bail out if res.BAIL: #~ print "Test suite aborted: " + res.reason #~ self.failedTests += expected[i:] self.bail = True self.skippedTests += [ TAPTest.bailedTest(ii) for ii in expected[i:] ] self.bailReason = res.reason break #~ print res.dump() testnum = i+1 if res.testNumber != "": if testnum != int(res.testNumber): print("ERROR! test %(testNumber)s out of sequence" % res) testnum = int(res.testNumber) res["testNumber"] = testnum test = TAPTest(res) if test.passed: self.passedTests.append(test) else: self.failedTests.append(test) if test.skipped: self.skippedTests.append(test) if test.todo: self.todoTests.append(test) if test.todo and test.passed: self.bonusTests.append(test) self.passedSuite = not self.bail and (set(self.failedTests)-set(self.todoTests) == set()) def summary(self, showPassed=False, showAll=False): testListStr = lambda tl : "[" + ",".join(str(t.num) for t in tl) + "]" summaryText = [] if showPassed or showAll: summaryText.append( "PASSED: %s" % testListStr(self.passedTests) ) if self.failedTests or showAll: summaryText.append( "FAILED: %s" % testListStr(self.failedTests) ) if self.skippedTests or showAll: summaryText.append( "SKIPPED: %s" % testListStr(self.skippedTests) ) if self.todoTests or showAll: summaryText.append( "TODO: %s" % testListStr(self.todoTests) ) if self.bonusTests or showAll: summaryText.append( "BONUS: %s" % testListStr(self.bonusTests) ) if self.passedSuite: summaryText.append( "PASSED" ) else: summaryText.append( "FAILED" ) return "\n".join(summaryText) # create TAPSummary objects from tapOutput parsed results, by setting # class as parse action tapOutputParser.setParseAction(TAPSummary) if __name__ == "__main__": test1 = """\ 1..4 ok 1 - Input file opened not ok 2 - First line of the input valid ok 3 - Read the rest of the file not ok 4 - Summarized correctly # TODO Not written yet """ test2 = """\ ok 1 not ok 2 some description # TODO with a directive ok 3 a description only, no directive ok 4 # TODO directive only ok a description only, no directive ok # Skipped only a directive, no description ok """ test3 = """\ ok - created Board ok ok not ok ok ok ok ok # +------+------+------+------+ # | |16G | |05C | # | |G N C | |C C G | # | | G | | C +| # +------+------+------+------+ # |10C |01G | |03C | # |R N G |G A G | |C C C | # | R | G | | C +| # +------+------+------+------+ # | |01G |17C |00C | # | |G A G |G N R |R N R | # | | G | R | G | # +------+------+------+------+ ok - board has 7 tiles + starter tile 1..9 """ test4 = """\ 1..4 ok 1 - Creating test program ok 2 - Test program runs, no error not ok 3 - infinite loop # TODO halting problem unsolved not ok 4 - infinite loop 2 # TODO halting problem unsolved """ test5 = """\ 1..20 ok - database handle not ok - failed database login Bail out! Couldn't connect to database. """ test6 = """\ ok 1 - retrieving servers from the database # need to ping 6 servers ok 2 - pinged diamond ok 3 - pinged ruby not ok 4 - pinged sapphire ok 5 - pinged onyx not ok 6 - pinged quartz ok 7 - pinged gold 1..7 """ for test in (test1,test2,test3,test4,test5,test6): print(test) tapResult = tapOutputParser.parseString(test)[0] print(tapResult.summary(showAll=True)) print() pyparsing-2.0.1/examples/pgn.py0000644000175000017500000000665212053614272015217 0ustar zigozigo# pgn.py rel. 1.1 17-sep-2004 # # Demonstration of the parsing module, implementing a pgn parser. # # The aim of this parser is not to support database application, # but to create automagically a pgn annotated reading the log console file # of a lecture of ICC (Internet Chess Club), saved by Blitzin. # Of course you can modify the Abstract Syntax Tree to your purpose. # # Copyright 2004, by Alberto Santini http://www.albertosantini.it/chess/ # from pyparsing import alphanums, nums, quotedString from pyparsing import Combine, Forward, Group, Literal, oneOf, OneOrMore, Optional, Suppress, ZeroOrMore, White, Word from pyparsing import ParseException # # define pgn grammar # tag = Suppress("[") + Word(alphanums) + Combine(quotedString) + Suppress("]") comment = Suppress("{") + Word(alphanums + " ") + Suppress("}") dot = Literal(".") piece = oneOf("K Q B N R") file_coord = oneOf("a b c d e f g h") rank_coord = oneOf("1 2 3 4 5 6 7 8") capture = oneOf("x :") promote = Literal("=") castle_queenside = Literal("O-O-O") | Literal("0-0-0") | Literal("o-o-o") castle_kingside = Literal("O-O") | Literal("0-0") | Literal("o-o") move_number = Optional(comment) + Word(nums) + dot m1 = file_coord + rank_coord # pawn move e.g. d4 m2 = file_coord + capture + file_coord + rank_coord # pawn capture move e.g. dxe5 m3 = file_coord + "8" + promote + piece # pawn promotion e.g. e8=Q m4 = piece + file_coord + rank_coord # piece move e.g. Be6 m5 = piece + file_coord + file_coord + rank_coord # piece move e.g. Nbd2 m6 = piece + rank_coord + file_coord + rank_coord # piece move e.g. R4a7 m7 = piece + capture + file_coord + rank_coord # piece capture move e.g. Bxh7 m8 = castle_queenside | castle_kingside # castling e.g. o-o check = oneOf("+ ++") mate = Literal("#") annotation = Word("!?", max=2) nag = " $" + Word(nums) decoration = check | mate | annotation | nag variant = Forward() half_move = Combine((m3 | m1 | m2 | m4 | m5 | m6 | m7 | m8) + Optional(decoration)) \ + Optional(comment) +Optional(variant) move = Suppress(move_number) + half_move + Optional(half_move) variant << "(" + OneOrMore(move) + ")" # grouping the plies (half-moves) for each move: useful to group annotations, variants... # suggested by Paul McGuire :) move = Group(Suppress(move_number) + half_move + Optional(half_move)) variant << Group("(" + OneOrMore(move) + ")") game_terminator = oneOf("1-0 0-1 1/2-1/2 *") pgnGrammar = Suppress(ZeroOrMore(tag)) + ZeroOrMore(move) + Optional(Suppress(game_terminator)) def parsePGN( pgn, bnf=pgnGrammar, fn=None ): try: return bnf.parseString( pgn ) except ParseException as err: print(err.line) print(" "*(err.column-1) + "^") print(err) if __name__ == "__main__": # input string pgn = """ [Event "ICC 5 0 u"] [Site "Internet Chess Club"] [Date "2004.01.25"] [Round "-"] [White "guest920"] [Black "IceBox"] [Result "0-1"] [ICCResult "White checkmated"] [BlackElo "1498"] [Opening "French defense"] [ECO "C00"] [NIC "FR.01"] [Time "04:44:56"] [TimeControl "300+0"] 1. e4 e6 2. Nf3 d5 $2 3. exd5 (3. e5 g6 4. h4) exd5 4. Qe2+ Qe7 5. Qxe7+ Bxe7 6. d3 Nf6 7. Be3 Bg4 8. Nbd2 c5 9. h3 Be6 10. O-O-O Nc6 11. g4 Bd6 12. g5 Nd7 13. Rg1 d4 14. g6 fxg6 15. Bg5 Rf8 16. a3 Bd5 17. Re1+ Nde5 18. Nxe5 Nxe5 19. Bf4 Rf5 20. Bxe5 Rxe5 21. Rg5 Rxe1# {Black wins} 0-1 """ # parse input string tokens = parsePGN(pgn, pgnGrammar) print("tokens = ", tokens) pyparsing-2.0.1/examples/greetingInKorean.py0000644000175000017500000000073712053614270017662 0ustar zigozigo# vim:fileencoding=utf-8 # # greetingInKorean.py # # Demonstration of the parsing module, on the prototypical "Hello, World!" example # from pyparsing import Word, srange koreanChars = srange(r"[\0xac00-\0xd7a3]") koreanWord = Word(koreanChars,min=2) # define grammar greet = koreanWord + "," + koreanWord + "!" # input string hello = '\uc548\ub155, \uc5ec\ub7ec\ubd84!' #"Hello, World!" in Korean # parse input string print(greet.parseString( hello )) pyparsing-2.0.1/examples/greetingInGreek.py0000644000175000017500000000066212053614270017475 0ustar zigozigo# vim:fileencoding=utf-8 # # greetingInGreek.py # # Demonstration of the parsing module, on the prototypical "Hello, World!" example # from pyparsing import Word # define grammar alphas = ''.join(chr(x) for x in range(0x386, 0x3ce)) greet = Word(alphas) + ',' + Word(alphas) + '!' # input string hello = "Καλημέρα, κόσμε!".decode('utf-8') # parse input string print(greet.parseString( hello )) pyparsing-2.0.1/examples/getNTPservers.py0000644000175000017500000000211512053614270017172 0ustar zigozigo# getNTPservers.py # # Demonstration of the parsing module, implementing a HTML page scanner, # to extract a list of NTP time servers from the NIST web site. # # Copyright 2004, by Paul McGuire # from pyparsing import Word, Combine, Suppress, CharsNotIn, nums import urllib.request, urllib.parse, urllib.error integer = Word(nums) ipAddress = Combine( integer + "." + integer + "." + integer + "." + integer ) tdStart = Suppress("") tdEnd = Suppress("") timeServerPattern = tdStart + ipAddress.setResultsName("ipAddr") + tdEnd + \ tdStart + CharsNotIn("<").setResultsName("loc") + tdEnd # get list of time servers nistTimeServerURL = "http://www.boulder.nist.gov/timefreq/service/time-servers.html" serverListPage = urllib.request.urlopen( nistTimeServerURL ) serverListHTML = serverListPage.read() serverListPage.close() addrs = {} for srvr,startloc,endloc in timeServerPattern.scanString( serverListHTML ): print(srvr.ipAddr, "-", srvr.loc) addrs[srvr.ipAddr] = srvr.loc # or do this: #~ addr,loc = srvr #~ print addr, "-", loc pyparsing-2.0.1/examples/antlr_grammar.py0000644000175000017500000002475512053614266017270 0ustar zigozigo''' antlr_grammar.py Created on 4 sept. 2010 @author: luca (Minor updates by Paul McGuire, June, 2012) ''' from pyparsing import Word, ZeroOrMore, printables, Suppress, OneOrMore, Group, \ LineEnd, Optional, White, originalTextFor, hexnums, nums, Combine, Literal, Keyword, \ cStyleComment, Regex, Forward, MatchFirst, And, srange, oneOf, alphas, alphanums, \ delimitedList # http://www.antlr.org/grammar/ANTLR/ANTLRv3.g # Tokens EOL = Suppress(LineEnd()) # $ singleTextString = originalTextFor(ZeroOrMore(~EOL + (White(" \t") | Word(printables)))).leaveWhitespace() XDIGIT = hexnums INT = Word(nums) ESC = Literal('\\') + (oneOf(list(r'nrtbf\">'+"'")) | ('u' + Word(hexnums, exact=4)) | Word(printables, exact=1)) LITERAL_CHAR = ESC | ~(Literal("'") | Literal('\\')) + Word(printables, exact=1) CHAR_LITERAL = Suppress("'") + LITERAL_CHAR + Suppress("'") STRING_LITERAL = Suppress("'") + Combine(OneOrMore(LITERAL_CHAR)) + Suppress("'") DOUBLE_QUOTE_STRING_LITERAL = '"' + ZeroOrMore(LITERAL_CHAR) + '"' DOUBLE_ANGLE_STRING_LITERAL = '<<' + ZeroOrMore(Word(printables, exact=1)) + '>>' TOKEN_REF = Word(alphas.upper(), alphanums+'_') RULE_REF = Word(alphas.lower(), alphanums+'_') ACTION_ESC = (Suppress("\\") + Suppress("'")) | Suppress('\\"') | Suppress('\\') + (~(Literal("'") | Literal('"')) + Word(printables, exact=1)) ACTION_CHAR_LITERAL = Suppress("'") + (ACTION_ESC | ~(Literal('\\') | Literal("'")) + Word(printables, exact=1)) + Suppress("'") ACTION_STRING_LITERAL = Suppress('"') + ZeroOrMore(ACTION_ESC | ~(Literal('\\') | Literal('"')) + Word(printables, exact=1)) + Suppress('"') SRC = Suppress('src') + ACTION_STRING_LITERAL("file") + INT("line") id = TOKEN_REF | RULE_REF SL_COMMENT = Suppress('//') + Suppress('$ANTLR') + SRC | ZeroOrMore(~EOL + Word(printables)) + EOL ML_COMMENT = cStyleComment WS = OneOrMore(Suppress(' ') | Suppress('\t') | (Optional(Suppress('\r')) + Literal('\n'))) WS_LOOP = ZeroOrMore(SL_COMMENT | ML_COMMENT) NESTED_ARG_ACTION = Forward() NESTED_ARG_ACTION << Suppress('[') + ZeroOrMore(NESTED_ARG_ACTION | ACTION_STRING_LITERAL | ACTION_CHAR_LITERAL) + Suppress(']') ARG_ACTION = NESTED_ARG_ACTION NESTED_ACTION = Forward() NESTED_ACTION << Suppress('{') + ZeroOrMore(NESTED_ACTION | SL_COMMENT | ML_COMMENT | ACTION_STRING_LITERAL | ACTION_CHAR_LITERAL) + Suppress('}') ACTION = NESTED_ACTION + Optional('?') SCOPE = Suppress('scope') OPTIONS = Suppress('options') + Suppress('{') # + WS_LOOP + Suppress('{') TOKENS = Suppress('tokens') + Suppress('{') # + WS_LOOP + Suppress('{') FRAGMENT = 'fragment'; TREE_BEGIN = Suppress('^(') ROOT = Suppress('^') BANG = Suppress('!') RANGE = Suppress('..') REWRITE = Suppress('->') # General Parser Definitions # Grammar heading optionValue = id | STRING_LITERAL | CHAR_LITERAL | INT | Literal('*').setName("s") option = Group(id("id") + Suppress('=') + optionValue("value"))("option") optionsSpec = OPTIONS + Group(OneOrMore(option + Suppress(';')))("options") + Suppress('}') tokenSpec = Group(TOKEN_REF("token_ref") + (Suppress('=') + (STRING_LITERAL | CHAR_LITERAL)("lit")))("token") + Suppress(';') tokensSpec = TOKENS + Group(OneOrMore(tokenSpec))("tokens") + Suppress('}') attrScope = Suppress('scope') + id + ACTION grammarType = Keyword('lexer') + Keyword('parser') + Keyword('tree') actionScopeName = id | Keyword('lexer')("l") | Keyword('parser')("p") action = Suppress('@') + Optional(actionScopeName + Suppress('::')) + id + ACTION grammarHeading = Optional(ML_COMMENT("ML_COMMENT")) + Optional(grammarType) + Suppress('grammar') + id("grammarName") + Suppress(';') + Optional(optionsSpec) + Optional(tokensSpec) + ZeroOrMore(attrScope) + ZeroOrMore(action) modifier = Keyword('protected') | Keyword('public') | Keyword('private') | Keyword('fragment') ruleAction = Suppress('@') + id + ACTION throwsSpec = Suppress('throws') + delimitedList(id) ruleScopeSpec = (Suppress('scope') + ACTION) | (Suppress('scope') + delimitedList(id) + Suppress(';')) | (Suppress('scope') + ACTION + Suppress('scope') + delimitedList(id) + Suppress(';')) unary_op = oneOf("^ !") notTerminal = CHAR_LITERAL | TOKEN_REF | STRING_LITERAL terminal = (CHAR_LITERAL | TOKEN_REF + Optional(ARG_ACTION) | STRING_LITERAL | '.') + Optional(unary_op) block = Forward() notSet = Suppress('~') + (notTerminal | block) rangeNotPython = CHAR_LITERAL("c1") + RANGE + CHAR_LITERAL("c2") atom = Group(rangeNotPython + Optional(unary_op)("op")) | terminal | (notSet + Optional(unary_op)("op")) | (RULE_REF + Optional(ARG_ACTION("arg")) + Optional(unary_op)("op")) element = Forward() treeSpec = Suppress('^(') + element*(2,) + Suppress(')') ebnfSuffix = oneOf("? * +") ebnf = block + Optional(ebnfSuffix("op") | '=>') elementNoOptionSpec = (id("result_name") + oneOf('= +=')("labelOp") + atom("atom") + Optional(ebnfSuffix)) | (id("result_name") + oneOf('= +=')("labelOp") + block + Optional(ebnfSuffix)) | atom("atom") + Optional(ebnfSuffix) | ebnf | ACTION | (treeSpec + Optional(ebnfSuffix)) # | SEMPRED ( '=>' -> GATED_SEMPRED | -> SEMPRED ) element << Group(elementNoOptionSpec)("element") alternative = Group(Group(OneOrMore(element))("elements")) # Do not ask me why group is needed twice... seems like the xml that you see is not always the real structure? rewrite = Optional(Literal('TODO REWRITE RULES TODO')) block << Suppress('(') + Optional(Optional(optionsSpec("opts")) + Suppress(':')) + Group(alternative('a1') + rewrite + Group(ZeroOrMore(Suppress('|') + alternative('a2') + rewrite))("alternatives"))("block") + Suppress(')') altList = alternative('a1') + rewrite + Group(ZeroOrMore(Suppress('|') + alternative('a2') + rewrite))("alternatives") exceptionHandler = Suppress('catch') + ARG_ACTION + ACTION finallyClause = Suppress('finally') + ACTION exceptionGroup = (OneOrMore(exceptionHandler) + Optional(finallyClause)) | finallyClause ruleHeading = Optional(ML_COMMENT)("ruleComment") + Optional(modifier)("modifier") + id("ruleName") + Optional("!") + Optional(ARG_ACTION("arg")) + Optional(Suppress('returns') + ARG_ACTION("rt")) + Optional(throwsSpec) + Optional(optionsSpec) + Optional(ruleScopeSpec) + ZeroOrMore(ruleAction) rule = Group(ruleHeading + Suppress(':') + altList + Suppress(';') + Optional(exceptionGroup))("rule") grammarDef = grammarHeading + Group(OneOrMore(rule))("rules") def grammar(): return grammarDef def __antlrAlternativesConverter(pyparsingRules, antlrBlock): rule = None if hasattr(antlrBlock, 'alternatives') and antlrBlock.alternatives != '' and len(antlrBlock.alternatives) > 0: alternatives = [] alternatives.append(__antlrAlternativeConverter(pyparsingRules, antlrBlock.a1)) for alternative in antlrBlock.alternatives: alternatives.append(__antlrAlternativeConverter(pyparsingRules, alternative)) rule = MatchFirst(alternatives)("anonymous_or") elif hasattr(antlrBlock, 'a1') and antlrBlock.a1 != '': rule = __antlrAlternativeConverter(pyparsingRules, antlrBlock.a1) else: raise Exception('Not yet implemented') assert rule != None return rule def __antlrAlternativeConverter(pyparsingRules, antlrAlternative): elementList = [] for element in antlrAlternative.elements: rule = None if hasattr(element.atom, 'c1') and element.atom.c1 != '': regex = r'['+str(element.atom.c1[0])+'-'+str(element.atom.c2[0]+']') rule = Regex(regex)("anonymous_regex") elif hasattr(element, 'block') and element.block != '': rule = __antlrAlternativesConverter(pyparsingRules, element.block) else: ruleRef = element.atom assert ruleRef in pyparsingRules rule = pyparsingRules[element.atom](element.atom) if hasattr(element, 'op') and element.op != '': if element.op == '+': rule = Group(OneOrMore(rule))("anonymous_one_or_more") elif element.op == '*': rule = Group(ZeroOrMore(rule))("anonymous_zero_or_more") elif element.op == '?': rule = Optional(rule) else: raise Exception('rule operator not yet implemented : ' + element.op) rule = rule elementList.append(rule) if len(elementList) > 1: rule = Group(And(elementList))("anonymous_and") else: rule = elementList[0] assert rule != None return rule def __antlrRuleConverter(pyparsingRules, antlrRule): rule = None rule = __antlrAlternativesConverter(pyparsingRules, antlrRule) assert rule != None rule(antlrRule.ruleName) return rule def antlrConverter(antlrGrammarTree): pyparsingRules = {} antlrTokens = {} for antlrToken in antlrGrammarTree.tokens: antlrTokens[antlrToken.token_ref] = antlrToken.lit for antlrTokenName, antlrToken in list(antlrTokens.items()): pyparsingRules[antlrTokenName] = Literal(antlrToken) antlrRules = {} for antlrRule in antlrGrammarTree.rules: antlrRules[antlrRule.ruleName] = antlrRule pyparsingRules[antlrRule.ruleName] = Forward() # antlr is a top down grammar for antlrRuleName, antlrRule in list(antlrRules.items()): pyparsingRule = __antlrRuleConverter(pyparsingRules, antlrRule) assert pyparsingRule != None pyparsingRules[antlrRuleName] << pyparsingRule return pyparsingRules if __name__ == "__main__": text = """grammar SimpleCalc; options { language = Python; } tokens { PLUS = '+' ; MINUS = '-' ; MULT = '*' ; DIV = '/' ; } /*------------------------------------------------------------------ * PARSER RULES *------------------------------------------------------------------*/ expr : term ( ( PLUS | MINUS ) term )* ; term : factor ( ( MULT | DIV ) factor )* ; factor : NUMBER ; /*------------------------------------------------------------------ * LEXER RULES *------------------------------------------------------------------*/ NUMBER : (DIGIT)+ ; /* WHITESPACE : ( '\t' | ' ' | '\r' | '\n'| '\u000C' )+ { $channel = HIDDEN; } ; */ fragment DIGIT : '0'..'9' ; """ grammar().validate() antlrGrammarTree = grammar().parseString(text) print(antlrGrammarTree.asXML("antlrGrammarTree")) pyparsingRules = antlrConverter(antlrGrammarTree) pyparsingRule = pyparsingRules["expr"] pyparsingTree = pyparsingRule.parseString("2 - 5 * 42 + 7 / 25") print(pyparsingTree.asXML("pyparsingTree")) pyparsing-2.0.1/examples/LAparser.py0000644000175000017500000004405312053614266016144 0ustar zigozigo""" Purpose: Linear Algebra Parser Based on: SimpleCalc.py example (author Paul McGuire) in pyparsing-1.3.3 Author: Mike Ellis Copyright: Ellis & Grant, Inc. 2005 License: You may freely use, modify, and distribute this software. Warranty: THIS SOFTWARE HAS NO WARRANTY WHATSOEVER. USE AT YOUR OWN RISK. Notes: Parses infix linear algebra (LA) notation for vectors, matrices, and scalars. Output is C code function calls. The parser can be run as an interactive interpreter or included as module to use for in-place substitution into C files containing LA equations. Supported operations are: OPERATION: INPUT OUTPUT Scalar addition: "a = b+c" "a=(b+c)" Scalar subtraction: "a = b-c" "a=(b-c)" Scalar multiplication: "a = b*c" "a=b*c" Scalar division: "a = b/c" "a=b/c" Scalar exponentiation: "a = b^c" "a=pow(b,c)" Vector scaling: "V3_a = V3_b * c" "vCopy(a,vScale(b,c))" Vector addition: "V3_a = V3_b + V3_c" "vCopy(a,vAdd(b,c))" Vector subtraction: "V3_a = V3_b - V3_c" "vCopy(a,vSubtract(b,c))" Vector dot product: "a = V3_b * V3_c" "a=vDot(b,c)" Vector outer product: "M3_a = V3_b @ V3_c" "a=vOuterProduct(b,c)" Vector magn. squared: "a = V3_b^Mag2" "a=vMagnitude2(b)" Vector magnitude: "a = V3_b^Mag" "a=sqrt(vMagnitude2(b))" Matrix scaling: "M3_a = M3_b * c" "mCopy(a,mScale(b,c))" Matrix addition: "M3_a = M3_b + M3_c" "mCopy(a,mAdd(b,c))" Matrix subtraction: "M3_a = M3_b - M3_c" "mCopy(a,mSubtract(b,c))" Matrix multiplication: "M3_a = M3_b * M3_c" "mCopy(a,mMultiply(b,c))" Matrix by vector mult.: "V3_a = M3_b * V3_c" "vCopy(a,mvMultiply(b,c))" Matrix inversion: "M3_a = M3_b^-1" "mCopy(a,mInverse(b))" Matrix transpose: "M3_a = M3_b^T" "mCopy(a,mTranspose(b))" Matrix determinant: "a = M3_b^Det" "a=mDeterminant(b)" The parser requires the expression to be an equation. Each non-scalar variable must be prefixed with a type tag, 'M3_' for 3x3 matrices and 'V3_' for 3-vectors. For proper compilation of the C code, the variables need to be declared without the prefix as float[3] for vectors and float[3][3] for matrices. The operations do not modify any variables on the right-hand side of the equation. Equations may include nested expressions within parentheses. The allowed binary operators are '+-*/^' for scalars, and '+-*^@' for vectors and matrices with the meanings defined in the table above. Specifying an improper combination of operands, e.g. adding a vector to a matrix, is detected by the parser and results in a Python TypeError Exception. The usual cause of this is omitting one or more tag prefixes. The parser knows nothing about a a variable's C declaration and relies entirely on the type tags. Errors in C declarations are not caught until compile time. Usage: To process LA equations embedded in source files, import this module and pass input and output file objects to the fprocess() function. You can can also invoke the parser from the command line, e.g. 'python LAparser.py', to run a small test suite and enter an interactive loop where you can enter LA equations and see the resulting C code. """ import re,os,sys from pyparsing import Word, alphas, ParseException, Literal, CaselessLiteral \ , Combine, Optional, nums, Or, Forward, OneOrMore, ZeroOrMore, \ FollowedBy, StringStart, StringEnd, alphanums import math # Debugging flag can be set to either "debug_flag=True" or "debug_flag=False" debug_flag=False #---------------------------------------------------------------------------- # Variables that hold intermediate parsing results and a couple of # helper functions. exprStack = [] # Holds operators and operands parsed from input. targetvar = None # Holds variable name to left of '=' sign in LA equation. def _pushFirst( str, loc, toks ): if debug_flag: print("pushing ", toks[0], "str is ", str) exprStack.append( toks[0] ) def _assignVar( str, loc, toks ): global targetvar targetvar = toks[0] #----------------------------------------------------------------------------- # The following statements define the grammar for the parser. point = Literal('.') e = CaselessLiteral('E') plusorminus = Literal('+') | Literal('-') number = Word(nums) integer = Combine( Optional(plusorminus) + number ) floatnumber = Combine( integer + Optional( point + Optional(number) ) + Optional( e + integer ) ) lbracket = Literal("[") rbracket = Literal("]") ident = Forward() ## The definition below treats array accesses as identifiers. This means your expressions ## can include references to array elements, rows and columns, e.g., a = b[i] + 5. ## Expressions within []'s are not presently supported, so a = b[i+1] will raise ## a ParseException. ident = Combine(Word(alphas + '-',alphanums + '_') + \ ZeroOrMore(lbracket + (Word(alphas + '-',alphanums + '_')|integer) + rbracket) \ ) plus = Literal( "+" ) minus = Literal( "-" ) mult = Literal( "*" ) div = Literal( "/" ) outer = Literal( "@" ) lpar = Literal( "(" ).suppress() rpar = Literal( ")" ).suppress() addop = plus | minus multop = mult | div | outer expop = Literal( "^" ) assignop = Literal( "=" ) expr = Forward() atom = ( ( e | floatnumber | integer | ident ).setParseAction(_pushFirst) | ( lpar + expr.suppress() + rpar ) ) factor = Forward() factor << atom + ZeroOrMore( ( expop + factor ).setParseAction( _pushFirst ) ) term = factor + ZeroOrMore( ( multop + factor ).setParseAction( _pushFirst ) ) expr << term + ZeroOrMore( ( addop + term ).setParseAction( _pushFirst ) ) equation = (ident + assignop).setParseAction(_assignVar) + expr + StringEnd() # End of grammar definition #----------------------------------------------------------------------------- ## The following are helper variables and functions used by the Binary Infix Operator ## Functions described below. vprefix = 'V3_' vplen = len(vprefix) mprefix = 'M3_' mplen = len(mprefix) ## We don't support unary negation for vectors and matrices class UnaryUnsupportedError(Exception): pass def _isvec(ident): if ident[0] == '-' and ident[1:vplen+1] == vprefix: raise UnaryUnsupportedError else: return ident[0:vplen] == vprefix def _ismat(ident): if ident[0] == '-' and ident[1:mplen+1] == mprefix: raise UnaryUnsupportedError else: return ident[0:mplen] == mprefix def _isscalar(ident): return not (_isvec(ident) or _ismat(ident)) ## Binary infix operator (BIO) functions. These are called when the stack evaluator ## pops a binary operator like '+' or '*". The stack evaluator pops the two operand, a and b, ## and calls the function that is mapped to the operator with a and b as arguments. Thus, ## 'x + y' yields a call to addfunc(x,y). Each of the BIO functions checks the prefixes of its ## arguments to determine whether the operand is scalar, vector, or matrix. This information ## is used to generate appropriate C code. For scalars, this is essentially the input string, e.g. ## 'a + b*5' as input yields 'a + b*5' as output. For vectors and matrices, the input is translated to ## nested function calls, e.g. "V3_a + V3_b*5" yields "V3_vAdd(a,vScale(b,5)". Note that prefixes are ## stripped from operands and function names within the argument list to the outer function and ## the appropriate prefix is placed on the outer function for removal later as the stack evaluation ## recurses toward the final assignment statement. def _addfunc(a,b): if _isscalar(a) and _isscalar(b): return "(%s+%s)"%(a,b) if _isvec(a) and _isvec(b): return "%svAdd(%s,%s)"%(vprefix,a[vplen:],b[vplen:]) if _ismat(a) and _ismat(b): return "%smAdd(%s,%s)"%(mprefix,a[mplen:],b[mplen:]) else: raise TypeError def _subfunc(a,b): if _isscalar(a) and _isscalar(b): return "(%s-%s)"%(a,b) if _isvec(a) and _isvec(b): return "%svSubtract(%s,%s)"%(vprefix,a[vplen:],b[vplen:]) if _ismat(a) and _ismat(b): return "%smSubtract(%s,%s)"%(mprefix,a[mplen:],b[mplen:]) else: raise TypeError def _mulfunc(a,b): if _isscalar(a) and _isscalar(b): return "%s*%s"%(a,b) if _isvec(a) and _isvec(b): return "vDot(%s,%s)"%(a[vplen:],b[vplen:]) if _ismat(a) and _ismat(b): return "%smMultiply(%s,%s)"%(mprefix,a[mplen:],b[mplen:]) if _ismat(a) and _isvec(b): return "%smvMultiply(%s,%s)"%(vprefix,a[mplen:],b[vplen:]) if _ismat(a) and _isscalar(b): return "%smScale(%s,%s)"%(mprefix,a[mplen:],b) if _isvec(a) and _isscalar(b): return "%svScale(%s,%s)"%(vprefix,a[mplen:],b) else: raise TypeError def _outermulfunc(a,b): ## The '@' operator is used for the vector outer product. if _isvec(a) and _isvec(b): return "%svOuterProduct(%s,%s)"%(mprefix,a[vplen:],b[vplen:]) else: raise TypeError def _divfunc(a,b): ## The '/' operator is used only for scalar division if _isscalar(a) and _isscalar(b): return "%s/%s"%(a,b) else: raise TypeError def _expfunc(a,b): ## The '^' operator is used for exponentiation on scalars and ## as a marker for unary operations on vectors and matrices. if _isscalar(a) and _isscalar(b): return "pow(%s,%s)"%(str(a),str(b)) if _ismat(a) and b=='-1': return "%smInverse(%s)"%(mprefix,a[mplen:]) if _ismat(a) and b=='T': return "%smTranspose(%s)"%(mprefix,a[mplen:]) if _ismat(a) and b=='Det': return "mDeterminant(%s)"%(a[mplen:]) if _isvec(a) and b=='Mag': return "sqrt(vMagnitude2(%s))"%(a[vplen:]) if _isvec(a) and b=='Mag2': return "vMagnitude2(%s)"%(a[vplen:]) else: raise TypeError def _assignfunc(a,b): ## The '=' operator is used for assignment if _isscalar(a) and _isscalar(b): return "%s=%s"%(a,b) if _isvec(a) and _isvec(b): return "vCopy(%s,%s)"%(a[vplen:],b[vplen:]) if _ismat(a) and _ismat(b): return "mCopy(%s,%s)"%(a[mplen:],b[mplen:]) else: raise TypeError ## End of BIO func definitions ##---------------------------------------------------------------------------- # Map operator symbols to corresponding BIO funcs opn = { "+" : ( _addfunc ), "-" : ( _subfunc ), "*" : ( _mulfunc ), "@" : ( _outermulfunc ), "/" : ( _divfunc), "^" : ( _expfunc ), } ##---------------------------------------------------------------------------- # Recursive function that evaluates the expression stack def _evaluateStack( s ): op = s.pop() if op in "+-*/@^": op2 = _evaluateStack( s ) op1 = _evaluateStack( s ) result = opn[op]( op1, op2 ) if debug_flag: print(result) return result else: return op ##---------------------------------------------------------------------------- # The parse function that invokes all of the above. def parse(input_string): """ Accepts an input string containing an LA equation, e.g., "M3_mymatrix = M3_anothermatrix^-1" returns C code function calls that implement the expression. """ global exprStack global targetvar # Start with a blank exprStack and a blank targetvar exprStack = [] targetvar=None if input_string != '': # try parsing the input string try: L=equation.parseString( input_string ) except ParseException as err: print('Parse Failure', file=sys.stderr) print(err.line, file=sys.stderr) print(" "*(err.column-1) + "^", file=sys.stderr) print(err, file=sys.stderr) raise # show result of parsing the input string if debug_flag: print(input_string, "->", L) print("exprStack=", exprStack) # Evaluate the stack of parsed operands, emitting C code. try: result=_evaluateStack(exprStack) except TypeError: print("Unsupported operation on right side of '%s'.\nCheck for missing or incorrect tags on non-scalar operands."%input_string, file=sys.stderr) raise except UnaryUnsupportedError: print("Unary negation is not supported for vectors and matrices: '%s'"%input_string, file=sys.stderr) raise # Create final assignment and print it. if debug_flag: print("var=",targetvar) if targetvar != None: try: result = _assignfunc(targetvar,result) except TypeError: print("Left side tag does not match right side of '%s'"%input_string, file=sys.stderr) raise except UnaryUnsupportedError: print("Unary negation is not supported for vectors and matrices: '%s'"%input_string, file=sys.stderr) raise return result else: print("Empty left side in '%s'"%input_string, file=sys.stderr) raise TypeError ##----------------------------------------------------------------------------------- def fprocess(infilep,outfilep): """ Scans an input file for LA equations between double square brackets, e.g. [[ M3_mymatrix = M3_anothermatrix^-1 ]], and replaces the expression with a comment containing the equation followed by nested function calls that implement the equation as C code. A trailing semi-colon is appended. The equation within [[ ]] should NOT end with a semicolon as that will raise a ParseException. However, it is ok to have a semicolon after the right brackets. Other text in the file is unaltered. The arguments are file objects (NOT file names) opened for reading and writing, respectively. """ pattern = r'\[\[\s*(.*?)\s*\]\]' eqn = re.compile(pattern,re.DOTALL) s = infilep.read() def parser(mo): ccode = parse(mo.group(1)) return "/* %s */\n%s;\nLAParserBufferReset();\n"%(mo.group(1),ccode) content = eqn.sub(parser,s) outfilep.write(content) ##----------------------------------------------------------------------------------- def test(): """ Tests the parsing of various supported expressions. Raises an AssertError if the output is not what is expected. Prints the input, expected output, and actual output for all tests. """ print("Testing LAParser") testcases = [ ("Scalar addition","a = b+c","a=(b+c)"), ("Vector addition","V3_a = V3_b + V3_c","vCopy(a,vAdd(b,c))"), ("Vector addition","V3_a=V3_b+V3_c","vCopy(a,vAdd(b,c))"), ("Matrix addition","M3_a = M3_b + M3_c","mCopy(a,mAdd(b,c))"), ("Matrix addition","M3_a=M3_b+M3_c","mCopy(a,mAdd(b,c))"), ("Scalar subtraction","a = b-c","a=(b-c)"), ("Vector subtraction","V3_a = V3_b - V3_c","vCopy(a,vSubtract(b,c))"), ("Matrix subtraction","M3_a = M3_b - M3_c","mCopy(a,mSubtract(b,c))"), ("Scalar multiplication","a = b*c","a=b*c"), ("Scalar division","a = b/c","a=b/c"), ("Vector multiplication (dot product)","a = V3_b * V3_c","a=vDot(b,c)"), ("Vector multiplication (outer product)","M3_a = V3_b @ V3_c","mCopy(a,vOuterProduct(b,c))"), ("Matrix multiplication","M3_a = M3_b * M3_c","mCopy(a,mMultiply(b,c))"), ("Vector scaling","V3_a = V3_b * c","vCopy(a,vScale(b,c))"), ("Matrix scaling","M3_a = M3_b * c","mCopy(a,mScale(b,c))"), ("Matrix by vector multiplication","V3_a = M3_b * V3_c","vCopy(a,mvMultiply(b,c))"), ("Scalar exponentiation","a = b^c","a=pow(b,c)"), ("Matrix inversion","M3_a = M3_b^-1","mCopy(a,mInverse(b))"), ("Matrix transpose","M3_a = M3_b^T","mCopy(a,mTranspose(b))"), ("Matrix determinant","a = M3_b^Det","a=mDeterminant(b)"), ("Vector magnitude squared","a = V3_b^Mag2","a=vMagnitude2(b)"), ("Vector magnitude","a = V3_b^Mag","a=sqrt(vMagnitude2(b))"), ("Complicated expression", "myscalar = (M3_amatrix * V3_bvector)^Mag + 5*(-xyz[i] + 2.03^2)","myscalar=(sqrt(vMagnitude2(mvMultiply(amatrix,bvector)))+5*(-xyz[i]+pow(2.03,2)))"), ("Complicated Multiline", "myscalar = \n(M3_amatrix * V3_bvector)^Mag +\n 5*(xyz + 2.03^2)","myscalar=(sqrt(vMagnitude2(mvMultiply(amatrix,bvector)))+5*(xyz+pow(2.03,2)))") ] for t in testcases: name,input,expected = t print(name) print(" %s input"%input) print(" %s expected"%expected) result = parse(input) print(" %s received"%result) print("") assert expected == result ##TODO: Write testcases with invalid expressions and test that the expected ## exceptions are raised. print("Tests completed!") ##---------------------------------------------------------------------------- ## The following is executed only when this module is executed as ## command line script. It runs a small test suite (see above) ## and then enters an interactive loop where you ## can enter expressions and see the resulting C code as output. if __name__ == '__main__': # run testcases test() # input_string input_string='' # Display instructions on how to use the program interactively interactiveusage = """ Entering interactive mode: Type in an equation to be parsed or 'quit' to exit the program. Type 'debug on' to print parsing details as each string is processed. Type 'debug off' to stop printing parsing details """ print(interactiveusage) input_string = input("> ") while input_string != 'quit': if input_string == "debug on": debug_flag = True elif input_string == "debug off": debug_flag = False else: try: print(parse(input_string)) except: pass # obtain new input string input_string = input("> ") # if user types 'quit' then say goodbye print("Good bye!") pyparsing-2.0.1/examples/excelExpr.py0000644000175000017500000000442612053633657016377 0ustar zigozigo# excelExpr.py # # Copyright 2010, Paul McGuire # # A partial implementation of a parser of Excel formula expressions. # from pyparsing import (CaselessKeyword, Suppress, Word, alphas, alphanums, nums, Optional, Group, oneOf, Forward, Regex, operatorPrecedence, opAssoc, dblQuotedString, delimitedList, Combine, Literal, QuotedString) EQ,EXCL,LPAR,RPAR,COLON,COMMA = map(Suppress, '=!():,') EXCL, DOLLAR = map(Literal,"!$") sheetRef = Word(alphas, alphanums) | QuotedString("'",escQuote="''") colRef = Optional(DOLLAR) + Word(alphas,max=2) rowRef = Optional(DOLLAR) + Word(nums) cellRef = Combine(Group(Optional(sheetRef + EXCL)("sheet") + colRef("col") + rowRef("row"))) cellRange = (Group(cellRef("start") + COLON + cellRef("end"))("range") | cellRef | Word(alphas,alphanums)) expr = Forward() COMPARISON_OP = oneOf("< = > >= <= != <>") condExpr = expr + COMPARISON_OP + expr ifFunc = (CaselessKeyword("if") + LPAR + Group(condExpr)("condition") + COMMA + expr("if_true") + COMMA + expr("if_false") + RPAR) statFunc = lambda name : CaselessKeyword(name) + LPAR + delimitedList(expr) + RPAR sumFunc = statFunc("sum") minFunc = statFunc("min") maxFunc = statFunc("max") aveFunc = statFunc("ave") funcCall = ifFunc | sumFunc | minFunc | maxFunc | aveFunc multOp = oneOf("* /") addOp = oneOf("+ -") numericLiteral = Regex(r"\-?\d+(\.\d+)?") operand = numericLiteral | funcCall | cellRange | cellRef arithExpr = operatorPrecedence(operand, [ (multOp, 2, opAssoc.LEFT), (addOp, 2, opAssoc.LEFT), ]) textOperand = dblQuotedString | cellRef textExpr = operatorPrecedence(textOperand, [ ('&', 2, opAssoc.LEFT), ]) expr << (arithExpr | textExpr) test1 = "=3*A7+5" test2 = "=3*Sheet1!$A$7+5" test2a ="=3*'Sheet 1'!$A$7+5" test2b ="=3*'O''Reilly''s sheet'!$A$7+5" test3 = "=if(Sum(A1:A25)>42,Min(B1:B25), " \ "if(Sum(C1:C25)>3.14, (Min(C1:C25)+3)*18,Max(B1:B25)))" test3a = "=sum(a1:a25,10,min(b1,c2,d3))" import pprint tests = [locals()[t] for t in list(locals().keys()) if t.startswith("test")] for test in tests: print(test) pprint.pprint( (EQ + expr).parseString(test,parseAll=True).asList() ) print() pyparsing-2.0.1/examples/listAllMatches.py0000644000175000017500000000337412053614271017341 0ustar zigozigo# listAllMatches.py # # Sample program showing how/when to use listAllMatches to get all matching tokens in a results name. # # copyright 2006, Paul McGuire # from pyparsing import oneOf, OneOrMore, printables, StringEnd test = "The quick brown fox named 'Aloysius' lives at 123 Main Street (and jumps over lazy dogs in his spare time)." nonAlphas = [ c for c in printables if not c.isalpha() ] print("Extract vowels, consonants, and special characters from this test string:") print("'" + test + "'") print() print("Define grammar using normal results names") print("(only last matching symbol is saved)") vowels = oneOf(list("aeiouy"), caseless=True).setResultsName("vowels") cons = oneOf(list("bcdfghjklmnpqrstvwxz"), caseless=True).setResultsName("cons") other = oneOf(list(nonAlphas)).setResultsName("others") letters = OneOrMore(cons | vowels | other) + StringEnd() results = letters.parseString(test) print(results) print(results.vowels) print(results.cons) print(results.others) print() print("Define grammar using results names, with listAllMatches=True") print("(all matching symbols are saved)") vowels = oneOf(list("aeiouy"), caseless=True).setResultsName("vowels",listAllMatches=True) cons = oneOf(list("bcdfghjklmnpqrstvwxz"), caseless=True).setResultsName("cons",listAllMatches=True) other = oneOf(list(nonAlphas)).setResultsName("others",listAllMatches=True) letters = OneOrMore(cons | vowels | other) + StringEnd() results = letters.parseString(test) print(results) print(sorted(list(set(results)))) print() print(results.vowels) print(sorted(list(set(results.vowels)))) print() print(results.cons) print(sorted(list(set(results.cons)))) print() print(results.others) print(sorted(list(set(results.others)))) pyparsing-2.0.1/examples/rangeCheck.py0000644000175000017500000000500212053614273016452 0ustar zigozigo# rangeCheck.py # # A sample program showing how parse actions can convert parsed # strings into a data type or object, and to validate the parsed value. # # Copyright 2011, Paul T. McGuire # from pyparsing import Word, nums, Suppress, ParseException, empty, Optional from datetime import datetime def rangeCheck(minval=None, maxval=None): # have to specify at least one range boundary if minval is None and maxval is None: raise ValueError("minval or maxval must be specified") # set range testing function and error message depending on # whether either or both min and max values are given inRangeFn = { (True, False) : lambda x : x <= maxval, (False, True) : lambda x : minval <= x, (False, False) : lambda x : minval <= x <= maxval, }[minval is None, maxval is None] outOfRangeMessage = { (True, False) : "value %%s is greater than %s" % maxval, (False, True) : "value %%s is less than %s" % minval, (False, False) : "value %%s is not in the range (%s to %s)" % (minval,maxval), }[minval is None, maxval is None] # define the actual range checking parse action def rangeCheckParseAction(string, loc, tokens): parsedval = tokens[0] if not inRangeFn(parsedval): raise ParseException(string, loc, outOfRangeMessage % parsedval) return rangeCheckParseAction # define the expressions for a date of the form YYYY/MM/DD or YYYY/MM (assumes YYYY/MM/01) integer = Word(nums).setName("integer") integer.setParseAction(lambda t:int(t[0])) month = integer.copy().addParseAction(rangeCheck(1,12)) day = integer.copy().addParseAction(rangeCheck(1,31)) year = integer.copy().addParseAction(rangeCheck(2000, None)) SLASH = Suppress('/') dateExpr = year("year") + SLASH + month("month") + Optional(SLASH + day("day")) dateExpr.setName("date") # convert date fields to datetime (also validates dates as truly valid dates) dateExpr.setParseAction(lambda t: datetime(t.year, t.month, t.day or 1).date()) # add range checking on dates mindate = datetime(2002,1,1).date() maxdate = datetime.now().date() dateExpr.addParseAction(rangeCheck(mindate, maxdate)) tests = """ 2011/5/8 2001/1/1 2004/2/29 2004/2/30 2004/2 """.splitlines() for t in tests: t = t.strip() if not t: continue print(t) try: print(dateExpr.parseString(t)[0]) except Exception as e: print(str(e)) print() pyparsing-2.0.1/examples/antlr_grammar_tests.py0000644000175000017500000000470311441340462020473 0ustar zigozigo''' Created on 4 sept. 2010 @author: luca ''' import unittest import antlr_grammar class Test(unittest.TestCase): def testOptionsSpec(self): text = """options { language = Python; }""" antlr_grammar.optionsSpec.parseString(text) #@UndefinedVariable def testTokensSpec(self): text = """tokens { PLUS = '+' ; MINUS = '-' ; MULT = '*' ; DIV = '/' ; }""" antlr_grammar.tokensSpec.parseString(text) #@UndefinedVariable def testBlock(self): text = """( PLUS | MINUS )""" antlr_grammar.block.parseString(text) #@UndefinedVariable def testRule(self): text = """expr : term ( ( PLUS | MINUS ) term )* ;""" antlr_grammar.rule.parseString(text) #@UndefinedVariable def testLexerRule(self): text = """fragment DIGIT : '0'..'9' ;""" antlr_grammar.rule.parseString(text) #@UndefinedVariable def testLexerRule2(self): text = """WHITESPACE : ( '\t' | ' ' | '\r' | '\n'| '\u000C' )+ { $channel = HIDDEN; } ;""" #antlr_grammar.rule.parseString(text) #@UndefinedVariable def testGrammar(self): text = """grammar SimpleCalc; options { language = Python; } tokens { PLUS = '+' ; MINUS = '-' ; MULT = '*' ; DIV = '/' ; } /*------------------------------------------------------------------ * PARSER RULES *------------------------------------------------------------------*/ expr : term ( ( PLUS | MINUS ) term )* ; term : factor ( ( MULT | DIV ) factor )* ; factor : NUMBER ; /*------------------------------------------------------------------ * LEXER RULES *------------------------------------------------------------------*/ NUMBER : (DIGIT)+ ; /* WHITESPACE : ( '\t' | ' ' | '\r' | '\n'| '\u000C' )+ { $channel = HIDDEN; } ; */ fragment DIGIT : '0'..'9' ;""" antlrGrammarTree = antlr_grammar.grammarDef.parseString(text) #@UndefinedVariable pyparsingRules = antlr_grammar.antlrConverter(antlrGrammarTree) pyparsingRule = pyparsingRules["expr"] pyparsingTree = pyparsingRule.parseString("2 - 5 * 42 + 7 / 25") self.assertNotEqual(None, pyparsingTree) if __name__ == "__main__": #import sys;sys.argv = ['', 'Test.testOptionsSpec'] unittest.main()pyparsing-2.0.1/examples/simpleBool.py0000644000175000017500000000425412053614274016536 0ustar zigozigo# # simpleBool.py # # Example of defining a boolean logic parser using # the operatorGrammar helper method in pyparsing. # # In this example, parse actions associated with each # operator expression will "compile" the expression # into BoolOperand subclass objects, which can then # later be evaluated for their boolean value. # # Copyright 2006, by Paul McGuire # from pyparsing import * class BoolOperand(object): def __init__(self,t): self.args = t[0][0::2] def __str__(self): sep = " %s " % self.reprsymbol return "(" + sep.join(map(str,self.args)) + ")" class BoolAnd(BoolOperand): reprsymbol = '&' def __bool__(self): for a in self.args: if isinstance(a,str): v = eval(a) else: v = bool(a) if not v: return False return True class BoolOr(BoolOperand): reprsymbol = '|' def __bool__(self): for a in self.args: if isinstance(a,str): v = eval(a) else: v = bool(a) if v: return True return False class BoolNot(BoolOperand): def __init__(self,t): self.arg = t[0][1] def __str__(self): return "~" + str(self.arg) def __bool__(self): if isinstance(self.arg,str): v = eval(self.arg) else: v = bool(self.arg) return not v boolOperand = Word(alphas,max=1) | oneOf("True False") boolExpr = operatorPrecedence( boolOperand, [ ("not", 1, opAssoc.RIGHT, BoolNot), ("and", 2, opAssoc.LEFT, BoolAnd), ("or", 2, opAssoc.LEFT, BoolOr), ]) test = ["p and not q", "not not p", "not(p and q)", "q or not p and r", "q or not p or not r", "q or not (p and r)", "p or q or r", "p or q or r and False", "(p or q or r) and False", ] p = True q = False r = True print("p =", p) print("q =", q) print("r =", r) print() for t in test: res = boolExpr.parseString(t)[0] print(t,'\n', res, '=', bool(res),'\n') pyparsing-2.0.1/examples/0README.html0000644000175000017500000002737312037741346015774 0ustar zigozigo pyparsing Examples

pyparsing Examples

This directory contains a number of Python scripts that can get you started in learning to use pyparsing.

  • greeting.py
    Parse "Hello, World!".
  • greetingInKorean.py ~ submission by June Kim
    Unicode example to parse "Hello, World!" in Korean.
  • greetingInGreek.py ~ submission by ???
    Unicode example to parse "Hello, World!" in Greek.
  • holaMundo.py ~ submission by Marco Alfonso
    "Hello, World!" example translated to Spanish, from Marco Alfonso's blog.
  • chemicalFormulas.py
    Simple example to demonstrate the use of ParseResults returned from parseString(). Parses a chemical formula (such as "H2O" or "C6H5OH"), and walks the returned list of tokens to calculate the molecular weight.
  • wordsToNum.py
    A sample program that reads a number in words (such as "fifteen hundred and sixty four"), and returns the actual number (1564). Also demonstrates some processing of ParseExceptions, including marking where the parse failure was found.
  • pythonGrammarparser.py ~ suggested by JH Stovall
    A sample program that parses the EBNF used in the Python source code to define the Python grammar. From this parser, one can generate Python grammar documentation tools, such as railroad track diagrams. Also demonstrates use of Dict class.
  • commasep.py
    Demonstration of the use of the commaSeparatedList helper. Shows examples of proper handling of commas within quotes, trimming of whitespace around delimited entries, and handling of consecutive commas (null arguments). Includes comparison with simple string.split(',').
  • dictExample.py
    A demonstration of using the Dict class, to parse a table of ASCII tabulated data.
  • dictExample2.py ~ submission by Mike Kelly
    An extended version of dictExample.py, in which Mike Kelly also parses the column headers, and generates a transposed version of the original table!
  • scanExamples.py
    Some examples of using scanString and transformString, as alternative parsing methods to parseString, to do macro substitution, and selection and/or removal of matching strings within a source file.
  • urlExtractor.py
    Another example using scanString, this time to extract all HREF references found on Yahoo!'s home page, and return them as a dictionary.
  • makeHTMLTagExample.py
    A sample program showing sample definitions and applications of HTML tag expressions created using makeHTMLTags helper function. Very useful for scraping data from HTML pages.
  • urlExtractorNew.py
    Another updated version of urlExtractor.py, using the new makeHTMLTags() method.
  • fourFn.py
    A simple algebraic expression parser, that performs +,-,*,/, and ^ arithmetic operations. (With suggestions and bug-fixes graciously offered by Andrea Griffini.)
  • SimpleCalc.py ~ submission by Steven Siew
    An interactive version of fourFn.py, with support for variables.
  • LAParser.py ~ submission by Mike Ellis
    An interactive Linear Algebra Parser, an extension of SimpleCalc.py. Supports linear algebra (LA) notation for vectors, matrices, and scalars, including matrix operations such as inversion and determinants. Converts LA expressions to C code - uses a separate C library for runtime evaluation of results.
  • configParse.py
    A simple alternative to Python's ConfigParse module, demonstrating the use of the Dict class to return nested dictionary access to configuration values.
  • getNTPservers.py
    Yet another scanString example, to read/extract the list of NTP servers from NIST's web site.
  • getNTPserversNew.py
    An updated version of getNTPservers.py, using the new makeHTMLTags() method.
  • httpServerLogParser.py
    Parser for Apache server log files.
  • idlParse.py
    Parser for CORBA IDL files.
  • mozillaCalendarParser.py ~ submission by Petri Savolainen
    Parser for Mozilla calendar (*.ics) files.
  • pgn.py ~ submission by Alberto Santini
    Parser for PGN (Portable Game Notation) files, the standard form for documenting the moves in chess games.
  • simpleSQL.py
    A simple parser that will extract table and column names from SQL SELECT statements..
  • dfmparse.py ~ submission by Dan Griffith
    Parser for Delphi forms.
  • ebnf.py / ebnftest.py ~ submission by Seo Sanghyeon
    An EBNF-compiler that reads EBNF and generates a pyparsing grammar! Including a test that compiles... EBNF itself!
  • searchparser.py ~ submission by Steven Mooij and Rudolph Froger
    An expression parser that parses search strings, with special keyword and expression operations using (), not, and, or, and quoted strings.
  • sparser.py ~ submission by Tim Cera
    A configurable parser module that can be configured with a list of tuples, giving a high-level definition for parsing common sets of water table data files. Tim had to contend with several different styles of data file formats, each with slight variations of its own. Tim created a configurable parser (or "SPECIFIED parser" - hence the name "sparser"), that simply works from a config variable listing the field names and data types, and implicitly, their order in the source data file.

    See mayport_florida_8720220_data_def.txt for an example configuration file.

  • romanNumerals.py
    A Roman numeral generator and parser example, showing the power of parse actions to compile Roman numerals into their integer values.
  • removeLineBreaks.py
    A string transformer that converts text files with hard line-breaks into one with line breaks only between paragraphs. Useful when converting downloads from Project Gutenberg to import to word processing apps that can reformat paragraphs once hard line-breaks are removed, or for loading into your Palm Pilot for portable perusal.

    See Successful Methods of Public Speaking.txt and Successful Methods of Public Speaking(2).txt for a sample before and after (text file courtesy of Project Gutenberg).

  • listAllMatches.py
    An example program showing the utility of the listAllMatches option when specifying results naming.
  • linenoExample.py
    An example program showing how to use the string location to extract line and column numbers, or the source line of text.
  • parseListString.py
    An example program showing a progression of steps, how to parse a string representation of a Python list back into a true list.
  • parsePythonValue.py
    An extension of parseListString.py to parse tuples and dicts, including nested values, returning a Python value of the original type.
  • indentedGrammarExample.py
    An example program showing how to parse a grammar using indentation for grouping, such as is done in Python.
  • simpleArith.py
    An example program showing how to use the new operatorPrecedence helper method to define a 6-function (+, -, *, /, ^, and !) arithmetic expression parser, with unary plus and minus signs.
  • simpleBool.py
    An example program showing how to use the new operatorPrecedence helper method to define a boolean expression parser, with parse actions associated with each operator to "compile" the expression into a data structure that will evaluate the expression's boolean value.
  • simpleWiki.py
    An example program showing how to use transformString to implement a simple Wiki markup parser.
  • sql2dot.py~ submission by EnErGy [CSDX]
    A nice graphing program that generates schema diagrams from SQL table definition statements.
  • htmlStripper.py
    An example implementation of a common application, removing HTML markup tags from an HTML page, leaving just the text content.
  • macroExpansion.py
    An example implementation of a simple preprocessor, that will read embedded macro definitions and replace macro references with the defined substitution string.
  • sexpParser.py
    A parser that uses a recursive grammar to parse S-expressions.
  • nested.py
    An example using nestedExpr, a helper method to simplify definitions of expressions of nested lists.
  • withAttribute.py
    An example using withAttribute, a helper method to define parse actions to validate matched HTML tags using additional attributes. Especially helpful for matching common tags such as <DIV> and <TD>.
  • stackish.py
    A parser for the data representation format, Stackish.
  • builtin_parse_action_demo.py
    New in version 1.5.7
    Demonstration of using builtins (min, max, sum, len, etc.) as parse actions.
  • antlr_grammar.py~ submission by Luca DellOlio
    New in version 1.5.7
    Pyparsing example parsing ANTLR .a files and generating a working pyparsing parser.
  • shapes.py
    New in version 1.5.7
    Parse actions example simple shape definition syntax, and returning the matched tokens as domain objects instead of just strings.
  • datetimeParseActions.py
    New in version 1.5.7
    Parse actions example showing a parse action returning a datetime object instead of string tokens, and doing validation of the tokens, raising a ParseException if the given YYYY/MM/DD string does not represent a valid date.
  • position.py
    New in version 1.5.7
    Demonstration of a couple of different ways to capture the location a particular expression was found within the overall input string.
pyparsing-2.0.1/examples/parsePythonValue.py0000644000175000017500000000416712053633511017740 0ustar zigozigo# parsePythonValue.py # # Copyright, 2006, by Paul McGuire # from pyparsing import * cvtBool = lambda t:t[0]=='True' cvtInt = lambda toks: int(toks[0]) cvtReal = lambda toks: float(toks[0]) cvtTuple = lambda toks : tuple(toks.asList()) cvtDict = lambda toks: dict(toks.asList()) # define punctuation as suppressed literals lparen,rparen,lbrack,rbrack,lbrace,rbrace,colon = \ map(Suppress,"()[]{}:") integer = Regex(r"[+-]?\d+")\ .setName("integer")\ .setParseAction( cvtInt ) real = Regex(r"[+-]?\d+\.\d*([Ee][+-]?\d+)?")\ .setName("real")\ .setParseAction( cvtReal ) tupleStr = Forward() listStr = Forward() dictStr = Forward() unicodeString.setParseAction(lambda t:t[0][2:-1].decode('unicode-escape')) quotedString.setParseAction(lambda t:t[0][1:-1].decode('string-escape')) boolLiteral = oneOf("True False").setParseAction(cvtBool) noneLiteral = Literal("None").setParseAction(replaceWith(None)) listItem = real|integer|quotedString|unicodeString|boolLiteral|noneLiteral| \ Group(listStr) | tupleStr | dictStr tupleStr << ( Suppress("(") + Optional(delimitedList(listItem)) + Optional(Suppress(",")) + Suppress(")") ) tupleStr.setParseAction( cvtTuple ) listStr << (lbrack + Optional(delimitedList(listItem) + Optional(Suppress(","))) + rbrack) dictEntry = Group( listItem + colon + listItem ) dictStr << (lbrace + Optional(delimitedList(dictEntry) + \ Optional(Suppress(","))) + rbrace) dictStr.setParseAction( cvtDict ) tests = """['a', 100, ('A', [101,102]), 3.14, [ +2.718, 'xyzzy', -1.414] ] [{0: [2], 1: []}, {0: [], 1: [], 2: []}, {0: [1, 2]}] { 'A':1, 'B':2, 'C': {'a': 1.2, 'b': 3.4} } 3.14159 42 6.02E23 6.02e+023 1.0e-7 'a quoted string'""".split("\n") for test in tests: print("Test:", test.strip()) result = listItem.parseString(test)[0] print("Result:", result) try: for dd in result: if isinstance(dd,dict): print(list(dd.items())) except TypeError as te: pass print() pyparsing-2.0.1/examples/parseResultsSumExample.py0000644000175000017500000000147312053614271021123 0ustar zigozigo# # parseResultsSumExample.py # # Sample script showing the value in merging ParseResults retrieved by searchString, # using Python's builtin sum() method # samplestr1 = "garbage;DOB 10-10-2010;more garbage\nID PARI12345678;more garbage" samplestr2 = "garbage;ID PARI12345678;more garbage\nDOB 10-10-2010;more garbage" samplestr3 = "garbage;DOB 10-10-2010" samplestr4 = "garbage;ID PARI12345678;more garbage- I am cool" from pyparsing import * dob_ref = "DOB" + Regex(r"\d{2}-\d{2}-\d{4}")("dob") id_ref = "ID" + Word(alphanums,exact=12)("id") info_ref = "-" + restOfLine("info") person_data = dob_ref | id_ref | info_ref for test in (samplestr1,samplestr2,samplestr3,samplestr4,): person = sum(person_data.searchString(test)) print(person.id) print(person.dump()) print() pyparsing-2.0.1/examples/readJson.py0000644000175000017500000036137312053614273016205 0ustar zigozigo #~ url = "http://cmsdoc.cern.ch/cms/test/aprom/phedex/dev/gowri/datasvc/tbedi/requestDetails" #~ params = {'format':'json'} #~ import urllib #~ eparams = urllib.urlencode(params) #~ import urllib2 #~ request = urllib2.Request(url,eparams) #~ response = urllib2.urlopen(request) #~ s = response.read() #~ response.close() #~ print s s = """ {"phedex":{"request":[{"last_update":"1188037561", "numofapproved":"1", "id":"7425"}, {"last_update":"1188751826", "numofapproved":"1", "id":"8041"}, {"last_update":"1190116795", "numofapproved":"1", "id":"9281"}, {"last_update":"1190248781", "numofapproved":"1", "id":"9521"}, {"last_update":"1192615612", "numofapproved":"1", "id":"12821"}, {"last_update":"1192729887", "numofapproved":"1", "id":"13121"}, {"last_update":"1193152971", "numofapproved":"1", "id":"13501"}, {"last_update":"1194022054", "numofapproved":"1", "id":"14782"}, {"last_update":"1194429365", "numofapproved":"1", "id":"15081"}, {"last_update":"1195069848", "numofapproved":"1", "id":"16661"}, {"last_update":"1178403225", "numofapproved":"1", "id":"1281"}, {"last_update":"1179239056", "numofapproved":"1", "id":"1387"}, {"last_update":"1179842205", "numofapproved":"1", "id":"1665"}, {"last_update":"1179842040", "numofapproved":"1", "id":"1661"}, {"last_update":"1179935333", "numofapproved":"1", "id":"1741"}, {"last_update":"1183151195", "numofapproved":"1", "id":"3841"}, {"last_update":"1187031531", "numofapproved":"1", "id":"6601"}, {"last_update":"1188820478", "numofapproved":"1", "id":"8121"}, {"last_update":"1190652719", "numofapproved":"1", "id":"9983"}, {"last_update":"1192628950", "numofapproved":"1", "id":"12841"}, {"last_update":"1193075426", "numofapproved":"1", "id":"13341"}, {"last_update":"1194214609", "numofapproved":"1", "id":"14882"}, {"last_update":"1194387864", "numofapproved":"1", "id":"15062"}, {"last_update":"1195134504", "numofapproved":"1", "id":"16741"}, {"last_update":"1182431453", "numofapproved":"1", "id":"3421"}, {"last_update":"1183448188", "numofapproved":"1", "id":"4061"}, {"last_update":"1184588081", "numofapproved":"1", "id":"4908"}, {"last_update":"1184681258", "numofapproved":"1", "id":"4913"}, {"last_update":"1188039048", "numofapproved":"1", "id":"7426"}, {"last_update":"1192699041", "numofapproved":"1", "id":"12982"}, {"last_update":"1193219685", "numofapproved":"1", "id":"13529"}, {"last_update":"1193401408", "numofapproved":"1", "id":"14081"}, {"last_update":"1194454724", "numofapproved":"1", "id":"15201"}, {"last_update":"1194937690", "numofapproved":"1", "id":"16044"}, {"last_update":"1194947125", "numofapproved":"1", "id":"16103"}, {"last_update":"1195134890", "numofapproved":"1", "id":"16761"}, {"last_update":"1195486898", "numofapproved":"1", "id":"17301"}, {"last_update":"1195497774", "numofapproved":"1", "id":"17341"}, {"last_update":"1184744080", "numofapproved":"1", "id":"4941"}, {"last_update":"1186558911", "numofapproved":"1", "id":"6321"}, {"last_update":"1189524520", "numofapproved":"1", "id":"8802"}, {"last_update":"1192683178", "numofapproved":"1", "id":"12921"}, {"last_update":"1193260655", "numofapproved":"1", "id":"13530"}, {"last_update":"1194280038", "numofapproved":"1", "id":"15002"}, {"last_update":"1182077478", "numofapproved":"1", "id":"3162"}, {"last_update":"1183386650", "numofapproved":"1", "id":"3961"}, {"last_update":"1192063369", "numofapproved":"1", "id":"12182"}, {"last_update":"1181931262", "numofapproved":"1", "id":"3101"}, {"last_update":"1178648271", "numofapproved":"1", "id":"1308"}, {"last_update":"1179239923", "numofapproved":"1", "id":"1405"}, {"last_update":"1184370745", "numofapproved":"1", "id":"4861"}, {"last_update":"1185280568", "numofapproved":"1", "id":"5302"}, {"last_update":"1187875115", "numofapproved":"1", "id":"7344"}, {"last_update":"1189140441", "numofapproved":"1", "id":"8541"}, {"last_update":"1189180903", "numofapproved":"1", "id":"8661"}, {"last_update":"1189767643", "numofapproved":"1", "id":"9001"}, {"last_update":"1190726167", "numofapproved":"1", "id":"10101"}, {"last_update":"1190972990", "numofapproved":"1", "id":"10661"}, {"last_update":"1190990720", "numofapproved":"1", "id":"10712"}, {"last_update":"1192004838", "numofapproved":"1", "id":"12021"}, {"last_update":"1192612211", "numofapproved":"1", "id":"12803"}, {"last_update":"1194441407", "numofapproved":"1", "id":"15103"}, {"last_update":"1194792356", "numofapproved":"1", "id":"15681"}, {"last_update":"1194860650", "numofapproved":"1", "id":"15801"}, {"last_update":"1194877395", "numofapproved":"1", "id":"15881"}, {"last_update":"1194950552", "numofapproved":"1", "id":"16124"}, {"last_update":"1194992714", "numofapproved":"1", "id":"16421"}, {"last_update":"1195054500", "numofapproved":"1", "id":"16581"}, {"last_update":"1195228524", "numofapproved":"1", "id":"17001"}, {"last_update":"1195469382", "numofapproved":"1", "id":"17161"}, {"last_update":"1178035947", "numofapproved":"1", "id":"1202"}, {"last_update":"1178869668", "numofapproved":"1", "id":"1356"}, {"last_update":"1183563268", "numofapproved":"1", "id":"4201"}, {"last_update":"1185314677", "numofapproved":"1", "id":"5361"}, {"last_update":"1188467567", "numofapproved":"1", "id":"7781"}, {"last_update":"1190011821", "numofapproved":"1", "id":"9202"}, {"last_update":"1190206214", "numofapproved":"1", "id":"9481"}, {"last_update":"1190973037", "numofapproved":"1", "id":"10663"}, {"last_update":"1190819127", "numofapproved":"1", "id":"10342"}, {"last_update":"1192154959", "numofapproved":"1", "id":"12381"}, {"last_update":"1192634509", "numofapproved":"1", "id":"12862"}, {"last_update":"1194004677", "numofapproved":"1", "id":"14722"}, {"last_update":"1195548191", "numofapproved":"1", "id":"17501"}, {"last_update":"1195548953", "numofapproved":"1", "id":"17502"}, {"last_update":"1195559809", "numofapproved":"1", "id":"17541"}, {"last_update":"1177589103", "numofapproved":"1", "id":"1044"}, {"last_update":"1183416879", "numofapproved":"1", "id":"4041"}, {"last_update":"1186646977", "numofapproved":"1", "id":"6342"}, {"last_update":"1189656586", "numofapproved":"1", "id":"8902"}, {"last_update":"1190150645", "numofapproved":"1", "id":"9421"}, {"last_update":"1190409040", "numofapproved":"1", "id":"9741"}, {"last_update":"1190973011", "numofapproved":"1", "id":"10662"}, {"last_update":"1190993896", "numofapproved":"1", "id":"10761"}, {"last_update":"1193973610", "numofapproved":"1", "id":"14661"}, {"last_update":"1193973848", "numofapproved":"1", "id":"14664"}, {"last_update":"1194539978", "numofapproved":"1", "id":"15381"}, {"last_update":"1194947356", "numofapproved":"1", "id":"16105"}, {"last_update":"1195399589", "numofapproved":"1", "id":"17101"}, {"last_update":"1195464953", "numofapproved":"1", "id":"17141"}, {"last_update":"1171962221", "numofapproved":"1", "id":"109"}, {"last_update":"1173113812", "numofapproved":"1", "id":"247"}, {"last_update":"1173975435", "numofapproved":"1", "id":"343"}, {"last_update":"1174050971", "numofapproved":"1", "id":"353"}, {"last_update":"1174301484", "numofapproved":"1", "id":"393"}, {"last_update":"1172565853", "numofapproved":"1", "id":"208"}, {"last_update":"1172593328", "numofapproved":"1", "id":"215"}, {"last_update":"1175267391", "numofapproved":"1", "id":"565"}, {"last_update":"1171379845", "numofapproved":"1", "id":"25"}, {"last_update":"1171477466", "numofapproved":"1", "id":"53"}, {"last_update":"1171799296", "numofapproved":"1", "id":"77"}, {"last_update":"1172671474", "numofapproved":"1", "id":"223"}, {"last_update":"1174301354", "numofapproved":"1", "id":"388"}, {"last_update":"1174899552", "numofapproved":"1", "id":"511"}, {"last_update":"1174899458", "numofapproved":"1", "id":"505"}, {"last_update":"1175502936", "numofapproved":"1", "id":"604"}, {"last_update":"1175613825", "numofapproved":"1", "id":"665"}, {"last_update":"1175776232", "numofapproved":"1", "id":"673"}, {"last_update":"1171621302", "numofapproved":"1", "id":"68"}, {"last_update":"1171904738", "numofapproved":"1", "id":"98"}, {"last_update":"1171968012", "numofapproved":"1", "id":"115"}, {"last_update":"1172145037", "numofapproved":"1", "id":"168"}, {"last_update":"1172246599", "numofapproved":"1", "id":"185"}, {"last_update":"1173886280", "numofapproved":"1", "id":"318"}, {"last_update":"1174562010", "numofapproved":"1", "id":"423"}, {"last_update":"1176308974", "numofapproved":"1", "id":"884"}, {"last_update":"1176482150", "numofapproved":"1", "id":"943"}, {"last_update":"1176702424", "numofapproved":"1", "id":"1001"}, {"last_update":"1176748776", "numofapproved":"1", "id":"984"}, {"last_update":"1172669745", "numofapproved":"1", "id":"222"}, {"last_update":"1174899538", "numofapproved":"1", "id":"510"}, {"last_update":"1174899143", "numofapproved":"1", "id":"493"}, {"last_update":"1174899043", "numofapproved":"1", "id":"488"}, {"last_update":"1175711780", "numofapproved":"1", "id":"667"}, {"last_update":"1175712851", "numofapproved":"1", "id":"705"}, {"last_update":"1176296548", "numofapproved":"1", "id":"841"}, {"last_update":"1175862269", "numofapproved":"1", "id":"781"}, {"last_update":"1171483107", "numofapproved":"1", "id":"54"}, {"last_update":"1171645737", "numofapproved":"1", "id":"71"}, {"last_update":"1172253423", "numofapproved":"1", "id":"188"}, {"last_update":"1173888726", "numofapproved":"1", "id":"321"}, {"last_update":"1173975649", "numofapproved":"1", "id":"346"}, {"last_update":"1174299379", "numofapproved":"1", "id":"363"}, {"last_update":"1174301359", "numofapproved":"1", "id":"389"}, {"last_update":"1174301073", "numofapproved":"1", "id":"379"}, {"last_update":"1174300650", "numofapproved":"1", "id":"371"}, {"last_update":"1171485069", "numofapproved":"1", "id":"55"}, {"last_update":"1171799178", "numofapproved":"1", "id":"73"}, {"last_update":"1171896809", "numofapproved":"1", "id":"95"}, {"last_update":"1172672959", "numofapproved":"1", "id":"224"}, {"last_update":"1172693619", "numofapproved":"1", "id":"230"}, {"last_update":"1173207656", "numofapproved":"1", "id":"253"}, {"last_update":"1174059533", "numofapproved":"1", "id":"356"}, {"last_update":"1174300538", "numofapproved":"1", "id":"368"}, {"last_update":"1176137457", "numofapproved":"1", "id":"807"}, {"last_update":"1173728124", "numofapproved":"1", "id":"305"}, {"last_update":"1172507633", "numofapproved":"1", "id":"198"}, {"last_update":"1174301173", "numofapproved":"1", "id":"383"}, {"last_update":"1174899102", "numofapproved":"1", "id":"491"}, {"last_update":"1174301362", "numofapproved":"1", "id":"390"}, {"last_update":"1175254095", "numofapproved":"1", "id":"561"}, {"last_update":"1174037250", "numofapproved":"1", "id":"348"}, {"last_update":"1175865081", "numofapproved":"1", "id":"782"}, {"last_update":"1177591942", "numofapproved":"1", "id":"1046"}, {"last_update":"1177989191", "numofapproved":"1", "id":"1201"}, {"last_update":"1178743279", "numofapproved":"1", "id":"1323"}, {"last_update":"1178876587", "numofapproved":"1", "id":"1357"}, {"last_update":"1179239620", "numofapproved":"1", "id":"1401"}, {"last_update":"1180725458", "numofapproved":"1", "id":"2141"}, {"last_update":"1181205209", "numofapproved":"1", "id":"2421"}, {"last_update":"1181575615", "numofapproved":"1", "id":"2761"}, {"last_update":"1182184775", "numofapproved":"1", "id":"3201"}, {"last_update":"1182963728", "numofapproved":"1", "id":"3661"}, {"last_update":"1178727735", "numofapproved":"1", "id":"1349"}, {"last_update":"1182497720", "numofapproved":"1", "id":"3441"}, {"last_update":"1184381847", "numofapproved":"1", "id":"4881"}, {"last_update":"1184568423", "numofapproved":"1", "id":"4904"}, {"last_update":"1185364813", "numofapproved":"1", "id":"5421"}, {"last_update":"1188043594", "numofapproved":"1", "id":"7441"}, {"last_update":"1188675287", "numofapproved":"1", "id":"7981"}, {"last_update":"1188741594", "numofapproved":"1", "id":"8021"}, {"last_update":"1189144234", "numofapproved":"1", "id":"8561"}, {"last_update":"1189170150", "numofapproved":"1", "id":"8641"}, {"last_update":"1189501508", "numofapproved":"1", "id":"8761"}, {"last_update":"1189811918", "numofapproved":"1", "id":"9041"}, {"last_update":"1189812095", "numofapproved":"1", "id":"9042"}, {"last_update":"1177591716", "numofapproved":"1", "id":"1045"}, {"last_update":"1178040595", "numofapproved":"1", "id":"1203"}, {"last_update":"1182437936", "numofapproved":"1", "id":"3423"}, {"last_update":"1190480042", "numofapproved":"1", "id":"9781"}, {"last_update":"1190821494", "numofapproved":"1", "id":"10361"}, {"last_update":"1190959672", "numofapproved":"1", "id":"10602"}, {"last_update":"1190964023", "numofapproved":"1", "id":"10621"}, {"last_update":"1190991147", "numofapproved":"1", "id":"10721"}, {"last_update":"1190992132", "numofapproved":"1", "id":"10741"}, {"last_update":"1190990410", "numofapproved":"1", "id":"10706"}, {"last_update":"1181667132", "numofapproved":"1", "id":"2861"}, {"last_update":"1183746653", "numofapproved":"1", "id":"4321"}, {"last_update":"1191184539", "numofapproved":"1", "id":"10861"}, {"last_update":"1191490599", "numofapproved":"1", "id":"11261"}, {"last_update":"1191834884", "numofapproved":"1", "id":"11801"}, {"last_update":"1191834899", "numofapproved":"1", "id":"11802"}, {"last_update":"1191940759", "numofapproved":"1", "id":"11961"}, {"last_update":"1179971250", "numofapproved":"1", "id":"1643"}, {"last_update":"1181663618", "numofapproved":"1", "id":"2841"}, {"last_update":"1181932994", "numofapproved":"1", "id":"3102"}, {"last_update":"1182420732", "numofapproved":"1", "id":"3382"}, {"last_update":"1192118127", "numofapproved":"1", "id":"12281"}, {"last_update":"1192222036", "numofapproved":"1", "id":"12481"}, {"last_update":"1192155814", "numofapproved":"1", "id":"12364"}, {"last_update":"1192563924", "numofapproved":"1", "id":"12761"}, {"last_update":"1193124530", "numofapproved":"1", "id":"13441"}, {"last_update":"1193345545", "numofapproved":"1", "id":"13921"}, {"last_update":"1193396927", "numofapproved":"1", "id":"14041"}, {"last_update":"1180015411", "numofapproved":"1", "id":"1651"}, {"last_update":"1180107815", "numofapproved":"1", "id":"1658"}, {"last_update":"1186050394", "numofapproved":"1", "id":"6021"}, {"last_update":"1188519417", "numofapproved":"1", "id":"7841"}, {"last_update":"1193222002", "numofapproved":"1", "id":"13541"}, {"last_update":"1193965081", "numofapproved":"1", "id":"14641"}, {"last_update":"1193660582", "numofapproved":"1", "id":"14381"}, {"last_update":"1194088240", "numofapproved":"1", "id":"14821"}, {"last_update":"1194110475", "numofapproved":"1", "id":"14841"}, {"last_update":"1194246367", "numofapproved":"1", "id":"14902"}, {"last_update":"1194464283", "numofapproved":"1", "id":"15221"}, {"last_update":"1194622250", "numofapproved":"1", "id":"15461"}, {"last_update":"1194635632", "numofapproved":"1", "id":"15601"}, {"last_update":"1179147506", "numofapproved":"1", "id":"1382"}, {"last_update":"1179240025", "numofapproved":"1", "id":"1388"}, {"last_update":"1179748089", "numofapproved":"1", "id":"1561"}, {"last_update":"1179868997", "numofapproved":"1", "id":"1681"}, {"last_update":"1183019667", "numofapproved":"1", "id":"3702"}, {"last_update":"1184531598", "numofapproved":"1", "id":"4902"}, {"last_update":"1187294472", "numofapproved":"1", "id":"6841"}, {"last_update":"1189521494", "numofapproved":"1", "id":"8801"}, {"last_update":"1192726867", "numofapproved":"1", "id":"13081"}, {"last_update":"1193049178", "numofapproved":"1", "id":"13301"}, {"last_update":"1193387050", "numofapproved":"1", "id":"13947"}, {"last_update":"1194277280", "numofapproved":"1", "id":"14981"}, {"last_update":"1179150720", "numofapproved":"1", "id":"1383"}, {"last_update":"1179842104", "numofapproved":"1", "id":"1663"}, {"last_update":"1183766887", "numofapproved":"1", "id":"4341"}, {"last_update":"1185542132", "numofapproved":"1", "id":"5682"}, {"last_update":"1186737114", "numofapproved":"1", "id":"6382"}, {"last_update":"1187015679", "numofapproved":"1", "id":"6521"}, {"last_update":"1190326980", "numofapproved":"1", "id":"9641"}, {"last_update":"1191595711", "numofapproved":"1", "id":"11622"}, {"last_update":"1192106288", "numofapproved":"1", "id":"12221"}, {"last_update":"1192454432", "numofapproved":"1", "id":"12622"}, {"last_update":"1194339640", "numofapproved":"1", "id":"15021"}, {"last_update":"1177758209", "numofapproved":"1", "id":"1181"}, {"last_update":"1179842392", "numofapproved":"1", "id":"1669"}, {"last_update":"1179872870", "numofapproved":"1", "id":"1682"}, {"last_update":"1181233887", "numofapproved":"1", "id":"2541"}, {"last_update":"1182349297", "numofapproved":"1", "id":"3342"}, {"last_update":"1182375421", "numofapproved":"1", "id":"3350"}, {"last_update":"1183485259", "numofapproved":"1", "id":"4081"}, {"last_update":"1184319308", "numofapproved":"1", "id":"4821"}, {"last_update":"1187626648", "numofapproved":"1", "id":"6981"}, {"last_update":"1193153090", "numofapproved":"1", "id":"13502"}, {"last_update":"1194366368", "numofapproved":"1", "id":"15041"}, {"last_update":"1194617018", "numofapproved":"1", "id":"15421"}, {"last_update":"1195230640", "numofapproved":"1", "id":"17021"}, {"last_update":"1179908379", "numofapproved":"1", "id":"1701"}, {"last_update":"1188049228", "numofapproved":"1", "id":"7427"}, {"last_update":"1177581166", "numofapproved":"1", "id":"1061"}, {"last_update":"1187160654", "numofapproved":"1", "id":"6661"}, {"last_update":"1192983992", "numofapproved":"1", "id":"13222"}, {"last_update":"1193388978", "numofapproved":"1", "id":"13954"}, {"last_update":"1194617112", "numofapproved":"1", "id":"15422"}, {"last_update":"1195398876", "numofapproved":"1", "id":"17081"}, {"last_update":"1184262511", "numofapproved":"1", "id":"4801"}, {"last_update":"1192112284", "numofapproved":"1", "id":"12241"}, {"last_update":"1193082767", "numofapproved":"1", "id":"13401"}, {"last_update":"1193179243", "numofapproved":"1", "id":"13526"}, {"last_update":"1178142915", "numofapproved":"1", "id":"1206"}, {"last_update":"1178648333", "numofapproved":"1", "id":"1310"}, {"last_update":"1179279626", "numofapproved":"1", "id":"1391"}, {"last_update":"1182882268", "numofapproved":"1", "id":"3584"}, {"last_update":"1183128448", "numofapproved":"1", "id":"3823"}, {"last_update":"1183377394", "numofapproved":"1", "id":"3941"}, {"last_update":"1188582729", "numofapproved":"1", "id":"7902"}, {"last_update":"1189695063", "numofapproved":"1", "id":"8962"}, {"last_update":"1192001165", "numofapproved":"1", "id":"12001"}, {"last_update":"1192155647", "numofapproved":"1", "id":"12363"}, {"last_update":"1193418304", "numofapproved":"1", "id":"14202"}, {"last_update":"1193632105", "numofapproved":"1", "id":"14341"}, {"last_update":"1194011106", "numofapproved":"1", "id":"14741"}, {"last_update":"1194818628", "numofapproved":"1", "id":"15701"}, {"last_update":"1194875153", "numofapproved":"1", "id":"15861"}, {"last_update":"1194727029", "numofapproved":"1", "id":"15665"}, {"last_update":"1194950210", "numofapproved":"1", "id":"16122"}, {"last_update":"1194976681", "numofapproved":"1", "id":"16241"}, {"last_update":"1194979189", "numofapproved":"1", "id":"16281"}, {"last_update":"1194962224", "numofapproved":"1", "id":"16201"}, {"last_update":"1195046085", "numofapproved":"1", "id":"16481"}, {"last_update":"1195399919", "numofapproved":"1", "id":"17102"}, {"last_update":"1183113736", "numofapproved":"1", "id":"3782"}, {"last_update":"1183114202", "numofapproved":"1", "id":"3783"}, {"last_update":"1189017904", "numofapproved":"1", "id":"8441"}, {"last_update":"1189694944", "numofapproved":"1", "id":"8961"}, {"last_update":"1190766842", "numofapproved":"1", "id":"10181"}, {"last_update":"1190973066", "numofapproved":"1", "id":"10665"}, {"last_update":"1190990264", "numofapproved":"1", "id":"10702"}, {"last_update":"1193043204", "numofapproved":"1", "id":"13281"}, {"last_update":"1194627082", "numofapproved":"1", "id":"15561"}, {"last_update":"1194894589", "numofapproved":"1", "id":"15941"}, {"last_update":"1195485915", "numofapproved":"1", "id":"17281"}, {"last_update":"1195485806", "numofapproved":"1", "id":"17261"}, {"last_update":"1195498836", "numofapproved":"1", "id":"17361"}, {"last_update":"1195514951", "numofapproved":"1", "id":"17421"}, {"last_update":"1183722351", "numofapproved":"1", "id":"4261"}, {"last_update":"1184218083", "numofapproved":"1", "id":"4682"}, {"last_update":"1186848968", "numofapproved":"1", "id":"6441"}, {"last_update":"1187023846", "numofapproved":"1", "id":"6561"}, {"last_update":"1187870812", "numofapproved":"1", "id":"7342"}, {"last_update":"1188657717", "numofapproved":"1", "id":"7961"}, {"last_update":"1190541897", "numofapproved":"1", "id":"9841"}, {"last_update":"1190629135", "numofapproved":"1", "id":"9922"}, {"last_update":"1191226530", "numofapproved":"1", "id":"10922"}, {"last_update":"1191505214", "numofapproved":"1", "id":"11321"}, {"last_update":"1192304524", "numofapproved":"1", "id":"12541"}, {"last_update":"1193948730", "numofapproved":"1", "id":"14601"}, {"last_update":"1194073812", "numofapproved":"1", "id":"14801"}, {"last_update":"1194387224", "numofapproved":"1", "id":"14892"}, {"last_update":"1194464384", "numofapproved":"1", "id":"15223"}, {"last_update":"1194726799", "numofapproved":"1", "id":"15663"}, {"last_update":"1171969969", "numofapproved":"1", "id":"119"}, {"last_update":"1174444717", "numofapproved":"1", "id":"405"}, {"last_update":"1174899431", "numofapproved":"1", "id":"504"}, {"last_update":"1174899204", "numofapproved":"1", "id":"496"}, {"last_update":"1174925591", "numofapproved":"1", "id":"530"}, {"last_update":"1176902523", "numofapproved":"1", "id":"1008"}, {"last_update":"1172765523", "numofapproved":"1", "id":"232"}, {"last_update":"1173315950", "numofapproved":"1", "id":"260"}, {"last_update":"1174899524", "numofapproved":"1", "id":"509"}, {"last_update":"1174300691", "numofapproved":"1", "id":"373"}, {"last_update":"1175502917", "numofapproved":"1", "id":"625"}, {"last_update":"1175601578", "numofapproved":"1", "id":"662"}, {"last_update":"1175608600", "numofapproved":"1", "id":"684"}, {"last_update":"1176755309", "numofapproved":"1", "id":"985"}, {"last_update":"1171386411", "numofapproved":"1", "id":"45"}, {"last_update":"1171800366", "numofapproved":"1", "id":"81"}, {"last_update":"1172847417", "numofapproved":"1", "id":"241"}, {"last_update":"1174734904", "numofapproved":"1", "id":"462"}, {"last_update":"1174735234", "numofapproved":"1", "id":"469"}, {"last_update":"1174735074", "numofapproved":"1", "id":"465"}, {"last_update":"1175267646", "numofapproved":"1", "id":"566"}, {"last_update":"1176331857", "numofapproved":"1", "id":"888"}, {"last_update":"1176387926", "numofapproved":"1", "id":"890"}, {"last_update":"1176458401", "numofapproved":"1", "id":"904"}, {"last_update":"1173088626", "numofapproved":"1", "id":"244"}, {"last_update":"1173109009", "numofapproved":"1", "id":"246"}, {"last_update":"1173671557", "numofapproved":"1", "id":"284"}, {"last_update":"1174927658", "numofapproved":"1", "id":"532"}, {"last_update":"1175592399", "numofapproved":"1", "id":"661"}, {"last_update":"1176480402", "numofapproved":"1", "id":"941"}, {"last_update":"1176561564", "numofapproved":"1", "id":"945"}, {"last_update":"1172218707", "numofapproved":"1", "id":"180"}, {"last_update":"1172771475", "numofapproved":"1", "id":"233"}, {"last_update":"1173267863", "numofapproved":"1", "id":"257"}, {"last_update":"1176493803", "numofapproved":"1", "id":"963"}, {"last_update":"1171449646", "numofapproved":"1", "id":"49"}, {"last_update":"1171471549", "numofapproved":"1", "id":"51"}, {"last_update":"1171800487", "numofapproved":"1", "id":"88"}, {"last_update":"1171800431", "numofapproved":"1", "id":"85"}, {"last_update":"1175502995", "numofapproved":"1", "id":"627"}, {"last_update":"1175712797", "numofapproved":"1", "id":"704"}, {"last_update":"1171122384", "numofapproved":"1", "id":"3"}, {"last_update":"1171380774", "numofapproved":"1", "id":"26"}, {"last_update":"1171904757", "numofapproved":"1", "id":"99"}, {"last_update":"1174300705", "numofapproved":"1", "id":"374"}, {"last_update":"1174924802", "numofapproved":"1", "id":"526"}, {"last_update":"1175935441", "numofapproved":"1", "id":"801"}, {"last_update":"1175610915", "numofapproved":"1", "id":"686"}, {"last_update":"1171977081", "numofapproved":"1", "id":"125"}, {"last_update":"1173165324", "numofapproved":"1", "id":"249"}, {"last_update":"1173888337", "numofapproved":"1", "id":"319"}, {"last_update":"1173889473", "numofapproved":"1", "id":"331"}, {"last_update":"1172180902", "numofapproved":"1", "id":"175"}, {"last_update":"1174058063", "numofapproved":"1", "id":"354"}, {"last_update":"1174300674", "numofapproved":"1", "id":"372"}, {"last_update":"1171886332", "numofapproved":"1", "id":"93"}, {"last_update":"1176731068", "numofapproved":"1", "id":"1003"}, {"last_update":"1178645848", "numofapproved":"1", "id":"1306"}, {"last_update":"1178706683", "numofapproved":"1", "id":"1321"}, {"last_update":"1179240076", "numofapproved":"1", "id":"1406"}, {"last_update":"1180380411", "numofapproved":"1", "id":"1862"}, {"last_update":"1180683561", "numofapproved":"1", "id":"2041"}, {"last_update":"1181229731", "numofapproved":"1", "id":"2521"}, {"last_update":"1182210982", "numofapproved":"1", "id":"3203"}, {"last_update":"1182421105", "numofapproved":"1", "id":"3401"}, {"last_update":"1182199404", "numofapproved":"1", "id":"3202"}, {"last_update":"1182258596", "numofapproved":"1", "id":"3241"}, {"last_update":"1183556842", "numofapproved":"1", "id":"4161"}, {"last_update":"1184146825", "numofapproved":"1", "id":"4601"}, {"last_update":"1184771229", "numofapproved":"1", "id":"4981"}, {"last_update":"1185355415", "numofapproved":"1", "id":"5401"}, {"last_update":"1185377130", "numofapproved":"1", "id":"5481"}, {"last_update":"1185483994", "numofapproved":"1", "id":"5621"}, {"last_update":"1186496707", "numofapproved":"1", "id":"6261"}, {"last_update":"1187704347", "numofapproved":"1", "id":"7001"}, {"last_update":"1187758331", "numofapproved":"1", "id":"7101"}, {"last_update":"1187765716", "numofapproved":"1", "id":"7161"}, {"last_update":"1188284185", "numofapproved":"1", "id":"7581"}, {"last_update":"1188463286", "numofapproved":"1", "id":"7761"}, {"last_update":"1189012058", "numofapproved":"1", "id":"8421"}, {"last_update":"1189814265", "numofapproved":"1", "id":"9061"}, {"last_update":"1180880867", "numofapproved":"1", "id":"2161"}, {"last_update":"1181218244", "numofapproved":"1", "id":"2463"}, {"last_update":"1183515137", "numofapproved":"1", "id":"4141"}, {"last_update":"1183515248", "numofapproved":"1", "id":"4142"}, {"last_update":"1188311100", "numofapproved":"1", "id":"7641"}, {"last_update":"1190011501", "numofapproved":"1", "id":"9201"}, {"last_update":"1190012299", "numofapproved":"1", "id":"9221"}, {"last_update":"1190149196", "numofapproved":"1", "id":"9382"}, {"last_update":"1190202046", "numofapproved":"1", "id":"9461"}, {"last_update":"1190626607", "numofapproved":"1", "id":"9881"}, {"last_update":"1190632230", "numofapproved":"1", "id":"9941"}, {"last_update":"1190660429", "numofapproved":"1", "id":"10002"}, {"last_update":"1190819102", "numofapproved":"1", "id":"10341"}, {"last_update":"1190824319", "numofapproved":"1", "id":"10382"}, {"last_update":"1190825791", "numofapproved":"1", "id":"10402"}, {"last_update":"1190847397", "numofapproved":"1", "id":"10421"}, {"last_update":"1190876679", "numofapproved":"1", "id":"10441"}, {"last_update":"1190918894", "numofapproved":"1", "id":"10541"}, {"last_update":"1190924961", "numofapproved":"1", "id":"10582"}, {"last_update":"1190991179", "numofapproved":"1", "id":"10723"}, {"last_update":"1190663960", "numofapproved":"1", "id":"10042"}, {"last_update":"1191222270", "numofapproved":"1", "id":"10881"}, {"last_update":"1178869580", "numofapproved":"1", "id":"1355"}, {"last_update":"1180054057", "numofapproved":"1", "id":"1655"}, {"last_update":"1180428815", "numofapproved":"1", "id":"1881"}, {"last_update":"1183369278", "numofapproved":"1", "id":"3901"}, {"last_update":"1185018445", "numofapproved":"1", "id":"5163"}, {"last_update":"1185201628", "numofapproved":"1", "id":"5221"}, {"last_update":"1189345395", "numofapproved":"1", "id":"8741"}, {"last_update":"1191406141", "numofapproved":"1", "id":"11041"}, {"last_update":"1191410914", "numofapproved":"1", "id":"11067"}, {"last_update":"1191558362", "numofapproved":"1", "id":"11461"}, {"last_update":"1191584539", "numofapproved":"1", "id":"11541"}, {"last_update":"1191584660", "numofapproved":"1", "id":"11542"}, {"last_update":"1191599491", "numofapproved":"1", "id":"11661"}, {"last_update":"1191813292", "numofapproved":"1", "id":"11781"}, {"last_update":"1191856553", "numofapproved":"1", "id":"11842"}, {"last_update":"1191861142", "numofapproved":"1", "id":"11862"}, {"last_update":"1177509523", "numofapproved":"1", "id":"1041"}, {"last_update":"1190627650", "numofapproved":"1", "id":"9901"}, {"last_update":"1192034749", "numofapproved":"1", "id":"12141"}, {"last_update":"1192165574", "numofapproved":"1", "id":"12401"}, {"last_update":"1192431750", "numofapproved":"1", "id":"12581"}, {"last_update":"1192536591", "numofapproved":"1", "id":"12721"}, {"last_update":"1193035428", "numofapproved":"1", "id":"13261"}, {"last_update":"1193239266", "numofapproved":"1", "id":"13581"}, {"last_update":"1193314455", "numofapproved":"1", "id":"13841"}, {"last_update":"1193333733", "numofapproved":"1", "id":"13901"}, {"last_update":"1193389116", "numofapproved":"1", "id":"14001"}, {"last_update":"1184970339", "numofapproved":"1", "id":"5121"}, {"last_update":"1190892760", "numofapproved":"1", "id":"10481"}, {"last_update":"1192823398", "numofapproved":"1", "id":"13182"}, {"last_update":"1193911671", "numofapproved":"1", "id":"14541"}, {"last_update":"1193916761", "numofapproved":"1", "id":"14543"}, {"last_update":"1194212665", "numofapproved":"1", "id":"14881"}, {"last_update":"1194248205", "numofapproved":"1", "id":"14921"}, {"last_update":"1194513600", "numofapproved":"1", "id":"15110"}, {"last_update":"1194539704", "numofapproved":"1", "id":"15361"}, {"last_update":"1194569643", "numofapproved":"1", "id":"15112"}, {"last_update":"1194619794", "numofapproved":"1", "id":"15441"}, {"last_update":"1194623621", "numofapproved":"1", "id":"15501"}, {"last_update":"1194624477", "numofapproved":"1", "id":"15521"}, {"last_update":"1194635685", "numofapproved":"1", "id":"15602"}, {"last_update":"1179311539", "numofapproved":"1", "id":"1393"}, {"last_update":"1179672561", "numofapproved":"1", "id":"1521"}, {"last_update":"1180712413", "numofapproved":"1", "id":"2101"}, {"last_update":"1181646264", "numofapproved":"1", "id":"2821"}, {"last_update":"1181807696", "numofapproved":"1", "id":"2921"}, {"last_update":"1181824523", "numofapproved":"1", "id":"2942"}, {"last_update":"1181835089", "numofapproved":"1", "id":"2981"}, {"last_update":"1182000147", "numofapproved":"1", "id":"3141"}, {"last_update":"1182952133", "numofapproved":"1", "id":"3641"}, {"last_update":"1188811518", "numofapproved":"1", "id":"8101"}, {"last_update":"1188975549", "numofapproved":"1", "id":"8321"}, {"last_update":"1190122760", "numofapproved":"1", "id":"9301"}, {"last_update":"1190124712", "numofapproved":"1", "id":"9321"}, {"last_update":"1194526560", "numofapproved":"1", "id":"15281"}, {"last_update":"1195149112", "numofapproved":"1", "id":"16821"}, {"last_update":"1179823256", "numofapproved":"1", "id":"1602"}, {"last_update":"1186332011", "numofapproved":"1", "id":"6165"}, {"last_update":"1187263451", "numofapproved":"1", "id":"6781"}, {"last_update":"1190312346", "numofapproved":"1", "id":"9621"}, {"last_update":"1193178728", "numofapproved":"1", "id":"13525"}, {"last_update":"1193908534", "numofapproved":"1", "id":"14524"}, {"last_update":"1194279992", "numofapproved":"1", "id":"15001"}, {"last_update":"1194947169", "numofapproved":"1", "id":"16104"}, {"last_update":"1195139978", "numofapproved":"1", "id":"16801"}, {"last_update":"1195152323", "numofapproved":"1", "id":"16841"}, {"last_update":"1188086146", "numofapproved":"1", "id":"7428"}, {"last_update":"1192143475", "numofapproved":"1", "id":"12341"}, {"last_update":"1192529949", "numofapproved":"1", "id":"12664"}, {"last_update":"1192721072", "numofapproved":"1", "id":"13041"}, {"last_update":"1193844156", "numofapproved":"1", "id":"14501"}, {"last_update":"1177597683", "numofapproved":"1", "id":"1063"}, {"last_update":"1180975406", "numofapproved":"1", "id":"2184"}, {"last_update":"1184681435", "numofapproved":"1", "id":"4914"}, {"last_update":"1187596457", "numofapproved":"1", "id":"6922"}, {"last_update":"1190661113", "numofapproved":"1", "id":"10003"}, {"last_update":"1192721357", "numofapproved":"1", "id":"13042"}, {"last_update":"1193130120", "numofapproved":"1", "id":"13461"}, {"last_update":"1193388868", "numofapproved":"1", "id":"13953"}, {"last_update":"1194861534", "numofapproved":"1", "id":"15821"}, {"last_update":"1182357592", "numofapproved":"1", "id":"3345"}, {"last_update":"1183722862", "numofapproved":"1", "id":"4262"}, {"last_update":"1186066354", "numofapproved":"1", "id":"6041"}, {"last_update":"1192698982", "numofapproved":"1", "id":"12981"}, {"last_update":"1181237191", "numofapproved":"1", "id":"2561"}, {"last_update":"1184569090", "numofapproved":"1", "id":"4906"}, {"last_update":"1185397555", "numofapproved":"1", "id":"5501"}, {"last_update":"1185541935", "numofapproved":"1", "id":"5681"}, {"last_update":"1193385832", "numofapproved":"1", "id":"13941"}, {"last_update":"1185482424", "numofapproved":"1", "id":"5581"}, {"last_update":"1195508796", "numofapproved":"1", "id":"17401"}, {"last_update":"1178718386", "numofapproved":"1", "id":"1347"}, {"last_update":"1178788813", "numofapproved":"1", "id":"1351"}, {"last_update":"1178877332", "numofapproved":"1", "id":"1358"}, {"last_update":"1183208679", "numofapproved":"1", "id":"3861"}, {"last_update":"1187885439", "numofapproved":"1", "id":"7347"}, {"last_update":"1188985190", "numofapproved":"1", "id":"8341"}, {"last_update":"1189687132", "numofapproved":"1", "id":"8941"}, {"last_update":"1189864330", "numofapproved":"1", "id":"9121"}, {"last_update":"1190990605", "numofapproved":"1", "id":"10709"}, {"last_update":"1192634449", "numofapproved":"1", "id":"12861"}, {"last_update":"1194723756", "numofapproved":"1", "id":"15641"}, {"last_update":"1194792428", "numofapproved":"1", "id":"15682"}, {"last_update":"1194725734", "numofapproved":"1", "id":"15661"}, {"last_update":"1194945618", "numofapproved":"1", "id":"16061"}, {"last_update":"1194946006", "numofapproved":"1", "id":"16081"}, {"last_update":"1194949774", "numofapproved":"1", "id":"16121"}, {"last_update":"1194950925", "numofapproved":"1", "id":"16126"}, {"last_update":"1194979238", "numofapproved":"1", "id":"16282"}, {"last_update":"1195051013", "numofapproved":"1", "id":"16543"}, {"last_update":"1195050956", "numofapproved":"1", "id":"16542"}, {"last_update":"1195047036", "numofapproved":"1", "id":"16501"}, {"last_update":"1195221919", "numofapproved":"1", "id":"16942"}, {"last_update":"1178035892", "numofapproved":"1", "id":"1221"}, {"last_update":"1178570265", "numofapproved":"1", "id":"1302"}, {"last_update":"1178811921", "numofapproved":"1", "id":"1354"}, {"last_update":"1182344326", "numofapproved":"1", "id":"3321"}, {"last_update":"1184999048", "numofapproved":"1", "id":"5141"}, {"last_update":"1188994511", "numofapproved":"1", "id":"8361"}, {"last_update":"1189161726", "numofapproved":"1", "id":"8601"}, {"last_update":"1190500875", "numofapproved":"1", "id":"9803"}, {"last_update":"1190817424", "numofapproved":"1", "id":"10321"}, {"last_update":"1191327796", "numofapproved":"1", "id":"11001"}, {"last_update":"1191410544", "numofapproved":"1", "id":"11062"}, {"last_update":"1192009739", "numofapproved":"1", "id":"12062"}, {"last_update":"1193973669", "numofapproved":"1", "id":"14662"}, {"last_update":"1194035149", "numofapproved":"1", "id":"14783"}, {"last_update":"1194465519", "numofapproved":"1", "id":"15106"}, {"last_update":"1194464336", "numofapproved":"1", "id":"15222"}, {"last_update":"1194861398", "numofapproved":"1", "id":"15802"}, {"last_update":"1194950791", "numofapproved":"1", "id":"16125"}, {"last_update":"1195501394", "numofapproved":"1", "id":"17381"}, {"last_update":"1195546583", "numofapproved":"1", "id":"17461"}, {"last_update":"1177607652", "numofapproved":"1", "id":"1048"}, {"last_update":"1182349136", "numofapproved":"1", "id":"3322"}, {"last_update":"1184217665", "numofapproved":"1", "id":"4681"}, {"last_update":"1185510733", "numofapproved":"1", "id":"5641"}, {"last_update":"1187875988", "numofapproved":"1", "id":"7345"}, {"last_update":"1188384227", "numofapproved":"1", "id":"7701"}, {"last_update":"1188935650", "numofapproved":"1", "id":"8261"}, {"last_update":"1188951982", "numofapproved":"1", "id":"8301"}, {"last_update":"1190391010", "numofapproved":"1", "id":"9701"}, {"last_update":"1191169581", "numofapproved":"1", "id":"10841"}, {"last_update":"1194435269", "numofapproved":"1", "id":"15101"}, {"last_update":"1171800457", "numofapproved":"1", "id":"86"}, {"last_update":"1171968036", "numofapproved":"1", "id":"116"}, {"last_update":"1171984640", "numofapproved":"1", "id":"129"}, {"last_update":"1171987101", "numofapproved":"1", "id":"130"}, {"last_update":"1172588327", "numofapproved":"1", "id":"213"}, {"last_update":"1173736730", "numofapproved":"1", "id":"306"}, {"last_update":"1174735009", "numofapproved":"1", "id":"463"}, {"last_update":"1172314484", "numofapproved":"1", "id":"192"}, {"last_update":"1172580739", "numofapproved":"1", "id":"212"}, {"last_update":"1173889335", "numofapproved":"1", "id":"328"}, {"last_update":"1171799339", "numofapproved":"1", "id":"79"}, {"last_update":"1171882669", "numofapproved":"1", "id":"91"}, {"last_update":"1172561300", "numofapproved":"1", "id":"207"}, {"last_update":"1172565919", "numofapproved":"1", "id":"209"}, {"last_update":"1172600401", "numofapproved":"1", "id":"217"}, {"last_update":"1174040553", "numofapproved":"1", "id":"350"}, {"last_update":"1174300376", "numofapproved":"1", "id":"365"}, {"last_update":"1171800419", "numofapproved":"1", "id":"84"}, {"last_update":"1171800471", "numofapproved":"1", "id":"87"}, {"last_update":"1171904826", "numofapproved":"1", "id":"102"}, {"last_update":"1171962248", "numofapproved":"1", "id":"110"}, {"last_update":"1171968056", "numofapproved":"1", "id":"117"}, {"last_update":"1172180757", "numofapproved":"1", "id":"174"}, {"last_update":"1172249286", "numofapproved":"1", "id":"186"}, {"last_update":"1172331355", "numofapproved":"1", "id":"194"}, {"last_update":"1172838799", "numofapproved":"1", "id":"235"}, {"last_update":"1173839361", "numofapproved":"1", "id":"316"}, {"last_update":"1176141087", "numofapproved":"1", "id":"809"}, {"last_update":"1176293168", "numofapproved":"1", "id":"827"}, {"last_update":"1176314927", "numofapproved":"1", "id":"887"}, {"last_update":"1172147490", "numofapproved":"1", "id":"169"}, {"last_update":"1172673371", "numofapproved":"1", "id":"225"}, {"last_update":"1175021309", "numofapproved":"1", "id":"539"}, {"last_update":"1175719394", "numofapproved":"1", "id":"708"}, {"last_update":"1175797177", "numofapproved":"1", "id":"741"}, {"last_update":"1175797204", "numofapproved":"1", "id":"761"}, {"last_update":"1173888948", "numofapproved":"1", "id":"323"}, {"last_update":"1171050355", "numofapproved":"1", "id":"1"}, {"last_update":"1171904868", "numofapproved":"1", "id":"104"}, {"last_update":"1174301476", "numofapproved":"1", "id":"392"}, {"last_update":"1174396679", "numofapproved":"1", "id":"401"}, {"last_update":"1174735025", "numofapproved":"1", "id":"464"}, {"last_update":"1171894147", "numofapproved":"1", "id":"94"}, {"last_update":"1172226240", "numofapproved":"1", "id":"181"}, {"last_update":"1172442130", "numofapproved":"1", "id":"195"}, {"last_update":"1174300588", "numofapproved":"1", "id":"370"}, {"last_update":"1174899082", "numofapproved":"1", "id":"490"}, {"last_update":"1174899309", "numofapproved":"1", "id":"501"}, {"last_update":"1173724444", "numofapproved":"1", "id":"304"}, {"last_update":"1176314883", "numofapproved":"1", "id":"886"}, {"last_update":"1173284377", "numofapproved":"1", "id":"259"}, {"last_update":"1172244974", "numofapproved":"1", "id":"184"}, {"last_update":"1173825356", "numofapproved":"1", "id":"315"}, {"last_update":"1174898980", "numofapproved":"1", "id":"485"}, {"last_update":"1175713133", "numofapproved":"1", "id":"706"}, {"last_update":"1175872869", "numofapproved":"1", "id":"784"}, {"last_update":"1174301161", "numofapproved":"1", "id":"380"}, {"last_update":"1176710519", "numofapproved":"1", "id":"1002"}, {"last_update":"1176776871", "numofapproved":"1", "id":"1006"}, {"last_update":"1176383102", "numofapproved":"1", "id":"901"}, {"last_update":"1176391153", "numofapproved":"1", "id":"902"}, {"last_update":"1176562039", "numofapproved":"1", "id":"946"}, {"last_update":"1175713172", "numofapproved":"1", "id":"668"}, {"last_update":"1178045208", "numofapproved":"1", "id":"1204"}, {"last_update":"1178648231", "numofapproved":"1", "id":"1307"}, {"last_update":"1178876638", "numofapproved":"1", "id":"1362"}, {"last_update":"1181120419", "numofapproved":"1", "id":"2341"}, {"last_update":"1181217997", "numofapproved":"1", "id":"2462"}, {"last_update":"1181292688", "numofapproved":"1", "id":"2622"}, {"last_update":"1182246090", "numofapproved":"1", "id":"3205"}, {"last_update":"1182982710", "numofapproved":"1", "id":"3681"}, {"last_update":"1177496084", "numofapproved":"1", "id":"1021"}, {"last_update":"1177496190", "numofapproved":"1", "id":"1022"}, {"last_update":"1178310654", "numofapproved":"1", "id":"1261"}, {"last_update":"1182861963", "numofapproved":"1", "id":"3582"}, {"last_update":"1183392466", "numofapproved":"1", "id":"3981"}, {"last_update":"1183971409", "numofapproved":"1", "id":"4404"}, {"last_update":"1183984082", "numofapproved":"1", "id":"4421"}, {"last_update":"1184101764", "numofapproved":"1", "id":"4581"}, {"last_update":"1185805036", "numofapproved":"1", "id":"5821"}, {"last_update":"1186071563", "numofapproved":"1", "id":"6061"}, {"last_update":"1186331614", "numofapproved":"1", "id":"6221"}, {"last_update":"1187103429", "numofapproved":"1", "id":"6623"}, {"last_update":"1187359405", "numofapproved":"1", "id":"6901"}, {"last_update":"1187764462", "numofapproved":"1", "id":"7121"}, {"last_update":"1187765742", "numofapproved":"1", "id":"7181"}, {"last_update":"1187821663", "numofapproved":"1", "id":"7281"}, {"last_update":"1187851593", "numofapproved":"1", "id":"7301"}, {"last_update":"1188829369", "numofapproved":"1", "id":"8141"}, {"last_update":"1189006834", "numofapproved":"1", "id":"8401"}, {"last_update":"1189656411", "numofapproved":"1", "id":"8901"}, {"last_update":"1181824325", "numofapproved":"1", "id":"2961"}, {"last_update":"1184699326", "numofapproved":"1", "id":"4922"}, {"last_update":"1185981618", "numofapproved":"1", "id":"5981"}, {"last_update":"1186476979", "numofapproved":"1", "id":"6169"}, {"last_update":"1186501212", "numofapproved":"1", "id":"6301"}, {"last_update":"1187111728", "numofapproved":"1", "id":"6624"}, {"last_update":"1187275194", "numofapproved":"1", "id":"6821"}, {"last_update":"1190232587", "numofapproved":"1", "id":"9501"}, {"last_update":"1190379779", "numofapproved":"1", "id":"9661"}, {"last_update":"1190500551", "numofapproved":"1", "id":"9801"}, {"last_update":"1190555711", "numofapproved":"1", "id":"9861"}, {"last_update":"1190664200", "numofapproved":"1", "id":"10061"}, {"last_update":"1190662067", "numofapproved":"1", "id":"10021"}, {"last_update":"1190887692", "numofapproved":"1", "id":"10461"}, {"last_update":"1190887880", "numofapproved":"1", "id":"10462"}, {"last_update":"1190924576", "numofapproved":"1", "id":"10581"}, {"last_update":"1190990748", "numofapproved":"1", "id":"10713"}, {"last_update":"1190990297", "numofapproved":"1", "id":"10703"}, {"last_update":"1182792178", "numofapproved":"1", "id":"3541"}, {"last_update":"1189505682", "numofapproved":"1", "id":"8781"}, {"last_update":"1191410630", "numofapproved":"1", "id":"11081"}, {"last_update":"1191431148", "numofapproved":"1", "id":"11141"}, {"last_update":"1191446393", "numofapproved":"1", "id":"11181"}, {"last_update":"1191559326", "numofapproved":"1", "id":"11481"}, {"last_update":"1191860159", "numofapproved":"1", "id":"11861"}, {"last_update":"1191933842", "numofapproved":"1", "id":"11901"}, {"last_update":"1181765760", "numofapproved":"1", "id":"2901"}, {"last_update":"1187098770", "numofapproved":"1", "id":"6622"}, {"last_update":"1192155125", "numofapproved":"1", "id":"12382"}, {"last_update":"1192449036", "numofapproved":"1", "id":"12601"}, {"last_update":"1192604489", "numofapproved":"1", "id":"12781"}, {"last_update":"1193265229", "numofapproved":"1", "id":"13681"}, {"last_update":"1193304550", "numofapproved":"1", "id":"13781"}, {"last_update":"1193401945", "numofapproved":"1", "id":"14101"}, {"last_update":"1193305327", "numofapproved":"1", "id":"13801"}, {"last_update":"1179912412", "numofapproved":"1", "id":"1722"}, {"last_update":"1188295203", "numofapproved":"1", "id":"7621"}, {"last_update":"1188580008", "numofapproved":"1", "id":"7881"}, {"last_update":"1189115708", "numofapproved":"1", "id":"8521"}, {"last_update":"1193864375", "numofapproved":"1", "id":"14522"}, {"last_update":"1193973963", "numofapproved":"1", "id":"14666"}, {"last_update":"1194003054", "numofapproved":"1", "id":"14701"}, {"last_update":"1194262755", "numofapproved":"1", "id":"14885"}, {"last_update":"1194262860", "numofapproved":"1", "id":"14886"}, {"last_update":"1194366475", "numofapproved":"1", "id":"15042"}, {"last_update":"1194505568", "numofapproved":"1", "id":"15108"}, {"last_update":"1194507434", "numofapproved":"1", "id":"15109"}, {"last_update":"1194625505", "numofapproved":"1", "id":"15542"}, {"last_update":"1194635569", "numofapproved":"1", "id":"15583"}, {"last_update":"1179319405", "numofapproved":"1", "id":"1394"}, {"last_update":"1179409867", "numofapproved":"1", "id":"1441"}, {"last_update":"1179431647", "numofapproved":"1", "id":"1481"}, {"last_update":"1179842302", "numofapproved":"1", "id":"1667"}, {"last_update":"1180710254", "numofapproved":"1", "id":"2081"}, {"last_update":"1181855583", "numofapproved":"1", "id":"3041"}, {"last_update":"1182100211", "numofapproved":"1", "id":"3182"}, {"last_update":"1183377220", "numofapproved":"1", "id":"3921"}, {"last_update":"1184677615", "numofapproved":"1", "id":"4910"}, {"last_update":"1184679060", "numofapproved":"1", "id":"4911"}, {"last_update":"1184679348", "numofapproved":"1", "id":"4912"}, {"last_update":"1184749371", "numofapproved":"1", "id":"4943"}, {"last_update":"1186734180", "numofapproved":"1", "id":"6381"}, {"last_update":"1187012463", "numofapproved":"1", "id":"6501"}, {"last_update":"1187209404", "numofapproved":"1", "id":"6741"}, {"last_update":"1192687257", "numofapproved":"1", "id":"12941"}, {"last_update":"1193385868", "numofapproved":"1", "id":"13942"}, {"last_update":"1193386346", "numofapproved":"1", "id":"13943"}, {"last_update":"1194937571", "numofapproved":"1", "id":"16042"}, {"last_update":"1194855975", "numofapproved":"1", "id":"15761"}, {"last_update":"1194960221", "numofapproved":"1", "id":"16161"}, {"last_update":"1184058679", "numofapproved":"1", "id":"4541"}, {"last_update":"1185865315", "numofapproved":"1", "id":"5842"}, {"last_update":"1187178780", "numofapproved":"1", "id":"6681"}, {"last_update":"1194884625", "numofapproved":"1", "id":"15921"}, {"last_update":"1195134032", "numofapproved":"1", "id":"16721"}, {"last_update":"1195164570", "numofapproved":"1", "id":"16901"}, {"last_update":"1182336429", "numofapproved":"1", "id":"3301"}, {"last_update":"1182415670", "numofapproved":"1", "id":"3353"}, {"last_update":"1184575801", "numofapproved":"1", "id":"4907"}, {"last_update":"1185483718", "numofapproved":"1", "id":"5601"}, {"last_update":"1186402874", "numofapproved":"1", "id":"6166"}, {"last_update":"1186750969", "numofapproved":"1", "id":"6383"}, {"last_update":"1192725360", "numofapproved":"1", "id":"13061"}, {"last_update":"1193314911", "numofapproved":"1", "id":"13822"}, {"last_update":"1183448275", "numofapproved":"1", "id":"4062"}, {"last_update":"1187321039", "numofapproved":"1", "id":"6861"}, {"last_update":"1188287578", "numofapproved":"1", "id":"7601"}, {"last_update":"1194464420", "numofapproved":"1", "id":"15224"}, {"last_update":"1195139641", "numofapproved":"1", "id":"16781"}, {"last_update":"1186147124", "numofapproved":"1", "id":"6107"}, {"last_update":"1188821750", "numofapproved":"1", "id":"8122"}, {"last_update":"1192531864", "numofapproved":"1", "id":"12665"}, {"last_update":"1192984220", "numofapproved":"1", "id":"13223"}, {"last_update":"1195225246", "numofapproved":"1", "id":"16982"}, {"last_update":"1182410787", "numofapproved":"1", "id":"3351"}, {"last_update":"1184531419", "numofapproved":"1", "id":"4901"}, {"last_update":"1188801472", "numofapproved":"1", "id":"8081"}, {"last_update":"1192524288", "numofapproved":"1", "id":"12661"}, {"last_update":"1180950691", "numofapproved":"1", "id":"2181"}, {"last_update":"1184016732", "numofapproved":"1", "id":"4501"}, {"last_update":"1186074085", "numofapproved":"1", "id":"6081"}, {"last_update":"1194937650", "numofapproved":"1", "id":"16043"}, {"last_update":"1182937178", "numofapproved":"1", "id":"3623"}, {"last_update":"1191419601", "numofapproved":"1", "id":"11101"}, {"last_update":"1191856562", "numofapproved":"1", "id":"11843"}, {"last_update":"1192525042", "numofapproved":"1", "id":"12681"}, {"last_update":"1194625494", "numofapproved":"1", "id":"15541"}, {"last_update":"1194982850", "numofapproved":"1", "id":"16361"}, {"last_update":"1194989219", "numofapproved":"1", "id":"16401"}, {"last_update":"1195066723", "numofapproved":"1", "id":"16641"}, {"last_update":"1183971226", "numofapproved":"1", "id":"4403"}, {"last_update":"1185526866", "numofapproved":"1", "id":"5661"}, {"last_update":"1185741495", "numofapproved":"1", "id":"5741"}, {"last_update":"1185905429", "numofapproved":"1", "id":"5881"}, {"last_update":"1186137969", "numofapproved":"1", "id":"6104"}, {"last_update":"1189267536", "numofapproved":"1", "id":"8701"}, {"last_update":"1190115042", "numofapproved":"1", "id":"9261"}, {"last_update":"1190664258", "numofapproved":"1", "id":"10062"}, {"last_update":"1190774949", "numofapproved":"1", "id":"10201"}, {"last_update":"1190965042", "numofapproved":"1", "id":"10641"}, {"last_update":"1191493379", "numofapproved":"1", "id":"11301"}, {"last_update":"1191578051", "numofapproved":"1", "id":"11501"}, {"last_update":"1192188840", "numofapproved":"1", "id":"12421"}, {"last_update":"1194000252", "numofapproved":"1", "id":"14682"}, {"last_update":"1194622556", "numofapproved":"1", "id":"15462"}, {"last_update":"1194981068", "numofapproved":"1", "id":"16341"}, {"last_update":"1185795733", "numofapproved":"1", "id":"5782"}, {"last_update":"1186646854", "numofapproved":"1", "id":"6341"}, {"last_update":"1187087291", "numofapproved":"1", "id":"6621"}, {"last_update":"1187951800", "numofapproved":"1", "id":"7401"}, {"last_update":"1189170373", "numofapproved":"1", "id":"8642"}, {"last_update":"1191007934", "numofapproved":"1", "id":"10781"}, {"last_update":"1190985695", "numofapproved":"1", "id":"10681"}, {"last_update":"1192009758", "numofapproved":"1", "id":"12063"}, {"last_update":"1193062543", "numofapproved":"1", "id":"13321"}, {"last_update":"1194950304", "numofapproved":"1", "id":"16123"}, {"last_update":"1171882085", "numofapproved":"1", "id":"90"}, {"last_update":"1171962264", "numofapproved":"1", "id":"111"}, {"last_update":"1172646556", "numofapproved":"1", "id":"219"}, {"last_update":"1174040139", "numofapproved":"1", "id":"349"}, {"last_update":"1174059263", "numofapproved":"1", "id":"355"}, {"last_update":"1174899063", "numofapproved":"1", "id":"489"}, {"last_update":"1173797557", "numofapproved":"1", "id":"310"}, {"last_update":"1174735191", "numofapproved":"1", "id":"468"}, {"last_update":"1174899259", "numofapproved":"1", "id":"499"}, {"last_update":"1174899354", "numofapproved":"1", "id":"502"}, {"last_update":"1175254120", "numofapproved":"1", "id":"562"}, {"last_update":"1171126391", "numofapproved":"1", "id":"4"}, {"last_update":"1171800381", "numofapproved":"1", "id":"82"}, {"last_update":"1171799224", "numofapproved":"1", "id":"75"}, {"last_update":"1171972550", "numofapproved":"1", "id":"123"}, {"last_update":"1174301165", "numofapproved":"1", "id":"381"}, {"last_update":"1171904847", "numofapproved":"1", "id":"103"}, {"last_update":"1172260956", "numofapproved":"1", "id":"190"}, {"last_update":"1172803368", "numofapproved":"1", "id":"234"}, {"last_update":"1173199576", "numofapproved":"1", "id":"250"}, {"last_update":"1173206201", "numofapproved":"1", "id":"252"}, {"last_update":"1175258941", "numofapproved":"1", "id":"563"}, {"last_update":"1176232231", "numofapproved":"1", "id":"825"}, {"last_update":"1176475088", "numofapproved":"1", "id":"921"}, {"last_update":"1172082181", "numofapproved":"1", "id":"166"}, {"last_update":"1172595205", "numofapproved":"1", "id":"216"}, {"last_update":"1174898892", "numofapproved":"1", "id":"481"}, {"last_update":"1174899696", "numofapproved":"1", "id":"518"}, {"last_update":"1174924777", "numofapproved":"1", "id":"525"}, {"last_update":"1175598588", "numofapproved":"1", "id":"682"}, {"last_update":"1175602572", "numofapproved":"1", "id":"683"}, {"last_update":"1175707879", "numofapproved":"1", "id":"666"}, {"last_update":"1175710528", "numofapproved":"1", "id":"703"}, {"last_update":"1175715728", "numofapproved":"1", "id":"707"}, {"last_update":"1176137267", "numofapproved":"1", "id":"806"}, {"last_update":"1176306491", "numofapproved":"1", "id":"883"}, {"last_update":"1172069972", "numofapproved":"1", "id":"134"}, {"last_update":"1173889144", "numofapproved":"1", "id":"324"}, {"last_update":"1175502804", "numofapproved":"1", "id":"623"}, {"last_update":"1175772530", "numofapproved":"1", "id":"711"}, {"last_update":"1176297526", "numofapproved":"1", "id":"861"}, {"last_update":"1171445818", "numofapproved":"1", "id":"47"}, {"last_update":"1171884505", "numofapproved":"1", "id":"92"}, {"last_update":"1172250708", "numofapproved":"1", "id":"187"}, {"last_update":"1173749631", "numofapproved":"1", "id":"307"}, {"last_update":"1173889164", "numofapproved":"1", "id":"325"}, {"last_update":"1174301168", "numofapproved":"1", "id":"382"}, {"last_update":"1171904807", "numofapproved":"1", "id":"101"}, {"last_update":"1171970405", "numofapproved":"1", "id":"120"}, {"last_update":"1172218677", "numofapproved":"1", "id":"179"}, {"last_update":"1173125028", "numofapproved":"1", "id":"248"}, {"last_update":"1171978122", "numofapproved":"1", "id":"126"}, {"last_update":"1172676736", "numofapproved":"1", "id":"226"}, {"last_update":"1173975473", "numofapproved":"1", "id":"344"}, {"last_update":"1172072582", "numofapproved":"1", "id":"165"}, {"last_update":"1173888774", "numofapproved":"1", "id":"322"}, {"last_update":"1174560347", "numofapproved":"1", "id":"422"}, {"last_update":"1174899242", "numofapproved":"1", "id":"498"}, {"last_update":"1174735110", "numofapproved":"1", "id":"466"}, {"last_update":"1176735630", "numofapproved":"1", "id":"1004"}, {"last_update":"1175725931", "numofapproved":"1", "id":"670"}, {"last_update":"1176498072", "numofapproved":"1", "id":"944"}, {"last_update":"1178264233", "numofapproved":"1", "id":"1241"}, {"last_update":"1178746727", "numofapproved":"1", "id":"1350"}, {"last_update":"1178798992", "numofapproved":"1", "id":"1352"}, {"last_update":"1180011647", "numofapproved":"1", "id":"1649"}, {"last_update":"1180430823", "numofapproved":"1", "id":"1901"}, {"last_update":"1180649952", "numofapproved":"1", "id":"2021"}, {"last_update":"1180966506", "numofapproved":"1", "id":"2183"}, {"last_update":"1180987142", "numofapproved":"1", "id":"2241"}, {"last_update":"1181127788", "numofapproved":"1", "id":"2322"}, {"last_update":"1181217668", "numofapproved":"1", "id":"2461"}, {"last_update":"1182789542", "numofapproved":"1", "id":"3522"}, {"last_update":"1182851714", "numofapproved":"1", "id":"3581"}, {"last_update":"1179268837", "numofapproved":"1", "id":"1407"}, {"last_update":"1179999486", "numofapproved":"1", "id":"1645"}, {"last_update":"1180019568", "numofapproved":"1", "id":"1653"}, {"last_update":"1180082061", "numofapproved":"1", "id":"1821"}, {"last_update":"1184181871", "numofapproved":"1", "id":"4642"}, {"last_update":"1184251955", "numofapproved":"1", "id":"4741"}, {"last_update":"1184346893", "numofapproved":"1", "id":"4841"}, {"last_update":"1184773981", "numofapproved":"1", "id":"5001"}, {"last_update":"1185272905", "numofapproved":"1", "id":"5281"}, {"last_update":"1185484083", "numofapproved":"1", "id":"5622"}, {"last_update":"1185897961", "numofapproved":"1", "id":"5861"}, {"last_update":"1186951708", "numofapproved":"1", "id":"6462"}, {"last_update":"1187596311", "numofapproved":"1", "id":"6941"}, {"last_update":"1187766852", "numofapproved":"1", "id":"7201"}, {"last_update":"1188158133", "numofapproved":"1", "id":"7481"}, {"last_update":"1188233835", "numofapproved":"1", "id":"7501"}, {"last_update":"1188269273", "numofapproved":"1", "id":"7561"}, {"last_update":"1177672684", "numofapproved":"1", "id":"1141"}, {"last_update":"1178042016", "numofapproved":"1", "id":"1222"}, {"last_update":"1181646022", "numofapproved":"1", "id":"2801"}, {"last_update":"1181853920", "numofapproved":"1", "id":"3021"}, {"last_update":"1183715836", "numofapproved":"1", "id":"4241"}, {"last_update":"1183726859", "numofapproved":"1", "id":"4281"}, {"last_update":"1189860355", "numofapproved":"1", "id":"9101"}, {"last_update":"1189871747", "numofapproved":"1", "id":"9141"}, {"last_update":"1190380660", "numofapproved":"1", "id":"9681"}, {"last_update":"1190510808", "numofapproved":"1", "id":"9821"}, {"last_update":"1190542013", "numofapproved":"1", "id":"9843"}, {"last_update":"1190665412", "numofapproved":"1", "id":"10081"}, {"last_update":"1190299519", "numofapproved":"1", "id":"9601"}, {"last_update":"1191410594", "numofapproved":"1", "id":"11063"}, {"last_update":"1191505786", "numofapproved":"1", "id":"11341"}, {"last_update":"1191583652", "numofapproved":"1", "id":"11522"}, {"last_update":"1191599712", "numofapproved":"1", "id":"11681"}, {"last_update":"1191602931", "numofapproved":"1", "id":"11721"}, {"last_update":"1191762572", "numofapproved":"1", "id":"11761"}, {"last_update":"1191856256", "numofapproved":"1", "id":"11841"}, {"last_update":"1191937041", "numofapproved":"1", "id":"11921"}, {"last_update":"1179325639", "numofapproved":"1", "id":"1409"}, {"last_update":"1179912165", "numofapproved":"1", "id":"1721"}, {"last_update":"1181119430", "numofapproved":"1", "id":"2321"}, {"last_update":"1184696743", "numofapproved":"1", "id":"4921"}, {"last_update":"1192154847", "numofapproved":"1", "id":"12361"}, {"last_update":"1192237071", "numofapproved":"1", "id":"12501"}, {"last_update":"1178637394", "numofapproved":"1", "id":"1304"}, {"last_update":"1178716778", "numofapproved":"1", "id":"1344"}, {"last_update":"1182937057", "numofapproved":"1", "id":"3622"}, {"last_update":"1183113642", "numofapproved":"1", "id":"3781"}, {"last_update":"1183995467", "numofapproved":"1", "id":"4461"}, {"last_update":"1184223331", "numofapproved":"1", "id":"4721"}, {"last_update":"1190990692", "numofapproved":"1", "id":"10711"}, {"last_update":"1193269310", "numofapproved":"1", "id":"13761"}, {"last_update":"1193735756", "numofapproved":"1", "id":"14441"}, {"last_update":"1194635738", "numofapproved":"1", "id":"15603"}, {"last_update":"1194901721", "numofapproved":"1", "id":"15961"}, {"last_update":"1194949951", "numofapproved":"1", "id":"16141"}, {"last_update":"1194960695", "numofapproved":"1", "id":"16182"}, {"last_update":"1194973974", "numofapproved":"1", "id":"16221"}, {"last_update":"1194946810", "numofapproved":"1", "id":"16102"}, {"last_update":"1194977452", "numofapproved":"1", "id":"16261"}, {"last_update":"1195040385", "numofapproved":"1", "id":"16461"}, {"last_update":"1195053483", "numofapproved":"1", "id":"16561"}, {"last_update":"1195053518", "numofapproved":"1", "id":"16562"}, {"last_update":"1195218698", "numofapproved":"1", "id":"16921"}, {"last_update":"1195225049", "numofapproved":"1", "id":"16961"}, {"last_update":"1195164270", "numofapproved":"1", "id":"16881"}, {"last_update":"1195080947", "numofapproved":"1", "id":"16681"}, {"last_update":"1195469884", "numofapproved":"1", "id":"17181"}, {"last_update":"1185314804", "numofapproved":"1", "id":"5381"}, {"last_update":"1188401767", "numofapproved":"1", "id":"7721"}, {"last_update":"1190286841", "numofapproved":"1", "id":"9582"}, {"last_update":"1190733096", "numofapproved":"1", "id":"10141"}, {"last_update":"1190847451", "numofapproved":"1", "id":"10422"}, {"last_update":"1190990526", "numofapproved":"1", "id":"10707"}, {"last_update":"1192009711", "numofapproved":"1", "id":"12061"}, {"last_update":"1192155478", "numofapproved":"1", "id":"12362"}, {"last_update":"1192468382", "numofapproved":"1", "id":"12641"}, {"last_update":"1193332032", "numofapproved":"1", "id":"13881"}, {"last_update":"1195497290", "numofapproved":"1", "id":"17321"}, {"last_update":"1195519935", "numofapproved":"1", "id":"17441"}, {"last_update":"1195549826", "numofapproved":"1", "id":"17521"}, {"last_update":"1177668131", "numofapproved":"1", "id":"1101"}, {"last_update":"1186835348", "numofapproved":"1", "id":"6421"}, {"last_update":"1191057903", "numofapproved":"1", "id":"10802"}, {"last_update":"1193973906", "numofapproved":"1", "id":"14665"}, {"last_update":"1171904780", "numofapproved":"1", "id":"100"}, {"last_update":"1172677750", "numofapproved":"1", "id":"227"}, {"last_update":"1172686704", "numofapproved":"1", "id":"229"}, {"last_update":"1173101684", "numofapproved":"1", "id":"245"}, {"last_update":"1173466151", "numofapproved":"1", "id":"282"}, {"last_update":"1174301263", "numofapproved":"1", "id":"386"}, {"last_update":"1174302366", "numofapproved":"1", "id":"399"}, {"last_update":"1174501294", "numofapproved":"1", "id":"421"}, {"last_update":"1174899635", "numofapproved":"1", "id":"515"}, {"last_update":"1174924556", "numofapproved":"1", "id":"523"}, {"last_update":"1175141200", "numofapproved":"1", "id":"541"}, {"last_update":"1171799271", "numofapproved":"1", "id":"76"}, {"last_update":"1171900163", "numofapproved":"1", "id":"97"}, {"last_update":"1174301267", "numofapproved":"1", "id":"387"}, {"last_update":"1174735156", "numofapproved":"1", "id":"467"}, {"last_update":"1174899569", "numofapproved":"1", "id":"512"}, {"last_update":"1174926970", "numofapproved":"1", "id":"531"}, {"last_update":"1175502757", "numofapproved":"1", "id":"602"}, {"last_update":"1175603425", "numofapproved":"1", "id":"663"}, {"last_update":"1176194967", "numofapproved":"1", "id":"822"}, {"last_update":"1171800398", "numofapproved":"1", "id":"83"}, {"last_update":"1171968376", "numofapproved":"1", "id":"118"}, {"last_update":"1172070063", "numofapproved":"1", "id":"135"}, {"last_update":"1173821159", "numofapproved":"1", "id":"314"}, {"last_update":"1176559052", "numofapproved":"1", "id":"964"}, {"last_update":"1171299245", "numofapproved":"1", "id":"23"}, {"last_update":"1171535160", "numofapproved":"1", "id":"57"}, {"last_update":"1171564542", "numofapproved":"1", "id":"65"}, {"last_update":"1172646592", "numofapproved":"1", "id":"220"}, {"last_update":"1174899489", "numofapproved":"1", "id":"507"}, {"last_update":"1174924890", "numofapproved":"1", "id":"528"}, {"last_update":"1175687005", "numofapproved":"1", "id":"701"}, {"last_update":"1176132888", "numofapproved":"1", "id":"805"}, {"last_update":"1171286610", "numofapproved":"1", "id":"21"}, {"last_update":"1172184441", "numofapproved":"1", "id":"176"}, {"last_update":"1172187221", "numofapproved":"1", "id":"178"}, {"last_update":"1173386668", "numofapproved":"1", "id":"261"}, {"last_update":"1173809115", "numofapproved":"1", "id":"312"}, {"last_update":"1175609126", "numofapproved":"1", "id":"685"}, {"last_update":"1175791369", "numofapproved":"1", "id":"712"}, {"last_update":"1176480434", "numofapproved":"1", "id":"942"}, {"last_update":"1171503567", "numofapproved":"1", "id":"56"}, {"last_update":"1171799204", "numofapproved":"1", "id":"74"}, {"last_update":"1172236765", "numofapproved":"1", "id":"183"}, {"last_update":"1175598013", "numofapproved":"1", "id":"681"}, {"last_update":"1175610956", "numofapproved":"1", "id":"687"}, {"last_update":"1175725436", "numofapproved":"1", "id":"710"}, {"last_update":"1171905052", "numofapproved":"1", "id":"105"}, {"last_update":"1172268920", "numofapproved":"1", "id":"191"}, {"last_update":"1173264110", "numofapproved":"1", "id":"256"}, {"last_update":"1173889179", "numofapproved":"1", "id":"326"}, {"last_update":"1174301066", "numofapproved":"1", "id":"378"}, {"last_update":"1174300399", "numofapproved":"1", "id":"366"}, {"last_update":"1174387980", "numofapproved":"1", "id":"400"}, {"last_update":"1176823766", "numofapproved":"1", "id":"1007"}, {"last_update":"1171970585", "numofapproved":"1", "id":"122"}, {"last_update":"1172071500", "numofapproved":"1", "id":"145"}, {"last_update":"1172580279", "numofapproved":"1", "id":"211"}, {"last_update":"1172658493", "numofapproved":"1", "id":"221"}, {"last_update":"1174301611", "numofapproved":"1", "id":"397"}, {"last_update":"1176900132", "numofapproved":"1", "id":"989"}, {"last_update":"1171965754", "numofapproved":"1", "id":"114"}, {"last_update":"1173797482", "numofapproved":"1", "id":"309"}, {"last_update":"1174300513", "numofapproved":"1", "id":"367"}, {"last_update":"1174301493", "numofapproved":"1", "id":"395"}, {"last_update":"1174899124", "numofapproved":"1", "id":"492"}, {"last_update":"1174899677", "numofapproved":"1", "id":"517"}, {"last_update":"1174924235", "numofapproved":"1", "id":"522"}, {"last_update":"1174925568", "numofapproved":"1", "id":"529"}, {"last_update":"1174933088", "numofapproved":"1", "id":"533"}, {"last_update":"1174933338", "numofapproved":"1", "id":"538"}, {"last_update":"1174044629", "numofapproved":"1", "id":"352"}, {"last_update":"1175713207", "numofapproved":"1", "id":"669"}, {"last_update":"1178339569", "numofapproved":"1", "id":"1262"}, {"last_update":"1178611427", "numofapproved":"1", "id":"1303"}, {"last_update":"1178707269", "numofapproved":"1", "id":"1341"}, {"last_update":"1179411388", "numofapproved":"1", "id":"1461"}, {"last_update":"1180000879", "numofapproved":"1", "id":"1648"}, {"last_update":"1180097993", "numofapproved":"1", "id":"1657"}, {"last_update":"1180107947", "numofapproved":"1", "id":"1659"}, {"last_update":"1180515935", "numofapproved":"1", "id":"1922"}, {"last_update":"1180712418", "numofapproved":"1", "id":"2102"}, {"last_update":"1180731895", "numofapproved":"1", "id":"2063"}, {"last_update":"1180731763", "numofapproved":"1", "id":"2143"}, {"last_update":"1180951519", "numofapproved":"1", "id":"2201"}, {"last_update":"1180954763", "numofapproved":"1", "id":"2182"}, {"last_update":"1181134185", "numofapproved":"1", "id":"2361"}, {"last_update":"1181206368", "numofapproved":"1", "id":"2441"}, {"last_update":"1181207556", "numofapproved":"1", "id":"2442"}, {"last_update":"1183065868", "numofapproved":"1", "id":"3741"}, {"last_update":"1183124436", "numofapproved":"1", "id":"3822"}, {"last_update":"1183118631", "numofapproved":"1", "id":"3802"}, {"last_update":"1183515629", "numofapproved":"1", "id":"4144"}, {"last_update":"1184169495", "numofapproved":"1", "id":"4621"}, {"last_update":"1184777700", "numofapproved":"1", "id":"5021"}, {"last_update":"1185371099", "numofapproved":"1", "id":"5441"}, {"last_update":"1185460060", "numofapproved":"1", "id":"5521"}, {"last_update":"1185462514", "numofapproved":"1", "id":"5541"}, {"last_update":"1185573050", "numofapproved":"1", "id":"5721"}, {"last_update":"1185795586", "numofapproved":"1", "id":"5781"}, {"last_update":"1185962181", "numofapproved":"1", "id":"5901"}, {"last_update":"1185987024", "numofapproved":"1", "id":"6001"}, {"last_update":"1186138150", "numofapproved":"1", "id":"6105"}, {"last_update":"1186500528", "numofapproved":"1", "id":"6281"}, {"last_update":"1187765075", "numofapproved":"1", "id":"7141"}, {"last_update":"1188158263", "numofapproved":"1", "id":"7482"}, {"last_update":"1189094579", "numofapproved":"1", "id":"8461"}, {"last_update":"1189327635", "numofapproved":"1", "id":"8721"}, {"last_update":"1182356521", "numofapproved":"1", "id":"3344"}, {"last_update":"1185017921", "numofapproved":"1", "id":"5161"}, {"last_update":"1185271167", "numofapproved":"1", "id":"5261"}, {"last_update":"1190663796", "numofapproved":"1", "id":"10041"}, {"last_update":"1190726728", "numofapproved":"1", "id":"10121"}, {"last_update":"1190801144", "numofapproved":"1", "id":"10241"}, {"last_update":"1190894441", "numofapproved":"1", "id":"10502"}, {"last_update":"1190973098", "numofapproved":"1", "id":"10667"}, {"last_update":"1190925124", "numofapproved":"1", "id":"10584"}, {"last_update":"1191249884", "numofapproved":"1", "id":"10961"}, {"last_update":"1187732431", "numofapproved":"1", "id":"7081"}, {"last_update":"1189259179", "numofapproved":"1", "id":"8681"}, {"last_update":"1191446517", "numofapproved":"1", "id":"11183"}, {"last_update":"1191510643", "numofapproved":"1", "id":"11381"}, {"last_update":"1191529640", "numofapproved":"1", "id":"11421"}, {"last_update":"1191588726", "numofapproved":"1", "id":"11602"}, {"last_update":"1191903050", "numofapproved":"1", "id":"11881"}, {"last_update":"1181218459", "numofapproved":"1", "id":"2464"}, {"last_update":"1187024536", "numofapproved":"1", "id":"6581"}, {"last_update":"1192009094", "numofapproved":"1", "id":"12041"}, {"last_update":"1192064048", "numofapproved":"1", "id":"12183"}, {"last_update":"1192061973", "numofapproved":"1", "id":"12181"}, {"last_update":"1193026780", "numofapproved":"1", "id":"13241"}, {"last_update":"1193416409", "numofapproved":"1", "id":"14161"}, {"last_update":"1186992495", "numofapproved":"1", "id":"6481"}, {"last_update":"1191410811", "numofapproved":"1", "id":"11066"}, {"last_update":"1193440748", "numofapproved":"1", "id":"14241"}, {"last_update":"1194252005", "numofapproved":"1", "id":"14884"}, {"last_update":"1194362364", "numofapproved":"1", "id":"14889"}, {"last_update":"1179240103", "numofapproved":"1", "id":"1389"}, {"last_update":"1181812262", "numofapproved":"1", "id":"2922"}, {"last_update":"1182093916", "numofapproved":"1", "id":"3181"}, {"last_update":"1182767688", "numofapproved":"1", "id":"3501"}, {"last_update":"1184181747", "numofapproved":"1", "id":"4661"}, {"last_update":"1186505570", "numofapproved":"1", "id":"6170"}, {"last_update":"1186751068", "numofapproved":"1", "id":"6384"}, {"last_update":"1187558925", "numofapproved":"1", "id":"6921"}, {"last_update":"1188037477", "numofapproved":"1", "id":"7424"}, {"last_update":"1194937530", "numofapproved":"1", "id":"16041"}, {"last_update":"1179754250", "numofapproved":"1", "id":"1562"}, {"last_update":"1183416194", "numofapproved":"1", "id":"4021"}, {"last_update":"1185835616", "numofapproved":"1", "id":"5841"}, {"last_update":"1192731190", "numofapproved":"1", "id":"13141"}, {"last_update":"1193178120", "numofapproved":"1", "id":"13523"}, {"last_update":"1193844805", "numofapproved":"1", "id":"14503"}, {"last_update":"1193909242", "numofapproved":"1", "id":"14525"}, {"last_update":"1195474767", "numofapproved":"1", "id":"17221"}, {"last_update":"1177690781", "numofapproved":"1", "id":"1142"}, {"last_update":"1185373614", "numofapproved":"1", "id":"5461"}, {"last_update":"1192520088", "numofapproved":"1", "id":"12624"}, {"last_update":"1193194444", "numofapproved":"1", "id":"13527"}, {"last_update":"1193387684", "numofapproved":"1", "id":"13950"}, {"last_update":"1193388786", "numofapproved":"1", "id":"13952"}, {"last_update":"1194616895", "numofapproved":"1", "id":"15401"}, {"last_update":"1195034817", "numofapproved":"1", "id":"16441"}, {"last_update":"1183107374", "numofapproved":"1", "id":"3761"}, {"last_update":"1183515040", "numofapproved":"1", "id":"4121"}, {"last_update":"1184744160", "numofapproved":"1", "id":"4942"}, {"last_update":"1192094830", "numofapproved":"1", "id":"12201"}, {"last_update":"1193314411", "numofapproved":"1", "id":"13821"}, {"last_update":"1193391901", "numofapproved":"1", "id":"13957"}, {"last_update":"1193399824", "numofapproved":"1", "id":"14043"}, {"last_update":"1194450353", "numofapproved":"1", "id":"15181"}, {"last_update":"1194474719", "numofapproved":"1", "id":"15241"}, {"last_update":"1194622799", "numofapproved":"1", "id":"15481"}, {"last_update":"1194880827", "numofapproved":"1", "id":"15901"}, {"last_update":"1182363929", "numofapproved":"1", "id":"3347"}, {"last_update":"1182952243", "numofapproved":"1", "id":"3642"}, {"last_update":"1183386876", "numofapproved":"1", "id":"3962"}, {"last_update":"1193178314", "numofapproved":"1", "id":"13524"}, {"last_update":"1195376577", "numofapproved":"1", "id":"17061"}, {"last_update":"1179832847", "numofapproved":"1", "id":"1621"}, {"last_update":"1184053269", "numofapproved":"1", "id":"4521"}, {"last_update":"1185024744", "numofapproved":"1", "id":"5181"}, {"last_update":"1186130324", "numofapproved":"1", "id":"6101"}, {"last_update":"1192529640", "numofapproved":"1", "id":"12662"}, {"last_update":"1193158482", "numofapproved":"1", "id":"13521"}, {"last_update":"1194247788", "numofapproved":"1", "id":"14883"}, {"last_update":"1182363717", "numofapproved":"1", "id":"3346"}, {"last_update":"1193386824", "numofapproved":"1", "id":"13944"}, {"last_update":"1193844655", "numofapproved":"1", "id":"14502"}, {"last_update":"1180732326", "numofapproved":"1", "id":"2064"}, {"last_update":"1182247493", "numofapproved":"1", "id":"3222"}, {"last_update":"1183515318", "numofapproved":"1", "id":"4143"}, {"last_update":"1184840285", "numofapproved":"1", "id":"5061"}, {"last_update":"1188458821", "numofapproved":"1", "id":"7741"}, {"last_update":"1188919582", "numofapproved":"1", "id":"8241"}, {"last_update":"1190990231", "numofapproved":"1", "id":"10701"}, {"last_update":"1190990557", "numofapproved":"1", "id":"10708"}, {"last_update":"1191583611", "numofapproved":"1", "id":"11521"}, {"last_update":"1192031263", "numofapproved":"1", "id":"12102"}, {"last_update":"1192431349", "numofapproved":"1", "id":"12563"}, {"last_update":"1192608972", "numofapproved":"1", "id":"12801"}, {"last_update":"1193244196", "numofapproved":"1", "id":"13641"}, {"last_update":"1193733530", "numofapproved":"1", "id":"14422"}, {"last_update":"1194988770", "numofapproved":"1", "id":"16381"}, {"last_update":"1195050890", "numofapproved":"1", "id":"16541"}, {"last_update":"1195047262", "numofapproved":"1", "id":"16502"}, {"last_update":"1195221672", "numofapproved":"1", "id":"16941"}, {"last_update":"1195400016", "numofapproved":"1", "id":"17103"}, {"last_update":"1178716622", "numofapproved":"1", "id":"1343"}, {"last_update":"1183563126", "numofapproved":"1", "id":"4181"}, {"last_update":"1183970953", "numofapproved":"1", "id":"4402"}, {"last_update":"1190149151", "numofapproved":"1", "id":"9381"}, {"last_update":"1190628937", "numofapproved":"1", "id":"9921"}, {"last_update":"1190908511", "numofapproved":"1", "id":"10521"}, {"last_update":"1191365468", "numofapproved":"1", "id":"11021"}, {"last_update":"1192431054", "numofapproved":"1", "id":"12561"}, {"last_update":"1188938163", "numofapproved":"1", "id":"8281"}, {"last_update":"1192155298", "numofapproved":"1", "id":"12383"}, {"last_update":"1193223714", "numofapproved":"1", "id":"13561"}, {"last_update":"1171799359", "numofapproved":"1", "id":"80"}, {"last_update":"1171962550", "numofapproved":"1", "id":"112"}, {"last_update":"1171965210", "numofapproved":"1", "id":"113"}, {"last_update":"1171980888", "numofapproved":"1", "id":"128"}, {"last_update":"1174299174", "numofapproved":"1", "id":"361"}, {"last_update":"1174301053", "numofapproved":"1", "id":"376"}, {"last_update":"1174899661", "numofapproved":"1", "id":"516"}, {"last_update":"1172646493", "numofapproved":"1", "id":"218"}, {"last_update":"1174899018", "numofapproved":"1", "id":"487"}, {"last_update":"1175091201", "numofapproved":"1", "id":"540"}, {"last_update":"1175267243", "numofapproved":"1", "id":"564"}, {"last_update":"1176293117", "numofapproved":"1", "id":"826"}, {"last_update":"1171602873", "numofapproved":"1", "id":"67"}, {"last_update":"1172568714", "numofapproved":"1", "id":"210"}, {"last_update":"1174300556", "numofapproved":"1", "id":"369"}, {"last_update":"1174301614", "numofapproved":"1", "id":"398"}, {"last_update":"1174429050", "numofapproved":"1", "id":"404"}, {"last_update":"1175547821", "numofapproved":"1", "id":"641"}, {"last_update":"1175696551", "numofapproved":"1", "id":"702"}, {"last_update":"1176223342", "numofapproved":"1", "id":"823"}, {"last_update":"1176459077", "numofapproved":"1", "id":"905"}, {"last_update":"1172169117", "numofapproved":"1", "id":"172"}, {"last_update":"1172259821", "numofapproved":"1", "id":"189"}, {"last_update":"1172847347", "numofapproved":"1", "id":"237"}, {"last_update":"1176485274", "numofapproved":"1", "id":"961"}, {"last_update":"1176739199", "numofapproved":"1", "id":"983"}, {"last_update":"1171710108", "numofapproved":"1", "id":"72"}, {"last_update":"1172147854", "numofapproved":"1", "id":"170"}, {"last_update":"1172178657", "numofapproved":"1", "id":"173"}, {"last_update":"1174933210", "numofapproved":"1", "id":"535"}, {"last_update":"1175502973", "numofapproved":"1", "id":"626"}, {"last_update":"1172071610", "numofapproved":"1", "id":"146"}, {"last_update":"1172847402", "numofapproved":"1", "id":"240"}, {"last_update":"1173282970", "numofapproved":"1", "id":"258"}, {"last_update":"1175502729", "numofapproved":"1", "id":"621"}, {"last_update":"1173889203", "numofapproved":"1", "id":"327"}, {"last_update":"1174301604", "numofapproved":"1", "id":"396"}, {"last_update":"1176738556", "numofapproved":"1", "id":"1005"}, {"last_update":"1171287066", "numofapproved":"1", "id":"22"}, {"last_update":"1171388951", "numofapproved":"1", "id":"46"}, {"last_update":"1171645099", "numofapproved":"1", "id":"70"}, {"last_update":"1174301489", "numofapproved":"1", "id":"394"}, {"last_update":"1176109438", "numofapproved":"1", "id":"804"}, {"last_update":"1173203622", "numofapproved":"1", "id":"251"}, {"last_update":"1174300337", "numofapproved":"1", "id":"364"}, {"last_update":"1174898999", "numofapproved":"1", "id":"486"}, {"last_update":"1174899221", "numofapproved":"1", "id":"497"}, {"last_update":"1174899505", "numofapproved":"1", "id":"508"}, {"last_update":"1171905996", "numofapproved":"1", "id":"106"}, {"last_update":"1172003938", "numofapproved":"1", "id":"131"}, {"last_update":"1172134183", "numofapproved":"1", "id":"167"}, {"last_update":"1178550080", "numofapproved":"1", "id":"1301"}, {"last_update":"1178718229", "numofapproved":"1", "id":"1346"}, {"last_update":"1178725187", "numofapproved":"1", "id":"1322"}, {"last_update":"1179302219", "numofapproved":"1", "id":"1392"}, {"last_update":"1180015260", "numofapproved":"1", "id":"1650"}, {"last_update":"1180088452", "numofapproved":"1", "id":"1656"}, {"last_update":"1180719498", "numofapproved":"1", "id":"2121"}, {"last_update":"1180731930", "numofapproved":"1", "id":"2145"}, {"last_update":"1180731601", "numofapproved":"1", "id":"2142"}, {"last_update":"1181034337", "numofapproved":"1", "id":"2281"}, {"last_update":"1181222113", "numofapproved":"1", "id":"2501"}, {"last_update":"1181254636", "numofapproved":"1", "id":"2601"}, {"last_update":"1181578682", "numofapproved":"1", "id":"2762"}, {"last_update":"1181731051", "numofapproved":"1", "id":"2881"}, {"last_update":"1177673345", "numofapproved":"1", "id":"1162"}, {"last_update":"1183741680", "numofapproved":"1", "id":"4301"}, {"last_update":"1183988623", "numofapproved":"1", "id":"4441"}, {"last_update":"1184217947", "numofapproved":"1", "id":"4701"}, {"last_update":"1186260146", "numofapproved":"1", "id":"6181"}, {"last_update":"1186289860", "numofapproved":"1", "id":"6163"}, {"last_update":"1186235477", "numofapproved":"1", "id":"6161"}, {"last_update":"1186508996", "numofapproved":"1", "id":"6171"}, {"last_update":"1187626570", "numofapproved":"1", "id":"6961"}, {"last_update":"1187713755", "numofapproved":"1", "id":"7041"}, {"last_update":"1187769208", "numofapproved":"1", "id":"7222"}, {"last_update":"1187856827", "numofapproved":"1", "id":"7341"}, {"last_update":"1188053850", "numofapproved":"1", "id":"7461"}, {"last_update":"1188264856", "numofapproved":"1", "id":"7541"}, {"last_update":"1188319841", "numofapproved":"1", "id":"7681"}, {"last_update":"1188582632", "numofapproved":"1", "id":"7901"}, {"last_update":"1188734330", "numofapproved":"1", "id":"8001"}, {"last_update":"1189003562", "numofapproved":"1", "id":"8381"}, {"last_update":"1179787121", "numofapproved":"1", "id":"1581"}, {"last_update":"1181998896", "numofapproved":"1", "id":"3121"}, {"last_update":"1182274782", "numofapproved":"1", "id":"3261"}, {"last_update":"1186350397", "numofapproved":"1", "id":"6241"}, {"last_update":"1187354512", "numofapproved":"1", "id":"6881"}, {"last_update":"1188918086", "numofapproved":"1", "id":"8221"}, {"last_update":"1190392989", "numofapproved":"1", "id":"9721"}, {"last_update":"1190925022", "numofapproved":"1", "id":"10583"}, {"last_update":"1190959571", "numofapproved":"1", "id":"10601"}, {"last_update":"1190990357", "numofapproved":"1", "id":"10705"}, {"last_update":"1190990656", "numofapproved":"1", "id":"10710"}, {"last_update":"1191226364", "numofapproved":"1", "id":"10921"}, {"last_update":"1180011741", "numofapproved":"1", "id":"1761"}, {"last_update":"1180533694", "numofapproved":"1", "id":"1961"}, {"last_update":"1180731839", "numofapproved":"1", "id":"2144"}, {"last_update":"1181461876", "numofapproved":"1", "id":"2681"}, {"last_update":"1181855690", "numofapproved":"1", "id":"3061"}, {"last_update":"1189537687", "numofapproved":"1", "id":"8821"}, {"last_update":"1189937430", "numofapproved":"1", "id":"9161"}, {"last_update":"1190803903", "numofapproved":"1", "id":"10261"}, {"last_update":"1190973051", "numofapproved":"1", "id":"10664"}, {"last_update":"1191410739", "numofapproved":"1", "id":"11064"}, {"last_update":"1191426697", "numofapproved":"1", "id":"11121"}, {"last_update":"1191446459", "numofapproved":"1", "id":"11182"}, {"last_update":"1191450891", "numofapproved":"1", "id":"11201"}, {"last_update":"1191550000", "numofapproved":"1", "id":"11441"}, {"last_update":"1191588714", "numofapproved":"1", "id":"11601"}, {"last_update":"1191596815", "numofapproved":"1", "id":"11641"}, {"last_update":"1191647971", "numofapproved":"1", "id":"11741"}, {"last_update":"1191949660", "numofapproved":"1", "id":"11981"}, {"last_update":"1180641844", "numofapproved":"1", "id":"2001"}, {"last_update":"1188319710", "numofapproved":"1", "id":"7661"}, {"last_update":"1189169640", "numofapproved":"1", "id":"8621"}, {"last_update":"1192028009", "numofapproved":"1", "id":"12081"}, {"last_update":"1192116783", "numofapproved":"1", "id":"12261"}, {"last_update":"1192558715", "numofapproved":"1", "id":"12741"}, {"last_update":"1192727702", "numofapproved":"1", "id":"13101"}, {"last_update":"1193035517", "numofapproved":"1", "id":"13262"}, {"last_update":"1193080239", "numofapproved":"1", "id":"13381"}, {"last_update":"1193268912", "numofapproved":"1", "id":"13722"}, {"last_update":"1193386894", "numofapproved":"1", "id":"13946"}, {"last_update":"1193388087", "numofapproved":"1", "id":"13982"}, {"last_update":"1179841973", "numofapproved":"1", "id":"1642"}, {"last_update":"1179842066", "numofapproved":"1", "id":"1662"}, {"last_update":"1185971695", "numofapproved":"1", "id":"5941"}, {"last_update":"1186137440", "numofapproved":"1", "id":"6103"}, {"last_update":"1192823224", "numofapproved":"1", "id":"13181"}, {"last_update":"1193921116", "numofapproved":"1", "id":"14581"}, {"last_update":"1193918035", "numofapproved":"1", "id":"14544"}, {"last_update":"1193973759", "numofapproved":"1", "id":"14663"}, {"last_update":"1194004166", "numofapproved":"1", "id":"14721"}, {"last_update":"1194020795", "numofapproved":"1", "id":"14761"}, {"last_update":"1194021069", "numofapproved":"1", "id":"14781"}, {"last_update":"1194283444", "numofapproved":"1", "id":"14887"}, {"last_update":"1194436909", "numofapproved":"1", "id":"15141"}, {"last_update":"1194538247", "numofapproved":"1", "id":"15341"}, {"last_update":"1180031440", "numofapproved":"1", "id":"1801"}, {"last_update":"1181823965", "numofapproved":"1", "id":"2941"}, {"last_update":"1182846565", "numofapproved":"1", "id":"3561"}, {"last_update":"1185872587", "numofapproved":"1", "id":"5843"}, {"last_update":"1186472951", "numofapproved":"1", "id":"6168"}, {"last_update":"1189937606", "numofapproved":"1", "id":"9181"}, {"last_update":"1193389026", "numofapproved":"1", "id":"13955"}, {"last_update":"1192130592", "numofapproved":"1", "id":"12321"}, {"last_update":"1194387386", "numofapproved":"1", "id":"15061"}, {"last_update":"1179336536", "numofapproved":"1", "id":"1396"}, {"last_update":"1182280246", "numofapproved":"1", "id":"3281"}, {"last_update":"1183394591", "numofapproved":"1", "id":"4001"}, {"last_update":"1184677502", "numofapproved":"1", "id":"4909"}, {"last_update":"1186144184", "numofapproved":"1", "id":"6106"}, {"last_update":"1187191683", "numofapproved":"1", "id":"6701"}, {"last_update":"1193909594", "numofapproved":"1", "id":"14527"}, {"last_update":"1194435747", "numofapproved":"1", "id":"15121"}, {"last_update":"1184252278", "numofapproved":"1", "id":"4761"}, {"last_update":"1194854996", "numofapproved":"1", "id":"15721"}, {"last_update":"1194937730", "numofapproved":"1", "id":"16045"}, {"last_update":"1193076864", "numofapproved":"1", "id":"13361"}, {"last_update":"1194904087", "numofapproved":"1", "id":"15981"}, {"last_update":"1181853751", "numofapproved":"1", "id":"3001"}, {"last_update":"1182075529", "numofapproved":"1", "id":"3161"}, {"last_update":"1184883226", "numofapproved":"1", "id":"5081"}, {"last_update":"1186136013", "numofapproved":"1", "id":"6102"}, {"last_update":"1193147983", "numofapproved":"1", "id":"13481"}, {"last_update":"1194532658", "numofapproved":"1", "id":"15301"}, {"last_update":"1194937763", "numofapproved":"1", "id":"16046"}, {"last_update":"1195225183", "numofapproved":"1", "id":"16981"}, {"last_update":"1180616624", "numofapproved":"1", "id":"1981"}, {"last_update":"1183019269", "numofapproved":"1", "id":"3701"}, {"last_update":"1188656338", "numofapproved":"1", "id":"7941"}, {"last_update":"1178799062", "numofapproved":"1", "id":"1353"}, {"last_update":"1178905809", "numofapproved":"1", "id":"1360"}, {"last_update":"1179311575", "numofapproved":"1", "id":"1408"}, {"last_update":"1182507595", "numofapproved":"1", "id":"3461"}, {"last_update":"1184254004", "numofapproved":"1", "id":"4781"}, {"last_update":"1187938257", "numofapproved":"1", "id":"7381"}, {"last_update":"1188473327", "numofapproved":"1", "id":"7801"}, {"last_update":"1189102174", "numofapproved":"1", "id":"8481"}, {"last_update":"1191419747", "numofapproved":"1", "id":"11102"}, {"last_update":"1193389169", "numofapproved":"1", "id":"14002"}, {"last_update":"1194440930", "numofapproved":"1", "id":"15102"}, {"last_update":"1194855848", "numofapproved":"1", "id":"15741"}, {"last_update":"1194862162", "numofapproved":"1", "id":"15841"}, {"last_update":"1194923605", "numofapproved":"1", "id":"16021"}, {"last_update":"1194950051", "numofapproved":"1", "id":"16142"}, {"last_update":"1194960554", "numofapproved":"1", "id":"16181"}, {"last_update":"1194988868", "numofapproved":"1", "id":"16382"}, {"last_update":"1195058276", "numofapproved":"1", "id":"16601"}, {"last_update":"1195469960", "numofapproved":"1", "id":"17201"}, {"last_update":"1178648361", "numofapproved":"1", "id":"1311"}, {"last_update":"1183970840", "numofapproved":"1", "id":"4401"}, {"last_update":"1184838534", "numofapproved":"1", "id":"5041"}, {"last_update":"1190745858", "numofapproved":"1", "id":"10161"}, {"last_update":"1191587968", "numofapproved":"1", "id":"11581"}, {"last_update":"1189773687", "numofapproved":"1", "id":"9021"}, {"last_update":"1192612866", "numofapproved":"1", "id":"12804"}, {"last_update":"1193746024", "numofapproved":"1", "id":"14461"}, {"last_update":"1193918117", "numofapproved":"1", "id":"14561"}, {"last_update":"1194981013", "numofapproved":"1", "id":"16321"}, {"last_update":"1195546695", "numofapproved":"1", "id":"17481"}, {"last_update":"1177592107", "numofapproved":"1", "id":"1047"}, {"last_update":"1183569612", "numofapproved":"1", "id":"4221"}, {"last_update":"1186770649", "numofapproved":"1", "id":"6401"}, {"last_update":"1187707518", "numofapproved":"1", "id":"7021"}, {"last_update":"1187769297", "numofapproved":"1", "id":"7223"}, {"last_update":"1187798945", "numofapproved":"1", "id":"7241"}, {"last_update":"1187820883", "numofapproved":"1", "id":"7261"}, {"last_update":"1190286816", "numofapproved":"1", "id":"9581"}, {"last_update":"1190541964", "numofapproved":"1", "id":"9842"}, {"last_update":"1190500569", "numofapproved":"1", "id":"9802"}, {"last_update":"1190800190", "numofapproved":"1", "id":"10222"}, {"last_update":"1190965460", "numofapproved":"1", "id":"10642"}, {"last_update":"1192120899", "numofapproved":"1", "id":"12301"}, {"last_update":"1193265675", "numofapproved":"1", "id":"13701"}, {"last_update":"1194508196", "numofapproved":"1", "id":"15261"}, {"last_update":"1172503197", "numofapproved":"1", "id":"196"}, {"last_update":"1172847366", "numofapproved":"1", "id":"238"}, {"last_update":"1173975764", "numofapproved":"1", "id":"347"}, {"last_update":"1174301010", "numofapproved":"1", "id":"375"}, {"last_update":"1174899614", "numofapproved":"1", "id":"514"}, {"last_update":"1174924853", "numofapproved":"1", "id":"527"}, {"last_update":"1175270318", "numofapproved":"1", "id":"567"}, {"last_update":"1174933246", "numofapproved":"1", "id":"536"}, {"last_update":"1176369900", "numofapproved":"1", "id":"889"}, {"last_update":"1171102836", "numofapproved":"1", "id":"2"}, {"last_update":"1171970451", "numofapproved":"1", "id":"121"}, {"last_update":"1174898953", "numofapproved":"1", "id":"484"}, {"last_update":"1175610845", "numofapproved":"1", "id":"664"}, {"last_update":"1176313569", "numofapproved":"1", "id":"885"}, {"last_update":"1171878648", "numofapproved":"1", "id":"89"}, {"last_update":"1171897268", "numofapproved":"1", "id":"96"}, {"last_update":"1172326187", "numofapproved":"1", "id":"193"}, {"last_update":"1176106905", "numofapproved":"1", "id":"802"}, {"last_update":"1176389540", "numofapproved":"1", "id":"891"}, {"last_update":"1171318806", "numofapproved":"1", "id":"24"}, {"last_update":"1171601548", "numofapproved":"1", "id":"66"}, {"last_update":"1172148331", "numofapproved":"1", "id":"171"}, {"last_update":"1172686680", "numofapproved":"1", "id":"228"}, {"last_update":"1173793572", "numofapproved":"1", "id":"308"}, {"last_update":"1174899594", "numofapproved":"1", "id":"513"}, {"last_update":"1174898936", "numofapproved":"1", "id":"483"}, {"last_update":"1175502773", "numofapproved":"1", "id":"622"}, {"last_update":"1175722537", "numofapproved":"1", "id":"709"}, {"last_update":"1175764633", "numofapproved":"1", "id":"672"}, {"last_update":"1175797156", "numofapproved":"1", "id":"721"}, {"last_update":"1175899070", "numofapproved":"1", "id":"785"}, {"last_update":"1176106959", "numofapproved":"1", "id":"803"}, {"last_update":"1176228460", "numofapproved":"1", "id":"824"}, {"last_update":"1176488163", "numofapproved":"1", "id":"962"}, {"last_update":"1172068869", "numofapproved":"1", "id":"133"}, {"last_update":"1172847381", "numofapproved":"1", "id":"239"}, {"last_update":"1173888657", "numofapproved":"1", "id":"320"}, {"last_update":"1171449446", "numofapproved":"1", "id":"48"}, {"last_update":"1175287424", "numofapproved":"1", "id":"581"}, {"last_update":"1175502897", "numofapproved":"1", "id":"624"}, {"last_update":"1175503020", "numofapproved":"1", "id":"605"}, {"last_update":"1172848367", "numofapproved":"1", "id":"243"}, {"last_update":"1174301060", "numofapproved":"1", "id":"377"}, {"last_update":"1176824481", "numofapproved":"1", "id":"986"}, {"last_update":"1171275893", "numofapproved":"1", "id":"6"}, {"last_update":"1172546216", "numofapproved":"1", "id":"206"}, {"last_update":"1175502705", "numofapproved":"1", "id":"601"}, {"last_update":"1173962671", "numofapproved":"1", "id":"341"}, {"last_update":"1173975403", "numofapproved":"1", "id":"342"}, {"last_update":"1173816295", "numofapproved":"1", "id":"313"}, {"last_update":"1174301256", "numofapproved":"1", "id":"384"}, {"last_update":"1174933293", "numofapproved":"1", "id":"537"}, {"last_update":"1176899419", "numofapproved":"1", "id":"988"}, {"last_update":"1173975599", "numofapproved":"1", "id":"345"}, {"last_update":"1174041960", "numofapproved":"1", "id":"351"}, {"last_update":"1175759476", "numofapproved":"1", "id":"671"}, {"last_update":"1178195644", "numofapproved":"1", "id":"1207"}, {"last_update":"1178725318", "numofapproved":"1", "id":"1348"}, {"last_update":"1179333492", "numofapproved":"1", "id":"1421"}, {"last_update":"1179999737", "numofapproved":"1", "id":"1646"}, {"last_update":"1180710770", "numofapproved":"1", "id":"2062"}, {"last_update":"1182868347", "numofapproved":"1", "id":"3601"}, {"last_update":"1182932927", "numofapproved":"1", "id":"3621"}, {"last_update":"1183115054", "numofapproved":"1", "id":"3784"}, {"last_update":"1180000741", "numofapproved":"1", "id":"1647"}, {"last_update":"1181292582", "numofapproved":"1", "id":"2621"}, {"last_update":"1184181581", "numofapproved":"1", "id":"4641"}, {"last_update":"1185280501", "numofapproved":"1", "id":"5301"}, {"last_update":"1185471699", "numofapproved":"1", "id":"5561"}, {"last_update":"1185542771", "numofapproved":"1", "id":"5701"}, {"last_update":"1186650650", "numofapproved":"1", "id":"6361"}, {"last_update":"1186951065", "numofapproved":"1", "id":"6461"}, {"last_update":"1187769080", "numofapproved":"1", "id":"7221"}, {"last_update":"1187887905", "numofapproved":"1", "id":"7348"}, {"last_update":"1188001607", "numofapproved":"1", "id":"7423"}, {"last_update":"1188463414", "numofapproved":"1", "id":"7762"}, {"last_update":"1188555813", "numofapproved":"1", "id":"7861"}, {"last_update":"1188634622", "numofapproved":"1", "id":"7921"}, {"last_update":"1189543954", "numofapproved":"1", "id":"8841"}, {"last_update":"1177511009", "numofapproved":"1", "id":"1043"}, {"last_update":"1181898808", "numofapproved":"1", "id":"3081"}, {"last_update":"1182247483", "numofapproved":"1", "id":"3221"}, {"last_update":"1187024005", "numofapproved":"1", "id":"6562"}, {"last_update":"1189839471", "numofapproved":"1", "id":"9081"}, {"last_update":"1190018380", "numofapproved":"1", "id":"9241"}, {"last_update":"1190149586", "numofapproved":"1", "id":"9401"}, {"last_update":"1190652684", "numofapproved":"1", "id":"9981"}, {"last_update":"1190662296", "numofapproved":"1", "id":"10022"}, {"last_update":"1190813509", "numofapproved":"1", "id":"10281"}, {"last_update":"1190826005", "numofapproved":"1", "id":"10403"}, {"last_update":"1190991166", "numofapproved":"1", "id":"10722"}, {"last_update":"1191057700", "numofapproved":"1", "id":"10801"}, {"last_update":"1191161241", "numofapproved":"1", "id":"10821"}, {"last_update":"1191227885", "numofapproved":"1", "id":"10941"}, {"last_update":"1182537005", "numofapproved":"1", "id":"3481"}, {"last_update":"1185018401", "numofapproved":"1", "id":"5162"}, {"last_update":"1186752963", "numofapproved":"1", "id":"6386"}, {"last_update":"1190660077", "numofapproved":"1", "id":"10001"}, {"last_update":"1191319062", "numofapproved":"1", "id":"10981"}, {"last_update":"1191446097", "numofapproved":"1", "id":"11161"}, {"last_update":"1191446587", "numofapproved":"1", "id":"11184"}, {"last_update":"1191470824", "numofapproved":"1", "id":"11221"}, {"last_update":"1191526821", "numofapproved":"1", "id":"11401"}, {"last_update":"1191585471", "numofapproved":"1", "id":"11561"}, {"last_update":"1191602213", "numofapproved":"1", "id":"11701"}, {"last_update":"1191845720", "numofapproved":"1", "id":"11821"}, {"last_update":"1191933874", "numofapproved":"1", "id":"11902"}, {"last_update":"1191933897", "numofapproved":"1", "id":"11903"}, {"last_update":"1177673238", "numofapproved":"1", "id":"1161"}, {"last_update":"1181601542", "numofapproved":"1", "id":"2781"}, {"last_update":"1182869532", "numofapproved":"1", "id":"3583"}, {"last_update":"1183315879", "numofapproved":"1", "id":"3881"}, {"last_update":"1187097870", "numofapproved":"1", "id":"6641"}, {"last_update":"1190148660", "numofapproved":"1", "id":"9361"}, {"last_update":"1192248648", "numofapproved":"1", "id":"12521"}, {"last_update":"1192702958", "numofapproved":"1", "id":"13001"}, {"last_update":"1193387721", "numofapproved":"1", "id":"13981"}, {"last_update":"1193391276", "numofapproved":"1", "id":"14021"}, {"last_update":"1193397051", "numofapproved":"1", "id":"14061"}, {"last_update":"1193592081", "numofapproved":"1", "id":"14321"}, {"last_update":"1188474438", "numofapproved":"1", "id":"7821"}, {"last_update":"1190158372", "numofapproved":"1", "id":"9441"}, {"last_update":"1193648459", "numofapproved":"1", "id":"14361"}, {"last_update":"1193999834", "numofapproved":"1", "id":"14681"}, {"last_update":"1194200119", "numofapproved":"1", "id":"14861"}, {"last_update":"1194528747", "numofapproved":"1", "id":"15111"}, {"last_update":"1179150787", "numofapproved":"1", "id":"1384"}, {"last_update":"1179266496", "numofapproved":"1", "id":"1390"}, {"last_update":"1179508139", "numofapproved":"1", "id":"1501"}, {"last_update":"1179842157", "numofapproved":"1", "id":"1664"}, {"last_update":"1179842347", "numofapproved":"1", "id":"1668"}, {"last_update":"1181245388", "numofapproved":"1", "id":"2562"}, {"last_update":"1181311044", "numofapproved":"1", "id":"2661"}, {"last_update":"1181545818", "numofapproved":"1", "id":"2701"}, {"last_update":"1181934881", "numofapproved":"1", "id":"3103"}, {"last_update":"1187020798", "numofapproved":"1", "id":"6541"}, {"last_update":"1187271377", "numofapproved":"1", "id":"6801"}, {"last_update":"1196086904", "numofapproved":"1", "id":"17545"}, {"last_update":"1196266437", "numofapproved":"2", "id":"17662"}, {"last_update":"1196266638", "numofapproved":"2", "id":"17663"}, {"last_update":"1197533251", "numofapproved":"1", "id":"17901"}, {"last_update":"1197533384", "numofapproved":"1", "id":"17923"}, {"last_update":"1197556776", "numofapproved":"2", "id":"17941"}, {"last_update":"1200059354", "numofapproved":"1", "id":"17981"}, {"last_update":"1200576144", "numofapproved":"1", "id":"18001"}, {"last_update":"1200576230", "numofapproved":"1", "id":"18002"}, {"last_update":"1200657266", "numofapproved":"1", "id":"18041"}, {"last_update":"1201510556", "numofapproved":"1", "id":"18061"}, {"last_update":"1196087136", "numofapproved":"1", "id":"17546"}, {"last_update":"1196087269", "numofapproved":"1", "id":"17547"}, {"last_update":"1196087335", "numofapproved":"1", "id":"17548"}, {"last_update":"1196087379", "numofapproved":"1", "id":"17549"}, {"last_update":"1196087427", "numofapproved":"1", "id":"17550"}, {"last_update":"1196096347", "numofapproved":"1", "id":"17581"}, {"last_update":"1196265997", "numofapproved":"2", "id":"17661"}, {"last_update":"1196266785", "numofapproved":"1", "id":"17664"}, {"last_update":"1196270058", "numofapproved":"1", "id":"17701"}, {"last_update":"1196431875", "numofapproved":"1", "id":"17804"}, {"last_update":"1197635044", "numofapproved":"1", "id":"17961"}, {"last_update":"1202720206", "numofapproved":"2", "id":"18084"}, {"last_update":"1196267153", "numofapproved":"1", "id":"17681"}, {"last_update":"1196090749", "numofapproved":"1", "id":"17569"}, {"last_update":"1196162163", "numofapproved":"2", "id":"17641"}, {"last_update":"1196345846", "numofapproved":"1", "id":"17721"}, {"last_update":"1196088254", "numofapproved":"1", "id":"17552"}, {"last_update":"1196088437", "numofapproved":"1", "id":"17564"}, {"last_update":"1196088477", "numofapproved":"1", "id":"17565"}, {"last_update":"1196088537", "numofapproved":"1", "id":"17566"}, {"last_update":"1196088894", "numofapproved":"1", "id":"17567"}, {"last_update":"1196090414", "numofapproved":"1", "id":"17554"}, {"last_update":"1196097621", "numofapproved":"1", "id":"17601"}, {"last_update":"1196097710", "numofapproved":"1", "id":"17602"}, {"last_update":"1196098047", "numofapproved":"1", "id":"17603"}, {"last_update":"1196358376", "numofapproved":"2", "id":"17761"}, {"last_update":"1196358647", "numofapproved":"1", "id":"17762"}, {"last_update":"1196427604", "numofapproved":"1", "id":"17781"}, {"last_update":"1196429856", "numofapproved":"1", "id":"17782"}, {"last_update":"1196431068", "numofapproved":"2", "id":"17783"}, {"last_update":"1196435953", "numofapproved":"2", "id":"17821"}, {"last_update":"1204027277", "numofapproved":"1", "id":"18104"}, {"last_update":"1196090201", "numofapproved":"1", "id":"17553"}, {"last_update":"1196097095", "numofapproved":"1", "id":"17582"}, {"last_update":"1196097215", "numofapproved":"1", "id":"17583"}, {"last_update":"1196430140", "numofapproved":"2", "id":"17803"}, {"last_update":"1196436411", "numofapproved":"2", "id":"17841"}, {"last_update":"1196692298", "numofapproved":"1", "id":"17861"}, {"last_update":"1196692342", "numofapproved":"2", "id":"17862"}, {"last_update":"1196695231", "numofapproved":"2", "id":"17865"}, {"last_update":"1197533316", "numofapproved":"1", "id":"17921"}, {"last_update":"1201512744", "numofapproved":"1", "id":"18082"}, {"last_update":"1201513438", "numofapproved":"2", "id":"18083"}, {"last_update":"1196087540", "numofapproved":"1", "id":"17551"}, {"last_update":"1196156416", "numofapproved":"2", "id":"17621"}, {"last_update":"1196356717", "numofapproved":"1", "id":"17741"}, {"last_update":"1196428544", "numofapproved":"2", "id":"17801"}, {"last_update":"1196429000", "numofapproved":"2", "id":"17802"}, {"last_update":"1196692578", "numofapproved":"1", "id":"17863"}, {"last_update":"1196693445", "numofapproved":"2", "id":"17881"}, {"last_update":"1196693804", "numofapproved":"2", "id":"17864"}, {"last_update":"1197533347", "numofapproved":"1", "id":"17922"}, {"last_update":"1200591782", "numofapproved":"1", "id":"18021"}, {"last_update":"1201510930", "numofapproved":"1", "id":"18081"}, {"last_update":"1192432005", "numofapproved":"1", "id":"12582"}, {"last_update":"1192614291", "numofapproved":"1", "id":"12805"}, {"last_update":"1192624421", "numofapproved":"1", "id":"12806"}, {"last_update":"1192983623", "numofapproved":"1", "id":"13221"}, {"last_update":"1193043248", "numofapproved":"1", "id":"13282"}, {"last_update":"1193223892", "numofapproved":"1", "id":"13562"}, {"last_update":"1193239943", "numofapproved":"1", "id":"13601"}, {"last_update":"1193385960", "numofapproved":"1", "id":"13961"}, {"last_update":"1193386863", "numofapproved":"1", "id":"13945"}, {"last_update":"1193399770", "numofapproved":"1", "id":"14042"}, {"last_update":"1193417684", "numofapproved":"1", "id":"14181"}, {"last_update":"1193458402", "numofapproved":"1", "id":"14261"}, {"last_update":"1193555071", "numofapproved":"1", "id":"14301"}, {"last_update":"1185285506", "numofapproved":"1", "id":"5321"}, {"last_update":"1188250869", "numofapproved":"1", "id":"7521"}, {"last_update":"1191410480", "numofapproved":"1", "id":"11061"}, {"last_update":"1193763056", "numofapproved":"1", "id":"14482"}, {"last_update":"1193913886", "numofapproved":"1", "id":"14542"}, {"last_update":"1194366001", "numofapproved":"1", "id":"14890"}, {"last_update":"1194454607", "numofapproved":"1", "id":"15105"}, {"last_update":"1194255904", "numofapproved":"1", "id":"14941"}, {"last_update":"1179328986", "numofapproved":"1", "id":"1395"}, {"last_update":"1180377628", "numofapproved":"1", "id":"1861"}, {"last_update":"1181250011", "numofapproved":"1", "id":"2563"}, {"last_update":"1181572386", "numofapproved":"1", "id":"2741"}, {"last_update":"1183967114", "numofapproved":"1", "id":"4381"}, {"last_update":"1192512712", "numofapproved":"1", "id":"12623"}, {"last_update":"1193172621", "numofapproved":"1", "id":"13522"}, {"last_update":"1193868932", "numofapproved":"1", "id":"14523"}, {"last_update":"1194980345", "numofapproved":"1", "id":"16301"}, {"last_update":"1182280312", "numofapproved":"1", "id":"3282"}, {"last_update":"1184058726", "numofapproved":"1", "id":"4542"}, {"last_update":"1188829875", "numofapproved":"1", "id":"8161"}, {"last_update":"1190129857", "numofapproved":"1", "id":"9341"}, {"last_update":"1190652687", "numofapproved":"1", "id":"9982"}, {"last_update":"1193389082", "numofapproved":"1", "id":"13956"}, {"last_update":"1195400591", "numofapproved":"1", "id":"17121"}, {"last_update":"1184420846", "numofapproved":"1", "id":"4882"}, {"last_update":"1184532219", "numofapproved":"1", "id":"4903"}, {"last_update":"1192030476", "numofapproved":"1", "id":"12101"}, {"last_update":"1192202239", "numofapproved":"1", "id":"12461"}, {"last_update":"1192688302", "numofapproved":"1", "id":"12961"}, {"last_update":"1192703266", "numofapproved":"1", "id":"13021"}, {"last_update":"1193387096", "numofapproved":"1", "id":"13948"}, {"last_update":"1193387200", "numofapproved":"1", "id":"13949"}, {"last_update":"1193909837", "numofapproved":"1", "id":"14528"}, {"last_update":"1181062093", "numofapproved":"1", "id":"2301"}, {"last_update":"1182364431", "numofapproved":"1", "id":"3348"}, {"last_update":"1182364589", "numofapproved":"1", "id":"3349"}, {"last_update":"1184942429", "numofapproved":"1", "id":"5101"}, {"last_update":"1192682522", "numofapproved":"1", "id":"12901"}, {"last_update":"1184756287", "numofapproved":"1", "id":"4944"}, {"last_update":"1190274411", "numofapproved":"1", "id":"9541"}, {"last_update":"1193324229", "numofapproved":"1", "id":"13861"}, {"last_update":"1195163999", "numofapproved":"1", "id":"16861"}, {"last_update":"1181553321", "numofapproved":"1", "id":"2721"}, {"last_update":"1178869453", "numofapproved":"1", "id":"1361"}, {"last_update":"1181219788", "numofapproved":"1", "id":"2481"}, {"last_update":"1178140002", "numofapproved":"1", "id":"1205"}, {"last_update":"1178716891", "numofapproved":"1", "id":"1345"}, {"last_update":"1180691957", "numofapproved":"1", "id":"2061"}, {"last_update":"1182246242", "numofapproved":"1", "id":"3206"}, {"last_update":"1182882314", "numofapproved":"1", "id":"3585"}, {"last_update":"1183124192", "numofapproved":"1", "id":"3821"}, {"last_update":"1183905634", "numofapproved":"1", "id":"4361"}, {"last_update":"1191225755", "numofapproved":"1", "id":"10901"}, {"last_update":"1192635977", "numofapproved":"1", "id":"12881"}, {"last_update":"1193268752", "numofapproved":"1", "id":"13721"}, {"last_update":"1193242245", "numofapproved":"1", "id":"13621"}, {"last_update":"1193949751", "numofapproved":"1", "id":"14621"}, {"last_update":"1194635892", "numofapproved":"1", "id":"15621"}, {"last_update":"1194726918", "numofapproved":"1", "id":"15664"}, {"last_update":"1194726371", "numofapproved":"1", "id":"15662"}, {"last_update":"1194858043", "numofapproved":"1", "id":"15781"}, {"last_update":"1194946522", "numofapproved":"1", "id":"16101"}, {"last_update":"1195047359", "numofapproved":"1", "id":"16521"}, {"last_update":"1195050812", "numofapproved":"1", "id":"16503"}, {"last_update":"1195058811", "numofapproved":"1", "id":"16621"}, {"last_update":"1195476161", "numofapproved":"1", "id":"17241"}, {"last_update":"1178645683", "numofapproved":"1", "id":"1305"}, {"last_update":"1183118619", "numofapproved":"1", "id":"3801"}, {"last_update":"1186150376", "numofapproved":"1", "id":"6121"}, {"last_update":"1189114226", "numofapproved":"1", "id":"8501"}, {"last_update":"1190973079", "numofapproved":"1", "id":"10666"}, {"last_update":"1190990329", "numofapproved":"1", "id":"10704"}, {"last_update":"1191508485", "numofapproved":"1", "id":"11361"}, {"last_update":"1183054560", "numofapproved":"1", "id":"3721"}, {"last_update":"1185263889", "numofapproved":"1", "id":"5241"}, {"last_update":"1187876083", "numofapproved":"1", "id":"7346"}, {"last_update":"1189550218", "numofapproved":"1", "id":"8861"}, {"last_update":"1190800088", "numofapproved":"1", "id":"10221"}, {"last_update":"1193260528", "numofapproved":"1", "id":"13661"}, {"last_update":"1172509002", "numofapproved":"1", "id":"199"}, {"last_update":"1172509846", "numofapproved":"1", "id":"200"}, {"last_update":"1172589855", "numofapproved":"1", "id":"214"}, {"last_update":"1172847322", "numofapproved":"1", "id":"236"}, {"last_update":"1172847433", "numofapproved":"1", "id":"242"}, {"last_update":"1173607050", "numofapproved":"1", "id":"283"}, {"last_update":"1173703535", "numofapproved":"1", "id":"301"}, {"last_update":"1173719825", "numofapproved":"1", "id":"302"}, {"last_update":"1174414845", "numofapproved":"1", "id":"403"}, {"last_update":"1174650542", "numofapproved":"1", "id":"441"}, {"last_update":"1171475944", "numofapproved":"1", "id":"52"}, {"last_update":"1172746278", "numofapproved":"1", "id":"231"}, {"last_update":"1173251095", "numofapproved":"1", "id":"254"}, {"last_update":"1173259501", "numofapproved":"1", "id":"255"}, {"last_update":"1174899183", "numofapproved":"1", "id":"495"}, {"last_update":"1174924714", "numofapproved":"1", "id":"524"}, {"last_update":"1171962179", "numofapproved":"1", "id":"108"}, {"last_update":"1172522401", "numofapproved":"1", "id":"205"}, {"last_update":"1174299349", "numofapproved":"1", "id":"362"}, {"last_update":"1174899291", "numofapproved":"1", "id":"500"}, {"last_update":"1175617661", "numofapproved":"1", "id":"688"}, {"last_update":"1176302948", "numofapproved":"1", "id":"881"}, {"last_update":"1176467393", "numofapproved":"1", "id":"893"}, {"last_update":"1176737599", "numofapproved":"1", "id":"982"}, {"last_update":"1171465517", "numofapproved":"1", "id":"50"}, {"last_update":"1171924670", "numofapproved":"1", "id":"107"}, {"last_update":"1173880505", "numofapproved":"1", "id":"317"}, {"last_update":"1173889350", "numofapproved":"1", "id":"329"}, {"last_update":"1173889557", "numofapproved":"1", "id":"332"}, {"last_update":"1176391285", "numofapproved":"1", "id":"892"}, {"last_update":"1176673529", "numofapproved":"1", "id":"981"}, {"last_update":"1171643442", "numofapproved":"1", "id":"69"}, {"last_update":"1172226841", "numofapproved":"1", "id":"182"}, {"last_update":"1174899475", "numofapproved":"1", "id":"506"}, {"last_update":"1174915327", "numofapproved":"1", "id":"521"}, {"last_update":"1176194461", "numofapproved":"1", "id":"821"}, {"last_update":"1172013837", "numofapproved":"1", "id":"132"}, {"last_update":"1172184974", "numofapproved":"1", "id":"177"}, {"last_update":"1175777908", "numofapproved":"1", "id":"674"}, {"last_update":"1173460745", "numofapproved":"1", "id":"281"}, {"last_update":"1174401746", "numofapproved":"1", "id":"402"}, {"last_update":"1171274691", "numofapproved":"1", "id":"5"}, {"last_update":"1171799314", "numofapproved":"1", "id":"78"}, {"last_update":"1171979089", "numofapproved":"1", "id":"127"}, {"last_update":"1172503571", "numofapproved":"1", "id":"197"}, {"last_update":"1174301365", "numofapproved":"1", "id":"391"}, {"last_update":"1174301259", "numofapproved":"1", "id":"385"}, {"last_update":"1174899163", "numofapproved":"1", "id":"494"}, {"last_update":"1174933167", "numofapproved":"1", "id":"534"}, {"last_update":"1176139704", "numofapproved":"1", "id":"808"}, {"last_update":"1175502855", "numofapproved":"1", "id":"603"}, {"last_update":"1173721122", "numofapproved":"1", "id":"303"}, {"last_update":"1173809079", "numofapproved":"1", "id":"311"}, {"last_update":"1174734352", "numofapproved":"1", "id":"461"}, {"last_update":"1174898917", "numofapproved":"1", "id":"482"}, {"last_update":"1174899374", "numofapproved":"1", "id":"503"}, {"last_update":"1176392495", "numofapproved":"1", "id":"903"}, {"last_update":"1176829535", "numofapproved":"1", "id":"987"}, {"last_update":"1173889385", "numofapproved":"1", "id":"330"}, {"last_update":"1175869070", "numofapproved":"1", "id":"783"}, {"last_update":"1177510634", "numofapproved":"1", "id":"1042"}, {"last_update":"1177585810", "numofapproved":"1", "id":"1062"}, {"last_update":"1178648303", "numofapproved":"1", "id":"1309"}, {"last_update":"1178883682", "numofapproved":"1", "id":"1363"}, {"last_update":"1179239792", "numofapproved":"1", "id":"1402"}, {"last_update":"1179997715", "numofapproved":"1", "id":"1644"}, {"last_update":"1180031289", "numofapproved":"1", "id":"1654"}, {"last_update":"1180440758", "numofapproved":"1", "id":"1921"}, {"last_update":"1180972413", "numofapproved":"1", "id":"2221"}, {"last_update":"1181032741", "numofapproved":"1", "id":"2261"}, {"last_update":"1181198104", "numofapproved":"1", "id":"2401"}, {"last_update":"1181237541", "numofapproved":"1", "id":"2581"}, {"last_update":"1181293731", "numofapproved":"1", "id":"2641"}, {"last_update":"1182231158", "numofapproved":"1", "id":"3204"}, {"last_update":"1177668412", "numofapproved":"1", "id":"1121"}, {"last_update":"1178713554", "numofapproved":"1", "id":"1342"}, {"last_update":"1179239886", "numofapproved":"1", "id":"1404"}, {"last_update":"1184766561", "numofapproved":"1", "id":"4961"}, {"last_update":"1185293883", "numofapproved":"1", "id":"5341"}, {"last_update":"1185781181", "numofapproved":"1", "id":"5761"}, {"last_update":"1185898126", "numofapproved":"1", "id":"5862"}, {"last_update":"1186290486", "numofapproved":"1", "id":"6164"}, {"last_update":"1186260193", "numofapproved":"1", "id":"6162"}, {"last_update":"1186305362", "numofapproved":"1", "id":"6201"}, {"last_update":"1187024035", "numofapproved":"1", "id":"6563"}, {"last_update":"1187245873", "numofapproved":"1", "id":"6761"}, {"last_update":"1187765176", "numofapproved":"1", "id":"7142"}, {"last_update":"1187872548", "numofapproved":"1", "id":"7343"}, {"last_update":"1188774634", "numofapproved":"1", "id":"8061"}, {"last_update":"1188838929", "numofapproved":"1", "id":"8181"}, {"last_update":"1189608461", "numofapproved":"1", "id":"8881"}, {"last_update":"1189667694", "numofapproved":"1", "id":"8921"}, {"last_update":"1179747423", "numofapproved":"1", "id":"1541"}, {"last_update":"1181142187", "numofapproved":"1", "id":"2381"}, {"last_update":"1185965227", "numofapproved":"1", "id":"5921"}, {"last_update":"1190476977", "numofapproved":"1", "id":"9761"}, {"last_update":"1190648889", "numofapproved":"1", "id":"9961"}, {"last_update":"1190824195", "numofapproved":"1", "id":"10381"}, {"last_update":"1190825530", "numofapproved":"1", "id":"10401"}, {"last_update":"1190894398", "numofapproved":"1", "id":"10501"}, {"last_update":"1178271031", "numofapproved":"1", "id":"1242"}, {"last_update":"1178878052", "numofapproved":"1", "id":"1359"}, {"last_update":"1178967516", "numofapproved":"1", "id":"1364"}, {"last_update":"1180018261", "numofapproved":"1", "id":"1652"}, {"last_update":"1180107922", "numofapproved":"1", "id":"1841"}, {"last_update":"1180514196", "numofapproved":"1", "id":"1941"}, {"last_update":"1181901023", "numofapproved":"1", "id":"3082"}, {"last_update":"1182417878", "numofapproved":"1", "id":"3361"}, {"last_update":"1182785340", "numofapproved":"1", "id":"3521"}, {"last_update":"1183485766", "numofapproved":"1", "id":"4101"}, {"last_update":"1189526136", "numofapproved":"1", "id":"8803"}, {"last_update":"1191446636", "numofapproved":"1", "id":"11185"}, {"last_update":"1191489743", "numofapproved":"1", "id":"11241"}, {"last_update":"1191903141", "numofapproved":"1", "id":"11882"}, {"last_update":"1191940049", "numofapproved":"1", "id":"11941"}, {"last_update":"1179239857", "numofapproved":"1", "id":"1403"}, {"last_update":"1185799202", "numofapproved":"1", "id":"5801"}, {"last_update":"1190924823", "numofapproved":"1", "id":"10562"}, {"last_update":"1191410783", "numofapproved":"1", "id":"11065"}, {"last_update":"1192031578", "numofapproved":"1", "id":"12121"}, {"last_update":"1192431234", "numofapproved":"1", "id":"12562"}, {"last_update":"1192609228", "numofapproved":"1", "id":"12802"}, {"last_update":"1192742243", "numofapproved":"1", "id":"13161"}, {"last_update":"1192942532", "numofapproved":"1", "id":"13201"}, {"last_update":"1193386303", "numofapproved":"1", "id":"13962"}, {"last_update":"1193406158", "numofapproved":"1", "id":"14121"}, {"last_update":"1193418273", "numofapproved":"1", "id":"14201"}, {"last_update":"1193519213", "numofapproved":"1", "id":"14281"}, {"last_update":"1193666593", "numofapproved":"1", "id":"14401"}, {"last_update":"1193733296", "numofapproved":"1", "id":"14421"}, {"last_update":"1193760981", "numofapproved":"1", "id":"14481"}, {"last_update":"1182436569", "numofapproved":"1", "id":"3422"}, {"last_update":"1184012598", "numofapproved":"1", "id":"4481"}, {"last_update":"1189715279", "numofapproved":"1", "id":"8981"}, {"last_update":"1192528903", "numofapproved":"1", "id":"12701"}, {"last_update":"1194246273", "numofapproved":"1", "id":"14901"}, {"last_update":"1194354217", "numofapproved":"1", "id":"14888"}, {"last_update":"1194366787", "numofapproved":"1", "id":"14891"}, {"last_update":"1194445768", "numofapproved":"1", "id":"15104"}, {"last_update":"1194467580", "numofapproved":"1", "id":"15107"}, {"last_update":"1194508237", "numofapproved":"1", "id":"15262"}, {"last_update":"1194635341", "numofapproved":"1", "id":"15581"}, {"last_update":"1194635508", "numofapproved":"1", "id":"15582"}, {"last_update":"1179214538", "numofapproved":"1", "id":"1386"}, {"last_update":"1186433530", "numofapproved":"1", "id":"6167"}, {"last_update":"1187853435", "numofapproved":"1", "id":"7321"}, {"last_update":"1187972012", "numofapproved":"1", "id":"7421"}, {"last_update":"1188895906", "numofapproved":"1", "id":"8201"}, {"last_update":"1190284020", "numofapproved":"1", "id":"9561"}, {"last_update":"1190924163", "numofapproved":"1", "id":"10561"}, {"last_update":"1192529770", "numofapproved":"1", "id":"12663"}, {"last_update":"1192536538", "numofapproved":"1", "id":"12666"}, {"last_update":"1193269090", "numofapproved":"1", "id":"13741"}, {"last_update":"1193428819", "numofapproved":"1", "id":"14221"}, {"last_update":"1193860091", "numofapproved":"1", "id":"14521"}, {"last_update":"1193909426", "numofapproved":"1", "id":"14526"}, {"last_update":"1194533708", "numofapproved":"1", "id":"15321"}, {"last_update":"1179822723", "numofapproved":"1", "id":"1601"}, {"last_update":"1179842248", "numofapproved":"1", "id":"1666"}, {"last_update":"1182412362", "numofapproved":"1", "id":"3352"}, {"last_update":"1185980065", "numofapproved":"1", "id":"5961"}, {"last_update":"1186751100", "numofapproved":"1", "id":"6385"}, {"last_update":"1187202714", "numofapproved":"1", "id":"6721"}, {"last_update":"1187601864", "numofapproved":"1", "id":"6923"}, {"last_update":"1191490727", "numofapproved":"1", "id":"11281"}, {"last_update":"1194449840", "numofapproved":"1", "id":"15161"}, {"last_update":"1180028166", "numofapproved":"1", "id":"1781"}, {"last_update":"1185025939", "numofapproved":"1", "id":"5201"}, {"last_update":"1192454400", "numofapproved":"1", "id":"12621"}, {"last_update":"1193414234", "numofapproved":"1", "id":"14141"}, {"last_update":"1194270682", "numofapproved":"1", "id":"14961"}, {"last_update":"1184061669", "numofapproved":"1", "id":"4561"}, {"last_update":"1186161284", "numofapproved":"1", "id":"6141"}, {"last_update":"1187714492", "numofapproved":"1", "id":"7061"}, {"last_update":"1187893562", "numofapproved":"1", "id":"7361"}, {"last_update":"1190815311", "numofapproved":"1", "id":"10301"}, {"last_update":"1193388120", "numofapproved":"1", "id":"13951"}, {"last_update":"1195239956", "numofapproved":"1", "id":"17041"}, {"last_update":"1179147467", "numofapproved":"1", "id":"1381"}, {"last_update":"1182346611", "numofapproved":"1", "id":"3341"}, {"last_update":"1184267506", "numofapproved":"1", "id":"4802"}, {"last_update":"1192047087", "numofapproved":"1", "id":"12161"}, {"last_update":"1192198948", "numofapproved":"1", "id":"12441"}, {"last_update":"1193208717", "numofapproved":"1", "id":"13528"}, {"last_update":"1194907182", "numofapproved":"1", "id":"16001"}, {"last_update":"1179153020", "numofapproved":"1", "id":"1385"}, {"last_update":"1179835655", "numofapproved":"1", "id":"1641"}, {"last_update":"1181234739", "numofapproved":"1", "id":"2542"}, {"last_update":"1182356477", "numofapproved":"1", "id":"3343"}, {"last_update":"1182418583", "numofapproved":"1", "id":"3381"}, {"last_update":"1184568502", "numofapproved":"1", "id":"4905"}, {"last_update":"1189151603", "numofapproved":"1", "id":"8581"}, {"last_update":"1191595695", "numofapproved":"1", "id":"11621"}, {"last_update":"1193105000", "numofapproved":"1", "id":"13421"}, {"last_update":"1195104657", "numofapproved":"1", "id":"16701"}], "request_timestamp":1206363392.08521, "request_call":"requestDetails", "instance":"tbedi", "call_time":"0.10059", "request_date":"2008-03-2412:56:32 UTC", "request_url":"http://cmsdoc.cern.ch/cms/test/aprom/phedex/dev/gowri/datasvc/tbedi/requestDetails?format=json"}} """ from jsonParser import jsonObject data = jsonObject.parseString(s) #~ from pprint import pprint #~ pprint( data[0].asList() ) #~ print #~ print data.dump() print(data.phedex.call_time) print(data.phedex.instance) print(data.phedex.request_call) print(len(data.phedex.request)) for req in data.phedex.request[:10]: #~ print req.dump() print("-", req.id, req.last_update) pyparsing-2.0.1/examples/configParse.py0000644000175000017500000000400612053627512016663 0ustar zigozigo# # configparse.py # # an example of using the parsing module to be able to process a .INI configuration file # # Copyright (c) 2003, Paul McGuire # from pyparsing import \ Literal, Word, ZeroOrMore, Group, Dict, Optional, \ printables, ParseException, restOfLine, empty import pprint inibnf = None def inifile_BNF(): global inibnf if not inibnf: # punctuation lbrack = Literal("[").suppress() rbrack = Literal("]").suppress() equals = Literal("=").suppress() semi = Literal(";") comment = semi + Optional( restOfLine ) nonrbrack = "".join( [ c for c in printables if c != "]" ] ) + " \t" nonequals = "".join( [ c for c in printables if c != "=" ] ) + " \t" sectionDef = lbrack + Word( nonrbrack ) + rbrack keyDef = ~lbrack + Word( nonequals ) + equals + empty + restOfLine # strip any leading or trailing blanks from key def stripKey(tokens): tokens[0] = tokens[0].strip() keyDef.setParseAction(stripKey) # using Dict will allow retrieval of named data fields as attributes of the parsed results inibnf = Dict( ZeroOrMore( Group( sectionDef + Dict( ZeroOrMore( Group( keyDef ) ) ) ) ) ) inibnf.ignore( comment ) return inibnf pp = pprint.PrettyPrinter(2) def test( strng ): print(strng) try: iniFile = open(strng) iniData = "".join( iniFile.readlines() ) bnf = inifile_BNF() tokens = bnf.parseString( iniData ) pp.pprint( tokens.asList() ) except ParseException as err: print(err.line) print(" "*(err.column-1) + "^") print(err) iniFile.close() print() return tokens ini = test("setup.ini") print("ini['Startup']['modemid'] =", ini['Startup']['modemid']) print("ini.Startup =", ini.Startup) print("ini.Startup.modemid =", ini.Startup.modemid) pyparsing-2.0.1/examples/gen_ctypes.py0000644000175000017500000001206712053633634016573 0ustar zigozigofrom pyparsing import * typemap = { "byte" : "c_byte", "char" : "c_char", "char *" : "c_char_p", "double" : "c_double", "float" : "c_float", "int" : "c_int", "int16" : "c_int16", "int32" : "c_int32", "int64" : "c_int64", "int8" : "c_int8", "long" : "c_long", "longlong" : "c_longlong", "short" : "c_short", "size_t" : "c_size_t", "ubyte" : "c_ubyte", "uchar" : "c_ubyte", "u_char" : "c_ubyte", "uint" : "c_uint", "u_int" : "c_uint", "uint16" : "c_uint16", "uint32" : "c_uint32", "uint64" : "c_uint64", "uint8" : "c_uint8", "u_long" : "c_ulong", "ulong" : "c_ulong", "ulonglong" : "c_ulonglong", "ushort" : "c_ushort", "u_short" : "c_ushort", "void *" : "c_void_p", "voidp" : "c_voidp", "wchar" : "c_wchar", "wchar *" : "c_wchar_p", "Bool" : "c_bool", "void" : "None", } LPAR,RPAR,LBRACE,RBRACE,COMMA,SEMI = map(Suppress,"(){},;") ident = Word(alphas, alphanums + "_") integer = Regex(r"[+-]?\d+") hexinteger = Regex(r"0x[0-9a-fA-F]+") const = Suppress("const") primitiveType = oneOf(t for t in typemap if not t.endswith("*")) structType = Suppress("struct") + ident vartype = (Optional(const) + (primitiveType | structType | ident) + Optional(Word("*")("ptr"))) def normalizetype(t): if isinstance(t, ParseResults): return ' '.join(t) #~ ret = ParseResults([' '.join(t)]) #~ return ret vartype.setParseAction(normalizetype) arg = Group(vartype("argtype") + Optional(ident("argname"))) func_def = (vartype("fn_type") + ident("fn_name") + LPAR + Optional(delimitedList(arg|"..."))("fn_args") + RPAR + SEMI) def derivefields(t): if t.fn_args and t.fn_args[-1] == "...": t["varargs"]=True func_def.setParseAction(derivefields) fn_typedef = "typedef" + func_def var_typedef = "typedef" + primitiveType("primType") + ident("name") + SEMI enum_def = (Keyword("enum") + LBRACE + delimitedList(Group(ident("name") + '=' + (hexinteger|integer)("value")))("evalues") + Optional(COMMA) + RBRACE) c_header = open("snmp_api.h").read() module = "pynetsnmp" user_defined_types = set() typedefs = [] fn_typedefs = [] functions = [] enum_constants = [] # add structures commonly included from std lib headers def addStdType(t,namespace=""): fullname = namespace+'_'+t if namespace else t typemap[t] = fullname user_defined_types.add(t) addStdType("fd_set", "sys_select") addStdType("timeval", "sys_time") def getUDType(typestr): key = typestr.rstrip(" *") if key not in typemap: user_defined_types.add(key) typemap[key] = "%s_%s" % (module, key) def typeAsCtypes(typestr): if typestr in typemap: return typemap[typestr] if typestr.endswith("*"): return "POINTER(%s)" % typeAsCtypes(typestr.rstrip(" *")) return typestr # scan input header text for primitive typedefs for td,_,_ in var_typedef.scanString(c_header): typedefs.append( (td.name, td.primType) ) # add typedef type to typemap to map to itself typemap[td.name] = td.name # scan input header text for function typedefs fn_typedefs = fn_typedef.searchString(c_header) # add each function typedef to typemap to map to itself for fntd in fn_typedefs: typemap[fntd.fn_name] = fntd.fn_name # scan input header text, and keep running list of user-defined types for fn,_,_ in (cStyleComment.suppress() | fn_typedef.suppress() | func_def).scanString(c_header): if not fn: continue getUDType(fn.fn_type) for arg in fn.fn_args: if arg != "...": if arg.argtype not in typemap: getUDType(arg.argtype) functions.append(fn) # scan input header text for enums enum_def.ignore(cppStyleComment) for en_,_,_ in enum_def.scanString(c_header): for ev in en_.evalues: enum_constants.append( (ev.name, ev.value) ) print("from ctypes import *") print("%s = CDLL('%s.dll')" % (module, module)) print() print("# user defined types") for tdname,tdtyp in typedefs: print("%s = %s" % (tdname, typemap[tdtyp])) for fntd in fn_typedefs: print("%s = CFUNCTYPE(%s)" % (fntd.fn_name, ',\n '.join(typeAsCtypes(a.argtype) for a in fntd.fn_args))) for udtype in user_defined_types: print("class %s(Structure): pass" % typemap[udtype]) print() print("# constant definitions") for en,ev in enum_constants: print("%s = %s" % (en,ev)) print() print("# functions") for fn in functions: prefix = "%s.%s" % (module, fn.fn_name) print("%s.restype = %s" % (prefix, typeAsCtypes(fn.fn_type))) if fn.varargs: print("# warning - %s takes variable argument list" % prefix) del fn.fn_args[-1] if fn.fn_args.asList() != [['void']]: print("%s.argtypes = (%s,)" % (prefix, ','.join(typeAsCtypes(a.argtype) for a in fn.fn_args))) else: print("%s.argtypes = ()" % (prefix)) pyparsing-2.0.1/examples/cpp_enum_parser.py0000644000175000017500000000247612053633734017621 0ustar zigozigo# # cpp_enum_parser.py # # Posted by Mark Tolenen on comp.lang.python in August, 2009, # Used with permission. # # Parser that scans through C or C++ code for enum definitions, and # generates corresponding Python constant definitions. # # from pyparsing import * # sample string with enums and other stuff sample = ''' stuff before enum hello { Zero, One, Two, Three, Five=5, Six, Ten=10 }; in the middle enum blah { alpha, beta, gamma = 10 , zeta = 50 }; at the end ''' # syntax we don't want to see in the final parse tree LBRACE,RBRACE,EQ,COMMA = map(Suppress,"{}=,") _enum = Suppress('enum') identifier = Word(alphas,alphanums+'_') integer = Word(nums) enumValue = Group(identifier('name') + Optional(EQ + integer('value'))) enumList = Group(enumValue + ZeroOrMore(COMMA + enumValue)) enum = _enum + identifier('enum') + LBRACE + enumList('names') + RBRACE # find instances of enums ignoring other syntax for item,start,stop in enum.scanString(sample): id = 0 for entry in item.names: if entry.value != '': id = int(entry.value) print('%s_%s = %d' % (item.enum.upper(),entry.name.upper(),id)) id += 1 pyparsing-2.0.1/examples/parseListString.py0000644000175000017500000000742712053614271017570 0ustar zigozigo# parseListString.py # # Copyright, 2006, by Paul McGuire # from pyparsing import * # first pass lbrack = Literal("[") rbrack = Literal("]") integer = Word(nums).setName("integer") real = Combine(Optional(oneOf("+ -")) + Word(nums) + "." + Optional(Word(nums))).setName("real") listItem = real | integer | quotedString listStr = lbrack + delimitedList(listItem) + rbrack test = "['a', 100, 3.14]" print(listStr.parseString(test)) # second pass, cleanup and add converters lbrack = Literal("[").suppress() rbrack = Literal("]").suppress() cvtInt = lambda s,l,toks: int(toks[0]) integer = Word(nums).setName("integer").setParseAction( cvtInt ) cvtReal = lambda s,l,toks: float(toks[0]) real = Combine(Optional(oneOf("+ -")) + Word(nums) + "." + Optional(Word(nums))).setName("real").setParseAction( cvtReal ) listItem = real | integer | quotedString.setParseAction( removeQuotes ) listStr = lbrack + delimitedList(listItem) + rbrack test = "['a', 100, 3.14]" print(listStr.parseString(test)) # third pass, add nested list support, and tuples, too! cvtInt = lambda s,l,toks: int(toks[0]) cvtReal = lambda s,l,toks: float(toks[0]) lbrack = Literal("[").suppress() rbrack = Literal("]").suppress() integer = Word(nums).setName("integer").setParseAction( cvtInt ) real = Combine(Optional(oneOf("+ -")) + Word(nums) + "." + Optional(Word(nums))).setName("real").setParseAction( cvtReal ) tupleStr = Forward() listStr = Forward() listItem = real | integer | quotedString.setParseAction(removeQuotes) | Group(listStr) | tupleStr tupleStr << ( Suppress("(") + delimitedList(listItem) + Optional(Suppress(",")) + Suppress(")") ) tupleStr.setParseAction( lambda t:tuple(t.asList()) ) listStr << lbrack + delimitedList(listItem) + Optional(Suppress(",")) + rbrack test = "['a', 100, ('A', [101,102]), 3.14, [ +2.718, 'xyzzy', -1.414] ]" print(listStr.parseString(test)) # fourth pass, just parsing tuples of numbers #~ from pyparsing import * #~ integer = (Word(nums)|Word('-+',nums)).setName("integer") #~ real = Combine(integer + "." + Optional(Word(nums))).setName("real") #~ tupleStr = Forward().setName("tuple") #~ tupleItem = real | integer | tupleStr #~ tupleStr << ( Suppress("(") + delimitedList(tupleItem) + #~ Optional(Suppress(",")) + Suppress(")") ) #~ # add parse actions to do conversion during parsing #~ integer.setParseAction( lambda toks: int(toks[0]) ) #~ real.setParseAction( lambda toks: float(toks[0]) ) #~ tupleStr.setParseAction( lambda toks: tuple(toks) ) #~ s = '((1,2), (3,4), (-5,9.2),)' #~ print tupleStr.parseString(s)[0] cvtInt = lambda s,l,toks: int(toks[0]) cvtReal = lambda s,l,toks: float(toks[0]) cvtDict = lambda s,l,toks: dict(toks[0]) lbrack = Literal("[").suppress() rbrack = Literal("]").suppress() lbrace = Literal("{").suppress() rbrace = Literal("}").suppress() colon = Literal(":").suppress() integer = Word(nums).setName("integer").setParseAction( cvtInt ) real = Combine(Optional(oneOf("+ -")) + Word(nums) + "." + Optional(Word(nums))).setName("real").setParseAction( cvtReal ) tupleStr = Forward() listStr = Forward() dictStr = Forward() listItem = real | integer | quotedString.setParseAction(removeQuotes) | Group(listStr) | tupleStr | dictStr tupleStr << ( Suppress("(") + delimitedList(listItem) + Optional(Suppress(",")) + Suppress(")") ) tupleStr.setParseAction( lambda t:tuple(t.asList()) ) listStr << lbrack + delimitedList(listItem) + Optional(Suppress(",")) + rbrack dictStr << rbrace + delimitedList( Group( listItem + colon + listItem ) ) + rbrace test = "['a', 100, ('A', [101,102]), 3.14, [ +2.718, 'xyzzy', -1.414] ]" test = '[{0: [2], 1: []}, {0: [], 1: [], 2: []}, {0: [1, 2]}]' print(listStr.parseString(test)) pyparsing-2.0.1/examples/position.py0000644000175000017500000000425112053614272016270 0ustar zigozigofrom pyparsing import * text = """Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum""" # find all words beginning with a vowel vowels = "aeiouAEIOU" initialVowelWord = Word(vowels,alphas) # Unfortunately, searchString will advance character by character through # the input text, so it will detect that the initial "Lorem" is not an # initialVowelWord, but then it will test "orem" and think that it is. So # we need to add a do-nothing term that will match the words that start with # consonants, but we will just throw them away when we match them. The key is # that, in having been matched, the parser will skip over them entirely when # looking for initialVowelWords. consonants = ''.join(c for c in alphas if c not in vowels) initialConsWord = Word(consonants, alphas).suppress() # using scanString to locate where tokens are matched for t,start,end in (initialConsWord|initialVowelWord).scanString(text): if t: print(start,':', t[0]) # add parse action to annotate the parsed tokens with their location in the # input string def addLocnToTokens(s,l,t): t['locn'] = l t['word'] = t[0] initialVowelWord.setParseAction(addLocnToTokens) for ivowelInfo in (initialConsWord | initialVowelWord).searchString(text): if not ivowelInfo: continue print(ivowelInfo.locn, ':', ivowelInfo.word) # alternative - add an Empty that will save the current location def location(name): return Empty().setParseAction(lambda s,l,t: t.__setitem__(name,l)) locateInitialVowels = location("locn") + initialVowelWord("word") # search through the input text for ivowelInfo in (initialConsWord | locateInitialVowels).searchString(text): if not ivowelInfo: continue print(ivowelInfo.locn, ':', ivowelInfo.word) pyparsing-2.0.1/examples/groupUsingListAllMatches.py0000644000175000017500000000076612053614270021365 0ustar zigozigo# # A simple example showing the use of the implied listAllMatches=True for # results names with a trailing '*' character. # # This example performs work similar to itertools.groupby, but without # having to sort the input first. # from pyparsing import Word, ZeroOrMore, nums aExpr = Word("A", nums) bExpr = Word("B", nums) cExpr = Word("C", nums) grammar = ZeroOrMore(aExpr("A*") | bExpr("B*") | cExpr("C*")) results = grammar.parseString("A1 B1 A2 C1 B2 A3") print(results.dump()) pyparsing-2.0.1/examples/getNTPserversNew.py0000644000175000017500000000243712053614270017653 0ustar zigozigo# getNTPserversNew.py # # Demonstration of the parsing module, implementing a HTML page scanner, # to extract a list of NTP time servers from the NIST web site. # # Copyright 2004-2010, by Paul McGuire # September, 2010 - updated to more current use of setResultsName, new NIST URL # from pyparsing import (Word, Combine, Suppress, SkipTo, nums, makeHTMLTags, delimitedList, alphas, alphanums) import urllib.request, urllib.parse, urllib.error integer = Word(nums) ipAddress = Combine( integer + "." + integer + "." + integer + "." + integer ) hostname = delimitedList(Word(alphas,alphanums+"-_"),".",combine=True) tdStart,tdEnd = makeHTMLTags("td") timeServerPattern = (tdStart + hostname("hostname") + tdEnd + tdStart + ipAddress("ipAddr") + tdEnd + tdStart + SkipTo(tdEnd)("loc") + tdEnd) # get list of time servers nistTimeServerURL = "http://tf.nist.gov/tf-cgi/servers.cgi#" serverListPage = urllib.request.urlopen( nistTimeServerURL ) serverListHTML = serverListPage.read() serverListPage.close() addrs = {} for srvr,startloc,endloc in timeServerPattern.scanString( serverListHTML ): print("%s (%s) - %s" % (srvr.ipAddr, srvr.hostname.strip(), srvr.loc.strip())) addrs[srvr.ipAddr] = srvr.loc pyparsing-2.0.1/examples/mozillaCalendarParser.py0000644000175000017500000000521412053615674020711 0ustar zigozigofrom pyparsing import Optional, oneOf, Dict, Literal, Word, printables, Group, OneOrMore, ZeroOrMore """ A simple parser for calendar (*.ics) files, as exported by the Mozilla calendar. Any suggestions and comments welcome. Version: 0.1 Copyright: Petri Savolainen License: Free for any use """ # TERMINALS BEGIN = Literal("BEGIN:").suppress() END = Literal("END:").suppress() str = printables + "\xe4\xf6\xe5\xd6\xc4\xc5" valstr = str + " " EQ = Literal("=").suppress() SEMI = Literal(";").suppress() COLON = Literal(":").suppress() EVENT = Literal("VEVENT").suppress() CALENDAR = Literal("VCALENDAR").suppress() ALARM = Literal("VALARM").suppress() # TOKENS CALPROP = oneOf("VERSION PRODID METHOD") ALMPROP = oneOf("TRIGGER") EVTPROP = oneOf("X-MOZILLA-RECUR-DEFAULT-INTERVAL \ X-MOZILLA-RECUR-DEFAULT-UNITS \ UID DTSTAMP LAST-MODIFIED X RRULE EXDATE") propval = Word(valstr) typeval = Word(valstr) typename = oneOf("VALUE MEMBER FREQ UNTIL INTERVAL") proptype = Group(SEMI + typename + EQ + typeval).suppress() calprop = Group(CALPROP + ZeroOrMore(proptype) + COLON + propval) almprop = Group(ALMPROP + ZeroOrMore(proptype) + COLON + propval) evtprop = Group(EVTPROP + ZeroOrMore(proptype) + COLON + propval).suppress() \ | "CATEGORIES" + COLON + propval.setResultsName("categories") \ | "CLASS" + COLON + propval.setResultsName("class") \ | "DESCRIPTION" + COLON + propval.setResultsName("description") \ | "DTSTART" + proptype + COLON + propval.setResultsName("begin") \ | "DTEND" + proptype + COLON + propval.setResultsName("end") \ | "LOCATION" + COLON + propval.setResultsName("location") \ | "PRIORITY" + COLON + propval.setResultsName("priority") \ | "STATUS" + COLON + propval.setResultsName("status") \ | "SUMMARY" + COLON + propval.setResultsName("summary") \ | "URL" + COLON + propval.setResultsName("url") \ calprops = Group(OneOrMore(calprop)).suppress() evtprops = Group(OneOrMore(evtprop)) almprops = Group(OneOrMore(almprop)).suppress() alarm = BEGIN + ALARM + almprops + END + ALARM event = BEGIN + EVENT + evtprops + Optional(alarm) + END + EVENT events = Group(OneOrMore(event)) calendar = BEGIN + CALENDAR + calprops + ZeroOrMore(event) + END + CALENDAR calendars = OneOrMore(calendar) # PARSE ACTIONS def gotEvent(s,loc,toks): for event in toks: print (event['summary'], "from", event["begin"], "to", event["end"]) event.setParseAction(gotEvent) # MAIN PROGRAM if __name__=="__main__": calendars.parseFile("mozilla.ics") pyparsing-2.0.1/examples/dictExample2.py0000644000175000017500000000422612053614267016753 0ustar zigozigo# # dictExample2.py # # Illustration of using pyparsing's Dict class to process tabular data # Enhanced Dict example, courtesy of Mike Kelly # # Copyright (c) 2004, Paul McGuire # from pyparsing import Literal, Word, Group, Dict, ZeroOrMore, alphas, nums, delimitedList import pprint testData = """ +-------+------+------+------+------+------+------+------+------+ | | A1 | B1 | C1 | D1 | A2 | B2 | C2 | D2 | +=======+======+======+======+======+======+======+======+======+ | min | 7 | 43 | 7 | 15 | 82 | 98 | 1 | 37 | | max | 11 | 52 | 10 | 17 | 85 | 112 | 4 | 39 | | ave | 9 | 47 | 8 | 16 | 84 | 106 | 3 | 38 | | sdev | 1 | 3 | 1 | 1 | 1 | 3 | 1 | 1 | +-------+------+------+------+------+------+------+------+------+ """ # define grammar for datatable underline = Word("-=") number = Word(nums).setParseAction( lambda t : int(t[0]) ) vert = Literal("|").suppress() rowDelim = ("+" + ZeroOrMore( underline + "+" ) ).suppress() columnHeader = Group(vert + vert + delimitedList(Word(alphas + nums), "|") + vert) heading = rowDelim + columnHeader.setResultsName("columns") + rowDelim rowData = Group( vert + Word(alphas) + vert + delimitedList(number,"|") + vert ) trailing = rowDelim datatable = heading + Dict( ZeroOrMore(rowData) ) + trailing # now parse data and print results data = datatable.parseString(testData) print(data) print(data.asXML("DATA")) pprint.pprint(data.asList()) print("data keys=", list(data.keys())) print("data['min']=", data['min']) print("sum(data['min']) =", sum(data['min'])) print("data.max =", data.max) print("sum(data.max) =", sum(data.max)) # now print transpose of data table, using column labels read from table header and # values from data lists print() print(" " * 5, end=' ') for i in range(1,len(data)): print("|%5s" % data[i][0], end=' ') print() print(("-" * 6) + ("+------" * (len(data)-1))) for i in range(len(data.columns)): print("%5s" % data.columns[i], end=' ') for j in range(len(data) - 1): print('|%5s' % data[j + 1][i + 1], end=' ') print() pyparsing-2.0.1/examples/cLibHeader.py0000644000175000017500000000144612053614267016415 0ustar zigozigo# # cLibHeader.py # # A simple parser to extract API doc info from a C header file # # Copyright, 2012 - Paul McGuire # from pyparsing import Word, alphas, alphanums, Combine, oneOf, Optional, delimitedList, Group, Keyword testdata = """ int func1(float *vec, int len, double arg1); int func2(float **arr, float *vec, int len, double arg1, double arg2); """ ident = Word(alphas, alphanums + "_") vartype = Combine( oneOf("float double int char") + Optional(Word("*")), adjacent = False) arglist = delimitedList(Group(vartype("type") + ident("name"))) functionCall = Keyword("int") + ident("name") + "(" + arglist("args") + ")" + ";" for fn,s,e in functionCall.scanString(testdata): print(fn.name) for a in fn.args: print(" - %(name)s (%(type)s)" % a) pyparsing-2.0.1/examples/scanExamples.py0000644000175000017500000000447312053614273017056 0ustar zigozigo# # scanExamples.py # # Illustration of using pyparsing's scanString,transformString, and searchString methods # # Copyright (c) 2004, 2006 Paul McGuire # from pyparsing import Word, alphas, alphanums, Literal, restOfLine, OneOrMore, \ empty, Suppress, replaceWith # simulate some C++ code testData = """ #define MAX_LOCS=100 #define USERNAME = "floyd" #define PASSWORD = "swordfish" a = MAX_LOCS; CORBA::initORB("xyzzy", USERNAME, PASSWORD ); """ ################# print("Example of an extractor") print("----------------------") # simple grammar to match #define's ident = Word(alphas, alphanums+"_") macroDef = Literal("#define") + ident.setResultsName("name") + "=" + restOfLine.setResultsName("value") for t,s,e in macroDef.scanString( testData ): print(t.name,":", t.value) # or a quick way to make a dictionary of the names and values # (return only key and value tokens, and construct dict from key-value pairs) # - empty ahead of restOfLine advances past leading whitespace, does implicit lstrip during parsing macroDef = Suppress("#define") + ident + Suppress("=") + empty + restOfLine macros = dict(list(macroDef.searchString(testData))) print("macros =", macros) print() ################# print("Examples of a transformer") print("----------------------") # convert C++ namespaces to mangled C-compatible names scopedIdent = ident + OneOrMore( Literal("::").suppress() + ident ) scopedIdent.setParseAction(lambda t: "_".join(t)) print("(replace namespace-scoped names with C-compatible names)") print(scopedIdent.transformString( testData )) # or a crude pre-processor (use parse actions to replace matching text) def substituteMacro(s,l,t): if t[0] in macros: return macros[t[0]] ident.setParseAction( substituteMacro ) ident.ignore(macroDef) print("(simulate #define pre-processor)") print(ident.transformString( testData )) ################# print("Example of a stripper") print("----------------------") from pyparsing import dblQuotedString, LineStart # remove all string macro definitions (after extracting to a string resource table?) stringMacroDef = Literal("#define") + ident + "=" + dblQuotedString + LineStart() stringMacroDef.setParseAction( replaceWith("") ) print(stringMacroDef.transformString( testData )) pyparsing-2.0.1/examples/simpleSQL.py0000644000175000017500000001123012053614274016272 0ustar zigozigo# simpleSQL.py # # simple demo of using the parsing library to do simple-minded SQL parsing # could be extended to include where clauses etc. # # Copyright (c) 2003, Paul McGuire # from pyparsing import Literal, CaselessLiteral, Word, Upcase, delimitedList, Optional, \ Combine, Group, alphas, nums, alphanums, ParseException, Forward, oneOf, quotedString, \ ZeroOrMore, restOfLine, Keyword def test( str ): print(str,"->") try: tokens = simpleSQL.parseString( str ) print("tokens = ", tokens) print("tokens.columns =", tokens.columns) print("tokens.tables =", tokens.tables) print("tokens.where =", tokens.where) except ParseException as err: print(" "*err.loc + "^\n" + err.msg) print(err) print() # define SQL tokens selectStmt = Forward() selectToken = Keyword("select", caseless=True) fromToken = Keyword("from", caseless=True) ident = Word( alphas, alphanums + "_$" ).setName("identifier") columnName = Upcase( delimitedList( ident, ".", combine=True ) ) columnNameList = Group( delimitedList( columnName ) ) tableName = Upcase( delimitedList( ident, ".", combine=True ) ) tableNameList = Group( delimitedList( tableName ) ) whereExpression = Forward() and_ = Keyword("and", caseless=True) or_ = Keyword("or", caseless=True) in_ = Keyword("in", caseless=True) E = CaselessLiteral("E") binop = oneOf("= != < > >= <= eq ne lt le gt ge", caseless=True) arithSign = Word("+-",exact=1) realNum = Combine( Optional(arithSign) + ( Word( nums ) + "." + Optional( Word(nums) ) | ( "." + Word(nums) ) ) + Optional( E + Optional(arithSign) + Word(nums) ) ) intNum = Combine( Optional(arithSign) + Word( nums ) + Optional( E + Optional("+") + Word(nums) ) ) columnRval = realNum | intNum | quotedString | columnName # need to add support for alg expressions whereCondition = Group( ( columnName + binop + columnRval ) | ( columnName + in_ + "(" + delimitedList( columnRval ) + ")" ) | ( columnName + in_ + "(" + selectStmt + ")" ) | ( "(" + whereExpression + ")" ) ) whereExpression << whereCondition + ZeroOrMore( ( and_ | or_ ) + whereExpression ) # define the grammar selectStmt << ( selectToken + ( '*' | columnNameList ).setResultsName( "columns" ) + fromToken + tableNameList.setResultsName( "tables" ) + Optional( Group( CaselessLiteral("where") + whereExpression ), "" ).setResultsName("where") ) simpleSQL = selectStmt # define Oracle comment format, and ignore them oracleSqlComment = "--" + restOfLine simpleSQL.ignore( oracleSqlComment ) test( "SELECT * from XYZZY, ABC" ) test( "select * from SYS.XYZZY" ) test( "Select A from Sys.dual" ) test( "Select A,B,C from Sys.dual" ) test( "Select A, B, C from Sys.dual" ) test( "Select A, B, C from Sys.dual, Table2 " ) test( "Xelect A, B, C from Sys.dual" ) test( "Select A, B, C frox Sys.dual" ) test( "Select" ) test( "Select &&& frox Sys.dual" ) test( "Select A from Sys.dual where a in ('RED','GREEN','BLUE')" ) test( "Select A from Sys.dual where a in ('RED','GREEN','BLUE') and b in (10,20,30)" ) test( "Select A,b from table1,table2 where table1.id eq table2.id -- test out comparison operators" ) """ Test output: >pythonw -u simpleSQL.py SELECT * from XYZZY, ABC -> tokens = ['select', '*', 'from', ['XYZZY', 'ABC']] tokens.columns = * tokens.tables = ['XYZZY', 'ABC'] select * from SYS.XYZZY -> tokens = ['select', '*', 'from', ['SYS.XYZZY']] tokens.columns = * tokens.tables = ['SYS.XYZZY'] Select A from Sys.dual -> tokens = ['select', ['A'], 'from', ['SYS.DUAL']] tokens.columns = ['A'] tokens.tables = ['SYS.DUAL'] Select A,B,C from Sys.dual -> tokens = ['select', ['A', 'B', 'C'], 'from', ['SYS.DUAL']] tokens.columns = ['A', 'B', 'C'] tokens.tables = ['SYS.DUAL'] Select A, B, C from Sys.dual -> tokens = ['select', ['A', 'B', 'C'], 'from', ['SYS.DUAL']] tokens.columns = ['A', 'B', 'C'] tokens.tables = ['SYS.DUAL'] Select A, B, C from Sys.dual, Table2 -> tokens = ['select', ['A', 'B', 'C'], 'from', ['SYS.DUAL', 'TABLE2']] tokens.columns = ['A', 'B', 'C'] tokens.tables = ['SYS.DUAL', 'TABLE2'] Xelect A, B, C from Sys.dual -> ^ Expected 'select' Expected 'select' (0), (1,1) Select A, B, C frox Sys.dual -> ^ Expected 'from' Expected 'from' (15), (1,16) Select -> ^ Expected '*' Expected '*' (6), (1,7) Select &&& frox Sys.dual -> ^ Expected '*' Expected '*' (7), (1,8) >Exit code: 0 """pyparsing-2.0.1/examples/test_bibparse.py0000644000175000017500000001727311510724742017263 0ustar zigozigo""" Test for bibparse grammar """ from os.path import join as pjoin, dirname from pyparsing import ParseException from btpyparse import Macro import btpyparse as bp from nose.tools import assert_true, assert_false, assert_equal, assert_raises def test_names(): # check various types of names # All names can contains alphas, but not some special chars bad_chars = '"#%\'(),={}' for name_type, dig1f in ((bp.macro_def, False), (bp.field_name, False), (bp.entry_type, False), (bp.cite_key, True)): if dig1f: # can start with digit assert_equal(name_type.parseString('2t')[0], '2t') else: assert_raises(ParseException, name_type.parseString, '2t') # All of the names cannot contain some characters for char in bad_chars: assert_raises(ParseException, name_type.parseString, char) # standard strings all OK assert_equal(name_type.parseString('simple_test')[0], 'simple_test') # Test macro ref mr = bp.macro_ref # can't start with digit assert_raises(ParseException, mr.parseString, '2t') for char in bad_chars: assert_raises(ParseException, mr.parseString, char) assert_equal(mr.parseString('simple_test')[0].name, 'simple_test') def test_numbers(): assert_equal(bp.number.parseString('1066')[0], '1066') assert_equal(bp.number.parseString('0')[0], '0') assert_raises(ParseException, bp.number.parseString, '-4') assert_raises(ParseException, bp.number.parseString, '+4') assert_raises(ParseException, bp.number.parseString, '.4') # something point something leaves a trailing .4 unmatched assert_equal(bp.number.parseString('0.4')[0], '0') def test_parse_string(): # test string building blocks assert_equal(bp.chars_no_quotecurly.parseString('x')[0], 'x') assert_equal(bp.chars_no_quotecurly.parseString("a string")[0], 'a string') assert_equal(bp.chars_no_quotecurly.parseString('a "string')[0], 'a ') assert_equal(bp.chars_no_curly.parseString('x')[0], 'x') assert_equal(bp.chars_no_curly.parseString("a string")[0], 'a string') assert_equal(bp.chars_no_curly.parseString('a {string')[0], 'a ') assert_equal(bp.chars_no_curly.parseString('a }string')[0], 'a ') # test more general strings together for obj in (bp.curly_string, bp.string, bp.field_value): assert_equal(obj.parseString('{}').asList(), []) assert_equal(obj.parseString('{a "string}')[0], 'a "string') assert_equal(obj.parseString('{a {nested} string}').asList(), ['a ', ['nested'], ' string']) assert_equal(obj.parseString('{a {double {nested}} string}').asList(), ['a ', ['double ', ['nested']], ' string']) for obj in (bp.quoted_string, bp.string, bp.field_value): assert_equal(obj.parseString('""').asList(), []) assert_equal(obj.parseString('"a string"')[0], 'a string') assert_equal(obj.parseString('"a {nested} string"').asList(), ['a ', ['nested'], ' string']) assert_equal(obj.parseString('"a {double {nested}} string"').asList(), ['a ', ['double ', ['nested']], ' string']) # check macro def in string assert_equal(bp.string.parseString('someascii')[0], Macro('someascii')) assert_raises(ParseException, bp.string.parseString, '%#= validstring') # check number in string assert_equal(bp.string.parseString('1994')[0], '1994') def test_parse_field(): # test field value - hashes included fv = bp.field_value # Macro assert_equal(fv.parseString('aname')[0], Macro('aname')) assert_equal(fv.parseString('ANAME')[0], Macro('aname')) # String and macro assert_equal(fv.parseString('aname # "some string"').asList(), [Macro('aname'), 'some string']) # Nested string assert_equal(fv.parseString('aname # {some {string}}').asList(), [Macro('aname'), 'some ', ['string']]) # String and number assert_equal(fv.parseString('"a string" # 1994').asList(), ['a string', '1994']) # String and number and macro assert_equal(fv.parseString('"a string" # 1994 # a_macro').asList(), ['a string', '1994', Macro('a_macro')]) def test_comments(): res = bp.comment.parseString('@Comment{about something}') assert_equal(res.asList(), ['comment', '{about something}']) assert_equal( bp.comment.parseString('@COMMENT{about something').asList(), ['comment', '{about something']) assert_equal( bp.comment.parseString('@comment(about something').asList(), ['comment', '(about something']) assert_equal( bp.comment.parseString('@COMment about something').asList(), ['comment', ' about something']) assert_raises(ParseException, bp.comment.parseString, '@commentabout something') assert_raises(ParseException, bp.comment.parseString, '@comment+about something') assert_raises(ParseException, bp.comment.parseString, '@comment"about something') def test_preamble(): res = bp.preamble.parseString('@preamble{"about something"}') assert_equal(res.asList(), ['preamble', 'about something']) assert_equal(bp.preamble.parseString( '@PREamble{{about something}}').asList(), ['preamble', 'about something']) assert_equal(bp.preamble.parseString("""@PREamble{ {about something} }""").asList(), ['preamble', 'about something']) def test_macro(): res = bp.macro.parseString('@string{ANAME = "about something"}') assert_equal(res.asList(), ['string', 'aname', 'about something']) assert_equal( bp.macro.parseString('@string{aname = {about something}}').asList(), ['string', 'aname', 'about something']) def test_entry(): txt = """@some_entry{akey, aname = "about something", another={something else}}""" res = bp.entry.parseString(txt) assert_equal(res.asList(), ['some_entry', 'akey', ['aname', 'about something'], ['another', 'something else']]) # Case conversion txt = """@SOME_ENTRY{akey, ANAME = "about something", another={something else}}""" res = bp.entry.parseString(txt) assert_equal(res.asList(), ['some_entry', 'akey', ['aname', 'about something'], ['another', 'something else']]) def test_bibfile(): txt = """@some_entry{akey, aname = "about something", another={something else}}""" res = bp.bibfile.parseString(txt) assert_equal(res.asList(), [['some_entry', 'akey', ['aname', 'about something'], ['another', 'something else']]]) def test_bib1(): # First pass whole bib-like tests txt = """ Some introductory text (implicit comment) @ARTICLE{Brett2002marsbar, author = {Matthew Brett and Jean-Luc Anton and Romain Valabregue and Jean-Baptise Poline}, title = {{Region of interest analysis using an SPM toolbox}}, journal = {Neuroimage}, year = {2002}, volume = {16}, pages = {1140--1141}, number = {2} } @some_entry{akey, aname = "about something", another={something else}} """ res = bp.bibfile.parseString(txt) assert_equal(len(res), 3) res2 = bp.parse_str(txt) assert_equal(res.asList(), res2.asList()) res3 = [r.asList()[0] for r, start, end in bp.definitions.scanString(txt)] assert_equal(res.asList(), res3) if __name__ == '__main__': import nose nose.main() pyparsing-2.0.1/examples/linenoExample.py0000644000175000017500000000277312053614271017232 0ustar zigozigo# # linenoExample.py # # an example of using the location value returned by pyparsing to # extract the line and column number of the location of the matched text, # or to extract the entire line of text. # # Copyright (c) 2006, Paul McGuire # from pyparsing import * data = """Now is the time for all good men to come to the aid of their country.""" # demonstrate use of lineno, line, and col in a parse action def reportLongWords(st,locn,toks): word = toks[0] if len(word) > 3: print("Found '%s' on line %d at column %d" % (word, lineno(locn,st), col(locn,st))) print("The full line of text was:") print("'%s'" % line(locn,st)) print((" "*col(locn,st))+" ^") print() wd = Word(alphas).setParseAction( reportLongWords ) OneOrMore(wd).parseString(data) # demonstrate returning an object from a parse action, containing more information # than just the matching token text class Token(object): def __init__(self, st, locn, tokString): self.tokenString = tokString self.locn = locn self.sourceLine = line(locn,st) self.lineNo = lineno(locn,st) self.col = col(locn,st) def __str__(self): return "%(tokenString)s (line: %(lineNo)d, col: %(col)d)" % self.__dict__ def createTokenObject(st,locn,toks): return Token(st,locn, toks[0]) wd = Word(alphas).setParseAction( createTokenObject ) for tokenObj in OneOrMore(wd).parseString(data): print(tokenObj) pyparsing-2.0.1/examples/scanYahoo.py0000644000175000017500000000070412053614273016350 0ustar zigozigofrom pyparsing import makeHTMLTags,SkipTo,htmlComment import urllib.request, urllib.parse, urllib.error serverListPage = urllib.request.urlopen( "http://www.yahoo.com" ) htmlText = serverListPage.read() serverListPage.close() aStart,aEnd = makeHTMLTags("A") link = aStart + SkipTo(aEnd).setResultsName("link") + aEnd link.ignore(htmlComment) for toks,start,end in link.scanString(htmlText): print(toks.link, "->", toks.startA.href)pyparsing-2.0.1/examples/pythonGrammarParser.py0000644000175000017500000002004612053614273020432 0ustar zigozigo# pythonGrammarParser.py # # Copyright, 2006, by Paul McGuire # from pyparsing import * # should probably read this from the Grammar file provided with the Python source, but # this just skips that step and inlines the bnf text directly - this grammar was taken from # Python 2.4.1 # grammar = """ # Grammar for Python # Note: Changing the grammar specified in this file will most likely # require corresponding changes in the parser module # (../Modules/parsermodule.c). If you can't make the changes to # that module yourself, please co-ordinate the required changes # with someone who can; ask around on python-dev for help. Fred # Drake will probably be listening there. # Commands for Kees Blom's railroad program #diagram:token NAME #diagram:token NUMBER #diagram:token STRING #diagram:token NEWLINE #diagram:token ENDMARKER #diagram:token INDENT #diagram:output\input python.bla #diagram:token DEDENT #diagram:output\textwidth 20.04cm\oddsidemargin 0.0cm\evensidemargin 0.0cm #diagram:rules # Start symbols for the grammar: # single_input is a single interactive statement; # file_input is a module or sequence of commands read from an input file; # eval_input is the input for the eval() and input() functions. # NB: compound_stmt in single_input is followed by extra NEWLINE! single_input: NEWLINE | simple_stmt | compound_stmt NEWLINE file_input: (NEWLINE | stmt)* ENDMARKER eval_input: testlist NEWLINE* ENDMARKER decorator: '@' dotted_name [ '(' [arglist] ')' ] NEWLINE decorators: decorator+ funcdef: [decorators] 'def' NAME parameters ':' suite parameters: '(' [varargslist] ')' varargslist: (fpdef ['=' test] ',')* ('*' NAME [',' '**' NAME] | '**' NAME) | fpdef ['=' test] (',' fpdef ['=' test])* [','] fpdef: NAME | '(' fplist ')' fplist: fpdef (',' fpdef)* [','] stmt: simple_stmt | compound_stmt simple_stmt: small_stmt (';' small_stmt)* [';'] NEWLINE small_stmt: expr_stmt | print_stmt | del_stmt | pass_stmt | flow_stmt | import_stmt | global_stmt | exec_stmt | assert_stmt expr_stmt: testlist (augassign testlist | ('=' testlist)*) augassign: '+=' | '-=' | '*=' | '/=' | '%=' | '&=' | '|=' | '^=' | '<<=' | '>>=' | '**=' | '//=' # For normal assignments, additional restrictions enforced by the interpreter print_stmt: 'print' ( [ test (',' test)* [','] ] | '>>' test [ (',' test)+ [','] ] ) del_stmt: 'del' exprlist pass_stmt: 'pass' flow_stmt: break_stmt | continue_stmt | return_stmt | raise_stmt | yield_stmt break_stmt: 'break' continue_stmt: 'continue' return_stmt: 'return' [testlist] yield_stmt: 'yield' testlist raise_stmt: 'raise' [test [',' test [',' test]]] import_stmt: import_name | import_from import_name: 'import' dotted_as_names import_from: 'from' dotted_name 'import' ('*' | '(' import_as_names ')' | import_as_names) import_as_name: NAME [NAME NAME] dotted_as_name: dotted_name [NAME NAME] import_as_names: import_as_name (',' import_as_name)* [','] dotted_as_names: dotted_as_name (',' dotted_as_name)* dotted_name: NAME ('.' NAME)* global_stmt: 'global' NAME (',' NAME)* exec_stmt: 'exec' expr ['in' test [',' test]] assert_stmt: 'assert' test [',' test] #35 compound_stmt: if_stmt | while_stmt | for_stmt | try_stmt | funcdef | classdef if_stmt: 'if' test ':' suite ('elif' test ':' suite)* ['else' ':' suite] while_stmt: 'while' test ':' suite ['else' ':' suite] for_stmt: 'for' exprlist 'in' testlist ':' suite ['else' ':' suite] try_stmt: ('try' ':' suite (except_clause ':' suite)+ #diagram:break ['else' ':' suite] | 'try' ':' suite 'finally' ':' suite) # NB compile.c makes sure that the default except clause is last except_clause: 'except' [test [',' test]] suite: simple_stmt | NEWLINE INDENT stmt+ DEDENT test: and_test ('or' and_test)* | lambdef and_test: not_test ('and' not_test)* not_test: 'not' not_test | comparison comparison: expr (comp_op expr)* comp_op: '<'|'>'|'=='|'>='|'<='|'<>'|'!='|'in'|'not' 'in'|'is'|'is' 'not' expr: xor_expr ('|' xor_expr)* xor_expr: and_expr ('^' and_expr)* and_expr: shift_expr ('&' shift_expr)* shift_expr: arith_expr (('<<'|'>>') arith_expr)* arith_expr: term (('+'|'-') term)* term: factor (('*'|'/'|'%'|'//') factor)* factor: ('+'|'-'|'~') factor | power power: atom trailer* ['**' factor] atom: '(' [testlist_gexp] ')' | '[' [listmaker] ']' | '{' [dictmaker] '}' | '`' testlist1 '`' | NAME | NUMBER | STRING+ listmaker: test ( list_for | (',' test)* [','] ) testlist_gexp: test ( gen_for | (',' test)* [','] ) lambdef: 'lambda' [varargslist] ':' test trailer: '(' [arglist] ')' | '[' subscriptlist ']' | '.' NAME subscriptlist: subscript (',' subscript)* [','] subscript: '.' '.' '.' | test | [test] ':' [test] [sliceop] sliceop: ':' [test] exprlist: expr (',' expr)* [','] testlist: test (',' test)* [','] testlist_safe: test [(',' test)+ [',']] dictmaker: test ':' test (',' test ':' test)* [','] classdef: 'class' NAME ['(' testlist ')'] ':' suite arglist: (argument ',')* (argument [',']| '*' test [',' '**' test] | '**' test) argument: [test '='] test [gen_for] # Really [keyword '='] test list_iter: list_for | list_if list_for: 'for' exprlist 'in' testlist_safe [list_iter] list_if: 'if' test [list_iter] gen_iter: gen_for | gen_if gen_for: 'for' exprlist 'in' test [gen_iter] gen_if: 'if' test [gen_iter] testlist1: test (',' test)* # not used in grammar, but may appear in "node" passed from Parser to Compiler encoding_decl: NAME """ class SemanticGroup(object): def __init__(self,contents): self.contents = contents while self.contents[-1].__class__ == self.__class__: self.contents = self.contents[:-1] + self.contents[-1].contents def __str__(self): return "%s(%s)" % (self.label, " ".join([isinstance(c,str) and c or str(c) for c in self.contents]) ) class OrList(SemanticGroup): label = "OR" pass class AndList(SemanticGroup): label = "AND" pass class OptionalGroup(SemanticGroup): label = "OPT" pass class Atom(SemanticGroup): def __init__(self,contents): if len(contents) > 1: self.rep = contents[1] else: self.rep = "" if isinstance(contents,str): self.contents = contents else: self.contents = contents[0] def __str__(self): return "%s%s" % (self.rep, self.contents) def makeGroupObject(cls): def groupAction(s,l,t): try: return cls(t[0].asList()) except: return cls(t) return groupAction # bnf punctuation LPAREN = Suppress("(") RPAREN = Suppress(")") LBRACK = Suppress("[") RBRACK = Suppress("]") COLON = Suppress(":") ALT_OP = Suppress("|") # bnf grammar ident = Word(alphanums+"_") bnfToken = Word(alphanums+"_") + ~FollowedBy(":") repSymbol = oneOf("* +") bnfExpr = Forward() optionalTerm = Group(LBRACK + bnfExpr + RBRACK).setParseAction(makeGroupObject(OptionalGroup)) bnfTerm = ( (bnfToken | quotedString | optionalTerm | ( LPAREN + bnfExpr + RPAREN )) + Optional(repSymbol) ).setParseAction(makeGroupObject(Atom)) andList = Group(bnfTerm + OneOrMore(bnfTerm)).setParseAction(makeGroupObject(AndList)) bnfFactor = andList | bnfTerm orList = Group( bnfFactor + OneOrMore( ALT_OP + bnfFactor ) ).setParseAction(makeGroupObject(OrList)) bnfExpr << ( orList | bnfFactor ) bnfLine = ident + COLON + bnfExpr bnfComment = "#" + restOfLine # build return tokens as a dictionary bnf = Dict(OneOrMore(Group(bnfLine))) bnf.ignore(bnfComment) # bnf is defined, parse the grammar text bnfDefs = bnf.parseString(grammar) # correct answer is 78 expected = 78 assert len(bnfDefs) == expected, \ "Error, found %d BNF defns, expected %d" % (len(bnfDefs), expected) # list out defns in order they were parsed (to verify accuracy of parsing) for k,v in bnfDefs: print(k,"=",v) print() # list out parsed grammar defns (demonstrates dictionary access to parsed tokens) for k in list(bnfDefs.keys()): print(k,"=",bnfDefs[k]) pyparsing-2.0.1/examples/withAttribute.py0000644000175000017500000000156712053614275017275 0ustar zigozigo# # withAttribute.py # Copyright, 2007 - Paul McGuire # # Simple example of using withAttribute parse action helper # to define # data = """\  49.950   50.950   51.950  """ from pyparsing import * tdS,tdE = makeHTMLTags("TD") fontS,fontE = makeHTMLTags("FONT") realNum = Combine( Word(nums) + "." + Word(nums) ).setParseAction(lambda t:float(t[0])) NBSP = Literal(" ") patt = tdS + fontS + NBSP + realNum("value") + NBSP + fontE + tdE tdS.setParseAction( withAttribute(align="right",width="80") ) for s in patt.searchString(data): print(s.value) pyparsing-2.0.1/examples/partial_gene_match.py0000644000175000017500000000635612053614272020242 0ustar zigozigo# parital_gene_match.py # # Example showing how to create a customized pyparsing Token, in this case, # one that is very much like Literal, but which tolerates up to 'n' character # mismatches from pyparsing import * import urllib.request, urllib.parse, urllib.error # read in a bunch of genomic data datafile = urllib.request.urlopen("http://toxodb.org/common/downloads/release-6.0/Tgondii/TgondiiApicoplastORFsNAs_ToxoDB-6.0.fasta") fastasrc = datafile.read() datafile.close() """ Sample header: >NC_001799-6-2978-2778 | organism=Toxoplasma_gondii_RH | location=NC_001799:2778-2978(-) | length=201 """ integer = Word(nums).setParseAction(lambda t:int(t[0])) genebit = Group(">" + Word(alphanums.upper()+"-_") + "|" + Word(printables)("id") + SkipTo("length=", include=True) + integer("genelen") + LineEnd() + Combine(OneOrMore(Word("ACGTN")),adjacent=False)("gene")) # read gene data from .fasta file - takes just a few seconds genedata = OneOrMore(genebit).parseString(fastasrc) class CloseMatch(Token): """A special subclass of Token that does *close* matches. For each close match of the given string, a tuple is returned giving the found close match, and a list of mismatch positions.""" def __init__(self, seq, maxMismatches=1): super(CloseMatch,self).__init__() self.name = seq self.sequence = seq self.maxMismatches = maxMismatches self.errmsg = "Expected " + self.sequence self.mayIndexError = False self.mayReturnEmpty = False def parseImpl( self, instring, loc, doActions=True ): start = loc instrlen = len(instring) maxloc = start + len(self.sequence) if maxloc <= instrlen: seq = self.sequence seqloc = 0 mismatches = [] throwException = False done = False while loc < maxloc and not done: if instring[loc] != seq[seqloc]: mismatches.append(seqloc) if len(mismatches) > self.maxMismatches: throwException = True done = True loc += 1 seqloc += 1 else: throwException = True if throwException: exc = self.myException exc.loc = loc exc.pstr = instring raise exc return loc, (instring[start:loc],mismatches) # using the genedata extracted above, look for close matches of a gene sequence searchseq = CloseMatch("TTAAATCTAGAAGAT", 3) for g in genedata: print("%s (%d)" % (g.id, g.genelen)) print("-"*24) for t,startLoc,endLoc in searchseq.scanString(g.gene, overlap=True): matched, mismatches = t[0] print("MATCH:", searchseq.sequence) print("FOUND:", matched) if mismatches: print(" ", ''.join(' ' if i not in mismatches else '*' for i,c in enumerate(searchseq.sequence))) else: print("") print("at location", startLoc) print() print() pyparsing-2.0.1/examples/stateMachine2.py0000644000175000017500000002117112053614275017116 0ustar zigozigo# stateMachine.py # # module to define .pystate import handler # #import imputil import sys import os import types import urllib.parse DEBUG = False from pyparsing import Word, Group, ZeroOrMore, alphas, \ alphanums, ParserElement, ParseException, ParseSyntaxException, \ Empty, LineEnd, OneOrMore, col, Keyword, pythonStyleComment, \ StringEnd, traceParseAction ident = Word(alphas+"_", alphanums+"_$") pythonKeywords = """and as assert break class continue def del elif else except exec finally for from global if import in is lambda None not or pass print raise return try while with yield True False""" pythonKeywords = set(pythonKeywords.split()) def no_keywords_allowed(s,l,t): wd = t[0] if wd in pythonKeywords: errmsg = "cannot not use keyword '%s' " \ "as an identifier" % wd raise ParseException(s,l,errmsg) ident.setParseAction(no_keywords_allowed) stateTransition = ident("fromState") + "->" + ident("toState") stateMachine = Keyword("statemachine") + \ ident("name") + ":" + \ OneOrMore(Group(stateTransition))("transitions") namedStateTransition = (ident("fromState") + \ "-(" + ident("transition") + ")->" + \ ident("toState")) namedStateMachine = Keyword("statemachine") + \ ident("name") + ":" + \ OneOrMore(Group(namedStateTransition))("transitions") def expand_state_definition(source, loc, tokens): indent = " " * (col(loc,source)-1) statedef = [] # build list of states states = set() fromTo = {} for tn in tokens.transitions: states.add(tn.fromState) states.add(tn.toState) fromTo[tn.fromState] = tn.toState # define base class for state classes baseStateClass = tokens.name + "State" statedef.extend([ "class %s(object):" % baseStateClass, " def __str__(self):", " return self.__class__.__name__", " def next_state(self):", " return self._next_state_class()" ]) # define all state classes statedef.extend( "class %s(%s): pass" % (s,baseStateClass) for s in states ) statedef.extend( "%s._next_state_class = %s" % (s,fromTo[s]) for s in states if s in fromTo ) return indent + ("\n"+indent).join(statedef)+"\n" stateMachine.setParseAction(expand_state_definition) def expand_named_state_definition(source,loc,tokens): indent = " " * (col(loc,source)-1) statedef = [] # build list of states and transitions states = set() transitions = set() baseStateClass = tokens.name + "State" fromTo = {} for tn in tokens.transitions: states.add(tn.fromState) states.add(tn.toState) transitions.add(tn.transition) if tn.fromState in fromTo: fromTo[tn.fromState][tn.transition] = tn.toState else: fromTo[tn.fromState] = {tn.transition:tn.toState} # add entries for terminal states for s in states: if s not in fromTo: fromTo[s] = {} # define state transition class statedef.extend([ "class %sTransition:" % baseStateClass, " def __str__(self):", " return self.transitionName", ]) statedef.extend( "%s = %sTransition()" % (tn,baseStateClass) for tn in transitions) statedef.extend("%s.transitionName = '%s'" % (tn,tn) for tn in transitions) # define base class for state classes excmsg = "'" + tokens.name + \ '.%s does not support transition "%s"' \ "'% (self, tn)" statedef.extend([ "class %s(object):" % baseStateClass, " def __str__(self):", " return self.__class__.__name__", " def next_state(self,tn):", " try:", " return self.tnmap[tn]()", " except KeyError:", " raise Exception(%s)" % excmsg, " def __getattr__(self,name):", " raise Exception(%s)" % excmsg, ]) # define all state classes for s in states: statedef.append("class %s(%s): pass" % (s,baseStateClass)) # define state transition maps and transition methods for s in states: trns = list(fromTo[s].items()) statedef.append("%s.tnmap = {%s}" % (s, ",".join("%s:%s" % tn for tn in trns)) ) statedef.extend([ "%s.%s = staticmethod(lambda : %s())" % (s,tn_,to_) for tn_,to_ in trns ]) return indent + ("\n"+indent).join(statedef) + "\n" namedStateMachine.setParseAction( expand_named_state_definition) #====================================================================== # NEW STUFF - Matt Anderson, 2009-11-26 #====================================================================== class SuffixImporter(object): """An importer designed using the mechanism defined in :pep:`302`. I read the PEP, and also used Doug Hellmann's PyMOTW article `Modules and Imports`_, as a pattern. .. _`Modules and Imports`: http://www.doughellmann.com/PyMOTW/sys/imports.html Define a subclass that specifies a :attr:`suffix` attribute, and implements a :meth:`process_filedata` method. Then call the classmethod :meth:`register` on your class to actually install it in the appropriate places in :mod:`sys`. """ scheme = 'suffix' suffix = None path_entry = None @classmethod def trigger_url(cls): if cls.suffix is None: raise ValueError('%s.suffix is not set' % cls.__name__) return 'suffix:%s' % cls.suffix @classmethod def register(cls): sys.path_hooks.append(cls) sys.path.append(cls.trigger_url()) def __init__(self, path_entry): pr = urllib.parse.urlparse(str(path_entry)) if pr.scheme != self.scheme or pr.path != self.suffix: raise ImportError() self.path_entry = path_entry self._found = {} def checkpath_iter(self, fullname): for dirpath in sys.path: # if the value in sys.path_importer_cache is None, then this # path *should* be imported by the builtin mechanism, and the # entry is thus a path to a directory on the filesystem; # if it's not None, then some other importer is in charge, and # it probably isn't even a filesystem path if sys.path_importer_cache.get(dirpath,False) is None: checkpath = os.path.join( dirpath,'%s.%s' % (fullname,self.suffix)) yield checkpath def find_module(self, fullname, path=None): for checkpath in self.checkpath_iter(fullname): if os.path.isfile(checkpath): self._found[fullname] = checkpath return self return None def load_module(self, fullname): assert fullname in self._found if fullname in sys.modules: module = sys.modules[fullname] else: sys.modules[fullname] = module = types.ModuleType(fullname) data = None f = open(self._found[fullname]) try: data = f.read() finally: f.close() module.__dict__.clear() module.__file__ = self._found[fullname] module.__name__ = fullname module.__loader__ = self self.process_filedata(module, data) return module def process_filedata(self, module, data): pass class PystateImporter(SuffixImporter): suffix = 'pystate' def process_filedata(self, module, data): # MATT-NOTE: re-worked :func:`get_state_machine` # convert any statemachine expressions stateMachineExpr = (stateMachine | namedStateMachine).ignore( pythonStyleComment) generated_code = stateMachineExpr.transformString(data) if DEBUG: print(generated_code) # compile code object from generated code # (strip trailing spaces and tabs, compile doesn't like # dangling whitespace) COMPILE_MODE = 'exec' codeobj = compile(generated_code.rstrip(" \t"), module.__file__, COMPILE_MODE) exec(codeobj, module.__dict__) PystateImporter.register() pyparsing-2.0.1/examples/shapes.py0000644000175000017500000000326312053614274015713 0ustar zigozigo# shapes.py # # A sample program showing how parse actions can convert parsed # strings into a data type or object. # # Copyright 2012, Paul T. McGuire # # define class hierarchy of Shape classes, with polymorphic area method class Shape(object): def __init__(self, tokens): self.__dict__.update(tokens.asDict()) def area(self): raise NotImplementedException() def __str__(self): return "<%s>: %s" % (self.__class__.__name__, self.__dict__) class Square(Shape): def area(self): return self.side**2 class Rectangle(Shape): def area(self): return self.width * self.height class Circle(Shape): def area(self): return 3.14159 * self.radius**2 from pyparsing import * number = Regex(r'-?\d+(\.\d*)?').setParseAction(lambda t:float(t[0])) # Shape expressions: # square : S # rectangle: R # circle : C squareDefn = "S" + number('centerx') + number('centery') + number('side') rectDefn = "R" + number('centerx') + number('centery') + number('width') + number('height') circleDefn = "C" + number('centerx') + number('centery') + number('diameter') squareDefn.setParseAction(Square) rectDefn.setParseAction(Rectangle) def computeRadius(tokens): tokens['radius'] = tokens.diameter/2.0 circleDefn.setParseAction(computeRadius, Circle) shapeExpr = squareDefn | rectDefn | circleDefn tests = """\ C 0 0 100 R 10 10 20 50 S -1 5 10""".splitlines() for t in tests: shape = shapeExpr.parseString(t)[0] print(shape) print("Area:", shape.area()) print() pyparsing-2.0.1/examples/verilogParse.py0000644000175000017500000007614712053633303017077 0ustar zigozigo# # verilogParse.py # # an example of using the pyparsing module to be able to process Verilog files # uses BNF defined at http://www.verilog.com/VerilogBNF.html # # Copyright (c) 2004-2011 Paul T. McGuire. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge, publish, # distribute, sublicense, and/or sell copies of the Software, and to # permit persons to whom the Software is furnished to do so, subject to # the following conditions: # # The above copyright notice and this permission notice shall be # included in all copies or substantial portions of the Software. # # If you find this software to be useful, please make a donation to one # of the following charities: # - the Red Cross (http://www.redcross.org) # - Hospice Austin (http://www.hospiceaustin.org) # # DISCLAIMER: # THIS SOFTWARE IS PROVIDED BY PAUL T. McGUIRE ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO # EVENT SHALL PAUL T. McGUIRE OR CO-CONTRIBUTORS BE LIABLE FOR ANY DIRECT, # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OFUSE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY # OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # For questions or inquiries regarding this license, or commercial use of # this software, contact the author via e-mail: ptmcg@users.sourceforge.net # # Todo: # - add pre-process pass to implement compilerDirectives (ifdef, include, etc.) # # Revision History: # # 1.0 - Initial release # 1.0.1 - Fixed grammar errors: # . real declaration was incorrect # . tolerant of '=>' for '*>' operator # . tolerant of '?' as hex character # . proper handling of mintypmax_expr within path delays # 1.0.2 - Performance tuning (requires pyparsing 1.3) # 1.0.3 - Performance updates, using Regex (requires pyparsing 1.4) # 1.0.4 - Performance updates, enable packrat parsing (requires pyparsing 1.4.2) # 1.0.5 - Converted keyword Literals to Keywords, added more use of Group to # group parsed results tokens # 1.0.6 - Added support for module header with no ports list (thanks, Thomas Dejanovic!) # 1.0.7 - Fixed erroneous '<<' Forward definition in timCheckCond, omitting ()'s # 1.0.8 - Re-released under MIT license # 1.0.9 - Enhanced udpInstance to handle identifiers with leading '\' and subscripting # 1.0.10 - Fixed change added in 1.0.9 to work for all identifiers, not just those used # for udpInstance. # 1.0.11 - Fixed bug in inst_args, content alternatives were reversed # import pdb import time import pprint import sys __version__ = "1.0.11" from pyparsing import Literal, CaselessLiteral, Keyword, Word, Upcase, OneOrMore, ZeroOrMore, \ Forward, NotAny, delimitedList, Group, Optional, Combine, alphas, nums, restOfLine, cStyleComment, \ alphanums, printables, dblQuotedString, empty, ParseException, ParseResults, MatchFirst, oneOf, GoToColumn, \ ParseResults,StringEnd, FollowedBy, ParserElement, And, Regex, cppStyleComment#,__version__ import pyparsing usePackrat = False usePsyco = False packratOn = False psycoOn = False if usePackrat: try: ParserElement.enablePackrat() except: pass else: packratOn = True # comment out this section to disable psyco function compilation if usePsyco: try: import psyco psyco.full() except: print("failed to import psyco Python optimizer") else: psycoOn = True def dumpTokens(s,l,t): import pprint pprint.pprint( t.asList() ) verilogbnf = None def Verilog_BNF(): global verilogbnf if verilogbnf is None: # compiler directives compilerDirective = Combine( "`" + \ oneOf("define undef ifdef else endif default_nettype " "include resetall timescale unconnected_drive " "nounconnected_drive celldefine endcelldefine") + \ restOfLine ).setName("compilerDirective") # primitives SEMI,COLON,LPAR,RPAR,LBRACE,RBRACE,LBRACK,RBRACK,DOT,COMMA,EQ = map(Literal,";:(){}[].,=") identLead = alphas+"$_" identBody = alphanums+"$_" identifier1 = Regex( r"\.?["+identLead+"]["+identBody+"]*(\.["+identLead+"]["+identBody+"]*)*" ).setName("baseIdent") identifier2 = Regex(r"\\\S+").setParseAction(lambda t:t[0][1:]).setName("escapedIdent")#.setDebug() identifier = identifier1 | identifier2 assert(identifier2 == r'\abc') hexnums = nums + "abcdefABCDEF" + "_?" base = Regex("'[bBoOdDhH]").setName("base") basedNumber = Combine( Optional( Word(nums + "_") ) + base + Word(hexnums+"xXzZ"), joinString=" ", adjacent=False ).setName("basedNumber") #~ number = ( basedNumber | Combine( Word( "+-"+spacedNums, spacedNums ) + #~ Optional( DOT + Optional( Word( spacedNums ) ) ) + #~ Optional( e + Word( "+-"+spacedNums, spacedNums ) ) ).setName("numeric") ) number = ( basedNumber | \ Regex(r"[+-]?[0-9_]+(\.[0-9_]*)?([Ee][+-]?[0-9_]+)?") \ ).setName("numeric") #~ decnums = nums + "_" #~ octnums = "01234567" + "_" expr = Forward().setName("expr") concat = Group( LBRACE + delimitedList( expr ) + RBRACE ) multiConcat = Group("{" + expr + concat + "}").setName("multiConcat") funcCall = Group(identifier + LPAR + Optional( delimitedList( expr ) ) + RPAR).setName("funcCall") subscrRef = Group(LBRACK + delimitedList( expr, COLON ) + RBRACK) subscrIdentifier = Group( identifier + Optional( subscrRef ) ) #~ scalarConst = "0" | (( FollowedBy('1') + oneOf("1'b0 1'b1 1'bx 1'bX 1'B0 1'B1 1'Bx 1'BX 1") )) scalarConst = Regex("0|1('[Bb][01xX])?") mintypmaxExpr = Group( expr + COLON + expr + COLON + expr ).setName("mintypmax") primary = ( number | (LPAR + mintypmaxExpr + RPAR ) | ( LPAR + Group(expr) + RPAR ).setName("nestedExpr") | multiConcat | concat | dblQuotedString | funcCall | subscrIdentifier ) unop = oneOf( "+ - ! ~ & ~& | ^| ^ ~^" ).setName("unop") binop = oneOf( "+ - * / % == != === !== && " "|| < <= > >= & | ^ ^~ >> << ** <<< >>>" ).setName("binop") expr << ( ( unop + expr ) | # must be first! ( primary + "?" + expr + COLON + expr ) | ( primary + Optional( binop + expr ) ) ) lvalue = subscrIdentifier | concat # keywords if_ = Keyword("if") else_ = Keyword("else") edge = Keyword("edge") posedge = Keyword("posedge") negedge = Keyword("negedge") specify = Keyword("specify") endspecify = Keyword("endspecify") fork = Keyword("fork") join = Keyword("join") begin = Keyword("begin") end = Keyword("end") default = Keyword("default") forever = Keyword("forever") repeat = Keyword("repeat") while_ = Keyword("while") for_ = Keyword("for") case = oneOf( "case casez casex" ) endcase = Keyword("endcase") wait = Keyword("wait") disable = Keyword("disable") deassign = Keyword("deassign") force = Keyword("force") release = Keyword("release") assign = Keyword("assign") eventExpr = Forward() eventTerm = ( posedge + expr ) | ( negedge + expr ) | expr | ( LPAR + eventExpr + RPAR ) eventExpr << ( Group( delimitedList( eventTerm, Keyword("or") ) ) ) eventControl = Group( "@" + ( ( LPAR + eventExpr + RPAR ) | identifier | "*" ) ).setName("eventCtrl") delayArg = ( number | Word(alphanums+"$_") | #identifier | ( LPAR + Group( delimitedList( mintypmaxExpr | expr ) ) + RPAR ) ).setName("delayArg")#.setDebug() delay = Group( "#" + delayArg ).setName("delay")#.setDebug() delayOrEventControl = delay | eventControl assgnmt = Group( lvalue + EQ + Optional( delayOrEventControl ) + expr ).setName( "assgnmt" ) nbAssgnmt = Group(( lvalue + "<=" + Optional( delay ) + expr ) | ( lvalue + "<=" + Optional( eventControl ) + expr )).setName( "nbassgnmt" ) range = LBRACK + expr + COLON + expr + RBRACK paramAssgnmt = Group( identifier + EQ + expr ).setName("paramAssgnmt") parameterDecl = Group( "parameter" + Optional( range ) + delimitedList( paramAssgnmt ) + SEMI).setName("paramDecl") inputDecl = Group( "input" + Optional( range ) + delimitedList( identifier ) + SEMI ) outputDecl = Group( "output" + Optional( range ) + delimitedList( identifier ) + SEMI ) inoutDecl = Group( "inout" + Optional( range ) + delimitedList( identifier ) + SEMI ) regIdentifier = Group( identifier + Optional( LBRACK + expr + COLON + expr + RBRACK ) ) regDecl = Group( "reg" + Optional("signed") + Optional( range ) + delimitedList( regIdentifier ) + SEMI ).setName("regDecl") timeDecl = Group( "time" + delimitedList( regIdentifier ) + SEMI ) integerDecl = Group( "integer" + delimitedList( regIdentifier ) + SEMI ) strength0 = oneOf("supply0 strong0 pull0 weak0 highz0") strength1 = oneOf("supply1 strong1 pull1 weak1 highz1") driveStrength = Group( LPAR + ( ( strength0 + COMMA + strength1 ) | ( strength1 + COMMA + strength0 ) ) + RPAR ).setName("driveStrength") nettype = oneOf("wire tri tri1 supply0 wand triand tri0 supply1 wor trior trireg") expandRange = Optional( oneOf("scalared vectored") ) + range realDecl = Group( "real" + delimitedList( identifier ) + SEMI ) eventDecl = Group( "event" + delimitedList( identifier ) + SEMI ) blockDecl = ( parameterDecl | regDecl | integerDecl | realDecl | timeDecl | eventDecl ) stmt = Forward().setName("stmt")#.setDebug() stmtOrNull = stmt | SEMI caseItem = ( delimitedList( expr ) + COLON + stmtOrNull ) | \ ( default + Optional(":") + stmtOrNull ) stmt << Group( ( begin + Group( ZeroOrMore( stmt ) ) + end ).setName("begin-end") | ( if_ + Group(LPAR + expr + RPAR) + stmtOrNull + Optional( else_ + stmtOrNull ) ).setName("if") | ( delayOrEventControl + stmtOrNull ) | ( case + LPAR + expr + RPAR + OneOrMore( caseItem ) + endcase ) | ( forever + stmt ) | ( repeat + LPAR + expr + RPAR + stmt ) | ( while_ + LPAR + expr + RPAR + stmt ) | ( for_ + LPAR + assgnmt + SEMI + Group( expr ) + SEMI + assgnmt + RPAR + stmt ) | ( fork + ZeroOrMore( stmt ) + join ) | ( fork + COLON + identifier + ZeroOrMore( blockDecl ) + ZeroOrMore( stmt ) + end ) | ( wait + LPAR + expr + RPAR + stmtOrNull ) | ( "->" + identifier + SEMI ) | ( disable + identifier + SEMI ) | ( assign + assgnmt + SEMI ) | ( deassign + lvalue + SEMI ) | ( force + assgnmt + SEMI ) | ( release + lvalue + SEMI ) | ( begin + COLON + identifier + ZeroOrMore( blockDecl ) + ZeroOrMore( stmt ) + end ).setName("begin:label-end") | # these *have* to go at the end of the list!!! ( assgnmt + SEMI ) | ( nbAssgnmt + SEMI ) | ( Combine( Optional("$") + identifier ) + Optional( LPAR + delimitedList(expr|empty) + RPAR ) + SEMI ) ).setName("stmtBody") """ x::= ; x||= ; x||= if ( ) x||= if ( ) else x||= case ( ) + endcase x||= casez ( ) + endcase x||= casex ( ) + endcase x||= forever x||= repeat ( ) x||= while ( ) x||= for ( ; ; ) x||= x||= wait ( ) x||= -> ; x||= x||= x||= x||= x||= disable ; x||= disable ; x||= assign ; x||= deassign ; x||= force ; x||= release ; """ alwaysStmt = Group( "always" + Optional(eventControl) + stmt ).setName("alwaysStmt") initialStmt = Group( "initial" + stmt ).setName("initialStmt") chargeStrength = Group( LPAR + oneOf( "small medium large" ) + RPAR ).setName("chargeStrength") continuousAssign = Group( assign + Optional( driveStrength ) + Optional( delay ) + delimitedList( assgnmt ) + SEMI ).setName("continuousAssign") tfDecl = ( parameterDecl | inputDecl | outputDecl | inoutDecl | regDecl | timeDecl | integerDecl | realDecl ) functionDecl = Group( "function" + Optional( range | "integer" | "real" ) + identifier + SEMI + Group( OneOrMore( tfDecl ) ) + Group( ZeroOrMore( stmt ) ) + "endfunction" ) inputOutput = oneOf("input output") netDecl1Arg = ( nettype + Optional( expandRange ) + Optional( delay ) + Group( delimitedList( ~inputOutput + identifier ) ) ) netDecl2Arg = ( "trireg" + Optional( chargeStrength ) + Optional( expandRange ) + Optional( delay ) + Group( delimitedList( ~inputOutput + identifier ) ) ) netDecl3Arg = ( nettype + Optional( driveStrength ) + Optional( expandRange ) + Optional( delay ) + Group( delimitedList( assgnmt ) ) ) netDecl1 = Group(netDecl1Arg + SEMI).setName("netDecl1") netDecl2 = Group(netDecl2Arg + SEMI).setName("netDecl2") netDecl3 = Group(netDecl3Arg + SEMI).setName("netDecl3") gateType = oneOf("and nand or nor xor xnor buf bufif0 bufif1 " "not notif0 notif1 pulldown pullup nmos rnmos " "pmos rpmos cmos rcmos tran rtran tranif0 " "rtranif0 tranif1 rtranif1" ) gateInstance = Optional( Group( identifier + Optional( range ) ) ) + \ LPAR + Group( delimitedList( expr ) ) + RPAR gateDecl = Group( gateType + Optional( driveStrength ) + Optional( delay ) + delimitedList( gateInstance) + SEMI ) udpInstance = Group( Group( identifier + Optional(range | subscrRef) ) + LPAR + Group( delimitedList( expr ) ) + RPAR ) udpInstantiation = Group( identifier - Optional( driveStrength ) + Optional( delay ) + delimitedList( udpInstance ) + SEMI ).setName("udpInstantiation") parameterValueAssignment = Group( Literal("#") + LPAR + Group( delimitedList( expr ) ) + RPAR ) namedPortConnection = Group( DOT + identifier + LPAR + expr + RPAR ).setName("namedPortConnection")#.setDebug() assert(r'.\abc (abc )' == namedPortConnection) modulePortConnection = expr | empty #~ moduleInstance = Group( Group ( identifier + Optional(range) ) + #~ ( delimitedList( modulePortConnection ) | #~ delimitedList( namedPortConnection ) ) ) inst_args = Group( LPAR + (delimitedList( namedPortConnection ) | delimitedList( modulePortConnection )) + RPAR).setName("inst_args") moduleInstance = Group( Group ( identifier + Optional(range) ) + inst_args ).setName("moduleInstance")#.setDebug() moduleInstantiation = Group( identifier + Optional( parameterValueAssignment ) + delimitedList( moduleInstance ).setName("moduleInstanceList") + SEMI ).setName("moduleInstantiation") parameterOverride = Group( "defparam" + delimitedList( paramAssgnmt ) + SEMI ) task = Group( "task" + identifier + SEMI + ZeroOrMore( tfDecl ) + stmtOrNull + "endtask" ) specparamDecl = Group( "specparam" + delimitedList( paramAssgnmt ) + SEMI ) pathDescr1 = Group( LPAR + subscrIdentifier + "=>" + subscrIdentifier + RPAR ) pathDescr2 = Group( LPAR + Group( delimitedList( subscrIdentifier ) ) + "*>" + Group( delimitedList( subscrIdentifier ) ) + RPAR ) pathDescr3 = Group( LPAR + Group( delimitedList( subscrIdentifier ) ) + "=>" + Group( delimitedList( subscrIdentifier ) ) + RPAR ) pathDelayValue = Group( ( LPAR + Group( delimitedList( mintypmaxExpr | expr ) ) + RPAR ) | mintypmaxExpr | expr ) pathDecl = Group( ( pathDescr1 | pathDescr2 | pathDescr3 ) + EQ + pathDelayValue + SEMI ).setName("pathDecl") portConditionExpr = Forward() portConditionTerm = Optional(unop) + subscrIdentifier portConditionExpr << portConditionTerm + Optional( binop + portConditionExpr ) polarityOp = oneOf("+ -") levelSensitivePathDecl1 = Group( if_ + Group(LPAR + portConditionExpr + RPAR) + subscrIdentifier + Optional( polarityOp ) + "=>" + subscrIdentifier + EQ + pathDelayValue + SEMI ) levelSensitivePathDecl2 = Group( if_ + Group(LPAR + portConditionExpr + RPAR) + LPAR + Group( delimitedList( subscrIdentifier ) ) + Optional( polarityOp ) + "*>" + Group( delimitedList( subscrIdentifier ) ) + RPAR + EQ + pathDelayValue + SEMI ) levelSensitivePathDecl = levelSensitivePathDecl1 | levelSensitivePathDecl2 edgeIdentifier = posedge | negedge edgeSensitivePathDecl1 = Group( Optional( if_ + Group(LPAR + expr + RPAR) ) + LPAR + Optional( edgeIdentifier ) + subscrIdentifier + "=>" + LPAR + subscrIdentifier + Optional( polarityOp ) + COLON + expr + RPAR + RPAR + EQ + pathDelayValue + SEMI ) edgeSensitivePathDecl2 = Group( Optional( if_ + Group(LPAR + expr + RPAR) ) + LPAR + Optional( edgeIdentifier ) + subscrIdentifier + "*>" + LPAR + delimitedList( subscrIdentifier ) + Optional( polarityOp ) + COLON + expr + RPAR + RPAR + EQ + pathDelayValue + SEMI ) edgeSensitivePathDecl = edgeSensitivePathDecl1 | edgeSensitivePathDecl2 edgeDescr = oneOf("01 10 0x x1 1x x0").setName("edgeDescr") timCheckEventControl = Group( posedge | negedge | (edge + LBRACK + delimitedList( edgeDescr ) + RBRACK )) timCheckCond = Forward() timCondBinop = oneOf("== === != !==") timCheckCondTerm = ( expr + timCondBinop + scalarConst ) | ( Optional("~") + expr ) timCheckCond << ( ( LPAR + timCheckCond + RPAR ) | timCheckCondTerm ) timCheckEvent = Group( Optional( timCheckEventControl ) + subscrIdentifier + Optional( "&&&" + timCheckCond ) ) timCheckLimit = expr controlledTimingCheckEvent = Group( timCheckEventControl + subscrIdentifier + Optional( "&&&" + timCheckCond ) ) notifyRegister = identifier systemTimingCheck1 = Group( "$setup" + LPAR + timCheckEvent + COMMA + timCheckEvent + COMMA + timCheckLimit + Optional( COMMA + notifyRegister ) + RPAR + SEMI ) systemTimingCheck2 = Group( "$hold" + LPAR + timCheckEvent + COMMA + timCheckEvent + COMMA + timCheckLimit + Optional( COMMA + notifyRegister ) + RPAR + SEMI ) systemTimingCheck3 = Group( "$period" + LPAR + controlledTimingCheckEvent + COMMA + timCheckLimit + Optional( COMMA + notifyRegister ) + RPAR + SEMI ) systemTimingCheck4 = Group( "$width" + LPAR + controlledTimingCheckEvent + COMMA + timCheckLimit + Optional( COMMA + expr + COMMA + notifyRegister ) + RPAR + SEMI ) systemTimingCheck5 = Group( "$skew" + LPAR + timCheckEvent + COMMA + timCheckEvent + COMMA + timCheckLimit + Optional( COMMA + notifyRegister ) + RPAR + SEMI ) systemTimingCheck6 = Group( "$recovery" + LPAR + controlledTimingCheckEvent + COMMA + timCheckEvent + COMMA + timCheckLimit + Optional( COMMA + notifyRegister ) + RPAR + SEMI ) systemTimingCheck7 = Group( "$setuphold" + LPAR + timCheckEvent + COMMA + timCheckEvent + COMMA + timCheckLimit + COMMA + timCheckLimit + Optional( COMMA + notifyRegister ) + RPAR + SEMI ) systemTimingCheck = (FollowedBy('$') + ( systemTimingCheck1 | systemTimingCheck2 | systemTimingCheck3 | systemTimingCheck4 | systemTimingCheck5 | systemTimingCheck6 | systemTimingCheck7 )).setName("systemTimingCheck") sdpd = if_ + Group(LPAR + expr + RPAR) + \ ( pathDescr1 | pathDescr2 ) + EQ + pathDelayValue + SEMI specifyItem = ~Keyword("endspecify") +( specparamDecl | pathDecl | levelSensitivePathDecl | edgeSensitivePathDecl | systemTimingCheck | sdpd ) """ x::= x||= x||= x||= x||= x||= """ specifyBlock = Group( "specify" + ZeroOrMore( specifyItem ) + "endspecify" ).setName("specifyBlock") moduleItem = ~Keyword("endmodule") + ( parameterDecl | inputDecl | outputDecl | inoutDecl | regDecl | netDecl3 | netDecl1 | netDecl2 | timeDecl | integerDecl | realDecl | eventDecl | gateDecl | parameterOverride | continuousAssign | specifyBlock | initialStmt | alwaysStmt | task | functionDecl | # these have to be at the end - they start with identifiers moduleInstantiation | udpInstantiation ) """ All possible moduleItems, from Verilog grammar spec x::= x||= x||= x||= ?||= (spec does not seem consistent for this item) x||= x||= x||= x||= x||= x||= x||= x||= x||= x||= x||= x||= x||= x||= x||= """ portRef = subscrIdentifier portExpr = portRef | Group( LBRACE + delimitedList( portRef ) + RBRACE ) port = portExpr | Group( ( DOT + identifier + LPAR + portExpr + RPAR ) ) moduleHdr = Group ( oneOf("module macromodule") + identifier + Optional( LPAR + Group( Optional( delimitedList( Group(oneOf("input output") + (netDecl1Arg | netDecl2Arg | netDecl3Arg) ) | port ) ) ) + RPAR ) + SEMI ).setName("moduleHdr") module = Group( moduleHdr + Group( ZeroOrMore( moduleItem ) ) + "endmodule" ).setName("module")#.setDebug() udpDecl = outputDecl | inputDecl | regDecl #~ udpInitVal = oneOf("1'b0 1'b1 1'bx 1'bX 1'B0 1'B1 1'Bx 1'BX 1 0 x X") udpInitVal = (Regex("1'[bB][01xX]") | Regex("[01xX]")).setName("udpInitVal") udpInitialStmt = Group( "initial" + identifier + EQ + udpInitVal + SEMI ).setName("udpInitialStmt") levelSymbol = oneOf("0 1 x X ? b B") levelInputList = Group( OneOrMore( levelSymbol ).setName("levelInpList") ) outputSymbol = oneOf("0 1 x X") combEntry = Group( levelInputList + COLON + outputSymbol + SEMI ) edgeSymbol = oneOf("r R f F p P n N *") edge = Group( LPAR + levelSymbol + levelSymbol + RPAR ) | \ Group( edgeSymbol ) edgeInputList = Group( ZeroOrMore( levelSymbol ) + edge + ZeroOrMore( levelSymbol ) ) inputList = levelInputList | edgeInputList seqEntry = Group( inputList + COLON + levelSymbol + COLON + ( outputSymbol | "-" ) + SEMI ).setName("seqEntry") udpTableDefn = Group( "table" + OneOrMore( combEntry | seqEntry ) + "endtable" ).setName("table") """ ::= primitive ( <,>* ) ; + ? endprimitive """ udp = Group( "primitive" + identifier + LPAR + Group( delimitedList( identifier ) ) + RPAR + SEMI + OneOrMore( udpDecl ) + Optional( udpInitialStmt ) + udpTableDefn + "endprimitive" ) verilogbnf = OneOrMore( module | udp ) + StringEnd() verilogbnf.ignore( cppStyleComment ) verilogbnf.ignore( compilerDirective ) return verilogbnf def test( strng ): tokens = [] try: tokens = Verilog_BNF().parseString( strng ) except ParseException as err: print(err.line) print(" "*(err.column-1) + "^") print(err) return tokens #~ if __name__ == "__main__": if 0: import pprint toptest = """ module TOP( in, out ); input [7:0] in; output [5:0] out; COUNT_BITS8 count_bits( .IN( in ), .C( out ) ); endmodule""" pprint.pprint( test(toptest).asList() ) else: def main(): print("Verilog parser test (V %s)" % __version__) print(" - using pyparsing version", pyparsing.__version__) print(" - using Python version", sys.version) if packratOn: print(" - using packrat parsing") if psycoOn: print(" - using psyco runtime optimization") print() import os import gc failCount = 0 Verilog_BNF() numlines = 0 startTime = time.clock() fileDir = "verilog" #~ fileDir = "verilog/new" #~ fileDir = "verilog/new2" #~ fileDir = "verilog/new3" allFiles = [f for f in os.listdir(fileDir) if f.endswith(".v")] #~ allFiles = [ "list_path_delays_test.v" ] #~ allFiles = [ "escapedIdent.v" ] #~ allFiles = filter( lambda f : f.startswith("a") and f.endswith(".v"), os.listdir(fileDir) ) #~ allFiles = filter( lambda f : f.startswith("c") and f.endswith(".v"), os.listdir(fileDir) ) #~ allFiles = [ "ff.v" ] pp = pprint.PrettyPrinter( indent=2 ) totalTime = 0 for vfile in allFiles: gc.collect() fnam = fileDir + "/"+vfile infile = open(fnam) filelines = infile.readlines() infile.close() print(fnam, len(filelines), end=' ') numlines += len(filelines) teststr = "".join(filelines) time1 = time.clock() tokens = test( teststr ) time2 = time.clock() elapsed = time2-time1 totalTime += elapsed if ( len( tokens ) ): print("OK", elapsed) #~ print "tokens=" #~ pp.pprint( tokens.asList() ) #~ print ofnam = fileDir + "/parseOutput/" + vfile + ".parsed.txt" outfile = open(ofnam,"w") outfile.write( teststr ) outfile.write("\n") outfile.write("\n") outfile.write(pp.pformat(tokens.asList())) outfile.write("\n") outfile.close() else: print("failed", elapsed) failCount += 1 for i,line in enumerate(filelines,1): print("%4d: %s" % (i,line.rstrip())) endTime = time.clock() print("Total parse time:", totalTime) print("Total source lines:", numlines) print("Average lines/sec:", ( "%.1f" % (float(numlines)/(totalTime+.05 ) ) )) if failCount: print("FAIL - %d files failed to parse" % failCount) else: print("SUCCESS - all files parsed") return 0 #~ from line_profiler import LineProfiler #~ from pyparsing import ParseResults #~ lp = LineProfiler(ParseResults.__init__) main() #~ lp.print_stats() #~ import hotshot #~ p = hotshot.Profile("vparse.prof",1,1) #~ p.start() #~ main() #~ p.stop() #~ p.close() pyparsing-2.0.1/examples/greeting.py0000644000175000017500000000056412053614270016231 0ustar zigozigo# greeting.py # # Demonstration of the pyparsing module, on the prototypical "Hello, World!" # example # # Copyright 2003, by Paul McGuire # from pyparsing import Word, alphas # define grammar greet = Word( alphas ) + "," + Word( alphas ) + "!" # input string hello = "Hello, World!" # parse input string print(hello, "->", greet.parseString( hello )) pyparsing-2.0.1/examples/httpServerLogParser.py0000644000175000017500000000677112053614270020420 0ustar zigozigo# httpServerLogParser.py # """ Parser for HTTP server log output, of the form: 195.146.134.15 - - [20/Jan/2003:08:55:36 -0800] "GET /path/to/page.html HTTP/1.0" 200 4649 "http://www.somedomain.com/020602/page.html" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)" 127.0.0.1 - u.surname@domain.com [12/Sep/2006:14:13:53 +0300] "GET /skins/monobook/external.png HTTP/1.0" 304 - "http://wiki.mysite.com/skins/monobook/main.css" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6" You can then break it up as follows: IP ADDRESS - - Server Date / Time [SPACE] "GET /path/to/page HTTP/Type Request" Success Code Bytes Sent To Client Referer Client Software """ from pyparsing import alphas,nums, dblQuotedString, Combine, Word, Group, delimitedList, Suppress, removeQuotes import string def getCmdFields( s, l, t ): t["method"],t["requestURI"],t["protocolVersion"] = t[0].strip('"').split() logLineBNF = None def getLogLineBNF(): global logLineBNF if logLineBNF is None: integer = Word( nums ) ipAddress = delimitedList( integer, ".", combine=True ) timeZoneOffset = Word("+-",nums) month = Word(string.uppercase, string.lowercase, exact=3) serverDateTime = Group( Suppress("[") + Combine( integer + "/" + month + "/" + integer + ":" + integer + ":" + integer + ":" + integer ) + timeZoneOffset + Suppress("]") ) logLineBNF = ( ipAddress.setResultsName("ipAddr") + Suppress("-") + ("-" | Word( alphas+nums+"@._" )).setResultsName("auth") + serverDateTime.setResultsName("timestamp") + dblQuotedString.setResultsName("cmd").setParseAction(getCmdFields) + (integer | "-").setResultsName("statusCode") + (integer | "-").setResultsName("numBytesSent") + dblQuotedString.setResultsName("referrer").setParseAction(removeQuotes) + dblQuotedString.setResultsName("clientSfw").setParseAction(removeQuotes) ) return logLineBNF testdata = """ 195.146.134.15 - - [20/Jan/2003:08:55:36 -0800] "GET /path/to/page.html HTTP/1.0" 200 4649 "http://www.somedomain.com/020602/page.html" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)" 111.111.111.11 - - [16/Feb/2004:04:09:49 -0800] "GET /ads/redirectads/336x280redirect.htm HTTP/1.1" 304 - "http://www.foobarp.org/theme_detail.php?type=vs&cat=0&mid=27512" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)" 11.111.11.111 - - [16/Feb/2004:10:35:12 -0800] "GET /ads/redirectads/468x60redirect.htm HTTP/1.1" 200 541 "http://11.11.111.11/adframe.php?n=ad1f311a&what=zone:56" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.20 [ru\"]" 127.0.0.1 - u.surname@domain.com [12/Sep/2006:14:13:53 +0300] "GET /skins/monobook/external.png HTTP/1.0" 304 - "http://wiki.mysite.com/skins/monobook/main.css" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6" """ for line in testdata.split("\n"): if not line: continue fields = getLogLineBNF().parseString(line) print(fields.dump()) #~ print repr(fields) #~ for k in fields.keys(): #~ print "fields." + k + " =", fields[k] print(fields.asXML("LOG")) print() pyparsing-2.0.1/examples/dhcpd_leases_parser.py0000644000175000017500000000613412053633673020426 0ustar zigozigo# # dhcpd_leases_parser.py # # Copyright 2008, Paul McGuire # # Sample parser to parse a dhcpd.leases file to extract leases # and lease attributes # # format ref: http://www.linuxmanpages.com/man5/dhcpd.leases.5.php # sample = r"""\ # All times in this file are in UTC (GMT), not your local timezone. This is # not a bug, so please don't ask about it. There is no portable way to # store leases in the local timezone, so please don't request this as a # feature. If this is inconvenient or confusing to you, we sincerely # apologize. Seriously, though - don't ask. # The format of this file is documented in the dhcpd.leases(5) manual page. # This lease file was written by isc-dhcp-V3.0.4 lease 192.168.0.250 { starts 3 2008/01/23 17:16:41; ends 6 2008/02/02 17:16:41; tstp 6 2008/02/02 17:16:41; binding state free; hardware ethernet 00:17:f2:9b:d8:19; uid "\001\000\027\362\233\330\031"; } lease 192.168.0.198 { starts 1 2008/02/04 13:46:55; ends never; tstp 1 2008/02/04 17:04:14; binding state free; hardware ethernet 00:13:72:d3:3b:98; uid "\001\000\023r\323;\230"; } lease 192.168.0.239 { starts 3 2008/02/06 12:12:03; ends 4 2008/02/07 12:12:03; tstp 4 2008/02/07 12:12:03; binding state free; hardware ethernet 00:1d:09:65:93:26; } """ from pyparsing import * import datetime,time LBRACE,RBRACE,SEMI,QUOTE = map(Suppress,'{};"') ipAddress = Combine(Word(nums) + ('.' + Word(nums))*3) hexint = Word(hexnums,exact=2) macAddress = Combine(hexint + (':'+hexint)*5) hdwType = Word(alphanums) yyyymmdd = Combine((Word(nums,exact=4)|Word(nums,exact=2))+ ('/'+Word(nums,exact=2))*2) hhmmss = Combine(Word(nums,exact=2)+(':'+Word(nums,exact=2))*2) dateRef = oneOf(list("0123456"))("weekday") + yyyymmdd("date") + \ hhmmss("time") def utcToLocalTime(tokens): utctime = datetime.datetime.strptime("%(date)s %(time)s" % tokens, "%Y/%m/%d %H:%M:%S") localtime = utctime-datetime.timedelta(0,time.timezone,0) tokens["utcdate"],tokens["utctime"] = tokens["date"],tokens["time"] tokens["localdate"],tokens["localtime"] = str(localtime).split() del tokens["date"] del tokens["time"] dateRef.setParseAction(utcToLocalTime) startsStmt = "starts" + dateRef + SEMI endsStmt = "ends" + (dateRef | "never") + SEMI tstpStmt = "tstp" + dateRef + SEMI tsfpStmt = "tsfp" + dateRef + SEMI hdwStmt = "hardware" + hdwType("type") + macAddress("mac") + SEMI uidStmt = "uid" + QuotedString('"')("uid") + SEMI bindingStmt = "binding" + Word(alphanums) + Word(alphanums) + SEMI leaseStatement = startsStmt | endsStmt | tstpStmt | tsfpStmt | hdwStmt | \ uidStmt | bindingStmt leaseDef = "lease" + ipAddress("ipaddress") + LBRACE + \ Dict(ZeroOrMore(Group(leaseStatement))) + RBRACE for lease in leaseDef.searchString(sample): print(lease.dump()) print(lease.ipaddress,'->',lease.hardware.mac) print() pyparsing-2.0.1/examples/apicheck.py0000644000175000017500000000417212053633761016201 0ustar zigozigo# apicheck.py # A simple source code scanner for finding patterns of the form # [ procname1 $arg1 $arg2 ] # and verifying the number of arguments from pyparsing import * # define punctuation and simple tokens for locating API calls LBRACK,RBRACK,LBRACE,RBRACE = map(Suppress,"[]{}") ident = Word(alphas,alphanums+"_") | QuotedString("{",endQuoteChar="}") arg = "$" + ident # define an API call with a specific number of arguments - using '-' # will ensure that after matching procname, an incorrect number of args will # raise a ParseSyntaxException, which will interrupt the scanString def apiProc(name, numargs): return LBRACK + Keyword(name)("procname") - arg*numargs + RBRACK # create an apiReference, listing all API functions to be scanned for, and # their respective number of arguments. Beginning the overall expression # with FollowedBy allows us to quickly rule out non-api calls while scanning, # since all of the api calls begin with a "[" apiRef = FollowedBy("[") + MatchFirst([ apiProc("procname1", 2), apiProc("procname2", 1), apiProc("procname3", 2), ]) test = """[ procname1 $par1 $par2 ] other code here [ procname1 $par1 $par2 $par3 ] more code here [ procname1 $par1 ] [ procname3 ${arg with spaces} $par2 ]""" # now explicitly iterate through the scanner using next(), so that # we can trap ParseSyntaxException's that would be raised due to # an incorrect number of arguments. If an exception does occur, # then see how we reset the input text and scanner to advance to the # next line of source code api_scanner = apiRef.scanString(test) while 1: try: t,s,e = next(api_scanner) print("found %s on line %d" % (t.procname, lineno(s,test))) except ParseSyntaxException as pe: print("invalid arg count on line", pe.lineno) print(pe.lineno,':',pe.line) # reset api scanner to start after this exception location test = "\n"*(pe.lineno-1)+test[pe.loc+1:] api_scanner = apiRef.scanString(test) except StopIteration: break pyparsing-2.0.1/examples/chemicalFormulas.py0000644000175000017500000000401612053614267017705 0ustar zigozigo# chemicalFormulas.py # # Copyright (c) 2003, Paul McGuire # from pyparsing import Word, Optional, OneOrMore, Group, ParseException, Regex from pyparsing import alphas atomicWeight = { "O" : 15.9994, "H" : 1.00794, "Na" : 22.9897, "Cl" : 35.4527, "C" : 12.0107 } def test( bnf, strg, fn=None ): try: print(strg,"->", bnf.parseString( strg ), end=' ') except ParseException as pe: print(pe) else: if fn != None: print(fn( bnf.parseString( strg ) )) else: print() digits = "0123456789" # Version 1 element = Regex("A[cglmrstu]|B[aehikr]?|C[adeflmorsu]?|D[bsy]|" "E[rsu]|F[emr]?|G[ade]|H[efgos]?|I[nr]?|Kr?|L[airu]|" "M[dgnot]|N[abdeiop]?|Os?|P[abdmortu]?|R[abefghnu]|" "S[bcegimnr]?|T[abcehilm]|U(u[bhopqst])?|V|W|Xe|Yb?|Z[nr]") element = Word( alphas.upper(), alphas.lower(), max=2) elementRef = Group( element + Optional( Word( digits ), default="1" ) ) formula = OneOrMore( elementRef ) fn = lambda elemList : sum( [ atomicWeight[elem]*int(qty) for elem,qty in elemList ] ) test( formula, "H2O", fn ) test( formula, "C6H5OH", fn ) test( formula, "NaCl", fn ) print() # Version 2 - access parsed items by field name elementRef = Group( element("symbol") + Optional( Word( digits ), default="1" )("qty") ) formula = OneOrMore( elementRef ) fn = lambda elemList : sum( [ atomicWeight[elem.symbol]*int(elem.qty) for elem in elemList ] ) test( formula, "H2O", fn ) test( formula, "C6H5OH", fn ) test( formula, "NaCl", fn ) print() # Version 3 - convert integers during parsing process integer = Word( digits ).setParseAction(lambda t:int(t[0])) elementRef = Group( element("symbol") + Optional( integer, default=1 )("qty") ) formula = OneOrMore( elementRef ) fn = lambda elemList : sum( [ atomicWeight[elem.symbol]*elem.qty for elem in elemList ] ) test( formula, "H2O", fn ) test( formula, "C6H5OH", fn ) test( formula, "NaCl", fn ) pyparsing-2.0.1/examples/stackish.py0000644000175000017500000000567012053633326016244 0ustar zigozigo# stackish.py # # Stackish is a data representation syntax, similar to JSON or YAML. For more info on # stackish, see http://www.savingtheinternetwithhate.com/stackish.html # # Copyright 2008, Paul McGuire # """ NUMBER A simple integer type that's just any series of digits. FLOAT A simple floating point type. STRING A string is double quotes with anything inside that's not a " or newline character. You can include \n and \" to include these characters. MARK Marks a point in the stack that demarcates the boundary for a nested group. WORD Marks the root node of a group, with the other end being the nearest MARK. GROUP Acts as the root node of an anonymous group. ATTRIBUTE Assigns an attribute name to the previously processed node. This means that just about anything can be an attribute, unlike in XML. BLOB A BLOB is unique to Stackish and allows you to record any content (even binary content) inside the structure. This is done by pre- sizing the data with the NUMBER similar to Dan Bernstein's netstrings setup. SPACE White space is basically ignored. This is interesting because since Stackish is serialized consistently this means you can use \n as the separation character and perform reasonable diffs on two structures. """ from pyparsing import Suppress,Word,nums,alphas,alphanums,Combine,oneOf,\ Optional,QuotedString,Forward,Group,ZeroOrMore,printables,srange MARK,UNMARK,AT,COLON,QUOTE = map(Suppress,"[]@:'") NUMBER = Word(nums) NUMBER.setParseAction(lambda t:int(t[0])) FLOAT = Combine(oneOf("+ -") + Word(nums) + "." + Optional(Word(nums))) FLOAT.setParseAction(lambda t:float(t[0])) STRING = QuotedString('"', multiline=True) WORD = Word(alphas,alphanums+"_:") ATTRIBUTE = Combine(AT + WORD) strBody = Forward() def setBodyLength(tokens): strBody << Word(srange(r'[\0x00-\0xffff]'), exact=int(tokens[0])) return "" BLOB = Combine(QUOTE + Word(nums).setParseAction(setBodyLength) + COLON + strBody + QUOTE) item = Forward() def assignUsing(s): def assignPA(tokens): if s in tokens: tokens[tokens[s]] = tokens[0] del tokens[s] return assignPA GROUP = (MARK + Group( ZeroOrMore( (item + Optional(ATTRIBUTE)("attr") ).setParseAction(assignUsing("attr")) ) ) + ( WORD("name") | UNMARK ) ).setParseAction(assignUsing("name")) item << (NUMBER | FLOAT | STRING | BLOB | GROUP ) tests = """\ [ '10:1234567890' @name 25 @age +0.45 @percentage person:zed [ [ "hello" 1 child root [ "child" [ 200 '4:like' "I" "hello" things root [ [ "data" [ 2 1 ] @numbers child root [ [ 1 2 3 ] @test 4 5 6 root """.splitlines() for test in tests: if test: print(test) print(item.parseString(test).dump()) print() pyparsing-2.0.1/examples/matchPreviousDemo.py0000644000175000017500000000111312053614271020053 0ustar zigozigo# # matchPreviousDemo.py # from pyparsing import * src = """ class a ... end a; class b ... end b; class c ... end d;""" identifier = Word(alphas) classIdent = identifier("classname") # note that this also makes a copy of identifier classHead = "class" + classIdent classBody = "..." classEnd = "end" + matchPreviousLiteral(classIdent) + ';' classDefn = classHead + classBody + classEnd # use this form to catch syntax error # classDefn = classHead + classBody - classEnd for tokens in classDefn.searchString(src): print(tokens.classname)pyparsing-2.0.1/examples/simpleWiki.py0000644000175000017500000000207212053614274016542 0ustar zigozigofrom pyparsing import * wikiInput = """ Here is a simple Wiki input: *This is in italics.* **This is in bold!** ***This is in bold italics!*** Here's a URL to {{Pyparsing's Wiki Page->http://pyparsing.wikispaces.com}} """ def convertToHTML(opening,closing): def conversionParseAction(s,l,t): return opening + t[0] + closing return conversionParseAction italicized = QuotedString("*").setParseAction(convertToHTML("","")) bolded = QuotedString("**").setParseAction(convertToHTML("","")) boldItalicized = QuotedString("***").setParseAction(convertToHTML("","")) def convertToHTML_A(s,l,t): try: text,url=t[0].split("->") except ValueError: raise ParseFatalException(s,l,"invalid URL link reference: " + t[0]) return '%s' % (url,text) urlRef = QuotedString("{{",endQuoteChar="}}").setParseAction(convertToHTML_A) wikiMarkup = urlRef | boldItalicized | bolded | italicized print(wikiInput) print() print(wikiMarkup.transformString(wikiInput)) pyparsing-2.0.1/examples/select_parser.py0000644000175000017500000001434312053633466017270 0ustar zigozigo# select_parser.py # Copyright 2010, Paul McGuire # # a simple SELECT statement parser, taken from SQLite's SELECT statement # definition at http://www.sqlite.org/lang_select.html # from pyparsing import * ParserElement.enablePackrat() LPAR,RPAR,COMMA = map(Suppress,"(),") select_stmt = Forward().setName("select statement") # keywords (UNION, ALL, AND, INTERSECT, EXCEPT, COLLATE, ASC, DESC, ON, USING, NATURAL, INNER, CROSS, LEFT, OUTER, JOIN, AS, INDEXED, NOT, SELECT, DISTINCT, FROM, WHERE, GROUP, BY, HAVING, ORDER, BY, LIMIT, OFFSET, OR) = map(CaselessKeyword, """UNION, ALL, AND, INTERSECT, EXCEPT, COLLATE, ASC, DESC, ON, USING, NATURAL, INNER, CROSS, LEFT, OUTER, JOIN, AS, INDEXED, NOT, SELECT, DISTINCT, FROM, WHERE, GROUP, BY, HAVING, ORDER, BY, LIMIT, OFFSET, OR""".replace(",","").split()) (CAST, ISNULL, NOTNULL, NULL, IS, BETWEEN, ELSE, END, CASE, WHEN, THEN, EXISTS, COLLATE, IN, LIKE, GLOB, REGEXP, MATCH, ESCAPE, CURRENT_TIME, CURRENT_DATE, CURRENT_TIMESTAMP) = map(CaselessKeyword, """CAST, ISNULL, NOTNULL, NULL, IS, BETWEEN, ELSE, END, CASE, WHEN, THEN, EXISTS, COLLATE, IN, LIKE, GLOB, REGEXP, MATCH, ESCAPE, CURRENT_TIME, CURRENT_DATE, CURRENT_TIMESTAMP""".replace(",","").split()) keyword = MatchFirst((UNION, ALL, INTERSECT, EXCEPT, COLLATE, ASC, DESC, ON, USING, NATURAL, INNER, CROSS, LEFT, OUTER, JOIN, AS, INDEXED, NOT, SELECT, DISTINCT, FROM, WHERE, GROUP, BY, HAVING, ORDER, BY, LIMIT, OFFSET, CAST, ISNULL, NOTNULL, NULL, IS, BETWEEN, ELSE, END, CASE, WHEN, THEN, EXISTS, COLLATE, IN, LIKE, GLOB, REGEXP, MATCH, ESCAPE, CURRENT_TIME, CURRENT_DATE, CURRENT_TIMESTAMP)) identifier = ~keyword + Word(alphas, alphanums+"_") collation_name = identifier.copy() column_name = identifier.copy() column_alias = identifier.copy() table_name = identifier.copy() table_alias = identifier.copy() index_name = identifier.copy() function_name = identifier.copy() parameter_name = identifier.copy() database_name = identifier.copy() # expression expr = Forward().setName("expression") integer = Regex(r"[+-]?\d+") numeric_literal = Regex(r"\d+(\.\d*)?([eE][+-]?\d+)?") string_literal = QuotedString("'") blob_literal = Regex(r"[xX]'[0-9A-Fa-f]+'") literal_value = ( numeric_literal | string_literal | blob_literal | NULL | CURRENT_TIME | CURRENT_DATE | CURRENT_TIMESTAMP ) bind_parameter = ( Word("?",nums) | Combine(oneOf(": @ $") + parameter_name) ) type_name = oneOf("TEXT REAL INTEGER BLOB NULL") expr_term = ( CAST + LPAR + expr + AS + type_name + RPAR | EXISTS + LPAR + select_stmt + RPAR | function_name.setName("function_name") + LPAR + Optional(delimitedList(expr)) + RPAR | literal_value | bind_parameter | Combine(identifier+('.'+identifier)*(0,2)).setName("ident") ) UNARY,BINARY,TERNARY=1,2,3 expr << operatorPrecedence(expr_term, [ (oneOf('- + ~') | NOT, UNARY, opAssoc.RIGHT), (ISNULL | NOTNULL | NOT + NULL, UNARY, opAssoc.LEFT), ('||', BINARY, opAssoc.LEFT), (oneOf('* / %'), BINARY, opAssoc.LEFT), (oneOf('+ -'), BINARY, opAssoc.LEFT), (oneOf('<< >> & |'), BINARY, opAssoc.LEFT), (oneOf('< <= > >='), BINARY, opAssoc.LEFT), (oneOf('= == != <>') | IS | IN | LIKE | GLOB | MATCH | REGEXP, BINARY, opAssoc.LEFT), ('||', BINARY, opAssoc.LEFT), ((BETWEEN,AND), TERNARY, opAssoc.LEFT), (IN + LPAR + Group(select_stmt | delimitedList(expr)) + RPAR, UNARY, opAssoc.LEFT), (AND, BINARY, opAssoc.LEFT), (OR, BINARY, opAssoc.LEFT), ]) compound_operator = (UNION + Optional(ALL) | INTERSECT | EXCEPT) ordering_term = Group(expr('order_key') + Optional(COLLATE + collation_name('collate')) + Optional(ASC | DESC)('direction')) join_constraint = Group(Optional(ON + expr | USING + LPAR + Group(delimitedList(column_name)) + RPAR)) join_op = COMMA | Group(Optional(NATURAL) + Optional(INNER | CROSS | LEFT + OUTER | LEFT | OUTER) + JOIN) join_source = Forward() single_source = ( (Group(database_name("database") + "." + table_name("table")) | table_name("table")) + Optional(Optional(AS) + table_alias("table_alias")) + Optional(INDEXED + BY + index_name("name") | NOT + INDEXED)("index") | (LPAR + select_stmt + RPAR + Optional(Optional(AS) + table_alias)) | (LPAR + join_source + RPAR) ) join_source << (Group(single_source + OneOrMore(join_op + single_source + join_constraint)) | single_source) result_column = "*" | table_name + "." + "*" | Group(expr + Optional(Optional(AS) + column_alias)) select_core = (SELECT + Optional(DISTINCT | ALL) + Group(delimitedList(result_column))("columns") + Optional(FROM + join_source("from")) + Optional(WHERE + expr("where_expr")) + Optional(GROUP + BY + Group(delimitedList(ordering_term)("group_by_terms")) + Optional(HAVING + expr("having_expr")))) select_stmt << (select_core + ZeroOrMore(compound_operator + select_core) + Optional(ORDER + BY + Group(delimitedList(ordering_term))("order_by_terms")) + Optional(LIMIT + (Group(expr + OFFSET + expr) | Group(expr + COMMA + expr) | expr)("limit"))) tests = """\ select * from xyzzy where z > 100 select * from xyzzy where z > 100 order by zz select * from xyzzy select z.* from xyzzy""".splitlines() tests = """\ select a, b from test_table where 1=1 and b='yes' select a, b from test_table where 1=1 and b in (select bb from foo) select z.a, b from test_table where 1=1 and b in (select bb from foo) select z.a, b from test_table where 1=1 and b in (select bb from foo) order by b,c desc,d select z.a, b from test_table left join test2_table where 1=1 and b in (select bb from foo) select a, db.table.b as BBB from db.table where 1=1 and BBB='yes' select a, db.table.b as BBB from test_table,db.table where 1=1 and BBB='yes' select a, db.table.b as BBB from test_table,db.table where 1=1 and BBB='yes' limit 50 """.splitlines() for t in tests: t = t.strip() if not t: continue print(t) try: print(select_stmt.parseString(t).dump()) except ParseException as pe: print(pe.msg) print() pyparsing-2.0.1/examples/protobuf_parser.py0000644000175000017500000000675512053633500017646 0ustar zigozigo# protobuf_parser.py # # simple parser for parsing protobuf .proto files # # Copyright 2010, Paul McGuire # from pyparsing import (Word, alphas, alphanums, Regex, Suppress, Forward, Group, oneOf, ZeroOrMore, Optional, delimitedList, Keyword, restOfLine, quotedString) ident = Word(alphas+"_",alphanums+"_").setName("identifier") integer = Regex(r"[+-]?\d+") LBRACE,RBRACE,LBRACK,RBRACK,LPAR,RPAR,EQ,SEMI = map(Suppress,"{}[]()=;") kwds = """message required optional repeated enum extensions extends extend to package service rpc returns true false option import""" for kw in kwds.split(): exec("%s_ = Keyword('%s')" % (kw.upper(), kw)) messageBody = Forward() messageDefn = MESSAGE_ - ident("messageId") + LBRACE + messageBody("body") + RBRACE typespec = oneOf("""double float int32 int64 uint32 uint64 sint32 sint64 fixed32 fixed64 sfixed32 sfixed64 bool string bytes""") | ident rvalue = integer | TRUE_ | FALSE_ | ident fieldDirective = LBRACK + Group(ident + EQ + rvalue) + RBRACK fieldDefn = (( REQUIRED_ | OPTIONAL_ | REPEATED_ )("fieldQualifier") - typespec("typespec") + ident("ident") + EQ + integer("fieldint") + ZeroOrMore(fieldDirective) + SEMI) # enumDefn ::= 'enum' ident '{' { ident '=' integer ';' }* '}' enumDefn = ENUM_ - ident + LBRACE + ZeroOrMore( Group(ident + EQ + integer + SEMI) ) + RBRACE # extensionsDefn ::= 'extensions' integer 'to' integer ';' extensionsDefn = EXTENSIONS_ - integer + TO_ + integer + SEMI # messageExtension ::= 'extend' ident '{' messageBody '}' messageExtension = EXTEND_ - ident + LBRACE + messageBody + RBRACE # messageBody ::= { fieldDefn | enumDefn | messageDefn | extensionsDefn | messageExtension }* messageBody << Group(ZeroOrMore( Group(fieldDefn | enumDefn | messageDefn | extensionsDefn | messageExtension) )) # methodDefn ::= 'rpc' ident '(' [ ident ] ')' 'returns' '(' [ ident ] ')' ';' methodDefn = (RPC_ - ident("methodName") + LPAR + Optional(ident("methodParam")) + RPAR + RETURNS_ + LPAR + Optional(ident("methodReturn")) + RPAR) # serviceDefn ::= 'service' ident '{' methodDefn* '}' serviceDefn = SERVICE_ - ident("serviceName") + LBRACE + ZeroOrMore(Group(methodDefn)) + RBRACE # packageDirective ::= 'package' ident [ '.' ident]* ';' packageDirective = Group(PACKAGE_ - delimitedList(ident, '.', combine=True) + SEMI) comment = '//' + restOfLine importDirective = IMPORT_ - quotedString("importFileSpec") + SEMI optionDirective = OPTION_ - ident("optionName") + EQ + quotedString("optionValue") + SEMI topLevelStatement = Group(messageDefn | messageExtension | enumDefn | serviceDefn | importDirective | optionDirective) parser = Optional(packageDirective) + ZeroOrMore(topLevelStatement) parser.ignore(comment) test1 = """message Person { required int32 id = 1; required string name = 2; optional string email = 3; }""" test2 = """package tutorial; message Person { required string name = 1; required int32 id = 2; optional string email = 3; enum PhoneType { MOBILE = 0; HOME = 1; WORK = 2; } message PhoneNumber { required string number = 1; optional PhoneType type = 2 [default = HOME]; } repeated PhoneNumber phone = 4; } message AddressBook { repeated Person person = 1; }""" from pprint import pprint #~ print parser.parseString(test2, parseAll=True).dump() pprint( parser.parseString(test2, parseAll=True).asList()) pyparsing-2.0.1/examples/jsonParser.py0000644000175000017500000000670512053614271016557 0ustar zigozigo# jsonParser.py # # Implementation of a simple JSON parser, returning a hierarchical # ParseResults object support both list- and dict-style data access. # # Copyright 2006, by Paul McGuire # # Updated 8 Jan 2007 - fixed dict grouping bug, and made elements and # members optional in array and object collections # json_bnf = """ object { members } {} members string : value members , string : value array [ elements ] [] elements value elements , value value string number object array true false null """ from pyparsing import * TRUE = Keyword("true").setParseAction( replaceWith(True) ) FALSE = Keyword("false").setParseAction( replaceWith(False) ) NULL = Keyword("null").setParseAction( replaceWith(None) ) jsonString = dblQuotedString.setParseAction( removeQuotes ) jsonNumber = Combine( Optional('-') + ( '0' | Word('123456789',nums) ) + Optional( '.' + Word(nums) ) + Optional( Word('eE',exact=1) + Word(nums+'+-',nums) ) ) jsonObject = Forward() jsonValue = Forward() jsonElements = delimitedList( jsonValue ) jsonArray = Group(Suppress('[') + Optional(jsonElements) + Suppress(']') ) jsonValue << ( jsonString | jsonNumber | Group(jsonObject) | jsonArray | TRUE | FALSE | NULL ) memberDef = Group( jsonString + Suppress(':') + jsonValue ) jsonMembers = delimitedList( memberDef ) jsonObject << Dict( Suppress('{') + Optional(jsonMembers) + Suppress('}') ) jsonComment = cppStyleComment jsonObject.ignore( jsonComment ) def convertNumbers(s,l,toks): n = toks[0] try: return int(n) except ValueError as ve: return float(n) jsonNumber.setParseAction( convertNumbers ) if __name__ == "__main__": testdata = """ { "glossary": { "title": "example glossary", "GlossDiv": { "title": "S", "GlossList": { "ID": "SGML", "SortAs": "SGML", "GlossTerm": "Standard Generalized Markup Language", "TrueValue": true, "FalseValue": false, "Gravity": -9.8, "LargestPrimeLessThan100": 97, "AvogadroNumber": 6.02E23, "EvenPrimesGreaterThan2": null, "PrimesLessThan10" : [2,3,5,7], "Acronym": "SGML", "Abbrev": "ISO 8879:1986", "GlossDef": "A meta-markup language, used to create markup languages such as DocBook.", "GlossSeeAlso": ["GML", "XML", "markup"], "EmptyDict" : {}, "EmptyList" : [] } } } } """ import pprint results = jsonObject.parseString(testdata) pprint.pprint( results.asList() ) print() def testPrint(x): print(type(x),repr(x)) print(list(results.glossary.GlossDiv.GlossList.keys())) testPrint( results.glossary.title ) testPrint( results.glossary.GlossDiv.GlossList.ID ) testPrint( results.glossary.GlossDiv.GlossList.FalseValue ) testPrint( results.glossary.GlossDiv.GlossList.Acronym ) testPrint( results.glossary.GlossDiv.GlossList.EvenPrimesGreaterThan2 ) testPrint( results.glossary.GlossDiv.GlossList.PrimesLessThan10 ) pyparsing-2.0.1/examples/AcManForm.dfm0000644000175000017500000011434107627631440016356 0ustar zigozigoobject Form1: TForm1 Left = 193 Top = 105 Width = 696 Height = 480 Caption = 'AcManTest' Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Font.Style = [] OldCreateOrder = False OnCreate = FormCreate PixelsPerInch = 96 TextHeight = 13 object RichEdit1: TRichEdit Left = 0 Top = 107 Width = 688 Height = 346 Align = alClient Lines.Strings = ( 'RichEdit1') TabOrder = 0 end object ActionToolBar1: TActionToolBar Left = 0 Top = 25 Width = 688 Height = 28 ActionManager = ActionManager1 Caption = 'ActionToolBar1' ColorMap.HighlightColor = 14410210 ColorMap.BtnSelectedColor = clBtnFace ColorMap.UnusedColor = 14410210 EdgeBorders = [ebTop, ebBottom] Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Font.Style = [] ParentFont = False ParentShowHint = False ShowHint = True Spacing = 0 end object ActionMainMenuBar1: TActionMainMenuBar Left = 0 Top = 0 Width = 688 Height = 25 UseSystemFont = False ActionManager = ActionManager1 AnimationStyle = asSlide Caption = 'ActionMainMenuBar1' ColorMap.HighlightColor = 14410210 ColorMap.BtnSelectedColor = clBtnFace ColorMap.UnusedColor = 14410210 EdgeBorders = [ebTop, ebBottom] EdgeOuter = esNone Font.Charset = ANSI_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'Tahoma' Font.Style = [] ParentShowHint = False ShowHint = True Spacing = 0 end object ActionToolBar2: TActionToolBar Left = 0 Top = 53 Width = 688 Height = 28 ActionManager = ActionManager1 Caption = 'ActionToolBar2' ColorMap.HighlightColor = 14410210 ColorMap.BtnSelectedColor = clBtnFace ColorMap.UnusedColor = 14410210 EdgeBorders = [ebTop, ebBottom] Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Font.Style = [] ParentFont = False ParentShowHint = False ShowHint = True Spacing = 0 end object ActionToolBar3: TActionToolBar Left = 0 Top = 81 Width = 688 Height = 26 ActionManager = ActionManager1 Caption = 'ActionToolBar3' ColorMap.HighlightColor = 14410210 ColorMap.BtnSelectedColor = clBtnFace ColorMap.UnusedColor = 14410210 Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Font.Style = [] ParentFont = False Spacing = 0 end object ActionManager1: TActionManager FileName = 'settings' ActionBars.SessionCount = 4 ActionBars = < item Items = < item Action = EditUndo1 ImageIndex = 3 ShortCut = 16474 end item Action = EditCut1 ImageIndex = 0 ShortCut = 16472 end item Action = EditCopy1 ImageIndex = 1 ShortCut = 16451 end item Action = EditPaste1 ImageIndex = 2 ShortCut = 16470 end item Action = SearchFind1 ImageIndex = 15 ShortCut = 16454 end item Action = SearchReplace1 ImageIndex = 17 end> ActionBar = ActionToolBar1 AutoSize = False end item Items = < item Items = < item Action = FileOpen1 ImageIndex = 12 ShortCut = 16463 end item Action = FileSaveAs1 ImageIndex = 13 end item Action = FilePrintSetup1 end item Action = FileRun1 end item Action = FileExit1 ImageIndex = 14 LastSession = -1 UsageCount = -1 end> Caption = '&File' end item Items = < item Action = EditCut1 ImageIndex = 0 ShortCut = 16472 end item Action = EditCopy1 ImageIndex = 1 ShortCut = 16451 end item Action = EditPaste1 ImageIndex = 2 ShortCut = 16470 end item Action = EditSelectAll1 ShortCut = 16449 end item Action = EditUndo1 ImageIndex = 3 ShortCut = 16474 end item Action = EditDelete1 ImageIndex = 4 ShortCut = 46 end> Caption = '&Edit' end item Items = < item Action = RichEditBold1 ImageIndex = 5 ShortCut = 16450 end item Action = RichEditItalic1 ImageIndex = 6 ShortCut = 16457 end item Action = RichEditUnderline1 ImageIndex = 7 ShortCut = 16469 end item Action = RichEditStrikeOut1 end item Action = RichEditBullets1 ImageIndex = 8 end item Action = RichEditAlignLeft1 ImageIndex = 9 end item Action = RichEditAlignRight1 ImageIndex = 10 end item Action = RichEditAlignCenter1 ImageIndex = 11 end> Caption = 'F&ormat' end item Items = < item Action = SearchFind1 ImageIndex = 15 ShortCut = 16454 end item Action = SearchFindNext1 ImageIndex = 16 ShortCut = 114 end item Action = SearchReplace1 ImageIndex = 17 end item Action = SearchFindFirst1 end> Caption = '&Search' end item Items = < item Action = CustomizeActionBars1 end> Caption = '&Tools' end item Items = < item Action = HelpContents1 ImageIndex = 18 end> Caption = '&Help' end> ActionBar = ActionMainMenuBar1 AutoSize = False end item Items = < item Action = RichEditBold1 ImageIndex = 5 ShortCut = 16450 end item Action = RichEditItalic1 ImageIndex = 6 ShortCut = 16457 end item Action = RichEditUnderline1 ImageIndex = 7 ShortCut = 16469 end item Action = RichEditBullets1 Caption = 'Bull&ets' ImageIndex = 8 end item Action = RichEditAlignLeft1 ImageIndex = 9 end item Action = RichEditAlignRight1 ImageIndex = 10 end item Action = RichEditAlignCenter1 ImageIndex = 11 end> ActionBar = ActionToolBar2 AutoSize = False end item AutoSize = False end item AutoSize = False end item Items = < item Action = FileSaveAs1 ImageIndex = 13 LastSession = 2 end item Action = CustomizeActionBars1 end item Action = FileExit1 ImageIndex = 14 end item Action = HelpContents1 Caption = 'C&ontents' ImageIndex = 18 end item Action = ActionShowStatus Caption = '&ShowStatus' end> ActionBar = ActionToolBar3 AutoSize = False end> Images = ImageList1 Left = 88 Top = 136 StyleName = 'XP Style' object EditCut1: TEditCut Category = 'Edit' Caption = 'Cu&t' Hint = 'Cut|Cuts the selection and puts it on the Clipboard' ImageIndex = 0 ShortCut = 16472 end object EditCopy1: TEditCopy Category = 'Edit' Caption = '&Copy' Hint = 'Copy|Copies the selection and puts it on the Clipboard' ImageIndex = 1 ShortCut = 16451 end object EditPaste1: TEditPaste Category = 'Edit' Caption = '&Paste' Hint = 'Paste|Inserts Clipboard contents' ImageIndex = 2 ShortCut = 16470 end object EditSelectAll1: TEditSelectAll Category = 'Edit' Caption = 'Select &All' Hint = 'Select All|Selects the entire document' ShortCut = 16449 end object EditUndo1: TEditUndo Category = 'Edit' Caption = '&Undo' Hint = 'Undo|Reverts the last action' ImageIndex = 3 ShortCut = 16474 end object EditDelete1: TEditDelete Category = 'Edit' Caption = '&Delete' Hint = 'Delete|Erases the selection' ImageIndex = 4 ShortCut = 46 end object RichEditBold1: TRichEditBold Category = 'Format' AutoCheck = True Caption = '&Bold' Hint = 'Bold' ImageIndex = 5 ShortCut = 16450 end object RichEditItalic1: TRichEditItalic Category = 'Format' AutoCheck = True Caption = '&Italic' Hint = 'Italic' ImageIndex = 6 ShortCut = 16457 end object RichEditUnderline1: TRichEditUnderline Category = 'Format' AutoCheck = True Caption = '&Underline' Hint = 'Underline' ImageIndex = 7 ShortCut = 16469 end object RichEditStrikeOut1: TRichEditStrikeOut Category = 'Format' AutoCheck = True Caption = '&Strikeout' Hint = 'Strikeout' end object RichEditBullets1: TRichEditBullets Category = 'Format' AutoCheck = True Caption = '&Bullets' Hint = 'Bullets|Inserts a bullet on the current line' ImageIndex = 8 end object RichEditAlignLeft1: TRichEditAlignLeft Category = 'Format' AutoCheck = True Caption = 'Align &Left' Hint = 'Align Left|Aligns text at the left indent' ImageIndex = 9 end object RichEditAlignRight1: TRichEditAlignRight Category = 'Format' AutoCheck = True Caption = 'Align &Right' Hint = 'Align Right|Aligns text at the right indent' ImageIndex = 10 end object RichEditAlignCenter1: TRichEditAlignCenter Category = 'Format' AutoCheck = True Caption = '&Center' Hint = 'Center|Centers text between margins' ImageIndex = 11 end object FileOpen1: TFileOpen Category = 'File' Caption = '&Open...' Hint = 'Open|Opens an existing file' ImageIndex = 12 ShortCut = 16463 end object FileSaveAs1: TFileSaveAs Category = 'File' Caption = 'Save &As...' Hint = 'Save As|Saves the active file with a new name' ImageIndex = 13 end object FilePrintSetup1: TFilePrintSetup Category = 'File' Caption = 'Print Set&up...' Hint = 'Print Setup' end object FileRun1: TFileRun Category = 'File' Browse = False BrowseDlg.Title = 'Run' Caption = '&Run...' Hint = 'Run|Runs an application' Operation = 'open' ShowCmd = scShowNormal end object FileExit1: TFileExit Category = 'File' Caption = 'E&xit' Hint = 'Exit|Quits the application' ImageIndex = 14 end object SearchFind1: TSearchFind Category = 'Search' Caption = '&Find...' Hint = 'Find|Finds the specified text' ImageIndex = 15 ShortCut = 16454 end object SearchFindNext1: TSearchFindNext Category = 'Search' Caption = 'Find &Next' Enabled = False Hint = 'Find Next|Repeats the last find' ImageIndex = 16 ShortCut = 114 end object SearchReplace1: TSearchReplace Category = 'Search' Caption = '&Replace' Hint = 'Replace|Replaces specific text with different text' ImageIndex = 17 end object SearchFindFirst1: TSearchFindFirst Category = 'Search' Caption = 'F&ind First' Hint = 'Find First|Finds the first occurance of specified text' end object CustomizeActionBars1: TCustomizeActionBars Category = 'Tools' Caption = '&Customize' CustomizeDlg.StayOnTop = False end object HelpContents1: THelpContents Category = 'Help' Caption = '&Contents' Enabled = False Hint = 'Help Contents' ImageIndex = 18 end object ActionShowStatus: TAction Category = 'Tools' Caption = 'ShowStatus' OnExecute = ActionShowStatusExecute end end object ImageList1: TImageList Left = 168 Top = 136 Bitmap = { 494C010113001400040010001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600 0000000000003600000028000000400000005000000001001000000000000028 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 1040104010420000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000010401040 FF7FFF7F18631042000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000010401040FF7FFF7F 0000000018631863104200000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000104210401040FF7FFF7F00000000 1040104000001863186310420000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000001863000000000000 0000000000000000186300000000000000000000000000000000000000000000 00000000000000000000000000000000000010421040FF7F0000000010401040 1040104010400000186318631042000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000010420000 0000000010420000000000000000000000000000000000001863000000000000 0000000000000000186300000000000000001042000000001040104010400042 E07F104010401040000018631863104200000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000010420000 0000000010420000000000000000000000001042104010401040104010401040 0042104010401040104000001863000000000000000000000000000000000000 0000000000000000000000000000000000000000000000001863000000000000 0000186300000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000001040FF7F1040104010401040 1040E07FE07F1040104010400000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000001863000000000000 0000186300000000000000000000000000000000000000001863000000000000 000018630000000000000000000000000000000000001040FF7F104010401040 104010400042E07FE07F10401040000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000001863000000000000 0000186300000000000000000000000000000000000000001040FF7F10401040 104000421040E07FE07F10401040104000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 1042000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000001040FF7F1040 1040E07FE07FE07F104010401040000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 104200000000000000000000000000000000000000000000000000001040FF7F 1040104010401040104000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000001040 FF7F104010400000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 1040104000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000001042104210421042104210421042 104210421042FF7F186310421863FF7F18630000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000001042104210421042104210421042 1042104210421042FF7F1042FF7F104210420000000000000000000000000000 0000000000000000000000000000000000000000000000420042000000000000 0000000000000000000000000042000000000000000000000000000000000000 0000000000000000000000000000000000001000100010001000000000001042 10421042FF7FFF7FFF7F10001000100010000000000000000000000000000000 0000000000000000000000000000000000000000000000420042000000000000 0000000000000000000000000042000000000000000000000000004200420000 00000000000018630000004200000000000000000000000010001F0010000000 00001042FF7FFF7FFF7F10000000000000000000FF7F00000000000000000000 0000000000000000FF7F00000000000000000000000000420042000000000000 0000000000000000000000000042000000000000000000000000004200420000 000000000000186300000042000000000000000000000000100010001F001000 0000FF7FFF7FFF7FFF7F10000000000000000000FF7F00000000000000000000 0000000000000000FF7F00000000000000000000000000420042000000000000 0000000000000000000000000042000000000000000000000000004200420000 00000000000000000000004200000000000000000000000010001F0010001F00 0000FF7FFF7FFF7FFF7F10000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000420042004200420042 0042004200420042004200420042000000000000000000000000004200420042 004200420042004200420042000000000000000000000000100010001F001000 0000FF7FFF03FF7FFF03100000000000000000000000FF7F0000000000000000 00000000FF7F0000000000000000000000000000000000420042000000000000 0000000000000000000000420042000000000000000000000000004200420000 00000000000000000042004200000000000000000000000010001F0010001F00 0000FF03FF7FFF03FF7F100000000000000000000000FF7F0000000000001863 00000000FF7F0000000000000000000000000000000000420000000000000000 0000000000000000000000000042000000000000000000000000004200001863 186318631863186300000042000000000000000000000000100010001F001000 0000FF7FFF03FF7FFF03100000000000000000000000FF7F0000000000001863 00000000FF7F0000000000000000000000000000000000420000000000000000 0000000000000000000000000042000000000000000000000000004200001863 18631863186318630000004200000000000000000000000010001F0010001F00 0000FF03FF7FFF03FF7F10000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000420000000000000000 0000000000000000000000000042000000000000000000000000004200001863 1863186318631863000000000000000000000000000000001000100010001000 100010001000100010001000000000000000000000000000FF7F000000000000 00000000FF7F0000000000000000000000000000000000420000000000000000 0000000000000000000000000042000000000000000000000000004200001863 1863186318631863000018630000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000420000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000420000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000002 0002000200020000000000000000000000000000000000000000FF7F00000000 000000000000FF7F000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000100010001000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000100010001000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000100010001000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000100010001000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000100010001000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000100010001000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000100010001000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000100010001000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000100010001000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000010001000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000001000 1000100010001000100010001000100010000000000000000000000000000000 0000000000000000000000000000000000000000000000000000100000000000 1000000000001000100000000000000000000000000000000000000000000000 1000100010001000100010001000100010000000000000000000000000001000 FF7FFF7FFF7FFF7FFF7FFF7FFF7FFF7F10000000000000000000000000000000 0000000000000000000000000000000000000000000000000000100000000000 1000000010000000000010000000000000000000000000000000000000000000 1000FF7FFF7FFF7FFF7FFF7FFF7FFF7F10000000104200421042004210421000 FF7F000000000000000000000000FF7F10000000000000000000000000000000 0000000000000000000000000000000000000000000000000000100000000000 1000000010000000000010000000000000000000000000000000000000000000 1000FF7F00000000000000000000FF7F10000000004210420042104200421000 FF7FFF7FFF7FFF7FFF7FFF7FFF7FFF7F10000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000010001000 1000000010000000000010000000000000000000000000000000000000000000 1000FF7FFF7FFF7FFF7FFF7FFF7FFF7F10000000104200421042004210421000 FF7F000000000000FF7F10001000100010000000000000000000000000000000 0000000000000000000010000000000000000000000000000000000000000000 10000000100010001000000000000000000000000000FF7FFF7FFF7FFF7FFF7F 1000FF7F00000000000000000000FF7F10000000004210420042104200421000 FF7FFF7FFF7FFF7FFF7F1000FF7F100000000000000010001000100010001000 0000000000000000000010000000000000000000000000000000000000000000 10000000100000000000000000000000000000000000FF7F0000000000000000 1000FF7FFF7FFF7FFF7FFF7FFF7FFF7F10000000104200421042004210421000 FF7FFF7FFF7FFF7FFF7F10001000000000000000000010001000100010000000 0000000000000000000000001000000000000000000000000000000000000000 00000000000000000000000000000000000000000000FF7FFF7FFF7FFF7FFF7F 1000FF7F00000000FF7F10001000100010000000004210420042104200421000 1000100010001000100010000000000000000000000010001000100000000000 0000000000000000000000001000000000000000000000000000000000000000 00000000000000000000000000000000000000000000FF7F0000000000000000 1000FF7FFF7FFF7FFF7F1000FF7F100000000000104200421042004210420042 1042004210420042104200420000000000000000000010001000000010000000 0000000000000000000000001000000000000000000000000000000000000000 00000000000000000000000000000000000000000000FF7FFF7FFF7FFF7FFF7F 1000FF7FFF7FFF7FFF7F10001000000000000000004210420000000000000000 0000000000000000104210420000000000000000000010000000000000001000 1000000000000000000010000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000FF7F00000000FF7F0000 1000100010001000100010000000000000000000104210420000000000000000 0000000000000000104200420000000000000000000000000000000000000000 0000100010001000100000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000FF7FFF7FFF7FFF7F0000 FF7F0000000000000000000000000000000000000042104200420000E07F0000 0000E07F00001042004210420000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000FF7FFF7FFF7FFF7F0000 000000000000000000000000000000000000000000000000000000000000E07F E07F000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000424D3E000000000000003E000000 2800000040000000500000000100010000000000800200000000000000000000 000000000000000000000000FFFFFF00FFFFB6E7FFFF0000FE49B76BFE3F0000 FE498427F81F0000FFFFB76BE00F0000FFFFCEE780070000C7C7FFFF00030000 C7C7C7C700010000C387C7C700000000C007C38700010000C007C00780010000 C007C007C0010000C007C007E0000000C007C007F0000000F39FC007F8030000 F39FF39FFC0F0000F39FF39FFE3F0000FFFFFF7E0000FFFFC001BFFF0000FFFF 8031F003000007C18031E003E00707C18031E003E00707C18001E003E0070101 8001E003E007000180012003E00700018FF1E002E00700018FF1E003E0078003 8FF1E003E007C1078FF1E003FFFFC1078FF1E003F81FE38F8FF5FFFFF81FE38F 8001BF7DF81FE38FFFFF7F7EFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 8FFFFFFFFFFFFFFF8C03C007C007C0078FFFFFFFFFFFFFFFFFFFC03FF807F83F FFFFFFFFFFFFFFFF8FFFC007C007C0078C03FFFFFFFFFFFF8FFFC03FF807F01F FFFFFFFFFFFFFFFFFFFFC007C007C0078FFFFFFFFFFFFFFF8C03C03FF807F83F 8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF EFFDFFFFFFFFE00FC7FFFFFFFFFFFFFFC3FBF00F81FFF83FE3F7F8C7E3FFF39F F1E7F8C7F1FFF39FF8CFF8C7F8FFF39FFC1FF80FFC7FF39FFE3FF8C7FE3FF39F FC1FF8C7FF1FF39FF8CFF8C7FF8FF39FE1E7F00FFF03E10FC3F3FFFFFFFFFFFF C7FDFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9FFFFFFFC00FFFF F6CFFE008000FFFFF6B7FE000000FFFFF6B7FE000000FFFFF8B780000000FFF7 FE8F80000001C1F7FE3F80000003C3FBFF7F80000003C7FBFE3F80010003CBFB FEBF80030003DCF7FC9F80070FC3FF0FFDDF807F0003FFFFFDDF80FF8007FFFF FDDF81FFF87FFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000 000000000000} end end pyparsing-2.0.1/examples/SingleForm.dfm0000644000175000017500000012532207627631440016621 0ustar zigozigoobject Form1: TForm1 Left = 161 Top = 149 Width = 696 Height = 342 Caption = 'DbxSingle' Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Font.Style = [] OldCreateOrder = False OnCreate = FormCreate PixelsPerInch = 96 TextHeight = 13 object ActionToolBar2: TActionToolBar Left = 0 Top = 0 Width = 688 Height = 26 ActionManager = ActionManager1 AllowHiding = False Caption = 'ActionToolBar2' ColorMap.HighlightColor = 14410210 ColorMap.BtnSelectedColor = clBtnFace ColorMap.UnusedColor = 14410210 Spacing = 0 end object PageControl1: TPageControl Left = 0 Top = 26 Width = 688 Height = 289 ActivePage = TabSheet1 Align = alClient TabOrder = 1 object TabSheet1: TTabSheet Caption = 'Data' object DBGrid1: TDBGrid Left = 0 Top = 0 Width = 680 Height = 261 Align = alClient DataSource = DataSource1 TabOrder = 0 TitleFont.Charset = DEFAULT_CHARSET TitleFont.Color = clWindowText TitleFont.Height = -11 TitleFont.Name = 'MS Sans Serif' TitleFont.Style = [] end end object TabSheet2: TTabSheet Caption = 'Log' ImageIndex = 1 object Memo1: TMemo Left = 0 Top = 0 Width = 680 Height = 399 Align = alClient TabOrder = 0 end end end object SimpleDataSet1: TSimpleDataSet Aggregates = <> Connection.ConnectionName = 'IBLocal' Connection.DriverName = 'Interbase' Connection.GetDriverFunc = 'getSQLDriverINTERBASE' Connection.LibraryName = 'dbexpint.dll' Connection.LoginPrompt = False Connection.Params.Strings = ( 'BlobSize=-1' 'CommitRetain=False' 'Database=C:\Program Files\Common Files\Borland Shared\Data\emplo' + 'yee.gdb' 'DriverName=Interbase' 'Password=masterkey' 'RoleName=RoleName' 'ServerCharSet=ASCII' 'SQLDialect=1' 'Interbase TransIsolation=ReadCommited' 'User_Name=sysdba' 'WaitOnLocks=True') Connection.VendorLib = 'GDS32.DLL' DataSet.CommandText = 'EMPLOYEE' DataSet.CommandType = ctTable DataSet.MaxBlobSize = -1 DataSet.Params = <> Params = <> AfterPost = DoUpdate BeforeDelete = DoUpdate Left = 104 Top = 56 end object ActionManager1: TActionManager ActionBars = < item Items.CaptionOptions = coAll Items = < item Action = DataSetFirst1 ImageIndex = 0 end item Action = DataSetPrior1 ImageIndex = 1 end item Action = DataSetNext1 ImageIndex = 2 end item Action = DataSetLast1 ImageIndex = 3 end item Action = DataSetInsert1 ImageIndex = 4 end item Action = DataSetDelete1 ImageIndex = 5 end item Action = DataSetEdit1 ImageIndex = 6 end item Action = DataSetPost1 ImageIndex = 7 end item Action = DataSetCancel1 ImageIndex = 8 end item Action = DataSetRefresh1 ImageIndex = 9 end> ActionBar = ActionToolBar2 end> Images = ImageList1 Left = 112 Top = 184 StyleName = 'XP Style' object DataSetFirst1: TDataSetFirst Category = 'Dataset' Caption = 'First' ImageIndex = 0 end object DataSetPrior1: TDataSetPrior Category = 'Dataset' Caption = 'Prior' ImageIndex = 1 end object DataSetNext1: TDataSetNext Category = 'Dataset' Caption = 'Next' ImageIndex = 2 end object DataSetLast1: TDataSetLast Category = 'Dataset' Caption = 'Last' ImageIndex = 3 end object DataSetInsert1: TDataSetInsert Category = 'Dataset' Caption = 'Insert' ImageIndex = 4 end object DataSetDelete1: TDataSetDelete Category = 'Dataset' Caption = 'Delete' ImageIndex = 5 end object DataSetEdit1: TDataSetEdit Category = 'Dataset' Caption = 'Edit' ImageIndex = 6 end object DataSetPost1: TDataSetPost Category = 'Dataset' Caption = 'Post' ImageIndex = 7 end object DataSetCancel1: TDataSetCancel Category = 'Dataset' Caption = 'Cancel' ImageIndex = 8 end object DataSetRefresh1: TDataSetRefresh Category = 'Dataset' Caption = 'Refresh' ImageIndex = 9 end end object ImageList1: TImageList Left = 112 Top = 120 Bitmap = { 494C01010C000F00040010001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600 0000000000003600000028000000400000004000000001002000000000000040 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000084848400848484008484840084848400848484008484 8400848484000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000848484000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000008484000084 8400000000000000000000000000000000000000000000000000000000000000 0000000000000084840000000000000000000000000000000000000000000000 00000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000 0000848484000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000084848400000000008484840000000000000000000000 0000000000000000000000000000000000000000000000000000008484000084 8400000000000000000000000000000000000000000000000000000000000000 0000000000000084840000000000000000000000000000000000000000000000 00000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000 0000848484000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000848484000000000000000000848484000000000000000000000000000000 0000000000000000000000000000000000000000000000000000008484000084 8400000000000000000000000000000000000000000000000000000000000000 0000000000000084840000000000000000000000000000000000000000000000 00000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000 0000848484000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000084848400000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000008484000084 8400000000000000000000000000000000000000000000000000000000000000 0000000000000084840000000000000000000000000000000000000000000000 00000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000 0000848484000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000008484 8400000000008484840000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000008484000084 8400008484000084840000848400008484000084840000848400008484000084 8400008484000084840000000000000000000000000000000000000000000000 00000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000 0000848484000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000008484000084 8400000000000000000000000000000000000000000000000000000000000000 0000008484000084840000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000008484000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000084840000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000008484840000000000000000000000000084848400000000000000 0000000000000000000000000000000000000000000000000000008484000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000084840000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000008484 8400000000000000000084848400000000008484840000000000000000000000 0000000000000000000000000000000000000000000000000000008484000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000084840000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000008484 8400000000000000000000000000000000000000000000000000008484000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000084840000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000008484840000000000000000000000000084848400000000000000 0000000000000000000000000000000000000000000000000000008484000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000008484000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000848484000000000000000000000000000000000000000000000000008484 8400000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000084848400000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000084848400000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000848484000000000000000000000000000000000000000000000000008484 8400000000000000000000000000000000000000000000000000000000000000 0000848484000000000000000000000000000000000084848400000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000848484000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000008484840000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000084848400000000000000000000000000000000008484 8400000000000000000000000000000000000000000000000000000000000000 0000848484000000000000000000848484000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000008484840000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000848484000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000008484840000000000000000008484 8400000000000000000000000000000000000000000000000000000000000000 0000848484008484840000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000848484008484 8400000000000000000000000000000000000000000000000000000000000000 0000848484000000000000000000848484000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000008484840000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000848484000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000008484840000000000000000008484 8400000000000000000000000000000000000000000000000000000000000000 0000848484000000000000000000000000000000000084848400000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000848484000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000008484840000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000084848400000000000000000000000000000000008484 8400000000000000000000000000000000000000000000000000000000000000 0000848484000000000000000000000000000000000000000000000000008484 8400000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000084848400000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000084848400000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000848484000000000000000000000000000000000000000000000000008484 8400000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000424D3E000000000000003E000000 2800000040000000400000000100010000000000000200000000000000000000 000000000000000000000000FFFFFF0000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000FFFFFFFFFFFFFC07FFFFFFFFC001F807 FFFFFFFF8031F807FFFFFC7F8031F807F3E7F0FF8031F807F1C7F1FF8001F807 F88FE3FF8001F807FC1FE7FF8001F80FFE3FE7078FF1FF7FFC1FE3878FF1FE3F F88FE1078FF1FC1FF1C7F0078FF1FFFFF3E7F8378FF1FEFFFFFFFFFF8FF5FFFF FFFFFFFF8001FDFFFFFFFFFFFFFF6FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC7FFFFFFFFFFBFFFC7FFFFFFFFFF1FF FC7FFFFFE007E0FFE00FE007F00FC47FE00FE007F81FCE3FE00FE007FC3FFF1F FC7FFFFFFE7FFF8FFC7FFFFFFFFFFFC7FC7FFFFFFFFFFFE7FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE7E7FF9FF9FFE7E7 E787FE1FF87FE1E7E607F81FF81FE067E007F01FF80FE007E607F81FF81FE067 E787FE1FF87FE1E7E7E7FF9FF9FFE7E7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000 000000000000} end object DataSource1: TDataSource DataSet = SimpleDataSet1 Left = 108 Top = 250 end object SQLMonitor1: TSQLMonitor OnTrace = SQLMonitor1Trace Left = 228 Top = 122 end end pyparsing-2.0.1/examples/holaMundo.py0000644000175000017500000000206312053615213016345 0ustar zigozigo# -*- coding: UTF-8 -*- # escrito por Marco Alfonso, 2004 Noviembre # importamos el modulo from pyparsing import * saludo= Word(alphas) + ',' + Word(alphas) + '!' # Aqui decimos que la gramatica "saludo" DEBE contener # una palabra compuesta de caracteres alfanumericos # (Word(alphas)) mas una ',' mas otra palabra alfanumerica, # mas '!' y esos seian nuestros tokens tokens = saludo.parseString("Hola, Mundo !") # Ahora parseamos una cadena, "Hola, Mundo!", # el metodo parseString, nos devuelve una lista con los tokens # encontrados, en caso de no haber errores... for i in range(len(tokens)): print ("Token %d -> %s" % (i,tokens[i])) #imprimimos cada uno de los tokens Y listooo!!, he aqu la salida # Token 0> Hola Token 1> , Token 2> Mundo Token 3> ! # Por supuesto, se pueden reutilizar gramticas, por ejemplo: numimag = Word(nums) + 'i' numreal = Word(nums) numcomplex = numreal + '+' + numimag print (numcomplex.parseString("3+5i")) # Excelente!!, bueno, los dejo, me voy a seguir tirando cdigo pyparsing-2.0.1/examples/sexpParser.py0000644000175000017500000001260012053633354016557 0ustar zigozigo# sexpParser.py # # Demonstration of the pyparsing module, implementing a simple S-expression # parser. # # Updates: # November, 2011 - fixed errors in precedence of alternatives in simpleString; # fixed exception raised in verifyLen to properly signal the input string # and exception location so that markInputline works correctly; fixed # definition of decimal to accept a single '0' and optional leading '-' # sign; updated tests to improve parser coverage # # Copyright 2007-2011, by Paul McGuire # """ BNF reference: http://theory.lcs.mit.edu/~rivest/sexp.txt :: | :: ? ; :: | | | | ; :: "[" "]" ; :: ":" ; :: + ; -- decimal numbers should have no unnecessary leading zeros -- any string of bytes, of the indicated length :: + ; :: ? "|" ( | )* "|" ; :: "#" ( | )* "#" ; :: ? :: "\"" "\"" :: "(" ( | )* ")" ; :: * ; :: | | ; :: | | ; :: "a" | ... | "z" ; :: "A" | ... | "Z" ; :: "0" | ... | "9" ; :: | "A" | ... | "F" | "a" | ... | "f" ; :: "-" | "." | "/" | "_" | ":" | "*" | "+" | "=" ; :: " " | "\t" | "\r" | "\n" ; :: | | "+" | "/" | "=" ; :: "" ; """ from pyparsing import * from base64 import b64decode import pprint def verifyLen(s,l,t): t = t[0] if t.len is not None: t1len = len(t[1]) if t1len != t.len: raise ParseFatalException(s,l,\ "invalid data of length %d, expected %s" % (t1len, t.len)) return t[1] # define punctuation literals LPAR, RPAR, LBRK, RBRK, LBRC, RBRC, VBAR = map(Suppress, "()[]{}|") decimal = Regex(r'0|[1-9]\d*').setParseAction(lambda t: int(t[0])) hexadecimal = ("#" + OneOrMore(Word(hexnums)) + "#")\ .setParseAction(lambda t: int("".join(t[1:-1]),16)) bytes = Word(printables) raw = Group(decimal("len") + Suppress(":") + bytes).setParseAction(verifyLen) token = Word(alphanums + "-./_:*+=") base64_ = Group(Optional(decimal|hexadecimal,default=None)("len") + VBAR + OneOrMore(Word( alphanums +"+/=" )).setParseAction(lambda t: b64decode("".join(t))) + VBAR).setParseAction(verifyLen) qString = Group(Optional(decimal,default=None)("len") + dblQuotedString.setParseAction(removeQuotes)).setParseAction(verifyLen) simpleString = base64_ | raw | decimal | token | hexadecimal | qString # extended definitions decimal = Regex(r'-?0|[1-9]\d*').setParseAction(lambda t: int(t[0])) real = Regex(r"[+-]?\d+\.\d*([eE][+-]?\d+)?").setParseAction(lambda tokens: float(tokens[0])) token = Word(alphanums + "-./_:*+=!<>") simpleString = real | base64_ | raw | decimal | token | hexadecimal | qString display = LBRK + simpleString + RBRK string_ = Optional(display) + simpleString sexp = Forward() sexpList = Group(LPAR + ZeroOrMore(sexp) + RPAR) sexp << ( string_ | sexpList ) ######### Test data ########### test00 = """(snicker "abc" (#03# |YWJj|))""" test01 = """(certificate (issuer (name (public-key rsa-with-md5 (e 15 |NFGq/E3wh9f4rJIQVXhS|) (n |d738/4ghP9rFZ0gAIYZ5q9y6iskDJwASi5rEQpEQq8ZyMZeIZzIAR2I5iGE=|)) aid-committee)) (subject (ref (public-key rsa-with-md5 (e |NFGq/E3wh9f4rJIQVXhS|) (n |d738/4ghP9rFZ0gAIYZ5q9y6iskDJwASi5rEQpEQq8ZyMZeIZzIAR2I5iGE=|)) tom mother)) (not-before "1997-01-01_09:00:00") (not-after "1998-01-01_09:00:00") (tag (spend (account "12345678") (* numeric range "1" "1000")))) """ test02 = """(lambda (x) (* x x))""" test03 = """(def length (lambda (x) (cond ((not x) 0) ( t (+ 1 (length (cdr x)))) ) ) ) """ test04 = """(2:XX "abc" (#03# |YWJj|))""" test05 = """(if (is (window_name) "XMMS") (set_workspace 2))""" test06 = """(if (and (is (application_name) "Firefox") (or (contains (window_name) "Enter name of file to save to") (contains (window_name) "Save As") (contains (window_name) "Save Image") () ) ) (geometry "+140+122") ) """ test07 = """(defun factorial (x) (if (zerop x) 1 (* x (factorial (- x 1))))) """ test51 = """(2:XX "abc" (#30# |YWJj|))""" test51error = """(3:XX "abc" (#30# |YWJj|))""" test52 = """ (and (or (> uid 1000) (!= gid 20) ) (> quota 5.0e+03) ) """ # Run tests t = None alltests = [ locals()[t] for t in sorted(locals()) if t.startswith("test") ] for t in alltests: print('-'*50) print(t) try: sexpr = sexp.parseString(t, parseAll=True) pprint.pprint(sexpr.asList()) except ParseFatalException as pfe: print("Error:", pfe.msg) print(pfe.markInputline('^')) print() pyparsing-2.0.1/examples/htmlStripper.py0000644000175000017500000000234312053614270017117 0ustar zigozigo# # htmlStripper.py # # Sample code for stripping HTML markup tags and scripts from # HTML source files. # # Copyright (c) 2006, Paul McGuire # from pyparsing import * import urllib.request, urllib.parse, urllib.error removeText = replaceWith("") scriptOpen,scriptClose = makeHTMLTags("script") scriptBody = scriptOpen + SkipTo(scriptClose) + scriptClose scriptBody.setParseAction(removeText) anyTag,anyClose = makeHTMLTags(Word(alphas,alphanums+":_")) anyTag.setParseAction(removeText) anyClose.setParseAction(removeText) htmlComment.setParseAction(removeText) commonHTMLEntity.setParseAction(replaceHTMLEntity) # get some HTML targetURL = "http://wiki.python.org/moin/PythonDecoratorLibrary" targetPage = urllib.request.urlopen( targetURL ) targetHTML = targetPage.read() targetPage.close() # first pass, strip out tags and translate entities firstPass = (htmlComment | scriptBody | commonHTMLEntity | anyTag | anyClose ).transformString(targetHTML) # first pass leaves many blank lines, collapse these down repeatedNewlines = LineEnd() + OneOrMore(LineEnd()) repeatedNewlines.setParseAction(replaceWith("\n\n")) secondPass = repeatedNewlines.transformString(firstPass) print(secondPass)pyparsing-2.0.1/examples/pymicko.py0000644000175000017500000016627312053614273016115 0ustar zigozigo#!/usr/bin/python # Python/pyparsing educational microC compiler v1.0 # Copyright (C) 2009 Zarko Zivanov # (largely based on flex/bison microC compiler by Zorica Suvajdzin, used with her permission; # current version can be found at http://www.acs.uns.ac.rs, under "Programski Prevodioci" [Serbian site]) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # A copy of the GNU General Public License can be found at . from pyparsing import * from sys import stdin, stdout, stderr, argv, exit #defines debug level # 0 - no debug # 1 - print parsing results # 2 - print parsing results and symbol table # 3 - print parsing results only, without executing parse actions (grammar-only testing) DEBUG = 0 ########################################################################################## ########################################################################################## # About microC language and microC compiler # microC language and microC compiler are educational tools, and their goal is to show some basic principles # of writing a C language compiler. Compiler represents one (relatively simple) solution, not necessarily the best one. # This Python/pyparsing version is made using Python 2.6.4 and pyparsing 1.5.2 (and it may contain errors :) ) ########################################################################################## ########################################################################################## # Model of the used hypothetical processor # The reason behind using a hypothetical processor is to simplify code generation and to concentrate on the compiler itself. # This compiler can relatively easily be ported to x86, but one must know all the little details about which register # can be used for what, which registers are default for various operations, etc. # The hypothetical processor has 16 registers, called %0 to %15. Register %13 is used for the function return value (x86's eax), # %14 is the stack frame pointer (x86's ebp) and %15 is the stack pointer (x86's esp). All data-handling instructions can be # unsigned (suffix U), or signed (suffix S). These are ADD, SUB, MUL and DIV. These are three-address instructions, # the first two operands are input, the third one is output. Whether these operands are registers, memory or constant # is not relevant, all combinations are possible (except that output cannot be a constant). Constants are writen with a $ prefix (10-base only). # Conditional jumps are handled by JXXY instructions, where XX is LT, GT, LE, GE, EQ, NE (less than, greater than, less than or equal, etc.) # and Y is U or S (unsigned or signed, except for JEQ i JNE). Unconditional jump is JMP. The move instruction is MOV. # Function handling is done using CALL, RET, PUSH and POP (C style function calls). Static data is defined using the WORD directive # (example: variable: WORD 1), whose only argument defines the number of locations that are reserved. ########################################################################################## ########################################################################################## # Grammar of The microC Programming Language # (small subset of C made for compiler course at Faculty of Technical Sciences, Chair for Applied Computer Sciences, Novi Sad, Serbia) # Patterns: # letter # -> "_" | "a" | "A" | "b" | "B" | "c" | "C" | "d" | "D" | "e" | "E" | "f" # | "F" | "g" | "G" | "h" | "H" | "i" | "I" | "j" | "J" | "k" | "K" | "l" # | "L" | "m" | "M" | "n" | "N" | "o" | "O" | "p" | "P" | "q" | "Q" | "r" # | "R" | "s" | "S" | "t" | "T" | "u" | "U" | "v" | "V" | "w" | "W" | "x" # | "X" | "y" | "Y" | "z" | "Z" # digit # -> "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" # identifier # -> letter ( letter | digit )* # int_constant # -> digit + # unsigned_constant # -> digit + ( "u" | "U" ) # Productions: # program # -> variable_list function_list # -> function_list # variable_list # -> variable ";" # -> variable_list variable ";" # variable # -> type identifier # type # -> "int" # -> "unsigned" # function_list # -> function # -> function_list function # function # -> type identifier "(" parameters ")" body # parameters # -> # -> parameter_list # parameter_list # -> variable # -> parameter_list "," variable # body # -> "{" variable_list statement_list "}" # -> "{" statement_list "}" # statement_list # -> # -> statement_list statement # statement # -> assignement_statement # -> function_call_statement # -> if_statement # -> while_statement # -> return_statement # -> compound_statement # assignement_statement # -> identifier "=" num_exp ";" # num_exp # -> mul_exp # -> num_exp "+" mul_exp # -> num_exp "-" mul_exp # mul_exp # -> exp # -> mul_exp "*" exp # -> mul_exp "/" exp # exp # -> constant # -> identifier # -> function_call # -> "(" num_exp ")" # -> "+" exp # -> "-" exp # constant # -> int_constant # -> unsigned_constant # function_call # -> identifier "(" arguments ")" # arguments # -> # -> argument_list # argument_list # -> num_exp # -> argument_list "," num_exp # function_call_statement # -> function_call ";" # if_statement # -> "if" "(" log_exp ")" statement # -> "if" "(" log_exp ")" statement "else" statement # -> -> -> -> -> -> -> -> 2 # log_exp # -> and_exp # -> log_exp "||" and_exp # and_exp # -> rel_exp # -> and_exp "&&" rel_exp # rel_exp # -> num_exp "<" num_exp # -> num_exp ">" num_exp # -> num_exp "<=" num_exp # -> num_exp ">=" num_exp # -> num_exp "==" num_exp # -> num_exp "!=" num_exp # while_statement # -> "while" "(" log_exp ")" statement # return_statement # -> "return" num_exp ";" # compound_statement # -> "{" statement_list "}" # Comment: /* a comment */ ########################################################################################## ########################################################################################## class Enumerate(dict): """C enum emulation (original by Scott David Daniels)""" def __init__(self, names): for number, name in enumerate(names.split()): setattr(self, name, number) self[number] = name class SharedData(object): """Data used in all three main classes""" #Possible kinds of symbol table entries KINDS = Enumerate("NO_KIND WORKING_REGISTER GLOBAL_VAR FUNCTION PARAMETER LOCAL_VAR CONSTANT") #Supported types of functions and variables TYPES = Enumerate("NO_TYPE INT UNSIGNED") #bit size of variables TYPE_BIT_SIZE = 16 #min/max values of constants MIN_INT = -2 ** (TYPE_BIT_SIZE - 1) MAX_INT = 2 ** (TYPE_BIT_SIZE - 1) - 1 MAX_UNSIGNED = 2 ** TYPE_BIT_SIZE - 1 #available working registers (the last one is the register for function's return value!) REGISTERS = "%0 %1 %2 %3 %4 %5 %6 %7 %8 %9 %10 %11 %12 %13".split() #register for function's return value FUNCTION_REGISTER = len(REGISTERS) - 1 #the index of last working register LAST_WORKING_REGISTER = len(REGISTERS) - 2 #list of relational operators RELATIONAL_OPERATORS = "< > <= >= == !=".split() def __init__(self): #index of the currently parsed function self.functon_index = 0 #name of the currently parsed function self.functon_name = 0 #number of parameters of the currently parsed function self.function_params = 0 #number of local variables of the currently parsed function self.function_vars = 0 ########################################################################################## ########################################################################################## class ExceptionSharedData(object): """Class for exception handling data""" def __init__(self): #position in currently parsed text self.location = 0 #currently parsed text self.text = "" def setpos(self, location, text): """Helper function for setting curently parsed text and position""" self.location = location self.text = text exshared = ExceptionSharedData() class SemanticException(Exception): """Exception for semantic errors found during parsing, similar to ParseException. Introduced because ParseException is used internally in pyparsing and custom messages got lost and replaced by pyparsing's generic errors. """ def __init__(self, message, print_location=True): super(SemanticException,self).__init__() self._message = message self.location = exshared.location self.print_location = print_location if exshared.location != None: self.line = lineno(exshared.location, exshared.text) self.col = col(exshared.location, exshared.text) self.text = line(exshared.location, exshared.text) else: self.line = self.col = self.text = None def _get_message(self): return self._message def _set_message(self, message): self._message = message message = property(_get_message, _set_message) def __str__(self): """String representation of the semantic error""" msg = "Error" if self.print_location and (self.line != None): msg += " at line %d, col %d" % (self.line, self.col) msg += ": %s" % self.message if self.print_location and (self.line != None): msg += "\n%s" % self.text return msg ########################################################################################## ########################################################################################## class SymbolTableEntry(object): """Class which represents one symbol table entry.""" def __init__(self, sname = "", skind = 0, stype = 0, sattr = None, sattr_name = "None"): """Initialization of symbol table entry. sname - symbol name skind - symbol kind stype - symbol type sattr - symbol attribute sattr_name - symbol attribute name (used only for table display) """ self.name = sname self.kind = skind self.type = stype self.attribute = sattr self.attribute_name = sattr_name self.param_types = [] def set_attribute(self, name, value): """Sets attribute's name and value""" self.attribute_name = name self.attribute = value def attribute_str(self): """Returns attribute string (used only for table display)""" return "{0}={1}".format(self.attribute_name, self.attribute) if self.attribute != None else "None" class SymbolTable(object): """Class for symbol table of microC program""" def __init__(self, shared): """Initialization of the symbol table""" self.table = [] self.lable_len = 0 #put working registers in the symbol table for reg in range(SharedData.FUNCTION_REGISTER+1): self.insert_symbol(SharedData.REGISTERS[reg], SharedData.KINDS.WORKING_REGISTER, SharedData.TYPES.NO_TYPE) #shared data self.shared = shared def error(self, text=""): """Symbol table error exception. It should happen only if index is out of range while accessing symbol table. This exeption is not handled by the compiler, so as to allow traceback printing """ if text == "": raise Exception("Symbol table index out of range") else: raise Exception("Symbol table error: %s" % text) def display(self): """Displays the symbol table content""" #Finding the maximum length for each column sym_name = "Symbol name" sym_len = max(max(len(i.name) for i in self.table),len(sym_name)) kind_name = "Kind" kind_len = max(max(len(SharedData.KINDS[i.kind]) for i in self.table),len(kind_name)) type_name = "Type" type_len = max(max(len(SharedData.TYPES[i.type]) for i in self.table),len(type_name)) attr_name = "Attribute" attr_len = max(max(len(i.attribute_str()) for i in self.table),len(attr_name)) #print table header print("{0:3s} | {1:^{2}s} | {3:^{4}s} | {5:^{6}s} | {7:^{8}} | {9:s}".format(" No", sym_name, sym_len, kind_name, kind_len, type_name, type_len, attr_name, attr_len, "Parameters")) print("-----------------------------" + "-" * (sym_len + kind_len + type_len + attr_len)) #print symbol table for i,sym in enumerate(self.table): parameters = "" for p in sym.param_types: if parameters == "": parameters = "{0}".format(SharedData.TYPES[p]) else: parameters += ", {0}".format(SharedData.TYPES[p]) print("{0:3d} | {1:^{2}s} | {3:^{4}s} | {5:^{6}s} | {7:^{8}} | ({9})".format(i, sym.name, sym_len, SharedData.KINDS[sym.kind], kind_len, SharedData.TYPES[sym.type], type_len, sym.attribute_str(), attr_len, parameters)) def insert_symbol(self, sname, skind, stype): """Inserts new symbol at the end of the symbol table. Returns symbol index sname - symbol name skind - symbol kind stype - symbol type """ self.table.append(SymbolTableEntry(sname, skind, stype)) self.table_len = len(self.table) return self.table_len-1 def clear_symbols(self, index): """Clears all symbols begining with the index to the end of table""" try: del self.table[index:] except Exception: self.error() self.table_len = len(self.table) def lookup_symbol(self, sname, skind=list(SharedData.KINDS.keys()), stype=list(SharedData.TYPES.keys())): """Searches for symbol, from the end to the begining. Returns symbol index or None sname - symbol name skind - symbol kind (one kind, list of kinds, or None) deafult: any kind stype - symbol type (or None) default: any type """ skind = skind if isinstance(skind, list) else [skind] stype = stype if isinstance(stype, list) else [stype] for i, sym in [[x, self.table[x]] for x in range(len(self.table) - 1, SharedData.LAST_WORKING_REGISTER, -1)]: if (sym.name == sname) and (sym.kind in skind) and (sym.type in stype): return i return None def insert_id(self, sname, skind, skinds, stype): """Inserts a new identifier at the end of the symbol table, if possible. Returns symbol index, or raises an exception if the symbol alredy exists sname - symbol name skind - symbol kind skinds - symbol kinds to check for stype - symbol type """ index = self.lookup_symbol(sname, skinds) if index == None: index = self.insert_symbol(sname, skind, stype) return index else: raise SemanticException("Redefinition of '%s'" % sname) def insert_global_var(self, vname, vtype): "Inserts a new global variable" return self.insert_id(vname, SharedData.KINDS.GLOBAL_VAR, [SharedData.KINDS.GLOBAL_VAR, SharedData.KINDS.FUNCTION], vtype) def insert_local_var(self, vname, vtype, position): "Inserts a new local variable" index = self.insert_id(vname, SharedData.KINDS.LOCAL_VAR, [SharedData.KINDS.LOCAL_VAR, SharedData.KINDS.PARAMETER], vtype) self.table[index].attribute = position def insert_parameter(self, pname, ptype): "Inserts a new parameter" index = self.insert_id(pname, SharedData.KINDS.PARAMETER, SharedData.KINDS.PARAMETER, ptype) #set parameter's attribute to it's ordinal number self.table[index].set_attribute("Index", self.shared.function_params) #set parameter's type in param_types list of a function self.table[self.shared.function_index].param_types.append(ptype) return index def insert_function(self, fname, ftype): "Inserts a new function" index = self.insert_id(fname, SharedData.KINDS.FUNCTION, [SharedData.KINDS.GLOBAL_VAR, SharedData.KINDS.FUNCTION], ftype) self.table[index].set_attribute("Params",0) return index def insert_constant(self, cname, ctype): """Inserts a constant (or returns index if the constant already exists) Additionally, checks for range. """ index = self.lookup_symbol(cname, stype=ctype) if index == None: num = int(cname) if ctype == SharedData.TYPES.INT: if (num < SharedData.MIN_INT) or (num > SharedData.MAX_INT): raise SemanticException("Integer constant '%s' out of range" % cname) elif ctype == SharedData.TYPES.UNSIGNED: if (num < 0) or (num > SharedData.MAX_UNSIGNED): raise SemanticException("Unsigned constant '%s' out of range" % cname) index = self.insert_symbol(cname, SharedData.KINDS.CONSTANT, ctype) return index def same_types(self, index1, index2): """Returns True if both symbol table elements are of the same type""" try: same = self.table[index1].type == self.table[index2].type != SharedData.TYPES.NO_TYPE except Exception: self.error() return same def same_type_as_argument(self, index, function_index, argument_number): """Returns True if index and function's argument are of the same type index - index in symbol table function_index - function's index in symbol table argument_number - # of function's argument """ try: same = self.table[function_index].param_types[argument_number] == self.table[index].type except Exception: self.error() return same def get_attribute(self, index): try: return self.table[index].attribute except Exception: self.error() def set_attribute(self, index, value): try: self.table[index].attribute = value except Exception: self.error() def get_name(self, index): try: return self.table[index].name except Exception: self.error() def get_kind(self, index): try: return self.table[index].kind except Exception: self.error() def get_type(self, index): try: return self.table[index].type except Exception: self.error() def set_type(self, index, stype): try: self.table[index].type = stype except Exception: self.error() ########################################################################################## ########################################################################################## class CodeGenerator(object): """Class for code generation methods.""" #dictionary of relational operators RELATIONAL_DICT = dict([op,i] for i, op in enumerate(SharedData.RELATIONAL_OPERATORS)) #conditional jumps for relational operators CONDITIONAL_JUMPS = ["JLTS", "JGTS", "JLES", "JGES", "JEQ ", "JNE ", "JLTU", "JGTU", "JLEU", "JGEU", "JEQ ", "JNE "] #opposite conditional jumps for relational operators OPPOSITE_JUMPS = ["JGES", "JLES", "JGTS", "JLTS", "JNE ", "JEQ ", "JGEU", "JLEU", "JGTU", "JLTU", "JNE ", "JEQ "] #supported operations OPERATIONS = {"+" : "ADD", "-" : "SUB", "*" : "MUL", "/" : "DIV"} #suffixes for signed and unsigned operations (if no type is specified, unsigned will be assumed) OPSIGNS = {SharedData.TYPES.NO_TYPE : "U", SharedData.TYPES.INT : "S", SharedData.TYPES.UNSIGNED : "U"} #text at start of data segment DATA_START_TEXT = "#DATA" #text at start of code segment CODE_START_TEXT = "#CODE" def __init__(self, shared, symtab): #generated code self.code = "" #prefix for internal labels self.internal = "@" #suffix for label definition self.definition = ":" #list of free working registers self.free_registers = list(range(SharedData.FUNCTION_REGISTER, -1, -1)) #list of used working registers self.used_registers = [] #list of used registers needed when function call is inside of a function call self.used_registers_stack = [] #shared data self.shared = shared #symbol table self.symtab = symtab def error(self, text): """Compiler error exception. It should happen only if something is wrong with compiler. This exeption is not handled by the compiler, so as to allow traceback printing """ raise Exception("Compiler error: %s" % text) def take_register(self, rtype = SharedData.TYPES.NO_TYPE): """Reserves one working register and sets its type""" if len(self.free_registers) == 0: self.error("no more free registers") reg = self.free_registers.pop() self.used_registers.append(reg) self.symtab.set_type(reg, rtype) return reg def take_function_register(self, rtype = SharedData.TYPES.NO_TYPE): """Reserves register for function return value and sets its type""" reg = SharedData.FUNCTION_REGISTER if reg not in self.free_registers: self.error("function register already taken") self.free_registers.remove(reg) self.used_registers.append(reg) self.symtab.set_type(reg, rtype) return reg def free_register(self, reg): """Releases working register""" if reg not in self.used_registers: self.error("register %s is not taken" % self.REGISTERS[reg]) self.used_registers.remove(reg) self.free_registers.append(reg) self.free_registers.sort(reverse = True) def free_if_register(self, index): """If index is a working register, free it, otherwise just return (helper function)""" if (index < 0) or (index > SharedData.FUNCTION_REGISTER): return else: self.free_register(index) def label(self, name, internal=False, definition=False): """Generates label name (helper function) name - label name internal - boolean value, adds "@" prefix to label definition - boolean value, adds ":" suffix to label """ return "{0}{1}{2}".format(self.internal if internal else "", name, self.definition if definition else "") def symbol(self, index): """Generates symbol name from index""" #if index is actually a string, just return it if isinstance(index, str): return index elif (index < 0) or (index >= self.symtab.table_len): self.error("symbol table index out of range") sym = self.symtab.table[index] #local variables are located at negative offset from frame pointer register if sym.kind == SharedData.KINDS.LOCAL_VAR: return "-{0}(%14)".format(sym.attribute * 4 + 4) #parameters are located at positive offset from frame pointer register elif sym.kind == SharedData.KINDS.PARAMETER: return "{0}(%14)".format(8 + sym.attribute * 4) elif sym.kind == SharedData.KINDS.CONSTANT: return "${0}".format(sym.name) else: return "{0}".format(sym.name) def save_used_registers(self): """Pushes all used working registers before function call""" used = self.used_registers[:] del self.used_registers[:] self.used_registers_stack.append(used[:]) used.sort() for reg in used: self.newline_text("PUSH\t%s" % SharedData.REGISTERS[reg], True) self.free_registers.extend(used) self.free_registers.sort(reverse = True) def restore_used_registers(self): """Pops all used working registers after function call""" used = self.used_registers_stack.pop() self.used_registers = used[:] used.sort(reverse = True) for reg in used: self.newline_text("POP \t%s" % SharedData.REGISTERS[reg], True) self.free_registers.remove(reg) def text(self, text): """Inserts text into generated code""" self.code += text def prepare_data_segment(self): """Inserts text at the start of data segment""" self.text(self.DATA_START_TEXT) def prepare_code_segment(self): """Inserts text at the start of code segment""" self.newline_text(self.CODE_START_TEXT) def newline(self, indent=False): """Inserts a newline, optionally with indentation.""" self.text("\n") if indent: self.text("\t\t\t") def newline_text(self, text, indent = False): """Inserts a newline and text, optionally with indentation (helper function)""" self.newline(indent) self.text(text) def newline_label(self, name, internal=False, definition=False): """Inserts a newline and a label (helper function) name - label name internal - boolean value, adds "@" prefix to label definition - boolean value, adds ":" suffix to label """ self.newline_text(self.label("{0}{1}{2}".format("@" if internal else "", name, ":" if definition else ""))) def global_var(self, name): """Inserts a new static (global) variable definition""" self.newline_label(name, False, True) self.newline_text("WORD\t1", True) def arithmetic_mnemonic(self, op_name, op_type): """Generates an arithmetic instruction mnemonic""" return self.OPERATIONS[op_name] + self.OPSIGNS[op_type] def arithmetic(self, operation, operand1, operand2, operand3 = None): """Generates an arithmetic instruction operation - one of supporetd operations operandX - index in symbol table or text representation of operand First two operands are input, third one is output """ if isinstance(operand1, int): output_type = self.symtab.get_type(operand1) self.free_if_register(operand1) else: output_type = None if isinstance(operand2, int): output_type = self.symtab.get_type(operand2) if output_type == None else output_type self.free_if_register(operand2) else: output_type = SharedData.TYPES.NO_TYPE if output_type == None else output_type #if operand3 is not defined, reserve one free register for it output = self.take_register(output_type) if operand3 == None else operand3 mnemonic = self.arithmetic_mnemonic(operation, output_type) self.newline_text("{0}\t{1},{2},{3}".format(mnemonic, self.symbol(operand1), self.symbol(operand2), self.symbol(output)), True) return output def relop_code(self, relop, operands_type): """Returns code for relational operator relop - relational operator operands_type - int or unsigned """ code = self.RELATIONAL_DICT[relop] offset = 0 if operands_type == SharedData.TYPES.INT else len(SharedData.RELATIONAL_OPERATORS) return code + offset def jump(self, relcode, opposite, label): """Generates a jump instruction relcode - relational operator code opposite - generate normal or opposite jump label - jump label """ jump = self.OPPOSITE_JUMPS[relcode] if opposite else self.CONDITIONAL_JUMPS[relcode] self.newline_text("{0}\t{1}".format(jump, label), True) def unconditional_jump(self, label): """Generates an unconditional jump instruction label - jump label """ self.newline_text("JMP \t{0}".format(label), True) def move(self,operand1, operand2): """Generates a move instruction If the output operand (opernad2) is a working register, sets it's type operandX - index in symbol table or text representation of operand """ if isinstance(operand1, int): output_type = self.symtab.get_type(operand1) self.free_if_register(operand1) else: output_type = SharedData.TYPES.NO_TYPE self.newline_text("MOV \t{0},{1}".format(self.symbol(operand1), self.symbol(operand2)), True) if isinstance(operand2, int): if self.symtab.get_kind(operand2) == SharedData.KINDS.WORKING_REGISTER: self.symtab.set_type(operand2, output_type) def push(self, operand): """Generates a push operation""" self.newline_text("PUSH\t%s" % self.symbol(operand), True) def pop(self, operand): """Generates a pop instruction""" self.newline_text("POP \t%s" % self.symbol(operand), True) def compare(self, operand1, operand2): """Generates a compare instruction operandX - index in symbol table """ typ = self.symtab.get_type(operand1) self.free_if_register(operand1) self.free_if_register(operand2) self.newline_text("CMP{0}\t{1},{2}".format(self.OPSIGNS[typ], self.symbol(operand1), self.symbol(operand2)), True) def function_begin(self): """Inserts function name label and function frame initialization""" self.newline_label(self.shared.function_name, False, True) self.push("%14") self.move("%15", "%14") def function_body(self): """Inserts a local variable initialization and body label""" if self.shared.function_vars > 0: const = self.symtab.insert_constant("{0}".format(self.shared.function_vars * 4), SharedData.TYPES.UNSIGNED) self.arithmetic("-", "%15", const, "%15") self.newline_label(self.shared.function_name + "_body", True, True) def function_end(self): """Inserts an exit label and function return instructions""" self.newline_label(self.shared.function_name + "_exit", True, True) self.move("%14", "%15") self.pop("%14") self.newline_text("RET", True) def function_call(self, function, arguments): """Generates code for a function call function - function index in symbol table arguments - list of arguments (indexes in symbol table) """ #push each argument to stack for arg in arguments: self.push(self.symbol(arg)) self.free_if_register(arg) self.newline_text("CALL\t"+self.symtab.get_name(function), True) args = self.symtab.get_attribute(function) #generates stack cleanup if function has arguments if args > 0: args_space = self.symtab.insert_constant("{0}".format(args * 4), SharedData.TYPES.UNSIGNED) self.arithmetic("+", "%15", args_space, "%15") ########################################################################################## ########################################################################################## class MicroC(object): """Class for microC parser/compiler""" def __init__(self): #Definitions of terminal symbols for microC programming language self.tId = Word(alphas+"_",alphanums+"_") self.tInteger = Word(nums).setParseAction(lambda x : [x[0], SharedData.TYPES.INT]) self.tUnsigned = Regex(r"[0-9]+[uU]").setParseAction(lambda x : [x[0][:-1], SharedData.TYPES.UNSIGNED]) self.tConstant = (self.tUnsigned | self.tInteger).setParseAction(self.constant_action) self.tType = Keyword("int").setParseAction(lambda x : SharedData.TYPES.INT) | \ Keyword("unsigned").setParseAction(lambda x : SharedData.TYPES.UNSIGNED) self.tRelOp = oneOf(SharedData.RELATIONAL_OPERATORS) self.tMulOp = oneOf("* /") self.tAddOp = oneOf("+ -") #Definitions of rules for global variables self.rGlobalVariable = (self.tType("type") + self.tId("name") + FollowedBy(";")).setParseAction(self.global_variable_action) self.rGlobalVariableList = ZeroOrMore(self.rGlobalVariable + Suppress(";")) #Definitions of rules for numeric expressions self.rExp = Forward() self.rMulExp = Forward() self.rNumExp = Forward() self.rArguments = delimitedList(self.rNumExp("exp").setParseAction(self.argument_action)) self.rFunctionCall = ((self.tId("name") + FollowedBy("(")).setParseAction(self.function_call_prepare_action) + Suppress("(") + Optional(self.rArguments)("args") + Suppress(")")).setParseAction(self.function_call_action) self.rExp << (self.rFunctionCall | self.tConstant | self.tId("name").setParseAction(self.lookup_id_action) | Group(Suppress("(") + self.rNumExp + Suppress(")")) | Group("+" + self.rExp) | Group("-" + self.rExp)).setParseAction(lambda x : x[0]) self.rMulExp << ((self.rExp + ZeroOrMore(self.tMulOp + self.rExp))).setParseAction(self.mulexp_action) self.rNumExp << (self.rMulExp + ZeroOrMore(self.tAddOp + self.rMulExp)).setParseAction(self.numexp_action) #Definitions of rules for logical expressions (these are without parenthesis support) self.rAndExp = Forward() self.rLogExp = Forward() self.rRelExp = (self.rNumExp + self.tRelOp + self.rNumExp).setParseAction(self.relexp_action) self.rAndExp << (self.rRelExp("exp") + ZeroOrMore(Literal("&&").setParseAction(self.andexp_action) + self.rRelExp("exp")).setParseAction(lambda x : self.relexp_code)) self.rLogExp << (self.rAndExp("exp") + ZeroOrMore(Literal("||").setParseAction(self.logexp_action) + self.rAndExp("exp")).setParseAction(lambda x : self.andexp_code)) #Definitions of rules for statements self.rStatement = Forward() self.rStatementList = Forward() self.rReturnStatement = (Keyword("return") + self.rNumExp("exp") + Suppress(";")).setParseAction(self.return_action) self.rAssignmentStatement = (self.tId("var") + Suppress("=") + self.rNumExp("exp") + Suppress(";")).setParseAction(self.assignment_action) self.rFunctionCallStatement = self.rFunctionCall + Suppress(";") self.rIfStatement = ( (Keyword("if") + FollowedBy("(")).setParseAction(self.if_begin_action) + (Suppress("(") + self.rLogExp + Suppress(")")).setParseAction(self.if_body_action) + (self.rStatement + Empty()).setParseAction(self.if_else_action) + Optional(Keyword("else") + self.rStatement)).setParseAction(self.if_end_action) self.rWhileStatement = ( (Keyword("while") + FollowedBy("(")).setParseAction(self.while_begin_action) + (Suppress("(") + self.rLogExp + Suppress(")")).setParseAction(self.while_body_action) + self.rStatement).setParseAction(self.while_end_action) self.rCompoundStatement = Group(Suppress("{") + self.rStatementList + Suppress("}")) self.rStatement << (self.rReturnStatement | self.rIfStatement | self.rWhileStatement | self.rFunctionCallStatement | self.rAssignmentStatement | self.rCompoundStatement) self.rStatementList << ZeroOrMore(self.rStatement) self.rLocalVariable = (self.tType("type") + self.tId("name") + FollowedBy(";")).setParseAction(self.local_variable_action) self.rLocalVariableList = ZeroOrMore(self.rLocalVariable + Suppress(";")) self.rFunctionBody = Suppress("{") + Optional(self.rLocalVariableList).setParseAction(self.function_body_action) + \ self.rStatementList + Suppress("}") self.rParameter = (self.tType("type") + self.tId("name")).setParseAction(self.parameter_action) self.rParameterList = delimitedList(self.rParameter) self.rFunction = ( (self.tType("type") + self.tId("name")).setParseAction(self.function_begin_action) + Group(Suppress("(") + Optional(self.rParameterList)("params") + Suppress(")") + self.rFunctionBody)).setParseAction(self.function_end_action) self.rFunctionList = OneOrMore(self.rFunction) self.rProgram = (Empty().setParseAction(self.data_begin_action) + self.rGlobalVariableList + Empty().setParseAction(self.code_begin_action) + self.rFunctionList).setParseAction(self.program_end_action) #shared data self.shared = SharedData() #symbol table self.symtab = SymbolTable(self.shared) #code generator self.codegen = CodeGenerator(self.shared, self.symtab) #index of the current function call self.function_call_index = -1 #stack for the nested function calls self.function_call_stack = [] #arguments of the current function call self.function_arguments = [] #stack for arguments of the nested function calls self.function_arguments_stack = [] #number of arguments for the curent function call self.function_arguments_number = -1 #stack for the number of arguments for the nested function calls self.function_arguments_number_stack = [] #last relational expression self.relexp_code = None #last and expression self.andexp_code = None #label number for "false" internal labels self.false_label_number = -1 #label number for all other internal labels self.label_number = None #label stack for nested statements self.label_stack = [] def warning(self, message, print_location=True): """Displays warning message. Uses exshared for current location of parsing""" msg = "Warning" if print_location and (exshared.location != None): wline = lineno(exshared.location, exshared.text) wcol = col(exshared.location, exshared.text) wtext = line(exshared.location, exshared.text) msg += " at line %d, col %d" % (wline, wcol) msg += ": %s" % message if print_location and (exshared.location != None): msg += "\n%s" % wtext print(msg) def data_begin_action(self): """Inserts text at start of data segment""" self.codegen.prepare_data_segment() def code_begin_action(self): """Inserts text at start of code segment""" self.codegen.prepare_code_segment() def global_variable_action(self, text, loc, var): """Code executed after recognising a global variable""" exshared.setpos(loc, text) if DEBUG > 0: print("GLOBAL_VAR:",var) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return index = self.symtab.insert_global_var(var.name, var.type) self.codegen.global_var(var.name) return index def local_variable_action(self, text, loc, var): """Code executed after recognising a local variable""" exshared.setpos(loc, text) if DEBUG > 0: print("LOCAL_VAR:",var, var.name, var.type) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return index = self.symtab.insert_local_var(var.name, var.type, self.shared.function_vars) self.shared.function_vars += 1 return index def parameter_action(self, text, loc, par): """Code executed after recognising a parameter""" exshared.setpos(loc, text) if DEBUG > 0: print("PARAM:",par) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return index = self.symtab.insert_parameter(par.name, par.type) self.shared.function_params += 1 return index def constant_action(self, text, loc, const): """Code executed after recognising a constant""" exshared.setpos(loc, text) if DEBUG > 0: print("CONST:",const) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return return self.symtab.insert_constant(const[0], const[1]) def function_begin_action(self, text, loc, fun): """Code executed after recognising a function definition (type and function name)""" exshared.setpos(loc, text) if DEBUG > 0: print("FUN_BEGIN:",fun) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return self.shared.function_index = self.symtab.insert_function(fun.name, fun.type) self.shared.function_name = fun.name self.shared.function_params = 0 self.shared.function_vars = 0 self.codegen.function_begin(); def function_body_action(self, text, loc, fun): """Code executed after recognising the beginning of function's body""" exshared.setpos(loc, text) if DEBUG > 0: print("FUN_BODY:",fun) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return self.codegen.function_body() def function_end_action(self, text, loc, fun): """Code executed at the end of function definition""" if DEBUG > 0: print("FUN_END:",fun) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return #set function's attribute to number of function parameters self.symtab.set_attribute(self.shared.function_index, self.shared.function_params) #clear local function symbols (but leave function name) self.symtab.clear_symbols(self.shared.function_index + 1) self.codegen.function_end() def return_action(self, text, loc, ret): """Code executed after recognising a return statement""" exshared.setpos(loc, text) if DEBUG > 0: print("RETURN:",ret) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return if not self.symtab.same_types(self.shared.function_index, ret.exp[0]): raise SemanticException("Incompatible type in return") #set register for function's return value to expression value reg = self.codegen.take_function_register() self.codegen.move(ret.exp[0], reg) #after return statement, register for function's return value is available again self.codegen.free_register(reg) #jump to function's exit self.codegen.unconditional_jump(self.codegen.label(self.shared.function_name+"_exit", True)) def lookup_id_action(self, text, loc, var): """Code executed after recognising an identificator in expression""" exshared.setpos(loc, text) if DEBUG > 0: print("EXP_VAR:",var) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return var_index = self.symtab.lookup_symbol(var.name, [SharedData.KINDS.GLOBAL_VAR, SharedData.KINDS.PARAMETER, SharedData.KINDS.LOCAL_VAR]) if var_index == None: raise SemanticException("'%s' undefined" % var.name) return var_index def assignment_action(self, text, loc, assign): """Code executed after recognising an assignment statement""" exshared.setpos(loc, text) if DEBUG > 0: print("ASSIGN:",assign) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return var_index = self.symtab.lookup_symbol(assign.var, [SharedData.KINDS.GLOBAL_VAR, SharedData.KINDS.PARAMETER, SharedData.KINDS.LOCAL_VAR]) if var_index == None: raise SemanticException("Undefined lvalue '%s' in assignment" % assign.var) if not self.symtab.same_types(var_index, assign.exp[0]): raise SemanticException("Incompatible types in assignment") self.codegen.move(assign.exp[0], var_index) def mulexp_action(self, text, loc, mul): """Code executed after recognising a mulexp expression (something *|/ something)""" exshared.setpos(loc, text) if DEBUG > 0: print("MUL_EXP:",mul) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return #iterate through all multiplications/divisions m = list(mul) while len(m) > 1: if not self.symtab.same_types(m[0], m[2]): raise SemanticException("Invalid opernads to binary '%s'" % m[1]) reg = self.codegen.arithmetic(m[1], m[0], m[2]) #replace first calculation with it's result m[0:3] = [reg] return m[0] def numexp_action(self, text, loc, num): """Code executed after recognising a numexp expression (something +|- something)""" exshared.setpos(loc, text) if DEBUG > 0: print("NUM_EXP:",num) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return #iterate through all additions/substractions n = list(num) while len(n) > 1: if not self.symtab.same_types(n[0], n[2]): raise SemanticException("Invalid opernads to binary '%s'" % n[1]) reg = self.codegen.arithmetic(n[1], n[0], n[2]) #replace first calculation with it's result n[0:3] = [reg] return n[0] def function_call_prepare_action(self, text, loc, fun): """Code executed after recognising a function call (type and function name)""" exshared.setpos(loc, text) if DEBUG > 0: print("FUN_PREP:",fun) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return index = self.symtab.lookup_symbol(fun.name, SharedData.KINDS.FUNCTION) if index == None: raise SemanticException("'%s' is not a function" % fun.name) #save any previous function call data (for nested function calls) self.function_call_stack.append(self.function_call_index) self.function_call_index = index self.function_arguments_stack.append(self.function_arguments[:]) del self.function_arguments[:] self.codegen.save_used_registers() def argument_action(self, text, loc, arg): """Code executed after recognising each of function's arguments""" exshared.setpos(loc, text) if DEBUG > 0: print("ARGUMENT:",arg.exp) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return arg_ordinal = len(self.function_arguments) #check argument's type if not self.symtab.same_type_as_argument(arg.exp, self.function_call_index, arg_ordinal): raise SemanticException("Incompatible type for argument %d in '%s'" % (arg_ordinal + 1, self.symtab.get_name(self.function_call_index))) self.function_arguments.append(arg.exp) def function_call_action(self, text, loc, fun): """Code executed after recognising the whole function call""" exshared.setpos(loc, text) if DEBUG > 0: print("FUN_CALL:",fun) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return #check number of arguments if len(self.function_arguments) != self.symtab.get_attribute(self.function_call_index): raise SemanticException("Wrong number of arguments for function '%s'" % fun.name) #arguments should be pushed to stack in reverse order self.function_arguments.reverse() self.codegen.function_call(self.function_call_index, self.function_arguments) self.codegen.restore_used_registers() return_type = self.symtab.get_type(self.function_call_index) #restore previous function call data self.function_call_index = self.function_call_stack.pop() self.function_arguments = self.function_arguments_stack.pop() register = self.codegen.take_register(return_type) #move result to a new free register, to allow the next function call self.codegen.move(self.codegen.take_function_register(return_type), register) return register def relexp_action(self, text, loc, arg): """Code executed after recognising a relexp expression (something relop something)""" if DEBUG > 0: print("REL_EXP:",arg) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return exshared.setpos(loc, text) if not self.symtab.same_types(arg[0], arg[2]): raise SemanticException("Invalid operands for operator '{0}'".format(arg[1])) self.codegen.compare(arg[0], arg[2]) #return relational operator's code self.relexp_code = self.codegen.relop_code(arg[1], self.symtab.get_type(arg[0])) return self.relexp_code def andexp_action(self, text, loc, arg): """Code executed after recognising a andexp expression (something and something)""" exshared.setpos(loc, text) if DEBUG > 0: print("AND+EXP:",arg) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return label = self.codegen.label("false{0}".format(self.false_label_number), True, False) self.codegen.jump(self.relexp_code, True, label) self.andexp_code = self.relexp_code return self.andexp_code def logexp_action(self, text, loc, arg): """Code executed after recognising logexp expression (something or something)""" exshared.setpos(loc, text) if DEBUG > 0: print("LOG_EXP:",arg) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return label = self.codegen.label("true{0}".format(self.label_number), True, False) self.codegen.jump(self.relexp_code, False, label) self.codegen.newline_label("false{0}".format(self.false_label_number), True, True) self.false_label_number += 1 def if_begin_action(self, text, loc, arg): """Code executed after recognising an if statement (if keyword)""" exshared.setpos(loc, text) if DEBUG > 0: print("IF_BEGIN:",arg) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return self.false_label_number += 1 self.label_number = self.false_label_number self.codegen.newline_label("if{0}".format(self.label_number), True, True) def if_body_action(self, text, loc, arg): """Code executed after recognising if statement's body""" exshared.setpos(loc, text) if DEBUG > 0: print("IF_BODY:",arg) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return #generate conditional jump (based on last compare) label = self.codegen.label("false{0}".format(self.false_label_number), True, False) self.codegen.jump(self.relexp_code, True, label) #generate 'true' label (executes if condition is satisfied) self.codegen.newline_label("true{0}".format(self.label_number), True, True) #save label numbers (needed for nested if/while statements) self.label_stack.append(self.false_label_number) self.label_stack.append(self.label_number) def if_else_action(self, text, loc, arg): """Code executed after recognising if statement's else body""" exshared.setpos(loc, text) if DEBUG > 0: print("IF_ELSE:",arg) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return #jump to exit after all statements for true condition are executed self.label_number = self.label_stack.pop() label = self.codegen.label("exit{0}".format(self.label_number), True, False) self.codegen.unconditional_jump(label) #generate final 'false' label (executes if condition isn't satisfied) self.codegen.newline_label("false{0}".format(self.label_stack.pop()), True, True) self.label_stack.append(self.label_number) def if_end_action(self, text, loc, arg): """Code executed after recognising a whole if statement""" exshared.setpos(loc, text) if DEBUG > 0: print("IF_END:",arg) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return self.codegen.newline_label("exit{0}".format(self.label_stack.pop()), True, True) def while_begin_action(self, text, loc, arg): """Code executed after recognising a while statement (while keyword)""" exshared.setpos(loc, text) if DEBUG > 0: print("WHILE_BEGIN:",arg) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return self.false_label_number += 1 self.label_number = self.false_label_number self.codegen.newline_label("while{0}".format(self.label_number), True, True) def while_body_action(self, text, loc, arg): """Code executed after recognising while statement's body""" exshared.setpos(loc, text) if DEBUG > 0: print("WHILE_BODY:",arg) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return #generate conditional jump (based on last compare) label = self.codegen.label("false{0}".format(self.false_label_number), True, False) self.codegen.jump(self.relexp_code, True, label) #generate 'true' label (executes if condition is satisfied) self.codegen.newline_label("true{0}".format(self.label_number), True, True) self.label_stack.append(self.false_label_number) self.label_stack.append(self.label_number) def while_end_action(self, text, loc, arg): """Code executed after recognising a whole while statement""" exshared.setpos(loc, text) if DEBUG > 0: print("WHILE_END:",arg) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return #jump to condition checking after while statement body self.label_number = self.label_stack.pop() label = self.codegen.label("while{0}".format(self.label_number), True, False) self.codegen.unconditional_jump(label) #generate final 'false' label and exit label self.codegen.newline_label("false{0}".format(self.label_stack.pop()), True, True) self.codegen.newline_label("exit{0}".format(self.label_number), True, True) def program_end_action(self, text, loc, arg): """Checks if there is a 'main' function and the type of 'main' function""" exshared.setpos(loc, text) if DEBUG > 0: print("PROGRAM_END:",arg) if DEBUG == 2: self.symtab.display() if DEBUG > 2: return index = self.symtab.lookup_symbol("main",SharedData.KINDS.FUNCTION) if index == None: raise SemanticException("Undefined reference to 'main'", False) elif self.symtab.get_type(index) != SharedData.TYPES.INT: self.warning("Return type of 'main' is not int", False) def parse_text(self,text): """Parse string (helper function)""" try: return self.rProgram.ignore(cStyleComment).parseString(text, parseAll=True) except SemanticException as err: print(err) exit(3) except ParseException as err: print(err) exit(3) def parse_file(self,filename): """Parse file (helper function)""" try: return self.rProgram.ignore(cStyleComment).parseFile(filename, parseAll=True) except SemanticException as err: print(err) exit(3) except ParseException as err: print(err) exit(3) ########################################################################################## ########################################################################################## if 0: #main program mc = MicroC() output_file = "output.asm" if len(argv) == 1: input_file = stdin elif len(argv) == 2: input_file = argv[1] elif len(argv) == 3: input_file = argv[1] output_file = argv[2] else: usage = """Usage: {0} [input_file [output_file]] If output file is omitted, output.asm is used If input file is omitted, stdin is used""".format(argv[0]) print(usage) exit(1) try: parse = stdin if input_file == stdin else open(input_file,'r') except Exception: print("Input file '%s' open error" % input_file) exit(2) mc.parse_file(parse) #if you want to see the final symbol table, uncomment next line #mc.symtab.display() try: out = open(output_file, 'w') out.write(mc.codegen.code) out.close except Exception: print("Output file '%s' open error" % output_file) exit(2) ########################################################################################## ########################################################################################## if __name__ == "__main__": test_program_example = """ int a; int b; int c; unsigned d; int fun1(int x, unsigned y) { return 123; } int fun2(int a) { return 1 + a * fun1(a, 456u); } int main(int x, int y) { int w; unsigned z; if (9 > 8 && 2 < 3 || 6 != 5 && a <= b && c < x || w >= y) { a = b + 1; if (x == y) while (d < 4u) x = x * w; else while (a + b < c - y && x > 3 || y < 2) if (z > d) a = a - 4; else b = a * b * c * x / y; } else c = 4; a = fun1(x,d) + fun2(fun1(fun2(w + 3 * 2) + 2 * c, 2u)); return 2; } """ mc = MicroC() mc.parse_text(test_program_example) print(mc.codegen.code)pyparsing-2.0.1/examples/searchParserAppDemo.py0000644000175000017500000000164712053614273020323 0ustar zigozigofrom searchparser import SearchQueryParser products = [ "grape juice", "grape jelly", "orange juice", "orange jujubees", "strawberry jam", "prune juice", "prune butter", "orange marmalade", "grapefruit juice" ] class FruitSearchParser(SearchQueryParser): def GetWord(self, word): return set( p for p in products if p.startswith(word + " ") ) def GetWordWildcard(self, word): return set( p for p in products if p.startswith(word[:-1]) ) def GetQuotes(self, search_string, tmp_result): result = Set() # I have no idea how to use this feature... return result def GetNot(self, not_set): return set( products ) - not_set parser = FruitSearchParser() tests = """\ grape or orange grape* not(grape*) prune and grape""".splitlines() for t in tests: print(t.strip()) print(parser.Parse(t)) print()pyparsing-2.0.1/examples/lucene_grammar.py0000644000175000017500000001623612053633564017420 0ustar zigozigo# # lucene_grammar.py # # Copyright 2011, Paul McGuire # # implementation of Lucene grammar, as decribed # at http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/docs/queryparsersyntax.html # from pyparsing import (Literal, CaselessKeyword, Forward, Regex, QuotedString, Suppress, Optional, Group, FollowedBy, operatorPrecedence, opAssoc, ParseException, ParserElement) ParserElement.enablePackrat() COLON,LBRACK,RBRACK,LBRACE,RBRACE,TILDE,CARAT = map(Literal,":[]{}~^") LPAR,RPAR = map(Suppress,"()") and_ = CaselessKeyword("AND") or_ = CaselessKeyword("OR") not_ = CaselessKeyword("NOT") to_ = CaselessKeyword("TO") keyword = and_ | or_ | not_ expression = Forward() valid_word = Regex(r'([a-zA-Z0-9*_+.-]|\\[!(){}\[\]^"~*?\\:])+').setName("word") valid_word.setParseAction( lambda t : t[0].replace('\\\\',chr(127)).replace('\\','').replace(chr(127),'\\') ) string = QuotedString('"') required_modifier = Literal("+")("required") prohibit_modifier = Literal("-")("prohibit") integer = Regex(r"\d+").setParseAction(lambda t:int(t[0])) proximity_modifier = Group(TILDE + integer("proximity")) number = Regex(r'\d+(\.\d+)?').setParseAction(lambda t:float(t[0])) fuzzy_modifier = TILDE + Optional(number, default=0.5)("fuzzy") term = Forward() field_name = valid_word.copy().setName("fieldname") incl_range_search = Group(LBRACK + term("lower") + to_ + term("upper") + RBRACK) excl_range_search = Group(LBRACE + term("lower") + to_ + term("upper") + RBRACE) range_search = incl_range_search("incl_range") | excl_range_search("excl_range") boost = (CARAT + number("boost")) string_expr = Group(string + proximity_modifier) | string word_expr = Group(valid_word + fuzzy_modifier) | valid_word term << (Optional(field_name("field") + COLON) + (word_expr | string_expr | range_search | Group(LPAR + expression + RPAR)) + Optional(boost)) term.setParseAction(lambda t:[t] if 'field' in t or 'boost' in t else None) expression << operatorPrecedence(term, [ (required_modifier | prohibit_modifier, 1, opAssoc.RIGHT), ((not_ | '!').setParseAction(lambda:"NOT"), 1, opAssoc.RIGHT), ((and_ | '&&').setParseAction(lambda:"AND"), 2, opAssoc.LEFT), (Optional(or_ | '||').setParseAction(lambda:"OR"), 2, opAssoc.LEFT), ]) # test strings taken from grammar description doc, and TestQueryParser.java tests = r""" a and b a and not b a and !b a && !b a&&!b name:a name:a and not title:b (a^100 c d f) and !z name:"blah de blah" title:(+return +"pink panther") title:"The Right Way" AND text:go title:"Do it right" AND right title:Do it right roam~ roam~0.8 "jakarta apache"~10 mod_date:[20020101 TO 20030101] title:{Aida TO Carmen} jakarta apache jakarta^4 apache "jakarta apache"^4 "Apache Lucene" "jakarta apache" jakarta "jakarta apache" OR jakarta "jakarta apache" AND "Apache Lucene" +jakarta lucene "jakarta apache" NOT "Apache Lucene" "jakarta apache" -"Apache Lucene" (jakarta OR apache) AND website \(1+1\)\:2 c\:\\windows (fieldX:xxxxx OR fieldy:xxxxxxxx)^2 AND (fieldx:the OR fieldy:foo) (fieldX:xxxxx fieldy:xxxxxxxx)^2 AND (fieldx:the fieldy:foo) (fieldX:xxxxx~0.5 fieldy:xxxxxxxx)^2 AND (fieldx:the fieldy:foo) +term -term term foo:term AND field:anotherTerm germ term^2.0 (term)^2.0 (foo OR bar) AND (baz OR boo) +(apple \"steve jobs\") -(foo bar baz) +title:(dog OR cat) -author:\"bob dole\" a AND b +a +b (a AND b) c OR (a AND b) c (+a +b) a AND NOT b +a -b a AND -b a AND !b a && b a && ! b a OR b a b a || b a OR !b a -b a OR ! b a OR -b a - b a + b a ! b +foo:term +anotherterm hello term^2.0 (germ term)^2.0 term^2 +(foo bar) +(baz boo) ((a OR b) AND NOT c) OR d (+(a b) -c) d field a&&b .NET term germ 3 term 1.0 1 2 term term1 term2 term term term term* term*^2 term*^2.0 term~ term~2.0 term~0.7 term~^3 term~2.0^3.0 term*germ term*germ^3 term*germ^3.0 term~1.1 [A TO C] t*erm* *term* term term^3.0 term term stop^3.0 term term +stop term term -stop term drop AND (stop) AND roll +drop +roll term +(stop) term term -(stop) term drop AND stop AND roll term phrase term term (phrase1 phrase2) term term AND NOT phrase term +term -(phrase1 phrase2) term stop^3 stop (stop)^3 ((stop))^3 (stop^3) ((stop)^3) (stop) ((stop)) term +stop [ a TO z] [a TO z] [ a TO z ] { a TO z} {a TO z} { a TO z } { a TO z }^2.0 {a TO z}^2.0 [ a TO z] OR bar [a TO z] bar [ a TO z] AND bar +[a TO z] +bar ( bar blar { a TO z}) bar blar {a TO z} gack ( bar blar { a TO z}) gack (bar blar {a TO z}) [* TO Z] [* TO z] [A TO *] [a TO *] [* TO *] [\* TO \*] \!blah \:blah blah \~blah \*blah a a-b:c a+b:c a\:b:c a\\b:c a:b-c a:b+c a:b\:c a:b\\c a:b-c* a:b+c* a:b\:c* a:b\\c* a:b-c~2.0 a:b+c~2.0 a:b\:c~ a:b\\c~ [a- TO a+] [ a\\ TO a\* ] c\:\\temp\\\~foo.txt abc XYZ (item:\\ item:ABCD\\) \* * \\ a\:b\:c a\\b\:c a\:b\\c a\:b\:c\* a\:b\\\\c\* a:b-c~ a:b+c~ a\:b\:c\~ a\:b\\c\~ +weltbank +worlbank +term +term +term term +term term term term +term term +term +term -term term term -term +term +term on on^1.0 hello^2.0 the^3 the some phrase xunit~ one two three A AND B OR C AND D +A +B +C +D foo:zoo* foo:zoo*^2 zoo foo:* foo:*^2 *:foo a:the OR a:foo a:woo OR a:the *:* (*:*) +*:* -*:* the wizard of ozzy """.splitlines() failtests = r""" field:term:with:colon some more terms (sub query)^5.0^2.0 plus more a:b:c a:b:c~ a:b:c* a:b:c~2.0 \+blah \-blah foo \|| bar foo \AND bar \a a\-b:c a\+b:c a\b:c a:b\-c a:b\+c a\-b\:c a\+b\:c a:b\c* a:b\-c~ a:b\+c~ a:b\c a:b\-c* a:b\+c* [ a\- TO a\+ ] [a\ TO a*] a\\\+b a\+b c:\temp\~foo.txt XY\ a\u0062c a:b\c~2.0 XY\u005a XY\u005A item:\ item:ABCD\ \ a\ or b a\:b\-c a\:b\+c a\:b\-c\* a\:b\+c\* a\:b\-c\~ a\:b\+c\~ a:b\c~ [ a\ TO a* ] """.splitlines() allpass = True for t in [_f for _f in map(str.strip,tests) if _f]: print(t) try: #~ expression.parseString(t,parseAll=True) print(expression.parseString(t,parseAll=True)) except ParseException as pe: print(t) print(pe) allpass = False print() print(("OK", "FAIL")[not allpass]) pyparsing-2.0.1/examples/deltaTime.py0000644000175000017500000001561312053633723016342 0ustar zigozigo# deltaTime.py # # Parser to convert a conversational time reference such as "in a minute" or # "noon tomorrow" and convert it to a Python datetime. The returned # ParseResults object contains the results name "timeOffset" containing # the timedelta, and "calculatedTime" containing the computed time relative # to datetime.now(). # # Copyright 2010, by Paul McGuire # from datetime import datetime, timedelta from pyparsing import * import calendar __all__ = ["nlTimeExpression"] # string conversion parse actions def convertToTimedelta(toks): unit = toks.timeunit.lower().rstrip("s") td = { 'week' : timedelta(7), 'day' : timedelta(1), 'hour' : timedelta(0,0,0,0,0,1), 'minute' : timedelta(0,0,0,0,1), 'second' : timedelta(0,1), }[unit] if toks.qty: td *= int(toks.qty) if toks.dir: td *= toks.dir toks["timeOffset"] = td def convertToDay(toks): now = datetime.now() if "wkdayRef" in toks: todaynum = now.weekday() daynames = [n.lower() for n in calendar.day_name] nameddaynum = daynames.index(toks.wkdayRef.day.lower()) if toks.wkdayRef.dir > 0: daydiff = (nameddaynum + 7 - todaynum) % 7 else: daydiff = -((todaynum + 7 - nameddaynum) % 7) toks["absTime"] = datetime(now.year, now.month, now.day)+timedelta(daydiff) else: name = toks.name.lower() toks["absTime"] = { "now" : now, "today" : datetime(now.year, now.month, now.day), "yesterday" : datetime(now.year, now.month, now.day)+timedelta(-1), "tomorrow" : datetime(now.year, now.month, now.day)+timedelta(+1), }[name] def convertToAbsTime(toks): now = datetime.now() if "dayRef" in toks: day = toks.dayRef.absTime day = datetime(day.year, day.month, day.day) else: day = datetime(now.year, now.month, now.day) if "timeOfDay" in toks: if isinstance(toks.timeOfDay,str): timeOfDay = { "now" : timedelta(0, (now.hour*60+now.minute)*60+now.second, now.microsecond), "noon" : timedelta(0,0,0,0,0,12), "midnight" : timedelta(), }[toks.timeOfDay] else: hhmmss = toks.timeparts if hhmmss.miltime: hh,mm = hhmmss.miltime ss = 0 else: hh,mm,ss = (hhmmss.HH % 12), hhmmss.MM, hhmmss.SS if not mm: mm = 0 if not ss: ss = 0 if toks.timeOfDay.ampm == 'pm': hh += 12 timeOfDay = timedelta(0, (hh*60+mm)*60+ss, 0) else: timeOfDay = timedelta(0, (now.hour*60+now.minute)*60+now.second, now.microsecond) toks["absTime"] = day + timeOfDay def calculateTime(toks): if toks.absTime: absTime = toks.absTime else: absTime = datetime.now() if toks.timeOffset: absTime += toks.timeOffset toks["calculatedTime"] = absTime # grammar definitions CL = CaselessLiteral today, tomorrow, yesterday, noon, midnight, now = map( CL, "today tomorrow yesterday noon midnight now".split()) plural = lambda s : Combine(CL(s) + Optional(CL("s"))) week, day, hour, minute, second = map( plural, "week day hour minute second".split()) am = CL("am") pm = CL("pm") COLON = Suppress(':') # are these actually operators? in_ = CL("in").setParseAction(replaceWith(1)) from_ = CL("from").setParseAction(replaceWith(1)) before = CL("before").setParseAction(replaceWith(-1)) after = CL("after").setParseAction(replaceWith(1)) ago = CL("ago").setParseAction(replaceWith(-1)) next_ = CL("next").setParseAction(replaceWith(1)) last_ = CL("last").setParseAction(replaceWith(-1)) at_ = CL("at") couple = (Optional(CL("a")) + CL("couple") + Optional(CL("of"))).setParseAction(replaceWith(2)) a_qty = CL("a").setParseAction(replaceWith(1)) integer = Word(nums).setParseAction(lambda t:int(t[0])) int4 = Group(Word(nums,exact=4).setParseAction(lambda t: [int(t[0][:2]),int(t[0][2:])] )) qty = integer | couple | a_qty dayName = oneOf( list(calendar.day_name) ) dayOffset = (qty("qty") + (week | day)("timeunit")) dayFwdBack = (from_ + now.suppress() | ago)("dir") weekdayRef = (Optional(next_ | last_,1)("dir") + dayName("day")) dayRef = Optional( (dayOffset + (before | after | from_)("dir") ).setParseAction(convertToTimedelta) ) + \ ((yesterday | today | tomorrow)("name")| weekdayRef("wkdayRef")).setParseAction(convertToDay) todayRef = (dayOffset + dayFwdBack).setParseAction(convertToTimedelta) | \ (in_("dir") + qty("qty") + day("timeunit")).setParseAction(convertToTimedelta) dayTimeSpec = dayRef | todayRef dayTimeSpec.setParseAction(calculateTime) relativeTimeUnit = (week | day | hour | minute | second) timespec = Group(int4("miltime") | integer("HH") + Optional(COLON + integer("MM")) + Optional(COLON + integer("SS")) + (am | pm)("ampm") ) absTimeSpec = ((noon | midnight | now | timespec("timeparts"))("timeOfDay") + Optional(dayRef)("dayRef") | dayRef("dayRef") + at_ + (noon | midnight | now | timespec("timeparts"))("timeOfDay")) absTimeSpec.setParseAction(convertToAbsTime,calculateTime) relTimeSpec = qty("qty") + relativeTimeUnit("timeunit") + \ (from_ | before | after)("dir") + \ Optional(at_) + \ absTimeSpec("absTime") | \ qty("qty") + relativeTimeUnit("timeunit") + ago("dir") | \ in_ + qty("qty") + relativeTimeUnit("timeunit") relTimeSpec.setParseAction(convertToTimedelta,calculateTime) nlTimeExpression = (absTimeSpec + Optional(dayTimeSpec) | dayTimeSpec + Optional(Optional(at_) + absTimeSpec) | relTimeSpec + Optional(absTimeSpec)) # test grammar tests = """\ today tomorrow yesterday in a couple of days a couple of days from now a couple of days from today in a day 3 days ago 3 days from now a day ago in 2 weeks in 3 days at 5pm now 10 minutes ago 10 minutes from now in 10 minutes in a minute in a couple of minutes 20 seconds ago in 30 seconds 20 seconds before noon 20 seconds before noon tomorrow noon midnight noon tomorrow 6am tomorrow 0800 yesterday 12:15 AM today 3pm 2 days from today a week from today a week from now 3 weeks ago noon next Sunday noon Sunday noon last Sunday 2pm next Sunday next Sunday at 2pm""".splitlines() for t in tests: print(t, "(relative to %s)" % datetime.now()) res = nlTimeExpression.parseString(t) if "calculatedTime" in res: print(res.calculatedTime) else: print("???") print() pyparsing-2.0.1/examples/ebnftest.py0000644000175000017500000000442212053614270016234 0ustar zigozigoprint('Importing pyparsing...') from pyparsing import * print('Constructing EBNF parser with pyparsing...') import ebnf import sets grammar = ''' syntax = (syntax_rule), {(syntax_rule)}; syntax_rule = meta_identifier, '=', definitions_list, ';'; definitions_list = single_definition, {'|', single_definition}; single_definition = syntactic_term, {',', syntactic_term}; syntactic_term = syntactic_factor,['-', syntactic_factor]; syntactic_factor = [integer, '*'], syntactic_primary; syntactic_primary = optional_sequence | repeated_sequence | grouped_sequence | meta_identifier | terminal_string; optional_sequence = '[', definitions_list, ']'; repeated_sequence = '{', definitions_list, '}'; grouped_sequence = '(', definitions_list, ')'; (* terminal_string = "'", character - "'", {character - "'"}, "'" | '"', character - '"', {character - '"'}, '"'; meta_identifier = letter, {letter | digit}; integer = digit, {digit}; *) ''' table = {} #~ table['character'] = Word(printables, exact=1) #~ table['letter'] = Word(alphas + '_', exact=1) #~ table['digit'] = Word(nums, exact=1) table['terminal_string'] = sglQuotedString table['meta_identifier'] = Word(alphas+"_", alphas+"_"+nums) table['integer'] = Word(nums) print('Parsing EBNF grammar with EBNF parser...') parsers = ebnf.parse(grammar, table) ebnf_parser = parsers['syntax'] commentcharcount = 0 commentlocs = sets.Set() def tallyCommentChars(s,l,t): global commentcharcount,commentlocs # only count this comment if we haven't seen it before if l not in commentlocs: charCount = ( len(t[0]) - len(list(filter(str.isspace, t[0]))) ) commentcharcount += charCount commentlocs.add(l) return l,t #ordinarily, these lines wouldn't be necessary, but we are doing extra stuff with the comment expression ebnf.ebnfComment.setParseAction( tallyCommentChars ) ebnf_parser.ignore( ebnf.ebnfComment ) print('Parsing EBNF grammar with generated EBNF parser...\n') parsed_chars = ebnf_parser.parseString(grammar) parsed_char_len = len(parsed_chars) print("],\n".join(str( parsed_chars.asList() ).split("],"))) #~ grammar_length = len(grammar) - len(filter(str.isspace, grammar))-commentcharcount #~ assert parsed_char_len == grammar_length print('Ok!') pyparsing-2.0.1/examples/searchparser.py0000644000175000017500000002476112053614274017120 0ustar zigozigo"""Search query parser version 2006-03-09 This search query parser uses the excellent Pyparsing module (http://pyparsing.sourceforge.net/) to parse search queries by users. It handles: * 'and', 'or' and implicit 'and' operators; * parentheses; * quoted strings; * wildcards at the end of a search term (help*); Requirements: * Python * Pyparsing If you run this script, it will perform a number of tests. To use is as a module, you should use inheritance on the SearchQueryParser class and overwrite the Get... methods. The ParserTest class gives a very simple example of how this could work. ------------------------------------------------------------------------------- Copyright (c) 2006, Estrate, the Netherlands All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Estrate nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. CONTRIBUTORS: - Steven Mooij - Rudolph Froger - Paul McGuire TODO: - add more docs - ask someone to check my English texts - add more kinds of wildcards ('*' at the beginning and '*' inside a word)? """ from pyparsing import Word, alphanums, Keyword, Group, Combine, Forward, Suppress, Optional, OneOrMore, oneOf from sets import Set class SearchQueryParser: def __init__(self): self._methods = { 'and': self.evaluateAnd, 'or': self.evaluateOr, 'not': self.evaluateNot, 'parenthesis': self.evaluateParenthesis, 'quotes': self.evaluateQuotes, 'word': self.evaluateWord, 'wordwildcard': self.evaluateWordWildcard, } self._parser = self.parser() def parser(self): """ This function returns a parser. The grammar should be like most full text search engines (Google, Tsearch, Lucene). Grammar: - a query consists of alphanumeric words, with an optional '*' wildcard at the end of a word - a sequence of words between quotes is a literal string - words can be used together by using operators ('and' or 'or') - words with operators can be grouped with parenthesis - a word or group of words can be preceded by a 'not' operator - the 'and' operator precedes an 'or' operator - if an operator is missing, use an 'and' operator """ operatorOr = Forward() operatorWord = Group(Combine(Word(alphanums) + Suppress('*'))).setResultsName('wordwildcard') | \ Group(Word(alphanums)).setResultsName('word') operatorQuotesContent = Forward() operatorQuotesContent << ( (operatorWord + operatorQuotesContent) | operatorWord ) operatorQuotes = Group( Suppress('"') + operatorQuotesContent + Suppress('"') ).setResultsName("quotes") | operatorWord operatorParenthesis = Group( (Suppress("(") + operatorOr + Suppress(")")) ).setResultsName("parenthesis") | operatorQuotes operatorNot = Forward() operatorNot << (Group( Suppress(Keyword("not", caseless=True)) + operatorNot ).setResultsName("not") | operatorParenthesis) operatorAnd = Forward() operatorAnd << (Group( operatorNot + Suppress(Keyword("and", caseless=True)) + operatorAnd ).setResultsName("and") | Group( operatorNot + OneOrMore(~oneOf("and or") + operatorAnd) ).setResultsName("and") | operatorNot) operatorOr << (Group( operatorAnd + Suppress(Keyword("or", caseless=True)) + operatorOr ).setResultsName("or") | operatorAnd) return operatorOr.parseString def evaluateAnd(self, argument): return self.evaluate(argument[0]).intersection(self.evaluate(argument[1])) def evaluateOr(self, argument): return self.evaluate(argument[0]).union(self.evaluate(argument[1])) def evaluateNot(self, argument): return self.GetNot(self.evaluate(argument[0])) def evaluateParenthesis(self, argument): return self.evaluate(argument[0]) def evaluateQuotes(self, argument): """Evaluate quoted strings First is does an 'and' on the indidual search terms, then it asks the function GetQuoted to only return the subset of ID's that contain the literal string. """ r = Set() search_terms = [] for item in argument: search_terms.append(item[0]) if len(r) == 0: r = self.evaluate(item) else: r = r.intersection(self.evaluate(item)) return self.GetQuotes(' '.join(search_terms), r) def evaluateWord(self, argument): return self.GetWord(argument[0]) def evaluateWordWildcard(self, argument): return self.GetWordWildcard(argument[0]) def evaluate(self, argument): return self._methods[argument.getName()](argument) def Parse(self, query): #print self._parser(query)[0] return self.evaluate(self._parser(query)[0]) def GetWord(self, word): return Set() def GetWordWildcard(self, word): return Set() def GetQuotes(self, search_string, tmp_result): return Set() def GetNot(self, not_set): return Set().difference(not_set) class ParserTest(SearchQueryParser): """Tests the parser with some search queries tests containts a dictionary with tests and expected results. """ tests = { 'help': Set([1, 2, 4, 5]), 'help or hulp': Set([1, 2, 3, 4, 5]), 'help and hulp': Set([2]), 'help hulp': Set([2]), 'help and hulp or hilp': Set([2, 3, 4]), 'help or hulp and hilp': Set([1, 2, 3, 4, 5]), 'help or hulp or hilp or halp': Set([1, 2, 3, 4, 5, 6]), '(help or hulp) and (hilp or halp)': Set([3, 4, 5]), 'help and (hilp or halp)': Set([4, 5]), '(help and (hilp or halp)) or hulp': Set([2, 3, 4, 5]), 'not help': Set([3, 6, 7, 8]), 'not hulp and halp': Set([5, 6]), 'not (help and halp)': Set([1, 2, 3, 4, 6, 7, 8]), '"help me please"': Set([2]), '"help me please" or hulp': Set([2, 3]), '"help me please" or (hulp and halp)': Set([2]), 'help*': Set([1, 2, 4, 5, 8]), 'help or hulp*': Set([1, 2, 3, 4, 5]), 'help* and hulp': Set([2]), 'help and hulp* or hilp': Set([2, 3, 4]), 'help* or hulp or hilp or halp': Set([1, 2, 3, 4, 5, 6, 8]), '(help or hulp*) and (hilp* or halp)': Set([3, 4, 5]), 'help* and (hilp* or halp*)': Set([4, 5]), '(help and (hilp* or halp)) or hulp*': Set([2, 3, 4, 5]), 'not help* and halp': Set([6]), 'not (help* and helpe*)': Set([1, 2, 3, 4, 5, 6, 7]), '"help* me please"': Set([2]), '"help* me* please" or hulp*': Set([2, 3]), '"help me please*" or (hulp and halp)': Set([2]), '"help me please" not (hulp and halp)': Set([2]), '"help me please" hulp': Set([2]), 'help and hilp and not holp': Set([4]), 'help hilp not holp': Set([4]), 'help hilp and not holp': Set([4]), } docs = { 1: 'help', 2: 'help me please hulp', 3: 'hulp hilp', 4: 'help hilp', 5: 'halp thinks he needs help', 6: 'he needs halp', 7: 'nothing', 8: 'helper', } index = { 'help': Set((1, 2, 4, 5)), 'me': Set((2,)), 'please': Set((2,)), 'hulp': Set((2, 3,)), 'hilp': Set((3, 4,)), 'halp': Set((5, 6,)), 'thinks': Set((5,)), 'he': Set((5, 6,)), 'needs': Set((5, 6,)), 'nothing': Set((7,)), 'helper': Set((8,)), } def GetWord(self, word): if (word in self.index): return self.index[word] else: return Set() def GetWordWildcard(self, word): result = Set() for item in list(self.index.keys()): if word == item[0:len(word)]: result = result.union(self.index[item]) return result def GetQuotes(self, search_string, tmp_result): result = Set() for item in tmp_result: if self.docs[item].count(search_string): result.add(item) return result def GetNot(self, not_set): all = Set(list(self.docs.keys())) return all.difference(not_set) def Test(self): all_ok = True for item in list(self.tests.keys()): print(item) r = self.Parse(item) e = self.tests[item] print('Result: %s' % r) print('Expect: %s' % e) if e == r: print('Test OK') else: all_ok = False print('>>>>>>>>>>>>>>>>>>>>>>Test ERROR<<<<<<<<<<<<<<<<<<<<<') print('') return all_ok if __name__=='__main__': if ParserTest().Test(): print('All tests OK') else: print('One or more tests FAILED') pyparsing-2.0.1/examples/macroExpander.py0000644000175000017500000000346412053614271017220 0ustar zigozigo# macroExpander.py # # Example pyparsing program for performing macro expansion, similar to # the C pre-processor. This program is not as fully-featured, simply # processing macros of the form: # #def xxx yyyyy # and replacing xxx with yyyyy in the rest of the input string. Macros # can also be composed using other macros, such as # #def zzz xxx+1 # Since xxx was previously defined as yyyyy, then zzz will be replaced # with yyyyy+1. # # Copyright 2007 by Paul McGuire # from pyparsing import * # define the structure of a macro definition (the empty term is used # to advance to the next non-whitespace character) macroDef = "#def" + Word(alphas+"_",alphanums+"_").setResultsName("macro") + \ empty + restOfLine.setResultsName("value") # define a placeholder for defined macros - initially nothing macroExpr = Forward() # global dictionary for macro definitions macros = {} # parse action for macro definitions def processMacroDefn(s,l,t): macroVal = macroExpander.transformString(t.value) macros[t.macro] = macroVal macroExpr << MatchFirst( list(map(Keyword,list(macros.keys()))) ) return "#def " + t.macro + " " + macroVal # parse action to replace macro references with their respective definition def processMacroRef(s,l,t): return macros[t[0]] # attach parse actions to expressions macroExpr.setParseAction(processMacroRef) macroDef.setParseAction(processMacroDefn) # define pattern for scanning through the input string macroExpander = macroExpr | macroDef # test macro substitution using transformString testString = """ #def A 100 #def ALEN A+1 char Astring[ALEN]; char AA[A]; typedef char[ALEN] Acharbuf; """ print(macroExpander.transformString(testString)) print(macros) pyparsing-2.0.1/examples/oc.py0000644000175000017500000000743712053633523015036 0ustar zigozigo# oc.py # # A subset-C parser, (BNF taken from 1996 International Obfuscated C Code Contest) # # Copyright, 2010, Paul McGuire # """ http://www.ioccc.org/1996/august.hint The following is a description of the OC grammar: OC grammar ========== Terminals are in quotes, () is used for bracketing. program: decl* decl: vardecl fundecl vardecl: type NAME ; type NAME "[" INT "]" ; fundecl: type NAME "(" args ")" "{" body "}" args: /*empty*/ ( arg "," )* arg arg: type NAME body: vardecl* stmt* stmt: ifstmt whilestmt dowhilestmt "return" expr ";" expr ";" "{" stmt* "}" ";" ifstmt: "if" "(" expr ")" stmt "if" "(" expr ")" stmt "else" stmt whilestmt: "while" "(" expr ")" stmt dowhilestmt: "do" stmt "while" "(" expr ")" ";" expr: expr binop expr unop expr expr "[" expr "]" "(" expr ")" expr "(" exprs ")" NAME INT CHAR STRING exprs: /*empty*/ (expr ",")* expr binop: "+" | "-" | "*" | "/" | "%" | "=" | "<" | "==" | "!=" unop: "!" | "-" | "*" type: "int" stars "char" stars stars: "*"* """ from pyparsing import * LPAR,RPAR,LBRACK,RBRACK,LBRACE,RBRACE,SEMI,COMMA = map(Suppress, "()[]{};,") INT = Keyword("int") CHAR = Keyword("char") WHILE = Keyword("while") DO = Keyword("do") IF = Keyword("if") ELSE = Keyword("else") RETURN = Keyword("return") NAME = Word(alphas+"_", alphanums+"_") integer = Regex(r"[+-]?\d+") char = Regex(r"'.'") string_ = dblQuotedString INT = Keyword("int") CHAR = Keyword("char") TYPE = Group((INT | CHAR) + ZeroOrMore("*")) expr = Forward() operand = NAME | integer | char | string_ expr << (operatorPrecedence(operand, [ (oneOf('! - *'), 1, opAssoc.RIGHT), (oneOf('++ --'), 1, opAssoc.RIGHT), (oneOf('++ --'), 1, opAssoc.LEFT), (oneOf('* / %'), 2, opAssoc.LEFT), (oneOf('+ -'), 2, opAssoc.LEFT), (oneOf('< == > <= >= !='), 2, opAssoc.LEFT), (Regex(r'=[^=]'), 2, opAssoc.LEFT), ]) + Optional( LBRACK + expr + RBRACK | LPAR + Group(Optional(delimitedList(expr))) + RPAR ) ) stmt = Forward() ifstmt = IF - LPAR + expr + RPAR + stmt + Optional(ELSE + stmt) whilestmt = WHILE - LPAR + expr + RPAR + stmt dowhilestmt = DO - stmt + WHILE + LPAR + expr + RPAR + SEMI returnstmt = RETURN - expr + SEMI stmt << Group( ifstmt | whilestmt | dowhilestmt | returnstmt | expr + SEMI | LBRACE + ZeroOrMore(stmt) + RBRACE | SEMI) vardecl = Group(TYPE + NAME + Optional(LBRACK + integer + RBRACK)) + SEMI arg = Group(TYPE + NAME) body = ZeroOrMore(vardecl) + ZeroOrMore(stmt) fundecl = Group(TYPE + NAME + LPAR + Optional(Group(delimitedList(arg))) + RPAR + LBRACE + Group(body) + RBRACE) decl = fundecl | vardecl program = ZeroOrMore(decl) program.ignore(cStyleComment) # set parser element names for vname in ("ifstmt whilestmt dowhilestmt returnstmt TYPE " "NAME fundecl vardecl program arg body stmt".split()): v = vars()[vname] v.setName(vname) #~ for vname in "fundecl stmt".split(): #~ v = vars()[vname] #~ v.setDebug() test = r""" /* A factorial program */ int putstr(char *s) { while(*s) putchar(*s++); } int fac(int n) { if (n == 0) return 1; else return n*fac(n-1); } int putn(int n) { if (9 < n) putn(n / 10); putchar((n%10) + '0'); } int facpr(int n) { putstr("factorial "); putn(n); putstr(" = "); putn(fac(n)); putstr("\n"); } int main() { int i; i = 0; while(i < 10) facpr(i++); return 0; } """ ast = program.parseString(test,parseAll=True) import pprint pprint.pprint(ast.asList()) pyparsing-2.0.1/examples/fourFn.py0000644000175000017500000001603412053614270015663 0ustar zigozigo# fourFn.py # # Demonstration of the pyparsing module, implementing a simple 4-function expression parser, # with support for scientific notation, and symbols for e and pi. # Extended to add exponentiation and simple built-in functions. # Extended test cases, simplified pushFirst method. # Removed unnecessary expr.suppress() call (thanks Nathaniel Peterson!), and added Group # Changed fnumber to use a Regex, which is now the preferred method # # Copyright 2003-2009 by Paul McGuire # from pyparsing import Literal,CaselessLiteral,Word,Group,Optional,\ ZeroOrMore,Forward,nums,alphas,Regex,ParseException import math import operator exprStack = [] def pushFirst( strg, loc, toks ): exprStack.append( toks[0] ) def pushUMinus( strg, loc, toks ): for t in toks: if t == '-': exprStack.append( 'unary -' ) #~ exprStack.append( '-1' ) #~ exprStack.append( '*' ) else: break bnf = None def BNF(): """ expop :: '^' multop :: '*' | '/' addop :: '+' | '-' integer :: ['+' | '-'] '0'..'9'+ atom :: PI | E | real | fn '(' expr ')' | '(' expr ')' factor :: atom [ expop factor ]* term :: factor [ multop factor ]* expr :: term [ addop term ]* """ global bnf if not bnf: point = Literal( "." ) e = CaselessLiteral( "E" ) #~ fnumber = Combine( Word( "+-"+nums, nums ) + #~ Optional( point + Optional( Word( nums ) ) ) + #~ Optional( e + Word( "+-"+nums, nums ) ) ) fnumber = Regex(r"[+-]?\d+(:?\.\d*)?(:?[eE][+-]?\d+)?") ident = Word(alphas, alphas+nums+"_$") plus = Literal( "+" ) minus = Literal( "-" ) mult = Literal( "*" ) div = Literal( "/" ) lpar = Literal( "(" ).suppress() rpar = Literal( ")" ).suppress() addop = plus | minus multop = mult | div expop = Literal( "^" ) pi = CaselessLiteral( "PI" ) expr = Forward() atom = ((0,None)*minus + ( pi | e | fnumber | ident + lpar + expr + rpar | ident ).setParseAction( pushFirst ) | Group( lpar + expr + rpar )).setParseAction(pushUMinus) # by defining exponentiation as "atom [ ^ factor ]..." instead of "atom [ ^ atom ]...", we get right-to-left exponents, instead of left-to-righ # that is, 2^3^2 = 2^(3^2), not (2^3)^2. factor = Forward() factor << atom + ZeroOrMore( ( expop + factor ).setParseAction( pushFirst ) ) term = factor + ZeroOrMore( ( multop + factor ).setParseAction( pushFirst ) ) expr << term + ZeroOrMore( ( addop + term ).setParseAction( pushFirst ) ) bnf = expr return bnf # map operator symbols to corresponding arithmetic operations epsilon = 1e-12 opn = { "+" : operator.add, "-" : operator.sub, "*" : operator.mul, "/" : operator.truediv, "^" : operator.pow } fn = { "sin" : math.sin, "cos" : math.cos, "tan" : math.tan, "abs" : abs, "trunc" : lambda a: int(a), "round" : round, "sgn" : lambda a: abs(a)>epsilon and cmp(a,0) or 0} def evaluateStack( s ): op = s.pop() if op == 'unary -': return -evaluateStack( s ) if op in "+-*/^": op2 = evaluateStack( s ) op1 = evaluateStack( s ) return opn[op]( op1, op2 ) elif op == "PI": return math.pi # 3.1415926535 elif op == "E": return math.e # 2.718281828 elif op in fn: return fn[op]( evaluateStack( s ) ) elif op[0].isalpha(): raise Exception("invalid identifier '%s'" % op) else: return float( op ) if __name__ == "__main__": def test( s, expVal ): global exprStack exprStack = [] try: results = BNF().parseString( s, parseAll=True ) val = evaluateStack( exprStack[:] ) except ParseException as e: print(s, "failed parse:", str(pe)) except Exception as e: print(s, "failed eval:", str(e)) else: if val == expVal: print(s, "=", val, results, "=>", exprStack) else: print(s+"!!!", val, "!=", expVal, results, "=>", exprStack) test( "9", 9 ) test( "-9", -9 ) test( "--9", 9 ) test( "-E", -math.e ) test( "9 + 3 + 6", 9 + 3 + 6 ) test( "9 + 3 / 11", 9 + 3.0 / 11 ) test( "(9 + 3)", (9 + 3) ) test( "(9+3) / 11", (9+3.0) / 11 ) test( "9 - 12 - 6", 9 - 12 - 6 ) test( "9 - (12 - 6)", 9 - (12 - 6) ) test( "2*3.14159", 2*3.14159 ) test( "3.1415926535*3.1415926535 / 10", 3.1415926535*3.1415926535 / 10 ) test( "PI * PI / 10", math.pi * math.pi / 10 ) test( "PI*PI/10", math.pi*math.pi/10 ) test( "PI^2", math.pi**2 ) test( "round(PI^2)", round(math.pi**2) ) test( "6.02E23 * 8.048", 6.02E23 * 8.048 ) test( "e / 3", math.e / 3 ) test( "sin(PI/2)", math.sin(math.pi/2) ) test( "trunc(E)", int(math.e) ) test( "trunc(-E)", int(-math.e) ) test( "round(E)", round(math.e) ) test( "round(-E)", round(-math.e) ) test( "E^PI", math.e**math.pi ) test( "2^3^2", 2**3**2 ) test( "2^3+2", 2**3+2 ) test( "2^3+5", 2**3+5 ) test( "2^9", 2**9 ) test( "sgn(-2)", -1 ) test( "sgn(0)", 0 ) test( "foo(0.1)", 1 ) test( "sgn(0.1)", 1 ) """ Test output: >pythonw -u fourFn.py 9 = 9.0 ['9'] => ['9'] 9 + 3 + 6 = 18.0 ['9', '+', '3', '+', '6'] => ['9', '3', '+', '6', '+'] 9 + 3 / 11 = 9.27272727273 ['9', '+', '3', '/', '11'] => ['9', '3', '11', '/', '+'] (9 + 3) = 12.0 [] => ['9', '3', '+'] (9+3) / 11 = 1.09090909091 ['/', '11'] => ['9', '3', '+', '11', '/'] 9 - 12 - 6 = -9.0 ['9', '-', '12', '-', '6'] => ['9', '12', '-', '6', '-'] 9 - (12 - 6) = 3.0 ['9', '-'] => ['9', '12', '6', '-', '-'] 2*3.14159 = 6.28318 ['2', '*', '3.14159'] => ['2', '3.14159', '*'] 3.1415926535*3.1415926535 / 10 = 0.986960440053 ['3.1415926535', '*', '3.1415926535', '/', '10'] => ['3.1415926535', '3.1415926535', '*', '10', '/'] PI * PI / 10 = 0.986960440109 ['PI', '*', 'PI', '/', '10'] => ['PI', 'PI', '*', '10', '/'] PI*PI/10 = 0.986960440109 ['PI', '*', 'PI', '/', '10'] => ['PI', 'PI', '*', '10', '/'] PI^2 = 9.86960440109 ['PI', '^', '2'] => ['PI', '2', '^'] 6.02E23 * 8.048 = 4.844896e+024 ['6.02E23', '*', '8.048'] => ['6.02E23', '8.048', '*'] e / 3 = 0.90609394282 ['E', '/', '3'] => ['E', '3', '/'] sin(PI/2) = 1.0 ['sin', 'PI', '/', '2'] => ['PI', '2', '/', 'sin'] trunc(E) = 2 ['trunc', 'E'] => ['E', 'trunc'] E^PI = 23.1406926328 ['E', '^', 'PI'] => ['E', 'PI', '^'] 2^3^2 = 512.0 ['2', '^', '3', '^', '2'] => ['2', '3', '2', '^', '^'] 2^3+2 = 10.0 ['2', '^', '3', '+', '2'] => ['2', '3', '^', '2', '+'] 2^9 = 512.0 ['2', '^', '9'] => ['2', '9', '^'] sgn(-2) = -1 ['sgn', '-2'] => ['-2', 'sgn'] sgn(0) = 0 ['sgn', '0'] => ['0', 'sgn'] sgn(0.1) = 1 ['sgn', '0.1'] => ['0.1', 'sgn'] >Exit code: 0 """ pyparsing-2.0.1/examples/makeHTMLTagExample.py0000644000175000017500000000143412053614271017775 0ustar zigozigoimport urllib.request, urllib.parse, urllib.error from pyparsing import makeHTMLTags, SkipTo # read HTML from a web page serverListPage = urllib.request.urlopen( "http://www.yahoo.com" ) htmlText = serverListPage.read() serverListPage.close() # using makeHTMLTags to define opening and closing tags anchorStart,anchorEnd = makeHTMLTags("a") # compose an expression for an anchored reference anchor = anchorStart + SkipTo(anchorEnd)("body") + anchorEnd # use scanString to scan through the HTML source, extracting # just the anchor tags and their associated body text # (note the href attribute of the opening A tag is available # as an attribute in the returned parse results) for tokens,start,end in anchor.scanString(htmlText): print(tokens.body,'->',tokens.href) pyparsing-2.0.1/examples/dfmparse.py0000644000175000017500000001542512053614267016236 0ustar zigozigo""" This module can parse a Delphi Form (dfm) file. The main is used in experimenting (to find which files fail to parse, and where), but isn't useful for anything else. """ __version__ = "1.0" __author__ = "Daniel 'Dang' Griffith " from pyparsing import Literal, CaselessLiteral, Word, delimitedList \ , Optional, Combine, Group, alphas, nums, alphanums, Forward \ , oneOf, sglQuotedString, OneOrMore, ZeroOrMore, CharsNotIn # This converts DFM character constants into Python string (unicode) values. def to_chr(x): """chr(x) if 0 < x < 128 ; unicode(x) if x > 127.""" return 0 < x < 128 and chr(x) or eval("u'\\u%d'" % x ) ################# # BEGIN GRAMMAR ################# COLON = Literal(":").suppress() CONCAT = Literal("+").suppress() EQUALS = Literal("=").suppress() LANGLE = Literal("<").suppress() LBRACE = Literal("[").suppress() LPAREN = Literal("(").suppress() PERIOD = Literal(".").suppress() RANGLE = Literal(">").suppress() RBRACE = Literal("]").suppress() RPAREN = Literal(")").suppress() CATEGORIES = CaselessLiteral("categories").suppress() END = CaselessLiteral("end").suppress() FONT = CaselessLiteral("font").suppress() HINT = CaselessLiteral("hint").suppress() ITEM = CaselessLiteral("item").suppress() OBJECT = CaselessLiteral("object").suppress() attribute_value_pair = Forward() # this is recursed in item_list_entry simple_identifier = Word(alphas, alphanums + "_") identifier = Combine( simple_identifier + ZeroOrMore( Literal(".") + simple_identifier )) object_name = identifier object_type = identifier # Integer and floating point values are converted to Python longs and floats, respectively. int_value = Combine(Optional("-") + Word(nums)).setParseAction(lambda s,l,t: [ int(t[0]) ] ) float_value = Combine(Optional("-") + Optional(Word(nums)) + "." + Word(nums)).setParseAction(lambda s,l,t: [ float(t[0]) ] ) number_value = float_value | int_value # Base16 constants are left in string form, including the surrounding braces. base16_value = Combine(Literal("{") + OneOrMore(Word("0123456789ABCDEFabcdef")) + Literal("}"), adjacent=False) # This is the first part of a hack to convert the various delphi partial sglQuotedStrings # into a single sglQuotedString equivalent. The gist of it is to combine # all sglQuotedStrings (with their surrounding quotes removed (suppressed)) # with sequences of #xyz character constants, with "strings" concatenated # with a '+' sign. unquoted_sglQuotedString = Combine( Literal("'").suppress() + ZeroOrMore( CharsNotIn("'\n\r") ) + Literal("'").suppress() ) # The parse action on this production converts repetitions of constants into a single string. pound_char = Combine( OneOrMore((Literal("#").suppress()+Word(nums) ).setParseAction( lambda s, l, t: to_chr(int(t[0]) )))) # This is the second part of the hack. It combines the various "unquoted" # partial strings into a single one. Then, the parse action puts # a single matched pair of quotes around it. delphi_string = Combine( OneOrMore(CONCAT | pound_char | unquoted_sglQuotedString) , adjacent=False ).setParseAction(lambda s, l, t: "'%s'" % t[0]) string_value = delphi_string | base16_value list_value = LBRACE + Optional(Group(delimitedList(identifier | number_value | string_value))) + RBRACE paren_list_value = LPAREN + ZeroOrMore(identifier | number_value | string_value) + RPAREN item_list_entry = ITEM + ZeroOrMore(attribute_value_pair) + END item_list = LANGLE + ZeroOrMore(item_list_entry) + RANGLE generic_value = identifier value = item_list | number_value | string_value | list_value | paren_list_value | generic_value category_attribute = CATEGORIES + PERIOD + oneOf("strings itemsvisibles visibles", True) event_attribute = oneOf("onactivate onclosequery onclose oncreate ondeactivate onhide onshow", True) font_attribute = FONT + PERIOD + oneOf("charset color height name style", True) hint_attribute = HINT layout_attribute = oneOf("left top width height", True) generic_attribute = identifier attribute = (category_attribute | event_attribute | font_attribute | hint_attribute | layout_attribute | generic_attribute) category_attribute_value_pair = category_attribute + EQUALS + paren_list_value event_attribute_value_pair = event_attribute + EQUALS + value font_attribute_value_pair = font_attribute + EQUALS + value hint_attribute_value_pair = hint_attribute + EQUALS + value layout_attribute_value_pair = layout_attribute + EQUALS + value generic_attribute_value_pair = attribute + EQUALS + value attribute_value_pair << Group( category_attribute_value_pair | event_attribute_value_pair | font_attribute_value_pair | hint_attribute_value_pair | layout_attribute_value_pair | generic_attribute_value_pair ) object_declaration = Group((OBJECT + object_name + COLON + object_type)) object_attributes = Group(ZeroOrMore(attribute_value_pair)) nested_object = Forward() object_definition = object_declaration + object_attributes + ZeroOrMore(nested_object) + END nested_object << Group(object_definition) ################# # END GRAMMAR ################# def printer(s, loc, tok): print(tok, end=' ') return tok def get_filename_list(tf): import sys, glob if tf == None: tf = sys.argv[1:] elif type(tf) == str: tf = [tf] testfiles = [] for arg in tf: for i in glob.glob(arg): testfiles.append(i) return testfiles def main(testfiles=None, action=printer): """testfiles can be None, in which case the command line arguments are used as filenames. testfiles can be a string, in which case that file is parsed. testfiles can be a list. In all cases, the filenames will be globbed. If more than one file is parsed successfully, a dictionary of ParseResults is returned. Otherwise, a simple ParseResults is returned. """ testfiles = get_filename_list(testfiles) if action: for i in (simple_identifier, value, item_list): i.setParseAction(action) success = 0 failures = [] retval = {} for f in testfiles: try: retval[f] = object_definition.parseFile(f) success += 1 except: failures.append(f) if failures: print('\nfailed while processing %s' % ', '.join(failures)) print('\nsucceeded on %d of %d files' %(success, len(testfiles))) if len(retval) == 1 and len(testfiles) == 1: # if only one file is parsed, return the parseResults directly return retval[list(retval.keys())[0]] # else, return a dictionary of parseResults return retval if __name__ == "__main__": main()pyparsing-2.0.1/examples/commasep.py0000644000175000017500000000135012053614267016231 0ustar zigozigo# commasep.py # # comma-separated list example, to illustrate the advantages of using # the pyparsing commaSeparatedList as opposed to string.split(","): # - leading and trailing whitespace is implicitly trimmed from list elements # - list elements can be quoted strings, which can safely contain commas without breaking # into separate elements from pyparsing import commaSeparatedList testData = [ "a,b,c,100.2,,3", "d, e, j k , m ", "'Hello, World', f, g , , 5.1,x", "John Doe, 123 Main St., Cleveland, Ohio", "Jane Doe, 456 St. James St., Los Angeles , California ", "", ] for line in testData: print(commaSeparatedList.parseString(line)) print(line.split(",")) print() pyparsing-2.0.1/examples/datetimeParseActions.py0000644000175000017500000000305612053614267020542 0ustar zigozigo# parseActions.py # # A sample program a parser to match a date string of the form "YYYY/MM/DD", # and return it as a datetime, or raise an exception if not a valid date. # # Copyright 2012, Paul T. McGuire # from datetime import datetime from pyparsing import * # define an integer string, and a parse action to convert it # to an integer at parse time integer = Word(nums) def convertToInt(tokens): # no need to test for validity - we can't get here # unless tokens[0] contains all numeric digits return int(tokens[0]) integer.setParseAction(convertToInt) # or can be written as one line as #integer = Word(nums).setParseAction(lambda t: int(t[0])) # define a pattern for a year/month/day date date = integer('year') + '/' + integer('month') + '/' + integer('day') def convertToDatetime(s,loc,tokens): try: # note that the year, month, and day fields were already # converted to ints from strings by the parse action defined # on the integer expression above return datetime(tokens.year, tokens.month, tokens.day) except Exception as ve: errmsg = "'%d/%d/%d' is not a valid date, %s" % \ (tokens.year, tokens.month, tokens.day, ve) raise ParseException(s, loc, errmsg) date.setParseAction(convertToDatetime) def test(s): try: print(date.parseString(s)) except ParseException as pe: print(pe) test("2000/1/1") test("2000/13/1") # invalid month test("1900/2/29") # 1900 was not a leap year test("2000/2/29") # but 2000 was pyparsing-2.0.1/examples/adventureEngine.py0000644000175000017500000005016312053614266017555 0ustar zigozigo# adventureEngine.py # Copyright 2005-2006, Paul McGuire # # Updated 2012 - latest pyparsing API # from pyparsing import * import random import string def aOrAn( item ): if item.desc[0] in "aeiou": return "an " + item.desc else: return "a " + item.desc def enumerateItems(l): if len(l) == 0: return "nothing" out = [] if len(l) > 1: out.append(', '.join(aOrAn(item) for item in l[:-1])) out.append('and') out.append(aOrAn(l[-1])) return " ".join(out) def enumerateDoors(l): if len(l) == 0: return "" out = [] if len(l) > 1: out.append(', '.join(l[:-1])) out.append("and") out.append(l[-1]) return " ".join(out) class Room(object): def __init__(self, desc): self.desc = desc self.inv = [] self.gameOver = False self.doors = [None,None,None,None] def __getattr__(self,attr): return \ { "n":self.doors[0], "s":self.doors[1], "e":self.doors[2], "w":self.doors[3], }[attr] def enter(self,player): if self.gameOver: player.gameOver = True def addItem(self, it): self.inv.append(it) def removeItem(self,it): self.inv.remove(it) def describe(self): print(self.desc) visibleItems = [ it for it in self.inv if it.isVisible ] if random.random() > 0.5: if len(visibleItems) > 1: is_form = "are" else: is_form = "is" print("There %s %s here." % (is_form, enumerateItems(visibleItems))) else: print("You see %s." % (enumerateItems(visibleItems))) class Exit(Room): def __init__(self): super(Exit,self).__init__("") def enter(self,player): player.gameOver = True class Item(object): items = {} def __init__(self, desc): self.desc = desc self.isDeadly = False self.isFragile = False self.isBroken = False self.isTakeable = True self.isVisible = True self.isOpenable = False self.useAction = None self.usableConditionTest = None self.cantTakeMessage = "You can't take that!" Item.items[desc] = self def __str__(self): return self.desc def breakItem(self): if not self.isBroken: print("") self.desc = "broken " + self.desc self.isBroken = True def isUsable(self, player, target): if self.usableConditionTest: return self.usableConditionTest( player, target ) else: return False def useItem(self, player, target): if self.useAction: self.useAction(player, self, target) class OpenableItem(Item): def __init__(self, desc, contents=None): super(OpenableItem,self).__init__(desc) self.isOpenable = True self.isOpened = False if contents is not None: if isinstance(contents, Item): self.contents = [contents,] else: self.contents = contents else: self.contents = [] def openItem(self, player): if not self.isOpened: self.isOpened = not self.isOpened if self.contents is not None: for item in self.contents: player.room.addItem( item ) self.contents = [] self.desc = "open " + self.desc def closeItem(self, player): if self.isOpened: self.isOpened = not self.isOpened if self.desc.startswith("open "): self.desc = self.desc[5:] class Command(object): "Base class for commands" def __init__(self, verb, verbProg): self.verb = verb self.verbProg = verbProg @staticmethod def helpDescription(): return "" def _doCommand(self, player): pass def __call__(self, player ): print(self.verbProg.capitalize()+"...") self._doCommand(player) class MoveCommand(Command): def __init__(self, quals): super(MoveCommand,self).__init__("MOVE", "moving") self.direction = quals.direction[0] @staticmethod def helpDescription(): return """MOVE or GO - go NORTH, SOUTH, EAST, or WEST (can abbreviate as 'GO N' and 'GO W', or even just 'E' and 'S')""" def _doCommand(self, player): rm = player.room nextRoom = rm.doors[ { "N":0, "S":1, "E":2, "W":3, }[self.direction] ] if nextRoom: player.moveTo( nextRoom ) else: print("Can't go that way.") class TakeCommand(Command): def __init__(self, quals): super(TakeCommand,self).__init__("TAKE", "taking") self.subject = quals.item @staticmethod def helpDescription(): return "TAKE or PICKUP or PICK UP - pick up an object (but some are deadly)" def _doCommand(self, player): rm = player.room subj = Item.items[self.subject] if subj in rm.inv and subj.isVisible: if subj.isTakeable: rm.removeItem(subj) player.take(subj) else: print(subj.cantTakeMessage) else: print("There is no %s here." % subj) class DropCommand(Command): def __init__(self, quals): super(DropCommand,self).__init__("DROP", "dropping") self.subject = quals.item @staticmethod def helpDescription(): return "DROP or LEAVE - drop an object (but fragile items may break)" def _doCommand(self, player): rm = player.room subj = Item.items[self.subject] if subj in player.inv: rm.addItem(subj) player.drop(subj) else: print("You don't have %s." % (aOrAn(subj))) class InventoryCommand(Command): def __init__(self, quals): super(InventoryCommand,self).__init__("INV", "taking inventory") @staticmethod def helpDescription(): return "INVENTORY or INV or I - lists what items you have" def _doCommand(self, player): print("You have %s." % enumerateItems( player.inv )) class LookCommand(Command): def __init__(self, quals): super(LookCommand,self).__init__("LOOK", "looking") @staticmethod def helpDescription(): return "LOOK or L - describes the current room and any objects in it" def _doCommand(self, player): player.room.describe() class DoorsCommand(Command): def __init__(self, quals): super(DoorsCommand,self).__init__("DOORS", "looking for doors") @staticmethod def helpDescription(): return "DOORS - display what doors are visible from this room" def _doCommand(self, player): rm = player.room numDoors = sum([1 for r in rm.doors if r is not None]) if numDoors == 0: reply = "There are no doors in any direction." else: if numDoors == 1: reply = "There is a door to the " else: reply = "There are doors to the " doorNames = [ {0:"north", 1:"south", 2:"east", 3:"west"}[i] for i,d in enumerate(rm.doors) if d is not None ] #~ print doorNames reply += enumerateDoors( doorNames ) reply += "." print(reply) class UseCommand(Command): def __init__(self, quals): super(UseCommand,self).__init__("USE", "using") self.subject = Item.items[quals.usedObj] if quals.targetObj: self.target = Item.items[quals.targetObj] else: self.target = None @staticmethod def helpDescription(): return "USE or U - use an object, optionally IN or ON another object" def _doCommand(self, player): rm = player.room availItems = rm.inv + player.inv if self.subject in availItems: if self.subject.isUsable( player, self.target ): self.subject.useItem( player, self.target ) else: print("You can't use that here.") else: print("There is no %s here to use." % self.subject) class OpenCommand(Command): def __init__(self, quals): super(OpenCommand,self).__init__("OPEN", "opening") self.subject = Item.items[quals.item] @staticmethod def helpDescription(): return "OPEN or O - open an object" def _doCommand(self, player): rm = player.room availItems = rm.inv+player.inv if self.subject in availItems: if self.subject.isOpenable: if not self.subject.isOpened: self.subject.openItem( player ) else: print("It's already open.") else: print("You can't open that.") else: print("There is no %s here to open." % self.subject) class CloseCommand(Command): def __init__(self, quals): super(CloseCommand,self).__init__("CLOSE", "closing") self.subject = Item.items[quals.item] @staticmethod def helpDescription(): return "CLOSE or CL - close an object" def _doCommand(self, player): rm = player.room availItems = rm.inv+player.inv if self.subject in availItems: if self.subject.isOpenable: if self.subject.isOpened: self.subject.closeItem( player ) else: print("You can't close that, it's not open.") else: print("You can't close that.") else: print("There is no %s here to close." % self.subject) class QuitCommand(Command): def __init__(self, quals): super(QuitCommand,self).__init__("QUIT", "quitting") @staticmethod def helpDescription(): return "QUIT or Q - ends the game" def _doCommand(self, player): print("Ok....") player.gameOver = True class HelpCommand(Command): def __init__(self, quals): super(HelpCommand,self).__init__("HELP", "helping") @staticmethod def helpDescription(): return "HELP or H or ? - displays this help message" def _doCommand(self, player): print("Enter any of the following commands (not case sensitive):") for cmd in [ InventoryCommand, DropCommand, TakeCommand, UseCommand, OpenCommand, CloseCommand, MoveCommand, LookCommand, DoorsCommand, QuitCommand, HelpCommand, ]: print(" - %s" % cmd.helpDescription()) print() class AppParseException(ParseException): pass class Parser(object): def __init__(self): self.bnf = self.makeBNF() def makeBNF(self): invVerb = oneOf("INV INVENTORY I", caseless=True) dropVerb = oneOf("DROP LEAVE", caseless=True) takeVerb = oneOf("TAKE PICKUP", caseless=True) | \ (CaselessLiteral("PICK") + CaselessLiteral("UP") ) moveVerb = oneOf("MOVE GO", caseless=True) | empty useVerb = oneOf("USE U", caseless=True) openVerb = oneOf("OPEN O", caseless=True) closeVerb = oneOf("CLOSE CL", caseless=True) quitVerb = oneOf("QUIT Q", caseless=True) lookVerb = oneOf("LOOK L", caseless=True) doorsVerb = CaselessLiteral("DOORS") helpVerb = oneOf("H HELP ?",caseless=True) itemRef = OneOrMore(Word(alphas)).setParseAction( self.validateItemName ) nDir = oneOf("N NORTH",caseless=True).setParseAction(replaceWith("N")) sDir = oneOf("S SOUTH",caseless=True).setParseAction(replaceWith("S")) eDir = oneOf("E EAST",caseless=True).setParseAction(replaceWith("E")) wDir = oneOf("W WEST",caseless=True).setParseAction(replaceWith("W")) moveDirection = nDir | sDir | eDir | wDir invCommand = invVerb dropCommand = dropVerb + itemRef("item") takeCommand = takeVerb + itemRef("item") useCommand = useVerb + itemRef("usedObj") + \ Optional(oneOf("IN ON",caseless=True)) + \ Optional(itemRef,default=None)("targetObj") openCommand = openVerb + itemRef("item") closeCommand = closeVerb + itemRef("item") moveCommand = moveVerb + moveDirection("direction") quitCommand = quitVerb lookCommand = lookVerb doorsCommand = doorsVerb helpCommand = helpVerb # attach command classes to expressions invCommand.setParseAction(InventoryCommand) dropCommand.setParseAction(DropCommand) takeCommand.setParseAction(TakeCommand) useCommand.setParseAction(UseCommand) openCommand.setParseAction(OpenCommand) closeCommand.setParseAction(CloseCommand) moveCommand.setParseAction(MoveCommand) quitCommand.setParseAction(QuitCommand) lookCommand.setParseAction(LookCommand) doorsCommand.setParseAction(DoorsCommand) helpCommand.setParseAction(HelpCommand) # define parser using all command expressions return ( invCommand | useCommand | openCommand | closeCommand | dropCommand | takeCommand | moveCommand | lookCommand | doorsCommand | helpCommand | quitCommand )("command") + LineEnd() def validateItemName(self,s,l,t): iname = " ".join(t) if iname not in Item.items: raise AppParseException(s,l,"No such item '%s'." % iname) return iname def parseCmd(self, cmdstr): try: ret = self.bnf.parseString(cmdstr) return ret except AppParseException as pe: print(pe.msg) except ParseException as pe: print(random.choice([ "Sorry, I don't understand that.", "Huh?", "Excuse me?", "???", "What?" ] )) class Player(object): def __init__(self, name): self.name = name self.gameOver = False self.inv = [] def moveTo(self, rm): self.room = rm rm.enter(self) if self.gameOver: if rm.desc: rm.describe() print("Game over!") else: rm.describe() def take(self,it): if it.isDeadly: print("Aaaagh!...., the %s killed me!" % it) self.gameOver = True else: self.inv.append(it) def drop(self,it): self.inv.remove(it) if it.isFragile: it.breakItem() def createRooms( rm ): """ create rooms, using multiline string showing map layout string contains symbols for the following: A-Z, a-z indicate rooms, and rooms will be stored in a dictionary by reference letter -, | symbols indicate connection between rooms <, >, ^, . symbols indicate one-way connection between rooms """ # start with empty dictionary of rooms ret = {} # look for room symbols, and initialize dictionary # - exit room is always marked 'Z' for c in rm: if c in string.ascii_letters: if c != "Z": ret[c] = Room(c) else: ret[c] = Exit() # scan through input string looking for connections between rooms rows = rm.split("\n") for row,line in enumerate(rows): for col,c in enumerate(line): if c in string.ascii_letters: room = ret[c] n = None s = None e = None w = None # look in neighboring cells for connection symbols (must take # care to guard that neighboring cells exist before testing # contents) if col > 0 and line[col-1] in "<-": other = line[col-2] w = ret[other] if col < len(line)-1 and line[col+1] in "->": other = line[col+2] e = ret[other] if row > 1 and col < len(rows[row-1]) and rows[row-1][col] in '|^': other = rows[row-2][col] n = ret[other] if row < len(rows)-1 and col < len(rows[row+1]) and rows[row+1][col] in '|.': other = rows[row+2][col] s = ret[other] # set connections to neighboring rooms room.doors=[n,s,e,w] return ret # put items in rooms def putItemInRoom(i,r): if isinstance(r,str): r = rooms[r] r.addItem( Item.items[i] ) def playGame(p,startRoom): # create parser parser = Parser() p.moveTo( startRoom ) while not p.gameOver: cmdstr = input(">> ") cmd = parser.parseCmd(cmdstr) if cmd is not None: cmd.command( p ) print() print("You ended the game with:") for i in p.inv: print(" -", aOrAn(i)) #==================== # start game definition roomMap = """ d-Z | f-c-e . | q %d" % (s, val), end=' ') if val == expected: print("CORRECT") else: print("***WRONG***, expected %d" % expected) test("one hundred twenty hundred", 120) test("one hundred and twennty", 120) test("one hundred and twenty", 120) test("one hundred and three", 103) test("one hundred twenty-three", 123) test("one hundred and twenty three", 123) test("one hundred twenty three million", 123000000) test("one hundred and twenty three million", 123000000) test("one hundred twenty three million and three", 123000003) test("fifteen hundred and sixty five", 1565) test("seventy-seven thousand eight hundred and nineteen", 77819) test("seven hundred seventy-seven thousand seven hundred and seventy-seven", 777777) test("zero", 0) test("forty two", 42) test("fourty two", 42)pyparsing-2.0.1/examples/urlExtractor.py0000644000175000017500000000340212053614275017122 0ustar zigozigo# URL extractor # Copyright 2004, Paul McGuire from pyparsing import Literal,Suppress,CharsNotIn,CaselessLiteral,\ Word,dblQuotedString,alphanums,SkipTo import urllib.request, urllib.parse, urllib.error import pprint # Define the pyparsing grammar for a URL, that is: # URLlink ::= linkText # URL ::= doubleQuotedString | alphanumericWordPath # Note that whitespace may appear just about anywhere in the link. Note also # that it is not necessary to explicitly show this in the pyparsing grammar; by default, # pyparsing skips over whitespace between tokens. linkOpenTag = (Literal("<") + "a" + "href" + "=").suppress() + \ ( dblQuotedString | Word(alphanums+"/") ) + \ Suppress(">") linkCloseTag = Literal("<") + "/" + CaselessLiteral("a") + ">" link = linkOpenTag + SkipTo(linkCloseTag) + linkCloseTag.suppress() # Go get some HTML with some links in it. serverListPage = urllib.request.urlopen( "http://www.yahoo.com" ) htmlText = serverListPage.read() serverListPage.close() # scanString is a generator that loops through the input htmlText, and for each # match yields the tokens and start and end locations (for this application, we are # not interested in the start and end values). for toks,strt,end in link.scanString(htmlText): print(toks.asList()) # Rerun scanString, but this time create a dict of text:URL key-value pairs. # Need to reverse the tokens returned by link, using a parse action. link.setParseAction( lambda st,loc,toks: [ toks[1], toks[0] ] ) # Create dictionary from list comprehension, assembled from each pair of tokens returned # from a matched URL. pprint.pprint( dict( [ toks for toks,strt,end in link.scanString(htmlText) ] ) ) pyparsing-2.0.1/examples/btpyparse.py0000644000175000017500000001042612053633750016440 0ustar zigozigo""" Pyparsing parser for BibTeX files A standalone parser using pyparsing. pyparsing has a simple and expressive syntax so the grammar is easy to read and write. Matthew Brett 2010 Simplified BSD license """ from pyparsing import (Regex, Suppress, ZeroOrMore, Group, Optional, Forward, SkipTo, CaselessLiteral, Dict) class Macro(object): """ Class to encapsulate undefined macro references """ def __init__(self, name): self.name = name def __repr__(self): return 'Macro("%s")' % self.name def __eq__(self, other): return self.name == other.name def __ne__(self, other): return self.name != other.name # Character literals LCURLY,RCURLY,LPAREN,RPAREN,QUOTE,COMMA,AT,EQUALS,HASH = map(Suppress,'{}()",@=#') def bracketed(expr): """ Return matcher for `expr` between curly brackets or parentheses """ return (LPAREN + expr + RPAREN) | (LCURLY + expr + RCURLY) # Define parser components for strings (the hard bit) chars_no_curly = Regex(r"[^{}]+") chars_no_curly.leaveWhitespace() chars_no_quotecurly = Regex(r'[^"{}]+') chars_no_quotecurly.leaveWhitespace() # Curly string is some stuff without curlies, or nested curly sequences curly_string = Forward() curly_item = Group(curly_string) | chars_no_curly curly_string << LCURLY + ZeroOrMore(curly_item) + RCURLY # quoted string is either just stuff within quotes, or stuff within quotes, within # which there is nested curliness quoted_item = Group(curly_string) | chars_no_quotecurly quoted_string = QUOTE + ZeroOrMore(quoted_item) + QUOTE # Numbers can just be numbers. Only integers though. number = Regex('[0-9]+') # Basis characters (by exclusion) for variable / field names. The following # list of characters is from the btparse documentation any_name = Regex('[^\s"#%\'(),={}]+') # btparse says, and the test bibs show by experiment, that macro and field names # cannot start with a digit. In fact entry type names cannot start with a digit # either (see tests/bibs). Cite keys can start with a digit not_digname = Regex('[^\d\s"#%\'(),={}][^\s"#%\'(),={}]*') # Comment comments out to end of line comment = (AT + CaselessLiteral('comment') + Regex("[\s{(].*").leaveWhitespace()) # The name types with their digiteyness not_dig_lower = not_digname.copy().setParseAction(lambda t: t[0].lower()) macro_def = not_dig_lower.copy() macro_ref = not_dig_lower.copy().setParseAction(lambda t : Macro(t[0].lower())) field_name = not_dig_lower.copy() # Spaces in names mean they cannot clash with field names entry_type = not_dig_lower('entry_type') cite_key = any_name('cite_key') # Number has to be before macro name string = (number | macro_ref | quoted_string | curly_string) # There can be hash concatenation field_value = string + ZeroOrMore(HASH + string) field_def = Group(field_name + EQUALS + field_value) entry_contents = Dict(ZeroOrMore(field_def + COMMA) + Optional(field_def)) # Entry is surrounded either by parentheses or curlies entry = (AT + entry_type + bracketed(cite_key + COMMA + entry_contents)) # Preamble is a macro-like thing with no name preamble = AT + CaselessLiteral('preamble') + bracketed(field_value) # Macros (aka strings) macro_contents = macro_def + EQUALS + field_value macro = AT + CaselessLiteral('string') + bracketed(macro_contents) # Implicit comments icomment = SkipTo('@').setParseAction(lambda t : t.insert(0, 'icomment')) # entries are last in the list (other than the fallback) because they have # arbitrary start patterns that would match comments, preamble or macro definitions = Group(comment | preamble | macro | entry | icomment) # Start symbol bibfile = ZeroOrMore(definitions) def parse_str(str): return bibfile.parseString(str) if __name__ == '__main__': # Run basic test txt = """ Some introductory text (implicit comment) @ARTICLE{Authors2011, author = {First Author and Second Author and Third Author}, title = {An article about {S}omething}, journal = "Journal of Articles", year = {2011}, volume = {16}, pages = {1140--1141}, number = {2} } """ print('\n\n'.join(defn.dump() for defn in parse_str(txt))) pyparsing-2.0.1/examples/mozilla.ics0000644000175000017500000000136010075765334016227 0ustar zigozigoBEGIN:VCALENDAR VERSION :2.0 PRODID :-//Mozilla.org/NONSGML Mozilla Calendar V1.0//EN METHOD :PUBLISH BEGIN:VEVENT UID :153ed0e0-1dd2-11b2-9d71-96da104537a4 SUMMARY :Test event DESCRIPTION :Some notes LOCATION :Somewhere over the rainbow CATEGORIES :Personal URL :http://personal.amec.fi STATUS :CONFIRMED CLASS :PRIVATE X ;MEMBER=AlarmEmailAddress :petri.savolainen@iki.fi X-MOZILLA-RECUR-DEFAULT-UNITS :months RRULE :FREQ=MONTHLY;UNTIL=20040914;INTERVAL=1 EXDATE :20040714T000000 DTSTART ;VALUE=DATE :20040714 DTEND ;VALUE=DATE :20040815 DTSTAMP :20040714T141219Z LAST-MODIFIED :20040714T141457Z BEGIN:VALARM TRIGGER ;VALUE=DURATION :PT15M END:VALARM END:VEVENT END:VCALENDAR pyparsing-2.0.1/examples/ebnf.py0000644000175000017500000001022710023372024015325 0ustar zigozigo# This module tries to implement ISO 14977 standard with pyparsing. # pyparsing version 1.1 or greater is required. # ISO 14977 standardize The Extended Backus-Naur Form(EBNF) syntax. # You can read a final draft version here: # http://www.cl.cam.ac.uk/~mgk25/iso-ebnf.html from pyparsing import * all_names = ''' integer meta_identifier terminal_string optional_sequence repeated_sequence grouped_sequence syntactic_primary syntactic_factor syntactic_term single_definition definitions_list syntax_rule syntax '''.split() integer = Word(nums) meta_identifier = Word(alphas, alphanums + '_') terminal_string = Suppress("'") + CharsNotIn("'") + Suppress("'") ^ \ Suppress('"') + CharsNotIn('"') + Suppress('"') definitions_list = Forward() optional_sequence = Suppress('[') + definitions_list + Suppress(']') repeated_sequence = Suppress('{') + definitions_list + Suppress('}') grouped_sequence = Suppress('(') + definitions_list + Suppress(')') syntactic_primary = optional_sequence ^ repeated_sequence ^ \ grouped_sequence ^ meta_identifier ^ terminal_string syntactic_factor = Optional(integer + Suppress('*')) + syntactic_primary syntactic_term = syntactic_factor + Optional(Suppress('-') + syntactic_factor) single_definition = delimitedList(syntactic_term, ',') definitions_list << delimitedList(single_definition, '|') syntax_rule = meta_identifier + Suppress('=') + definitions_list + \ Suppress(';') ebnfComment = ( "(*" + ZeroOrMore( CharsNotIn("*") | ( "*" + ~Literal(")") ) ) + "*)" ).streamline().setName("ebnfComment") syntax = OneOrMore(syntax_rule) syntax.ignore(ebnfComment) def do_integer(str, loc, toks): return int(toks[0]) def do_meta_identifier(str, loc, toks): if toks[0] in symbol_table: return symbol_table[toks[0]] else: forward_count.value += 1 symbol_table[toks[0]] = Forward() return symbol_table[toks[0]] def do_terminal_string(str, loc, toks): return Literal(toks[0]) def do_optional_sequence(str, loc, toks): return Optional(toks[0]) def do_repeated_sequence(str, loc, toks): return ZeroOrMore(toks[0]) def do_grouped_sequence(str, loc, toks): return Group(toks[0]) def do_syntactic_primary(str, loc, toks): return toks[0] def do_syntactic_factor(str, loc, toks): if len(toks) == 2: # integer * syntactic_primary return And([toks[1]] * toks[0]) else: # syntactic_primary return [ toks[0] ] def do_syntactic_term(str, loc, toks): if len(toks) == 2: # syntactic_factor - syntactic_factor return NotAny(toks[1]) + toks[0] else: # syntactic_factor return [ toks[0] ] def do_single_definition(str, loc, toks): toks = toks.asList() if len(toks) > 1: # syntactic_term , syntactic_term , ... return And(toks) else: # syntactic_term return [ toks[0] ] def do_definitions_list(str, loc, toks): toks = toks.asList() if len(toks) > 1: # single_definition | single_definition | ... return Or(toks) else: # single_definition return [ toks[0] ] def do_syntax_rule(str, loc, toks): # meta_identifier = definitions_list ; assert toks[0].expr is None, "Duplicate definition" forward_count.value -= 1 toks[0] << toks[1] return [ toks[0] ] def do_syntax(str, loc, toks): # syntax_rule syntax_rule ... return symbol_table symbol_table = {} class forward_count: pass forward_count.value = 0 for name in all_names: expr = vars()[name] action = vars()['do_' + name] expr.setName(name) expr.setParseAction(action) #~ expr.setDebug() def parse(ebnf, given_table={}): symbol_table.clear() symbol_table.update(given_table) forward_count.value = 0 table = syntax.parseString(ebnf)[0] assert forward_count.value == 0, "Missing definition" for name in table: expr = table[name] expr.setName(name) #~ expr.setDebug() return table pyparsing-2.0.1/examples/nested.py0000644000175000017500000000114112053614271015700 0ustar zigozigo# # nested.py # Copyright, 2007 - Paul McGuire # # Simple example of using nestedExpr to define expressions using # paired delimiters for grouping lists and sublists # from pyparsing import * import pprint data = """ { { item1 "item with } in it" } { {item2a item2b } {item3} } } """ # use {}'s for nested lists nestedItems = nestedExpr("{", "}") print(( (nestedItems+stringEnd).parseString(data).asList() )) # use default delimiters of ()'s mathExpr = nestedExpr() print(( mathExpr.parseString( "((( ax + by)*C) *(Z | (E^F) & D))") )) pyparsing-2.0.1/examples/list1.py0000644000175000017500000000317212053614271015460 0ustar zigozigofrom pyparsing import * # first pass lbrack = Literal("[") rbrack = Literal("]") integer = Word(nums).setName("integer") real = Combine(Optional(oneOf("+ -")) + Word(nums) + "." + Optional(Word(nums))).setName("real") listItem = real | integer | quotedString listStr = lbrack + delimitedList(listItem) + rbrack test = "['a', 100, 3.14]" print(listStr.parseString(test)) # second pass, cleanup and add converters lbrack = Literal("[").suppress() rbrack = Literal("]").suppress() cvtInt = lambda s,l,toks: int(toks[0]) integer = Word(nums).setName("integer").setParseAction( cvtInt ) cvtReal = lambda s,l,toks: float(toks[0]) real = Combine(Optional(oneOf("+ -")) + Word(nums) + "." + Optional(Word(nums))).setName("real").setParseAction( cvtReal ) listItem = real | integer | quotedString.setParseAction( removeQuotes ) listStr = lbrack + delimitedList(listItem) + rbrack test = "['a', 100, 3.14]" print(listStr.parseString(test)) # third pass, add nested list support cvtInt = lambda s,l,toks: int(toks[0]) cvtReal = lambda s,l,toks: float(toks[0]) lbrack = Literal("[").suppress() rbrack = Literal("]").suppress() integer = Word(nums).setName("integer").setParseAction( cvtInt ) real = Combine(Optional(oneOf("+ -")) + Word(nums) + "." + Optional(Word(nums))).setName("real").setParseAction( cvtReal ) listStr = Forward() listItem = real | integer | quotedString.setParseAction(removeQuotes) | Group(listStr) listStr << lbrack + delimitedList(listItem) + rbrack test = "['a', 100, 3.14, [ +2.718, 'xyzzy', -1.414] ]" print(listStr.parseString(test))pyparsing-2.0.1/examples/indentedGrammarExample.py0000644000175000017500000000361012053614271021036 0ustar zigozigo# indentedGrammarExample.py # # Copyright (c) 2006, Paul McGuire # # A sample of a pyparsing grammar using indentation for # grouping (like Python does). # from pyparsing import * data = """\ def A(z): A1 B = 100 G = A2 A2 A3 B def BB(a,b,c): BB1 def BBA(): bba1 bba2 bba3 C D def spam(x,y): def eggs(z): pass """ indentStack = [1] def checkPeerIndent(s,l,t): curCol = col(l,s) if curCol != indentStack[-1]: if (not indentStack) or curCol > indentStack[-1]: raise ParseFatalException(s,l,"illegal nesting") raise ParseException(s,l,"not a peer entry") def checkSubIndent(s,l,t): curCol = col(l,s) if curCol > indentStack[-1]: indentStack.append( curCol ) else: raise ParseException(s,l,"not a subentry") def checkUnindent(s,l,t): if l >= len(s): return curCol = col(l,s) if not(curCol < indentStack[-1] and curCol <= indentStack[-2]): raise ParseException(s,l,"not an unindent") def doUnindent(): indentStack.pop() INDENT = lineEnd.suppress() + empty + empty.copy().setParseAction(checkSubIndent) UNDENT = FollowedBy(empty).setParseAction(checkUnindent) UNDENT.setParseAction(doUnindent) stmt = Forward() suite = Group( OneOrMore( empty + stmt.setParseAction( checkPeerIndent ) ) ) identifier = Word(alphas, alphanums) funcDecl = ("def" + identifier + Group( "(" + Optional( delimitedList(identifier) ) + ")" ) + ":") funcDef = Group( funcDecl + INDENT + suite + UNDENT ) rvalue = Forward() funcCall = Group(identifier + "(" + Optional(delimitedList(rvalue)) + ")") rvalue << (funcCall | identifier | Word(nums)) assignment = Group(identifier + "=" + rvalue) stmt << ( funcDef | assignment | identifier ) print(data) parseTree = suite.parseString(data) import pprint pprint.pprint( parseTree.asList() ) pyparsing-2.0.1/examples/invRegex.py0000644000175000017500000001674412053633607016230 0ustar zigozigo# # invRegex.py # # Copyright 2008, Paul McGuire # # pyparsing script to expand a regular expression into all possible matching strings # Supports: # - {n} and {m,n} repetition, but not unbounded + or * repetition # - ? optional elements # - [] character ranges # - () grouping # - | alternation # __all__ = ["count","invert"] from pyparsing import (Literal, oneOf, printables, ParserElement, Combine, SkipTo, operatorPrecedence, ParseFatalException, Word, nums, opAssoc, Suppress, ParseResults, srange) class CharacterRangeEmitter(object): def __init__(self,chars): # remove duplicate chars in character range, but preserve original order seen = set() self.charset = "".join( seen.add(c) or c for c in chars if c not in seen ) def __str__(self): return '['+self.charset+']' def __repr__(self): return '['+self.charset+']' def makeGenerator(self): def genChars(): for s in self.charset: yield s return genChars class OptionalEmitter(object): def __init__(self,expr): self.expr = expr def makeGenerator(self): def optionalGen(): yield "" for s in self.expr.makeGenerator()(): yield s return optionalGen class DotEmitter(object): def makeGenerator(self): def dotGen(): for c in printables: yield c return dotGen class GroupEmitter(object): def __init__(self,exprs): self.exprs = ParseResults(exprs) def makeGenerator(self): def groupGen(): def recurseList(elist): if len(elist)==1: for s in elist[0].makeGenerator()(): yield s else: for s in elist[0].makeGenerator()(): for s2 in recurseList(elist[1:]): yield s + s2 if self.exprs: for s in recurseList(self.exprs): yield s return groupGen class AlternativeEmitter(object): def __init__(self,exprs): self.exprs = exprs def makeGenerator(self): def altGen(): for e in self.exprs: for s in e.makeGenerator()(): yield s return altGen class LiteralEmitter(object): def __init__(self,lit): self.lit = lit def __str__(self): return "Lit:"+self.lit def __repr__(self): return "Lit:"+self.lit def makeGenerator(self): def litGen(): yield self.lit return litGen def handleRange(toks): return CharacterRangeEmitter(srange(toks[0])) def handleRepetition(toks): toks=toks[0] if toks[1] in "*+": raise ParseFatalException("",0,"unbounded repetition operators not supported") if toks[1] == "?": return OptionalEmitter(toks[0]) if "count" in toks: return GroupEmitter([toks[0]] * int(toks.count)) if "minCount" in toks: mincount = int(toks.minCount) maxcount = int(toks.maxCount) optcount = maxcount - mincount if optcount: opt = OptionalEmitter(toks[0]) for i in range(1,optcount): opt = OptionalEmitter(GroupEmitter([toks[0],opt])) return GroupEmitter([toks[0]] * mincount + [opt]) else: return [toks[0]] * mincount def handleLiteral(toks): lit = "" for t in toks: if t[0] == "\\": if t[1] == "t": lit += '\t' else: lit += t[1] else: lit += t return LiteralEmitter(lit) def handleMacro(toks): macroChar = toks[0][1] if macroChar == "d": return CharacterRangeEmitter("0123456789") elif macroChar == "w": return CharacterRangeEmitter(srange("[A-Za-z0-9_]")) elif macroChar == "s": return LiteralEmitter(" ") else: raise ParseFatalException("",0,"unsupported macro character (" + macroChar + ")") def handleSequence(toks): return GroupEmitter(toks[0]) def handleDot(): return CharacterRangeEmitter(printables) def handleAlternative(toks): return AlternativeEmitter(toks[0]) _parser = None def parser(): global _parser if _parser is None: ParserElement.setDefaultWhitespaceChars("") lbrack,rbrack,lbrace,rbrace,lparen,rparen = map(Literal,"[]{}()") reMacro = Combine("\\" + oneOf(list("dws"))) escapedChar = ~reMacro + Combine("\\" + oneOf(list(printables))) reLiteralChar = "".join(c for c in printables if c not in r"\[]{}().*?+|") + " \t" reRange = Combine(lbrack + SkipTo(rbrack,ignore=escapedChar) + rbrack) reLiteral = ( escapedChar | oneOf(list(reLiteralChar)) ) reDot = Literal(".") repetition = ( ( lbrace + Word(nums).setResultsName("count") + rbrace ) | ( lbrace + Word(nums).setResultsName("minCount")+","+ Word(nums).setResultsName("maxCount") + rbrace ) | oneOf(list("*+?")) ) reRange.setParseAction(handleRange) reLiteral.setParseAction(handleLiteral) reMacro.setParseAction(handleMacro) reDot.setParseAction(handleDot) reTerm = ( reLiteral | reRange | reMacro | reDot ) reExpr = operatorPrecedence( reTerm, [ (repetition, 1, opAssoc.LEFT, handleRepetition), (None, 2, opAssoc.LEFT, handleSequence), (Suppress('|'), 2, opAssoc.LEFT, handleAlternative), ] ) _parser = reExpr return _parser def count(gen): """Simple function to count the number of elements returned by a generator.""" i = 0 for s in gen: i += 1 return i def invert(regex): """Call this routine as a generator to return all the strings that match the input regular expression. for s in invert("[A-Z]{3}\d{3}"): print s """ invReGenerator = GroupEmitter(parser().parseString(regex)).makeGenerator() return invReGenerator() def main(): tests = r""" [A-EA] [A-D]* [A-D]{3} X[A-C]{3}Y X[A-C]{3}\( X\d foobar\d\d foobar{2} foobar{2,9} fooba[rz]{2} (foobar){2} ([01]\d)|(2[0-5]) ([01]\d\d)|(2[0-4]\d)|(25[0-5]) [A-C]{1,2} [A-C]{0,3} [A-C]\s[A-C]\s[A-C] [A-C]\s?[A-C][A-C] [A-C]\s([A-C][A-C]) [A-C]\s([A-C][A-C])? [A-C]{2}\d{2} @|TH[12] @(@|TH[12])? @(@|TH[12]|AL[12]|SP[123]|TB(1[0-9]?|20?|[3-9]))? @(@|TH[12]|AL[12]|SP[123]|TB(1[0-9]?|20?|[3-9])|OH(1[0-9]?|2[0-9]?|30?|[4-9]))? (([ECMP]|HA|AK)[SD]|HS)T [A-CV]{2} A[cglmrstu]|B[aehikr]?|C[adeflmorsu]?|D[bsy]|E[rsu]|F[emr]?|G[ade]|H[efgos]?|I[nr]?|Kr?|L[airu]|M[dgnot]|N[abdeiop]?|Os?|P[abdmortu]?|R[abefghnu]|S[bcegimnr]?|T[abcehilm]|Uu[bhopqst]|U|V|W|Xe|Yb?|Z[nr] (a|b)|(x|y) (a|b) (x|y) """.split('\n') for t in tests: t = t.strip() if not t: continue print('-'*50) print(t) try: print(count(invert(t))) for s in invert(t): print(s) except ParseFatalException as pfe: print(pfe.msg) print() continue print() if __name__ == "__main__": main() pyparsing-2.0.1/examples/urlExtractorNew.py0000644000175000017500000000270312053614275017577 0ustar zigozigo# URL extractor # Copyright 2004, Paul McGuire from pyparsing import Literal,Suppress,CharsNotIn,CaselessLiteral,\ Word,dblQuotedString,alphanums,SkipTo,makeHTMLTags import urllib.request, urllib.parse, urllib.error import pprint # Define the pyparsing grammar for a URL, that is: # URLlink ::= linkText # URL ::= doubleQuotedString | alphanumericWordPath # Note that whitespace may appear just about anywhere in the link. Note also # that it is not necessary to explicitly show this in the pyparsing grammar; by default, # pyparsing skips over whitespace between tokens. linkOpenTag,linkCloseTag = makeHTMLTags("a") link = linkOpenTag + SkipTo(linkCloseTag).setResultsName("body") + linkCloseTag.suppress() # Go get some HTML with some links in it. serverListPage = urllib.request.urlopen( "http://www.google.com" ) htmlText = serverListPage.read() serverListPage.close() # scanString is a generator that loops through the input htmlText, and for each # match yields the tokens and start and end locations (for this application, we are # not interested in the start and end values). for toks,strt,end in link.scanString(htmlText): print(toks.startA.href,"->",toks.body) # Create dictionary from list comprehension, assembled from each pair of tokens returned # from a matched URL. pprint.pprint( dict( [ (toks.body,toks.startA.href) for toks,strt,end in link.scanString(htmlText) ] ) )