Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
struct | NamespaceEnumerator |
struct | ScopeRecord |
Public Member Functions | |
CompilerScopeManager () | |
CompilerScopeManager (KeywordsTable atoms) | |
void | EnterScope () |
void | ExitScope () |
bool | EnterScope ([NotNullWhen(true)] NsDecl nsDecl) |
void | AddVariable (QilName varName, V value) |
string | LookupNamespace (string prefix) |
void | AddNsDeclaration (string prefix, string nsUri) |
void | AddExNamespace (string nsUri) |
bool | IsExNamespace (string nsUri) |
V | LookupVariable (string localName, string uri) |
bool | IsLocalVariable (string localName, string uri) |
NamespaceEnumerator | GetEnumerator () |
Package Functions | |
IEnumerable< ScopeRecord > | GetActiveRecords () |
Properties | |
bool | ForwardCompatibility [get, set] |
bool | BackwardCompatibility [get, set] |
bool | CanHaveApplyImports [get, set] |
Private Member Functions | |
void | AddRecord () |
void | AddRecord (ScopeFlags flag, string ncName, string uri, [AllowNull] V value) |
void | SetFlag (ScopeFlags flag, bool value) |
string | LookupNamespace (string prefix, int from, int to) |
int | SearchVariable (string localName, string uri) |
Static Private Member Functions | |
static ScopeFlags | GetName (ref ScopeRecord re, out string prefix, out string nsUri) |
Private Attributes | |
ScopeRecord[] | _records = new ScopeRecord[32] |
int | _lastRecord |
int | _lastScopes |
Definition at line 7 of file CompilerScopeManager.cs.