Class GlobalSymbol
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
idstringThe provider identifier.
namestringThe language name.
typeTypeSymbolThe type.
Exceptions
- ArgumentNullException
Thrown when
typeisnull.- ArgumentException
Thrown when a symbol value is invalid.
Properties
Id
Gets the provider identifier.
public string Id { get; }
Property Value
Name
Gets the language name.
public string Name { get; }
Property Value
Type
Gets the global value type.
public TypeSymbol Type { get; }