Table of Contents

Class ParameterSymbol

Namespace
MuLang.Core.Symbols
Assembly
MuLang.Core.dll

Represents a parameter of a function exposed by a MuLang environment.

public sealed class ParameterSymbol
Inheritance
ParameterSymbol
Inherited Members

Constructors

ParameterSymbol(string, TypeSymbol)

Initializes a new instance of the ParameterSymbol class.

public ParameterSymbol(string name, TypeSymbol type)

Parameters

name string

The language name.

type TypeSymbol

The type.

Exceptions

ArgumentNullException

Thrown when type is null.

ArgumentException

Thrown when a symbol value is invalid.

Properties

Name

Gets the parameter name.

public string Name { get; }

Property Value

string

Type

Gets the parameter type.

public TypeSymbol Type { get; }

Property Value

TypeSymbol