tvm
Public Member Functions | Static Public Member Functions | 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_FFI_DECLARE_OBJECT_INFO_FINAL ("ir.Source", SourceNode, Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

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

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::SourceNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "ir.Source"  ,
SourceNode  ,
Object   
)

Member Data Documentation

◆ line_map

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

A mapping of line breaks into the raw source.

◆ source

ffi::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: