|
Monero
|


Public Member Functions | |
| __init__ (self, token_type, name, start, end) | |
| __str__ (self) | |
Public Attributes | |
| token_type = token_type | |
| name = name | |
| start = start | |
| end = end | |
| whence = WHENCE_STREAM | |
Static Private Attributes | |
| __repr__ = __str__ | |
Data container to represent a C++ token. Tokens can be identifiers, syntax char(s), constants, or pre-processor directives. start contains the index of the first char of the token in the source end contains the index of the last char of the token in the source
| cpp.tokenize.Token.__init__ | ( | self, | |
| token_type, | |||
| name, | |||
| start, | |||
| end ) |
| cpp.tokenize.Token.__str__ | ( | self | ) |
|
staticprivate |
| cpp.tokenize.Token.end = end |
| cpp.tokenize.Token.name = name |
| cpp.tokenize.Token.start = start |
| cpp.tokenize.Token.token_type = token_type |
| cpp.tokenize.Token.whence = WHENCE_STREAM |