Table of Contents

Class GlobalSymbol

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

Represents a global value exposed by a MuLang environment.

public sealed class GlobalSymbol
Inheritance
GlobalSymbol
Inherited Members

Constructors

GlobalSymbol(string, string, TypeSymbol)

Initializes a new instance of the GlobalSymbol class.

public GlobalSymbol(string id, string name, TypeSymbol type)

Parameters

id string

The provider identifier.

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

Id

Gets the provider identifier.

public string Id { get; }

Property Value

string

Name

Gets the language name.

public string Name { get; }

Property Value

string

Type

Gets the global value type.

public TypeSymbol Type { get; }

Property Value

TypeSymbol