Table of Contents

Class PrintFunction

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

Constructors

PrintFunction()

public PrintFunction()

Fields

Identifier

public const string Identifier = "print"

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 ExpressionResult Invoke(TokenLocation callLocation, Interpreter interpreter, IReadOnlyList<ExpressionNode> arguments)

Parameters

callLocation TokenLocation
interpreter Interpreter
arguments IReadOnlyList<ExpressionNode>

Returns

ExpressionResult

Print(TextWriter, string)

protected virtual void Print(TextWriter output, string value)

Parameters

output TextWriter
value string