/// <summary> /// Pop the current live variables. /// </summary> public void PopScope() { scope = (ScopeDeclContext)scope.Parent; }
public CodeGen(Module Module) : base(Module ?? new Module()) { expressionCompiler = new CompileExpression(this); statementCompiler = new CompileStatement(this); scope = new ScopeDeclContext(this); }
/// <summary> /// Push a new scope for live variables. /// </summary> public void PushScope() { scope = new ScopeDeclContext(scope); }