The base class of statement doc.
More...
#include <doc.h>
|
ffi::Optional< ffi::String > | comment {std::nullopt} |
| The comment of this doc. More...
|
|
ffi::Array< ffi::reflection::AccessPath > | source_paths |
| The list of object paths of the source IR node. More...
|
|
The base class of statement doc.
- See also
- StmtDoc
◆ RegisterReflection()
static void tvm::script::printer::StmtDocNode::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_FFI_DECLARE_OBJECT_INFO()
tvm::script::printer::StmtDocNode::TVM_FFI_DECLARE_OBJECT_INFO |
( |
"script.printer.StmtDoc" |
, |
|
|
StmtDocNode |
, |
|
|
DocNode |
|
|
) |
| |
◆ comment
ffi::Optional<ffi::String> tvm::script::printer::StmtDocNode::comment {std::nullopt} |
|
mutable |
The comment of this doc.
The actual position of the comment depends on the type of Doc and also the DocPrinter implementation. It could be on the same line as the statement, or the line above, or inside the statement if it spans over multiple lines.
The documentation for this class was generated from the following file:
- include/tvm/script/printer/doc.h