2using System.Collections.Generic;
3using System.Reflection;
5using System.Threading.Tasks;
66 object Obj =
Argument.AssociatedObjectValue;
70 List<IElement> Elements =
new List<IElement>();
74 foreach (MethodInfo MI
in T.GetRuntimeMethods())
86 foreach (MethodInfo MI
in T.GetRuntimeMethods())
97 ColumnNames =
new string[] {
"Name",
"Lambda" }
104 private static string ToString(MethodInfo MI)
106 StringBuilder sb =
new StringBuilder();
112 foreach (ParameterInfo PI
in MI.GetParameters())
124 return sb.ToString();
Class managing a script expression.
Lambda expression executing object methods.
Extract the methods of a type or an object.
override IElement Evaluate(IElement Argument, Variables Variables)
Evaluates the function.
override string FunctionName
Name of the function
override IElement Evaluate(Variables Variables)
Evaluates the function.
override async Task< IElement > EvaluateAsync(Variables Variables)
Evaluates the function.
Methods(ScriptNode Argument, int Start, int Length, Expression Expression)
Extract the methods of a type or an object.
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.
override string ToString()
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.
Basic interface for all types of elements.