Class Unary
- Namespace
- flx.SILQ.Expressions
- Assembly
- flx.SILQ.dll
public record Unary : Expression, IEquatable<Expression>, IEquatable<Unary>
- Inheritance
-
Unary
- Implements
- Inherited Members
Constructors
Unary(Token, Expression)
public Unary(Token Operator, Expression Right)
Parameters
OperatorTokenRightExpression
Properties
Operator
public Token Operator { get; init; }
Property Value
Right
public Expression Right { get; init; }
Property Value
Methods
Accept<T>(IVisitor<T>)
public override T Accept<T>(IVisitor<T> visitor)
Parameters
visitorIVisitor<T>
Returns
- T
Type Parameters
T