Class GlobalSymbols
The symbols that belong to no declaration.
public static class GlobalSymbols
- Inheritance
-
GlobalSymbols
- Inherited Members
Remarks
One member, and it is a sentinel: something a resolver or a caller can name when there is nothing real to name.
This was a grab-bag of some 140 static symbols: a table of every operator symbol, named accessors
into that table, an ExtensionSymbols nest of per-type Byte.Min/Long.Max
constants, a StaticSymbols nest of True/Nothing/vbNullString, and an
Initialize that seeded an index with the operators. Exactly one of them was ever read by any
code, and only for its declared type (which the type itself already names), and nothing called
Initialize at all. Together they looked like a language model; measured, they were a list of
names nobody could resolve, because nothing ever put them in a scope.
The language's own names come from the language core's StdLibSymbolProvider, whose symbols
reach the scope tree, so a name like vbNullString binds. A name that is part of the language
is declared there, once and resolvable, and not here as a static field.
Fields
UnresolvedSymbol
Represents a symbol that is unbound and unresolved.
public static readonly StaticSymbol UnresolvedSymbol
Field Value
Remarks
The data type of this symbol is VBUnknownType.