tvm
Public Member Functions | List of all members
tvm::script::printer::ExprStringDoc Class Reference

Reference type of ExprStringDocNode. More...

#include <doc.h>

Inheritance diagram for tvm::script::printer::ExprStringDoc:
Collaboration diagram for tvm::script::printer::ExprStringDoc:

Public Member Functions

 ExprStringDoc (ExprDoc value, const ffi::Optional< AccessPath > &object_path)
 Constructor of ExprStringDoc. More...
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (ExprStringDoc, ExprDoc, ExprStringDocNode)
 
- Public Member Functions inherited from tvm::script::printer::ExprDoc
ExprDoc operator[] (ffi::Array< Doc > indices) const
 Create a doc representing index access on the current ExprDoc. More...
 
 ExprDoc (ffi::ObjectPtr< ExprDocNode > data)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (ExprDoc, Doc, ExprDocNode)
 
- Public Member Functions inherited from tvm::script::printer::Doc
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Doc, ffi::ObjectRef, DocNode)
 

Additional Inherited Members

- Protected Member Functions inherited from tvm::script::printer::ExprDoc
 ExprDoc ()=default
 
- Protected Member Functions inherited from tvm::script::printer::Doc
 Doc ()=default
 
 Doc (ffi::ObjectPtr< DocNode > data)
 

Detailed Description

Reference type of ExprStringDocNode.

See also
ExprStringDocNode

Constructor & Destructor Documentation

◆ ExprStringDoc()

tvm::script::printer::ExprStringDoc::ExprStringDoc ( ExprDoc  value,
const ffi::Optional< AccessPath > &  object_path 
)
explicit

Constructor of ExprStringDoc.

Parameters
valueThe expression to render as a string.
object_pathThe object path.

Member Function Documentation

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

tvm::script::printer::ExprStringDoc::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( ExprStringDoc  ,
ExprDoc  ,
ExprStringDocNode   
)

The documentation for this class was generated from the following file: