Class IrUnaryOp
Represents a unary operation.
public class IrUnaryOp : IrExpression
- Inheritance
-
IrUnaryOp
- Inherited Members
Constructors
IrUnaryOp(UnaryOperator, IrExpression, IrType)
Initializes a new instance of the IrUnaryOp class.
public IrUnaryOp(UnaryOperator op, IrExpression operand, IrType type)
Parameters
opUnaryOperatoroperandIrExpressiontypeIrType
Properties
Kind
Gets the node kind for this unary operation.
public override IrNodeKind Kind { get; }
Property Value
Operand
Gets the operand of the unary operation.
public IrExpression Operand { get; }
Property Value
Operator
Gets the unary operator.
public UnaryOperator Operator { get; }
Property Value
Type
Gets the result type of the unary operation.
public override IrType Type { get; }