ContextStack Class
Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Semantic
public class ContextStack
Inheritance
ContextStack → object
Constructors
| ContextStack(Topten.Cminor.Compiler) |
Properties
| CurrentMember | |
| CurrentType | |
| Entries | |
| Top |
Methods
| Push(Topten.Cminor.Ast.AstStatement) | Push a context onto the context stack |
| ResolveName(string, bool) | Resolve a simple name (aka identifier) based on the current context |
| ResolveType(Topten.Cminor.Ast.AstTypeName) | Resolve a type name from the current context |
| ResolveTypeWithException(Topten.Cminor.Ast.AstTypeName) | Resolve a type name and throw a CodeException if not found |
| ResolveTypeWithReport(Topten.Cminor.Ast.AstTypeName) | Resolve a type name and log error if not found then return null |
