| Home | Trees | Index | Help |
|
|---|
| Package corebio :: Package utils :: Class Token |
|
object --+
|
Token
Represents the items returned by a file scanner, normally processed by a parser. Attributes : o typeof -- a string describing the kind of token o data -- the value of the token o lineno -- the line of the file on which the data was found (if known) o offset -- the offset of the data within the line (if known)
| Method Summary | |
|---|---|
__init__(self,
typeof,
data,
lineno,
offset)
| |
__repr__(self)
| |
__str__(self)
| |
| Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
helper for pickle... | |
helper for pickle... | |
x.__setattr__('name', value) <==> x.name = value... | |
| Class Variable Summary | |
|---|---|
list |
__slots__ = ['typeof', 'data', 'lineno', 'offset']
|
member_descriptor |
data = <member 'data' of 'Token' objects>
|
member_descriptor |
lineno = <member 'lineno' of 'Token' objects>
|
member_descriptor |
offset = <member 'offset' of 'Token' objects>
|
member_descriptor |
typeof = <member 'typeof' of 'Token' objects>
|
| Class Variable Details |
|---|
__slots__
|
data
|
lineno
|
offset
|
typeof
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on | http://epydoc.sf.net |