Skip to main content

Struct ValidationBlockStackState

Represents the state of the stack within a block during validation.

Assembly: WaaS.Core.dll
View Source
Declaration
public ref struct ValidationBlockStackState

Properties

Depth

View Source
Declaration
public readonly ushort Depth { get; }

CurrentSlice

View Source
Declaration
public ReadOnlySpan<ValueType> CurrentSlice { get; }

Methods

Pop(ValueType)

View Source
Declaration
public ValueType Pop(ValueType type)
Returns

WaaS.ValueType

Parameters
TypeName
WaaS.ValueTypetype

PopAny()

View Source
Declaration
public ValueType PopAny()
Returns

WaaS.ValueType

ValidateResults(ReadOnlySpan<ValueType>, bool)

View Source
Declaration
public void ValidateResults(ReadOnlySpan<ValueType> resultTypes, bool exact)
Parameters
TypeName
System.ReadOnlySpan<WaaS.ValueType>resultTypes
System.Booleanexact

Push(ValueType)

View Source
Declaration
public void Push(ValueType type)
Parameters
TypeName
WaaS.ValueTypetype

MakeUnreachable()

View Source
Declaration
public void MakeUnreachable()