Token

Overview

Token is a class in Aspose.3D FOSS for Python.

Token.type indicates the token’s classification as an integer code.

This class provides 1 method for working with Token objects in Python programs. Available methods include: __init__. All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package. Properties: column, line, text, type.

Properties

NameTypeAccessDescription
textstrReadGets the text.
typeintReadGets the type.
lineintReadGets the line.
columnintReadGets the column.

Methods

SignatureDescription
__init__(text: str, token_type: int, line: int, column: int)Calls init on this Token instance.

See Also