Class VectorExpression
AST node representing a vector literal: a fixed-length list of component expressions that are each evaluated to a numeric value and combined into a Vector.
public sealed class VectorExpression : LogicalExpression
- Inheritance
-
VectorExpression
- Inherited Members
Constructors
VectorExpression(LogicalExpressionList, MathHelperOptions)
AST node representing a vector literal: a fixed-length list of component expressions that are each evaluated to a numeric value and combined into a Vector.
public VectorExpression(LogicalExpressionList expressions, MathHelperOptions mathHelperOptions)
Parameters
expressionsLogicalExpressionListmathHelperOptionsMathHelperOptions
Properties
Expressions
The ordered list of component expressions. Each expression must evaluate to a numeric value; together they define the vector's dimensions.
public LogicalExpressionList Expressions { get; set; }
Property Value
MathHelperOptions
public MathHelperOptions MathHelperOptions { get; }
Property Value
Methods
Accept<T>(ILogicalExpressionVisitor<T>, CancellationToken)
public override T Accept<T>(ILogicalExpressionVisitor<T> visitor, CancellationToken cancellationToken = default)
Parameters
visitorILogicalExpressionVisitor<T>cancellationTokenCancellationToken
Returns
- T
Type Parameters
T