tvm_tirx.script.printer.doc#
Doc types for TVMScript Unified Printer
Classes#
|
Base class of all Docs |
|
Base class of all expression Docs |
|
Base class of statement doc |
|
The container doc that holds a list of StmtDoc. |
|
Doc that represents literal value |
|
Doc that represents identifier |
|
Doc that represents attribute access on an expression |
|
Doc that represents index access on an expression |
|
Doc that represents function call |
|
This enum represents the kind of operation (operator) in OperationDoc |
|
Doc that represents operation |
|
Doc that represents lambda function |
|
Doc that represents tuple literal |
|
Doc that represents list literal |
|
Doc that represents dict literal |
|
Doc that represents slice in Index expression |
|
Doc that represents assign statement. |
|
If-then-else statement, with None for an absent else branch. |
|
Doc that represents while statement. |
|
Doc that represents for statement. |
|
Doc that represents special scopes. |
|
Doc that represents an expression as statement. |
|
Doc that represents assert statement. |
|
Doc that represents return statement. |
|
Doc that represents function definition. |
|
Doc that represents class definition. |
|
Doc that represents comment. |
|
Doc that represents docstring. |