API reference
python:astx:astx.FileType
class FileType
FileType()
Source: packages/astx/src/astx/io.py:11
Declared as: python:astx:astx.io.FileType
An owned opaque text stream, distinct from arbitrary FFI handles.
Attributes
-
loc — Type: SourceLocation
-
kind — Type: ASTKind
-
comment — Type: str
-
parent — Type: Optional[ASTNodes]
-
ref — Type: str
-
nbytes — Type: int
-
type_ — Type: ExprType
-
name — Type: str
-
_tmp_id — Type: int
-
handle_name — Type: str
Methods
- __init__ — Initialize the native text file type.