Class SourceLocObj#

Inheritance Relationships#

Base Type#

Class Documentation#

class SourceLocObj : public tvm::LocationObj#

A range in one source, retaining frontend coordinate conventions.

Public Functions

inline explicit SourceLocObj(SourceName source_name)#
inline explicit SourceLocObj(ffi::UnsafeInit tag)#

Public Members

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.

Public Static Functions

static inline void RegisterReflection()#
static inline int32_t _GetOrAllocRuntimeTypeIndex()#
static inline int32_t RuntimeTypeIndex() noexcept#