ContextStack.ResolveName Method
Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Semantic
Declaring Type: ContextStack
Resolve a simple name (aka identifier) based on the current context
public IBinding ResolveName(string name, bool stopAtType = false);
Remarks
The stopAtType parameter can be used to check if a local variable/parameter is already defined in the current scope.
Parameters
string name | The simple name to be resolved |
bool stopAtType = false | True to stop looking when reaching the current stuct/class |
Returns
IBinding |