Skip to main content

Class Element

Single element segment in an element section.

Assembly: WaaS.Core.dll​
View Source​
Declaration
public class Element

Properties​

Mode​

View Source​
Declaration
public ElementMode Mode { get; }

TableIndex​

The index of the table initialized by an active segment.

View Source​
Declaration
public uint TableIndex { get; }

Offset​

The offset in the table initialized by an active segment. null for the other segments.

View Source​
Declaration
public IConstantExpression Offset { get; }

Type​

WaaS.ValueType.FuncRef or WaaS.ValueType.ExternRef.

View Source​
Declaration
public ValueType Type { get; }

Items​

The expressions of the references in the segment.

View Source​
Declaration
public ReadOnlyMemory<IConstantExpression> Items { get; }