tvm
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tvm::SourceNode Class Reference

#include <source_map.h>

Inheritance diagram for tvm::SourceNode:
Collaboration diagram for tvm::SourceNode:

Public Member Functions

 TVM_DECLARE_FINAL_OBJECT_INFO (SourceNode, Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

SourceName source_name
 The source name. More...
 
String source
 The raw source. More...
 
std::vector< std::pair< int, int > > line_map
 A mapping of line breaks into the raw source. More...
 

Static Public Attributes

static constexpr const char * _type_key = "ir.Source"
 

Member Function Documentation

◆ RegisterReflection()

static void tvm::SourceNode::RegisterReflection ( )
inlinestatic

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

tvm::SourceNode::TVM_DECLARE_FINAL_OBJECT_INFO ( SourceNode  ,
Object   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::SourceNode::_type_key = "ir.Source"
staticconstexpr

◆ line_map

std::vector<std::pair<int, int> > tvm::SourceNode::line_map

A mapping of line breaks into the raw source.

◆ source

String tvm::SourceNode::source

The raw source.

◆ source_name

SourceName tvm::SourceNode::source_name

The source name.


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