tesseract v5.3.3.20231005
|
Public Member Functions | |
def | __init__ (self, token_type, name, start, end) |
def | __str__ (self) |
Public Attributes | |
token_type | |
name | |
start | |
end | |
whence | |
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
Definition at line 61 of file tokenize.py.
def cpp.tokenize.Token.__init__ | ( | self, | |
token_type, | |||
name, | |||
start, | |||
end | |||
) |
Definition at line 71 of file tokenize.py.
def cpp.tokenize.Token.__str__ | ( | self | ) |
Definition at line 78 of file tokenize.py.
cpp.tokenize.Token.end |
Definition at line 75 of file tokenize.py.
cpp.tokenize.Token.name |
Definition at line 73 of file tokenize.py.
cpp.tokenize.Token.start |
Definition at line 74 of file tokenize.py.
cpp.tokenize.Token.token_type |
Definition at line 72 of file tokenize.py.
cpp.tokenize.Token.whence |
Definition at line 76 of file tokenize.py.