2using System.Collections.Generic;
35 return this.ConvertToSet(
Operand);
63 return this.
op.
PatternMatch(this.ConvertToSet(CheckAgainst), AlreadyFound);
Class managing a script expression.
Base class for all unary operators performing operand null checks.
bool NullCheck
If null check is to be used.
readonly bool nullCheck
If null should be returned if operand is null.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
virtual PatternMatchResult PatternMatch(IElement CheckAgainst, Dictionary< string, IElement > AlreadyFound)
Performs a pattern match operation.
int Start
Start position in script expression.
ScriptNode Operand
Operand.
static IElement Encapsulate(ICollection< IElement > Elements)
Encapsulates the elements of a set.
override PatternMatchResult PatternMatch(IElement CheckAgainst, Dictionary< string, IElement > AlreadyFound)
Performs a pattern match operation.
ToSet(ScriptNode Operand, bool NullCheck, int Start, int Length, Expression Expression)
To-Set operator.
override IElement Evaluate(IElement Operand, Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
Basic interface for all types of elements.
object AssociatedObjectValue
Associated object value.
Basic interface for vectors.
Basic interface for all types of sets.
PatternMatchResult
Status result of a pattern matching operation.