|
|
__init__(self,
sequence,
id=None,
factory=None,
max=None,
global_kargs=None,
cache_level=None,
delta=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
_fmt(self,
sequence,
offset,
maxlen=60,
left="'",
right="'",
index=True)
fmt a possibly long subsection of data. |
source code
|
|
|
|
|
|
|
delta(self,
state)
Return the offset, lineno and char of the current point, relative to
the entire stream, as a tuple. |
source code
|
|
|
|
kargs(self,
state,
prefix='',
kargs=None)
Generate a dictionary of values that describe the stream. |
source code
|
|
|
|
join(self,
state,
*values)
Join sequences of values into a single sequence. |
source code
|
|
|
|
line(self,
state,
empty_ok)
Returns up to, and including then next |
source code
|
|
|
|
stream(self,
state,
value,
id_=None,
max=None)
Return a new stream that encapsulates the value given, starting at
state. |
source code
|
|
|
Inherited from SequenceHelper:
debug,
deepest,
empty,
key,
len,
new_max,
next
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
Inherited from core.StreamHelper:
__eq__,
cacheable,
eq,
fmt
|