Show / Hide Table of Contents

Class IrFunctionDecl

Represents a function declaration in the IR.

Inheritance
object
IrNode
IrFunctionDecl
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 IrFunctionDecl : IrNode

Fields

Args

Gets the list of parameter names.

Declaration
public List<string> Args
Field Value
Type Description
List<string>

Body

Gets the list of statements in the function body.

Declaration
public List<IrNode> Body
Field Value
Type Description
List<IrNode>

Name

Gets or sets the name of the function.

Declaration
public required string Name
Field Value
Type Description
string

ReturnType

Gets or sets the return type of the function.

Declaration
public string ReturnType
Field Value
Type Description
string
In this article
Back to top Generated by DocFX