Home | Trees | Indices | Help |
|
---|
|
object --+ | Tokenizer --+ | ReverseTokenizer
Tokenize a stream from the end to the beginning.
![]() |
Class Hierarchy for ReverseTokenizer |
|
|||
Inherited from Tokenizer | |||
---|---|---|---|
__metaclass__ Metaclass for defining Abstract Base Classes (ABCs). |
|
|||
|
|||
int |
|
||
int |
|
||
bool |
|
||
str |
|
||
float |
|
||
|
|||
Inherited from |
|||
Inherited from Tokenizer | |||
---|---|---|---|
bool |
|
||
bool |
|
|
|||
__abstractmethods__ =
|
|||
Inherited from Tokenizer | |||
---|---|---|---|
_abc_cache = <_weakrefset.WeakSet object at 0x7f2a42321710>
|
|||
_abc_negative_cache = <_weakrefset.WeakSet object at 0x7f2a423
|
|||
_abc_negative_cache_version = 39
|
|||
_abc_registry = <_weakrefset.WeakSet object at 0x7f2a42321690>
|
|
|||
Inherited from |
|
Constructor of the ReverseTokenizer class.
|
Check the number of tokens left.
|
Count the number of characters in the stream.
Note: Should return the same value as the wc Unix command. |
Test if at least one token remains.
|
Retrieve the next token in the stream.
Note: As this is a reversed tokenizer the "next" token is currently what one would call the "previous" token but in the tokenizer workflow if think its more logic to call it the "next" token. |
Return the progress percentage.
|
Reset the offset to the end offset.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Jul 14 21:07:50 2015 | http://epydoc.sourceforge.net |