![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|


Public Member Functions | |
| __init__ (self, type) | |
| __str__ (self) | |
| __eq__ (self, other) | |
Public Member Functions inherited from parsimonious.utils.StrAndRepr | |
| __repr__ (self) | |
Public Attributes | |
| type | |
A class to represent tokens, for use with TokenGrammars You will likely want to subclass this to hold additional information, like the characters that you lexed to create this token. Alternately, feel free to create your own class from scratch. The only contract is that tokens must have a ``type`` attr.