Class BinaryOperation
Binary operation between two expressions, e.g., Plus,
And.
Inheritance
BinaryOperation
Assembly: MetricSetSyntaxTree.dll
Syntax
public class BinaryOperation : Expression<BinaryOperation, Table>, IVisitable<IExpressionVisitor>, ICloneable<BinaryOperation, Table, Expression>, ICloneable<Expression>, IDirectedAcyclicGraph<Expression>
Constructors
View Source
BinaryOperation(Table, BinaryOperationKind, Expression, Expression)
Declaration
public BinaryOperation(Table table, BinaryOperationKind operator, Expression left, Expression right)
Parameters
Properties
View Source
Left
Declaration
public Expression Left { get; }
Property Value
View Source
Operator
The operator applied to these two arguments, e.g. Plus.
Declaration
public BinaryOperationKind Operator { get; }
Property Value
View Source
Parents
Declaration
[JsonIgnore]
public override IReadOnlyList<Expression> Parents { get; }
Property Value
Overrides
View Source
Right
Declaration
public Expression Right { get; }
Property Value
Methods
View Source
Accept(IExpressionVisitor)
Declaration
public override void Accept(IExpressionVisitor visitor)
Parameters
Overrides
View Source
Clone(Table, IReadOnlyList<Expression>)
Declaration
public override BinaryOperation Clone(Table table, IReadOnlyList<Expression> parents)
Parameters
Returns
Overrides
Mangrove.MetricSetSyntaxTree.Expression<Mangrove.MetricSetSyntaxTree.ExpressionNodes.BinaryOperation, Mangrove.MetricSetSyntaxTree.Table>.Clone(Mangrove.MetricSetSyntaxTree.Table, System.Collections.Generic.IReadOnlyList<Mangrove.MetricSetSyntaxTree.Expression>)
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods