Union class
Return a collection that has all the items from the specified collections. To appear in the result, an item can appear in any collection passed to this function. If one or more items have the same name, the last item with that name appears in the result.
- Extends
Constructors
Union() | Initializes a new instance of the Union class. |
Properties
negation | Gets the evaluator that is a negation of this one. Sets the evaluator that is a negation of this one. |
Inherited Properties
return |
Type expected by evaluating the expression. |
type | Gets the expression type for evaluator. |
Inherited Methods
try |
Evaluate an expression. |
validate |
Validate an expression. |
Constructor Details
Union()
Initializes a new instance of the Union class.
new Union()
Property Details
negation
Gets the evaluator that is a negation of this one. Sets the evaluator that is a negation of this one.
ExpressionEvaluator negation
Property Value
The evaluator that is a negation of this one.
Inherited Property Details
returnType
Type expected by evaluating the expression.
returnType: ReturnType
Property Value
Inherited From ExpressionEvaluator.returnType
type
Gets the expression type for evaluator.
type: string
Property Value
string
Inherited From ExpressionEvaluator.type
Inherited Method Details
tryEvaluate(Expression, MemoryInterface, Options)
Evaluate an expression.
function tryEvaluate(expression: Expression, state: MemoryInterface, options: Options): ValueWithError
Parameters
- expression
- Expression
Expression to evaluate.
- state
- MemoryInterface
Global state information.
- options
- Options
Options used in the evaluation.
Returns
The value and error string that is non-null if there is an error.
Inherited From ExpressionEvaluator.tryEvaluate
validateExpression(Expression)
Validate an expression.
function validateExpression(expression: Expression)
Parameters
- expression
- Expression
Expression to validate.
Inherited From ExpressionEvaluator.validateExpression