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

The source name of a file span. More...

#include <source_map.h>

Inheritance diagram for tvm::SourceName:
Collaboration diagram for tvm::SourceName:

Public Member Functions

 TVM_DEFINE_OBJECT_REF_METHODS (SourceName, ObjectRef, SourceNameNode)
 

Static Public Member Functions

static SourceName Get (const String &name)
 Get an SourceName for a given operator name. Will raise an error if the source name has not been registered. More...
 

Detailed Description

The source name of a file span.

See also
SourceNameNode, Span

Member Function Documentation

◆ Get()

static SourceName tvm::SourceName::Get ( const String &  name)
static

Get an SourceName for a given operator name. Will raise an error if the source name has not been registered.

Parameters
nameName of the operator.
Returns
SourceName valid throughout program lifetime.

◆ TVM_DEFINE_OBJECT_REF_METHODS()

tvm::SourceName::TVM_DEFINE_OBJECT_REF_METHODS ( SourceName  ,
ObjectRef  ,
SourceNameNode   
)

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