Table of Contents

Class LengthFunction

Namespace
StepLang.Framework.Pure
Assembly
StepLang.dll
public class LengthFunction : NativeFunction
Inheritance
LengthFunction
Inherited Members

Constructors

LengthFunction()

public LengthFunction()

Fields

Identifier

public const string Identifier = "length"

Field Value

string

Properties

NativeParameters

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

Property Value

IEnumerable<NativeFunction.NativeParameter>

ReturnTypes

protected override IEnumerable<ResultType> ReturnTypes { get; }

Property Value

IEnumerable<ResultType>

Methods

Invoke(TokenLocation, Interpreter, IReadOnlyList<ExpressionNode>)

public override NumberResult Invoke(TokenLocation callLocation, Interpreter interpreter, IReadOnlyList<ExpressionNode> arguments)

Parameters

callLocation TokenLocation
interpreter Interpreter
arguments IReadOnlyList<ExpressionNode>

Returns

NumberResult