Skip to main content

Class InstanceFunction

Represents an instance of a function.

Assembly: WaaS.Core.dll
View Source
Declaration
public class InstanceFunction : IInvocableFunction, IExternal

Implements:
WaaS.Runtime.IInvocableFunction, WaaS.Runtime.IExternal

Properties

Type

View Source
Declaration
public FunctionType Type { get; }

Fields

function

View Source
Declaration
public readonly Function function

instance

View Source
Declaration
public readonly Instance instance

Methods

CreateFrame(ExecutionContext, ReadOnlySpan<StackValueItem>)

View Source
Declaration
public StackFrame CreateFrame(ExecutionContext context, ReadOnlySpan<StackValueItem> inputValues)
Returns

WaaS.Runtime.StackFrame

Parameters
TypeName
WaaS.Runtime.ExecutionContextcontext
System.ReadOnlySpan<WaaS.Runtime.StackValueItem>inputValues

Implements