Skip to main content

Interface IConstantExpression

Constant expression in a WebAssembly module.

Assembly: WaaS.Core.dll
View Source
Declaration
public interface IConstantExpression

Methods

Evaluate(GlobalInstance)

View Source
Declaration
StackValueItem Evaluate(GlobalInstance globalInstance)
Returns

WaaS.Runtime.StackValueItem

Parameters
TypeName
WaaS.Runtime.GlobalInstanceglobalInstance

Evaluate(ReadOnlySpan<Global>)

View Source
Declaration
StackValueItem Evaluate(ReadOnlySpan<Global> initializingGlobals)
Returns

WaaS.Runtime.StackValueItem

Parameters
TypeName
System.ReadOnlySpan<WaaS.Runtime.Global>initializingGlobals