Class ConstantExpression
Assembly: WaaS.Core.dll
View Source
Declaration
public class ConstantExpression : IConstantExpression
Implements:
WaaS.Models.IConstantExpression
Properties
Instructions
View Source
Declaration
public ReadOnlyMemory<Instruction> Instructions { get; }
Methods
Evaluate(GlobalInstance)
View Source
Declaration
public StackValueItem Evaluate(GlobalInstance globalInstance)
Returns
Parameters
Type | Name |
---|---|
WaaS.Runtime.GlobalInstance | globalInstance |
Evaluate(ReadOnlySpan<Global>)
View Source
Declaration
public StackValueItem Evaluate(ReadOnlySpan<Global> initializingGlobals)
Returns
Parameters
Type | Name |
---|---|
System.ReadOnlySpan<WaaS.Runtime.Global> | initializingGlobals |