Home | Trees | Index | Help |
|
---|
Package yagdoc :: Module tokenizer :: Class Token |
|
object
--+
|
Token
Method Summary | |
---|---|
Create a new Token. | |
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
Instance Variable Summary | |
---|---|
int |
column : Input column number the token starts at. |
int |
line : Input line number the token starts at. |
str |
text : Text of the token. |
single-character str |
type : Token type (soup letter). |
Class Variable Summary | |
---|---|
list |
__slots__ = ['type', 'line', 'column', 'text']
|
Method Details |
---|
__init__(self,
what,
line=0,
column=0,
text='')
|
Instance Variable Details |
---|
columnInput column number the token starts at.
|
lineInput line number the token starts at.
|
textText of the token.
|
typeToken type (soup letter).
|
Class Variable Details |
---|
__slots__
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Oct 5 00:36:53 2007 | http://epydoc.sf.net |