2using System.Collections.Generic;
40 get {
return new string[] {
"Vector",
"Item" }; }
58 ICollection<IElement> ChildElements;
61 ChildElements = V.VectorElements;
62 else if (Vector is
ISet S)
65 throw new ScriptRuntimeException(
"Expected string arguments, or the first argument to be a vector or a set.",
this);
Base class for all types of elements.
virtual ICollection< IElement > ChildElements
An enumeration of child elements. If the element is a scalar, this property will return null.
Script runtime exception.
Class managing a script expression.
override string FunctionName
Name of the function
Contains(ScriptNode Vector, ScriptNode Item, int Start, int Length, Expression Expression)
Contains(Vector,Item)
override IElement Evaluate(IElement[] Arguments, Variables Variables)
Evaluates the function on a vector argument.
override string[] DefaultArgumentNames
Default Argument names
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.
static readonly BooleanValue False
Constant false value.
static readonly BooleanValue True
Constant true value.
Basic interface for all types of elements.
object AssociatedObjectValue
Associated object value.
Basic interface for vectors.
Basic interface for all types of sets.
ArgumentType
Type of parameter used in a function definition or a lambda definition.