simpleparse.common.chartypes
index
/usr/src/tmp/python3-module-simpleparse-buildroot/usr/lib/python3/site-packages/simpleparse/common/chartypes.py

Common locale-specific character types
 
Following productions are all based on string module,
with the default locale specified.  The first production
is a single character of the class and the second a
repeating character version:
 
    digit, digits
    uppercasechar, uppercase
    lowercasechar, lowercase
    letter, letters
    whitespacechar, whitespace
    punctuationchar, punctuation
    octdigit, octdigits
    hexdigit, hexdigits
    printablechar, printable
 
For Python versions with the constants in the string module:
    ascii_letter, ascii_letters
    ascii_lowercasechar, ascii_lowercase
    ascii_uppercasechar, ascii_uppercase
 
 
Following are locale-specific values, both are
single-character values:
 
    locale_decimal_point -- locale-specific decimal seperator
    locale_thousands_seperator -- locale-specific "thousands" seperator
    
Others:
 
    EOF -- Matches iff parsing has reached the end of the buffer
 
There are no interpreters provided (the types are considered
too common to provide meaningful interpreters).

 
Modules
       
simpleparse.common
locale
simpleparse.objectgenerator
string

 
Data
        __file__ = '/usr/src/tmp/python3-module-simpleparse-buildroo...on3/site-packages/simpleparse/common/chartypes.py'
__name__ = 'simpleparse.common.chartypes'
__package__ = 'simpleparse.common'
c = {'EOF': EOF(value=None,report=True,negative=False,option...,repeating=False,expanded=False,lookahead=False ), 'EOL': FirstOfGroup(value=[Literal(value='\r\n',report=...,repeating=False,expanded=False,lookahead=False ), 'ascii_letter': Range(value='abcdefghijklmnopqrstuvwxyzABCDEFGHI...,repeating=False,expanded=False,lookahead=False ), 'ascii_letters': Range(value='abcdefghijklmnopqrstuvwxyzABCDEFGHI...alse,repeating=1,expanded=False,lookahead=False ), 'ascii_lowercase': Range(value='abcdefghijklmnopqrstuvwxyz',report=...alse,repeating=1,expanded=False,lookahead=False ), 'ascii_lowercasechar': Range(value='abcdefghijklmnopqrstuvwxyz',report=...,repeating=False,expanded=False,lookahead=False ), 'ascii_uppercase': Range(value='ABCDEFGHIJKLMNOPQRSTUVWXYZ',report=...alse,repeating=1,expanded=False,lookahead=False ), 'ascii_uppercasechar': Range(value='ABCDEFGHIJKLMNOPQRSTUVWXYZ',report=...,repeating=False,expanded=False,lookahead=False ), 'digit': Range(value='0123456789',report=True,negative=Fa...,repeating=False,expanded=False,lookahead=False ), 'digits': Range(value='0123456789',report=True,negative=Fa...alse,repeating=1,expanded=False,lookahead=False ), ...}
repeat = 'printable'
single = 'printablechar'
source = 'printable'
value = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~ \t\n\r\x0b\x0c'