2using System.Collections.Generic;
3using System.Reflection;
4using System.Threading.Tasks;
63 List<IElement> Elements =
new List<IElement>();
67 foreach (FieldInfo FI
in T.GetRuntimeFields())
79 foreach (FieldInfo FI
in T.GetRuntimeFields())
90 ColumnNames =
new string[] {
"Name",
"Value" }
Class managing a script expression.
static IElement Encapsulate(object Value)
Encapsulates an object.
Extract the fields of a type or an object.
override string FunctionName
Name of the function
Fields(ScriptNode Argument, int Start, int Length, Expression Expression)
Extract the fields of a type or an object.
override async Task< IElement > EvaluateAsync(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
override bool IsAsynchronous
If the node (or its decendants) include asynchronous evaluation. Asynchronous nodes should be evaluat...
override IElement Evaluate(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
override IElement Evaluate(IElement Argument, Variables Variables)
Evaluates the function.
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.
static async Task< object > WaitPossibleTask(object Result)
Waits for any asynchronous process to terminate.
int Start
Start position in script expression.
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.
Basic interface for all types of elements.
object AssociatedObjectValue
Associated object value.