Class IrFunctionDecl
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
Kind
Gets the IR node kind for this declaration.
public override IrNodeKind Kind { get; }
Property Value
Name
Gets or sets the function name.
public string Name { get; set; }
Property Value
Parameters
Gets the list of function parameters.
public List<IrParameter> Parameters { get; }
Property Value
ReturnType
Gets or sets the return type.
public IrType ReturnType { get; set; }