1using System.Collections.Generic;
51 LinkedList<IElement> Elements =
new LinkedList<IElement>();
55 foreach (
IElement E
in V.VectorElements)
60 if (!(this.reference is
null))
61 Variables[this.reference.VariableName] = Result;
Base class for all types of elements.
Script runtime exception.
Class managing a script expression.
override string FunctionName
Name of the function
override string[] DefaultArgumentNames
Default Argument names
PushFirst(ScriptNode Element, ScriptNode Vector, int Start, int Length, Expression Expression)
PushFirst(v)
override IElement Evaluate(IElement[] Arguments, Variables Variables)
Evaluates the function.
Base class for multivariate funcions.
ScriptNode[] Arguments
Function arguments.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
Expression Expression
Expression of which the node is a part.
int Start
Start position in script expression.
Represents a variable reference.
Basic interface for all types of elements.
IElement Encapsulate(ICollection< IElement > Elements, ScriptNode Node)
Encapsulates a set of elements into a similar structure as that provided by the current element.
Basic interface for vectors.
ArgumentType
Type of parameter used in a function definition or a lambda definition.