tvm
Public Member Functions | List of all members
tvm::Span Class Reference

#include <source_map.h>

Inheritance diagram for tvm::Span:
Collaboration diagram for tvm::Span:

Public Member Functions

 Span (SourceName source_name, int line, int end_line, int column, int end_column)
 
Span Merge (const Span &other) const
 Merge two spans into one which captures the combined regions. More...
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE (Span, ObjectRef, SpanNode)
 

Constructor & Destructor Documentation

◆ Span()

tvm::Span::Span ( SourceName  source_name,
int  line,
int  end_line,
int  column,
int  end_column 
)

Member Function Documentation

◆ Merge()

Span tvm::Span::Merge ( const Span other) const

Merge two spans into one which captures the combined regions.

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE()

tvm::Span::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE ( Span  ,
ObjectRef  ,
SpanNode   
)

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