tvm
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tvm::SourceLocNode Class Reference

A range in one source, retaining frontend coordinate conventions. More...

#include <location.h>

Inheritance diagram for tvm::SourceLocNode:
Collaboration diagram for tvm::SourceLocNode:

Public Member Functions

 SourceLocNode (SourceName source_name)
 
 SourceLocNode (ffi::UnsafeInit tag)
 
 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("ir.SourceLoc", SourceLocNode, LocationNode)
 
- Public Member Functions inherited from tvm::LocationNode
 TVM_FFI_DECLARE_OBJECT_INFO ("ir.Location", LocationNode, ffi::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::LocationNode
static void RegisterReflection ()
 

Public Attributes

SourceName source_name
 The source name.
 
int start_line
 The starting line number.
 
int start_column
 The starting column offset.
 
int end_line
 The ending line number.
 
int end_column
 The ending column offset.
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::LocationNode
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 

Detailed Description

A range in one source, retaining frontend coordinate conventions.

Constructor & Destructor Documentation

◆ SourceLocNode() [1/2]

tvm::SourceLocNode::SourceLocNode ( SourceName  source_name)
inlineexplicit

◆ SourceLocNode() [2/2]

tvm::SourceLocNode::SourceLocNode ( ffi::UnsafeInit  tag)
inlineexplicit

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::SourceLocNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "ir.SourceLoc"  ,
SourceLocNode  ,
LocationNode   
)

Member Data Documentation

◆ end_column

int tvm::SourceLocNode::end_column

The ending column offset.

◆ end_line

int tvm::SourceLocNode::end_line

The ending line number.

◆ source_name

SourceName tvm::SourceLocNode::source_name

The source name.

◆ start_column

int tvm::SourceLocNode::start_column

The starting column offset.

◆ start_line

int tvm::SourceLocNode::start_line

The starting line number.


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