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

A concrete source range. More...

#include <location.h>

Inheritance diagram for tvm::SourceLoc:
Collaboration diagram for tvm::SourceLoc:

Public Member Functions

TVM_TIRX_DLL SourceLoc (SourceName source_name, int start_line, int start_column, int end_line, int end_column)
 
TVM_TIRX_DLL SourceLoc Merge (const SourceLoc &other) const
 Merge two ranges in the same source.
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (SourceLoc, Location, SourceLocNode)
 
- Public Member Functions inherited from tvm::Location
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Location, ffi::ObjectRef, LocationNode)
 

Detailed Description

A concrete source range.

Constructor & Destructor Documentation

◆ SourceLoc()

TVM_TIRX_DLL tvm::SourceLoc::SourceLoc ( SourceName  source_name,
int  start_line,
int  start_column,
int  end_line,
int  end_column 
)

Member Function Documentation

◆ Merge()

TVM_TIRX_DLL SourceLoc tvm::SourceLoc::Merge ( const SourceLoc &  other) const

Merge two ranges in the same source.

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

tvm::SourceLoc::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( SourceLoc  ,
Location  ,
SourceLocNode   
)

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