1using System.Threading.Tasks;
17 : base(null, 0, 0, null)
70 return Uri == this.FunctionName ? Grade.Ok :
Grade.NotAtAll;
Class managing a script expression.
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 ...
Abstract base class for semantic conversion functions.
override IElement Evaluate(Variables Variables)
Evaluates the function on a scalar argument.
override async Task< IElement > EvaluateAsync(Variables Variables)
Evaluates the function on a scalar argument.
abstract ScriptNode CreateFunction(ScriptNode Argument, int Start, int Length, Expression Expression)
Creates a function node.
SemanticConversionFunction()
Abstract base class for semantic conversion functions.
abstract IElement Convert(object Value)
Converts an object to the desired type.
override IElement Evaluate(IElement Argument, Variables Variables)
Evaluates the function.
virtual Grade Supports(string Uri)
How well the extension function supports an URI.
override Task< IElement > EvaluateAsync(IElement Argument, Variables Variables)
Evaluates the function.
int MaxArguments
Maximum number of arguments
int MinArguments
Minimum number of arguments
ScriptNode CreateFunction(ScriptNode[] Arguments, int Start, int Length, Expression Expression)
Creates a function node.
SemanticConversionFunction(ScriptNode Argument, int Start, int Length, Expression Expression)
Basic interface for all types of elements.
object AssociatedObjectValue
Associated object value.
Interface for extension functions