Table of Contents

Class NativeFunction

Namespace
StepLang.Framework
Assembly
StepLang.dll
public abstract class NativeFunction : FunctionDefinition
Inheritance
NativeFunction
Derived
Inherited Members

Constructors

NativeFunction()

protected NativeFunction()

Properties

AnyType

protected static IReadOnlyList<ResultType> AnyType { get; }

Property Value

IReadOnlyList<ResultType>

AnyValueType

protected static IReadOnlyList<ResultType> AnyValueType { get; }

Property Value

IReadOnlyList<ResultType>

DebugBodyString

protected override string DebugBodyString { get; }

Property Value

string

NativeParameters

protected abstract IEnumerable<NativeFunction.NativeParameter> NativeParameters { get; }

Property Value

IEnumerable<NativeFunction.NativeParameter>

NullableNumber

protected static IReadOnlyList<ResultType> NullableNumber { get; }

Property Value

IReadOnlyList<ResultType>

NullableString

protected static IReadOnlyList<ResultType> NullableString { get; }

Property Value

IReadOnlyList<ResultType>

OnlyBool

protected static IReadOnlyList<ResultType> OnlyBool { get; }

Property Value

IReadOnlyList<ResultType>

OnlyFunction

protected static IReadOnlyList<ResultType> OnlyFunction { get; }

Property Value

IReadOnlyList<ResultType>

OnlyList

protected static IReadOnlyList<ResultType> OnlyList { get; }

Property Value

IReadOnlyList<ResultType>

OnlyMap

protected static IReadOnlyList<ResultType> OnlyMap { get; }

Property Value

IReadOnlyList<ResultType>

OnlyNumber

protected static IReadOnlyList<ResultType> OnlyNumber { get; }

Property Value

IReadOnlyList<ResultType>

OnlyString

protected static IReadOnlyList<ResultType> OnlyString { get; }

Property Value

IReadOnlyList<ResultType>

Parameters

public override IReadOnlyCollection<IVariableDeclarationNode> Parameters { get; }

Property Value

IReadOnlyCollection<IVariableDeclarationNode>

Methods

CheckArgumentCount(TokenLocation, IReadOnlyList<ExpressionNode>)

protected void CheckArgumentCount(TokenLocation location, IReadOnlyList<ExpressionNode> arguments)

Parameters

location TokenLocation
arguments IReadOnlyList<ExpressionNode>

CheckArgumentCount(TokenLocation, IReadOnlyList<ExpressionNode>, int, int)

protected static void CheckArgumentCount(TokenLocation location, IReadOnlyList<ExpressionNode> arguments, int minCount, int maxCount)

Parameters

location TokenLocation
arguments IReadOnlyList<ExpressionNode>
minCount int
maxCount int