1using System.Threading.Tasks;
35 get {
return new string[] {
"println" }; }
46 string Msg = E.AssociatedObjectValue is
string s ? s : E.ToString();
59 string Msg = E.AssociatedObjectValue is
string s ? s : E.ToString();
Class managing a script expression.
Prints to the console, ending with a new line.
override async Task< IElement > EvaluateAsync(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
override string FunctionName
Name of the function
PrintLine(ScriptNode Argument, int Start, int Length, Expression Expression)
Prints to the console, ending with a new line.
override IElement Evaluate(IElement Argument, Variables Variables)
Evaluates the function.
override string[] Aliases
Optional aliases. If there are no aliases for the function, null is returned.
override IElement Evaluate(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
Base class for funcions of one variable.
ScriptNode Argument
Function argument.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
int Start
Start position in script expression.
abstract IElement Evaluate(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection. This method should be ...
virtual Task< IElement > EvaluateAsync(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection. This method should be ...
static readonly ObjectValue Null
Null value.
TextWriter ConsoleOut
Console out interface. Can be used by functions and script to output data to the console.
Basic interface for all types of elements.