SectionType

zio.wasm.SectionType
See theSectionType companion object
trait SectionType[IS <: IndexSpace]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ComponentAliasSection.type
object ComponentCanonSection.type
object ComponentSection.type
object ComponentStartSection.type
object ComponentTypeSection.type
object CoreCodeSection.type
object CoreDataCountSection.type
object CoreDataSection.type
object CoreElemSection.type
object CoreExportSection.type
object CoreFuncSection.type
object CoreGlobalSection.type
object CoreImportSection.type
object CoreMemSection.type
object CoreStartSection.type
object CoreTableSection.type
object CoreTypeSection.type
object CustomSection.type
Show all

Members list

Type members

Types

type Section <: Section[IS]

The actual section model type in the AST

The actual section model type in the AST

Attributes

Value members

Abstract methods

If true, sections of this type can be grouped together and serialized as a vector. If false, each section is serialized as a separate binary section.

If true, sections of this type can be grouped together and serialized as a vector. If false, each section is serialized as a separate binary section.

Attributes

def binaryId: SectionId

The binary section ID

The binary section ID

Attributes

def indexSpace(section: Section): IS

Index space - can depend on the actual value.

Index space - can depend on the actual value.

An example is component model's import and alias sections, which can refer to elements of various other index spaces.

Attributes

Concrete methods

def tryGetIndexSpace(anySection: Section[IS]): Option[IS]