Show / Hide Table of Contents

Class IrUnary

Represents a unary operation in the IR.

Inheritance
object
IrNode
IrUnary
Inherited Members
IrNode.Line
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VM.Core.IR.Nodes
Assembly: VM.dll
Syntax
public class IrUnary : IrNode

Fields

Op

Gets or sets the unary operator (e.g., "-", "!", etc.).

Declaration
public required string Op
Field Value
Type Description
string

Operand

Gets or sets the operand of the unary operation.

Declaration
public required IrNode? Operand
Field Value
Type Description
IrNode
In this article
Back to top Generated by DocFX