Table of Contents

Class SubstringFunction

Namespace
StepLang.Framework.Pure
Assembly
StepLang.dll
public class SubstringFunction : GenericFunction<StringResult, NumberResult, ExpressionResult>
Inheritance
SubstringFunction
Inherited Members

Constructors

SubstringFunction()

public SubstringFunction()

Fields

Identifier

public const string Identifier = "substring"

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, StringResult, NumberResult, ExpressionResult)

protected override StringResult Invoke(TokenLocation callLocation, Interpreter interpreter, StringResult argument1, NumberResult argument2, ExpressionResult argument3)

Parameters

callLocation TokenLocation
interpreter Interpreter
argument1 StringResult
argument2 NumberResult
argument3 ExpressionResult

Returns

StringResult