Package Martel :: Module Expression :: Class Any
[hide private]
[frames] | no frames]

Class Any

source code

Expression --+
             |
            Any

Instance Methods [hide private]
 
__init__(self, chars, invert=0)
(chars, invert = 0)
source code
 
copy(self)
do a deep copy on this Expression tree
source code
 
__str__(self)
the corresponding pattern string
source code

Inherited from Expression: __add__, __or__, features, group_names, make_iterator, make_parser

Inherited from Expression (private): _find_groups, _modify_leaves, _select_names

Method Details [hide private]

__init__(self, chars, invert=0)
(Constructor)

source code 

(chars, invert = 0)

Match any of the characters appearing in the 'chars' string. If 'invert' is true, match a character not in the string.

copy(self)

source code 

do a deep copy on this Expression tree

Overrides: Expression.copy

__str__(self)
(Informal representation operator)

source code 

the corresponding pattern string

Overrides: Expression.__str__