public int TopIndex() { if (_localScopesCount > 0) { return(_moduleCtx.TopIndex() + OUTER_CTX_SIZE); } else { return(_outerCtx.TopIndex()); } }
public ModuleCompilerContext(CompilerContext outerContext) { _outerCtx = outerContext; _moduleCtx = new CompilerContext(); OUTER_CTX_SIZE = _outerCtx.TopIndex() + 1; }
public ModuleCompilerContext(CompilerContext outerContext) { _outerCtx = outerContext; _moduleCtx = new CompilerContext(); OUTER_CTX_SIZE = _outerCtx.TopIndex()+1; }