Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
pip._vendor.pyparsing.unicode.unicode_set Class Reference
Inheritance diagram for pip._vendor.pyparsing.unicode.unicode_set:
Inheritance graph
[legend]

Public Member Functions

 printables (cls)
 
 alphas (cls)
 
 nums (cls)
 
 alphanums (cls)
 
 identchars (cls)
 
 identbodychars (cls)
 
 identifier (cls)
 

Public Attributes

 identchars
 
 identbodychars
 

Protected Member Functions

 _chars_for_ranges (cls)
 

Protected Attributes

 _chars_for_ranges
 

Static Protected Attributes

list _ranges = []
 

Detailed Description

A set of Unicode characters, for language-specific strings for
``alphas``, ``nums``, ``alphanums``, and ``printables``.
A unicode_set is defined by a list of ranges in the Unicode character
set, in a class attribute ``_ranges``. Ranges can be specified using
2-tuples or a 1-tuple, such as::

    _ranges = [
        (0x0020, 0x007e),
        (0x00a0, 0x00ff),
        (0x0100,),
        ]

Ranges are left- and right-inclusive. A 1-tuple of (x,) is treated as (x, x).

A unicode set can also be defined using multiple inheritance of other unicode sets::

    class CJK(Chinese, Japanese, Korean):
        pass

Member Function Documentation

◆ alphanums()

pip._vendor.pyparsing.unicode.unicode_set.alphanums (   cls)
all alphanumeric characters in this range

◆ alphas()

pip._vendor.pyparsing.unicode.unicode_set.alphas (   cls)
all alphabetic characters in this range

◆ identbodychars()

pip._vendor.pyparsing.unicode.unicode_set.identbodychars (   cls)
all characters in this range that are valid identifier body characters,
plus the digits 0-9, and ยท (Unicode MIDDLE DOT)

◆ identchars()

pip._vendor.pyparsing.unicode.unicode_set.identchars (   cls)
all characters in this range that are valid identifier characters, plus underscore '_'

◆ identifier()

pip._vendor.pyparsing.unicode.unicode_set.identifier (   cls)
a pyparsing Word expression for an identifier using this range's definitions for
identchars and identbodychars

◆ nums()

pip._vendor.pyparsing.unicode.unicode_set.nums (   cls)
all numeric digit characters in this range

◆ printables()

pip._vendor.pyparsing.unicode.unicode_set.printables (   cls)
all non-whitespace characters in this range

The documentation for this class was generated from the following file: