Class PrintFunction
public class PrintFunction : NativeFunction
- Inheritance
-
PrintFunction
- Derived
- Inherited Members
Constructors
PrintFunction()
public PrintFunction()
Fields
Identifier
public const string Identifier = "print"
Field Value
Properties
NativeParameters
protected override IEnumerable<NativeFunction.NativeParameter> NativeParameters { get; }
Property Value
ReturnTypes
protected override IEnumerable<ResultType> ReturnTypes { get; }
Property Value
Methods
Invoke(TokenLocation, Interpreter, IReadOnlyList<ExpressionNode>)
public override ExpressionResult Invoke(TokenLocation callLocation, Interpreter interpreter, IReadOnlyList<ExpressionNode> arguments)
Parameters
callLocation
TokenLocationinterpreter
Interpreterarguments
IReadOnlyList<ExpressionNode>
Returns
Print(TextWriter, string)
protected virtual void Print(TextWriter output, string value)
Parameters
output
TextWritervalue
string