Table of Contents

Class IrFunctionDecl

Namespace
Xui.GPU.IR
Assembly
Xui.Core.dll

Represents a function declaration.

public class IrFunctionDecl : IrNode
Inheritance
IrFunctionDecl
Inherited Members

Properties

Body

Gets or sets the function body block.

public IrBlock Body { get; set; }

Property Value

IrBlock

Kind

Gets the IR node kind for this declaration.

public override IrNodeKind Kind { get; }

Property Value

IrNodeKind

Name

Gets or sets the function name.

public string Name { get; set; }

Property Value

string

Parameters

Gets the list of function parameters.

public List<IrParameter> Parameters { get; }

Property Value

List<IrParameter>

ReturnType

Gets or sets the return type.

public IrType ReturnType { get; set; }

Property Value

IrType