Package rxpy :: Package graph :: Module temp :: Class Sequence
[hide private]
[frames] | no frames]

Class Sequence

source code


A temporary node, used only during construction, that contains a sequence of nodes. When the contents are first referenced any consecutive strings are concatenated. The lazy triggering of this fits with the evaluation of the regular expression "tree", so that lower nodes are frozen first, if needed.
Instance Methods [hide private]
 
__init__(self, nodes, state)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
concatenate(self, next) source code
 
__freeze(self) source code
 
__str__(self)
str(x)
source code
 
consumer(self) source code
 
start(self) source code
 
clone(self, cache=None) source code
 
__bool__(self) source code
 
__nonzero__(self) source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, nodes, state)
(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)

consumer(self)

source code 
Decorators:
  • @property

start(self)

source code 
Decorators:
  • @property