tvm
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tvm::script::printer::LiteralDocNode Class Reference

Doc that represents literal value. More...

#include <doc.h>

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

Public Member Functions

 TVM_DECLARE_FINAL_OBJECT_INFO (LiteralDocNode, ExprDocNode)
 
- Public Member Functions inherited from tvm::script::printer::ExprDocNode
ExprDoc Attr (String attr) const
 Create a doc representing attribute access on the current ExprDoc. More...
 
ExprDoc operator[] (Array< Doc > indices) const
 Create a doc representing index access on the current ExprDoc. More...
 
ExprDoc Call (Array< ExprDoc, void > args) const
 Create a doc representing calling the current ExprDoc. More...
 
ExprDoc Call (Array< ExprDoc, void > args, Array< String > kwargs_keys, Array< ExprDoc, void > kwargs_values) const
 Create a doc representing attribute access on the current ExprDoc. More...
 
 TVM_DECLARE_BASE_OBJECT_INFO (ExprDocNode, DocNode)
 
- Public Member Functions inherited from tvm::script::printer::DocNode
 TVM_DECLARE_BASE_OBJECT_INFO (DocNode, Object)
 
virtual ~DocNode ()=default
 

Static Public Member Functions

static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::script::printer::ExprDocNode
static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::script::printer::DocNode
static void RegisterReflection ()
 

Public Attributes

ffi::Any value
 the internal representation of the literal value. More...
 
- Public Attributes inherited from tvm::script::printer::DocNode
Array< ffi::reflection::AccessPath > source_paths
 The list of object paths of the source IR node. More...
 

Static Public Attributes

static constexpr const char * _type_key = "script.printer.LiteralDoc"
 
- Static Public Attributes inherited from tvm::script::printer::ExprDocNode
static constexpr const char * _type_key = "script.printer.ExprDoc"
 
- Static Public Attributes inherited from tvm::script::printer::DocNode
static constexpr const char * _type_key = "script.printer.Doc"
 
static constexpr bool _type_mutable = true
 

Detailed Description

Doc that represents literal value.

See also
LiteralDoc

Member Function Documentation

◆ RegisterReflection()

static void tvm::script::printer::LiteralDocNode::RegisterReflection ( )
inlinestatic

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

tvm::script::printer::LiteralDocNode::TVM_DECLARE_FINAL_OBJECT_INFO ( LiteralDocNode  ,
ExprDocNode   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::script::printer::LiteralDocNode::_type_key = "script.printer.LiteralDoc"
staticconstexpr

◆ value

ffi::Any tvm::script::printer::LiteralDocNode::value

the internal representation of the literal value.

Possible actual types:


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