Class IndexDocObj#

Inheritance Relationships#

Base Type#

Class Documentation#

class IndexDocObj : public tvm::script::printer::ExprDocObj#

Doc that represents index access on another expression.

See also

IndexDoc

Public Members

ExprDoc value = {ffi::UnsafeInit()}#

The container value to be accessed.

ffi::Array<Doc> indices#

The indices to access.

Possible actual types:

  • ExprDoc (single point access like a[1, 2])

  • SliceDoc (slice access like a[1:5, 2])

Public Static Functions

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