Class SliceDocObj#

Inheritance Relationships#

Base Type#

Class Documentation#

class SliceDocObj : public tvm::script::printer::DocObj#

Doc that represents slice in Index expression.

This doc can only appear in IndexDoc::indices.

See also

AttrAccessDoc

Public Members

ffi::Optional<ExprDoc> start#

The start of slice.

ffi::Optional<ExprDoc> stop#

The exclusive end of slice.

ffi::Optional<ExprDoc> step#

The step of slice.

Public Static Functions

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