GlobalEnvironment {SMRUCC.Rsharp.Runtime} | .NET clr documentation

## GlobalEnvironment

### Description

the global environment of the R# interpreter runtime.

R#之中的全局环境对象

### Declare

    # namespace SMRUCC.Rsharp.Runtime
    export class GlobalEnvironment extends Environment {
       attachedNamespace: SymbolNamespaceSolver;
       debugLevel: DebugLevels;
       # RInterpreter.debug
       debugMode: boolean;
       factors: list;
       funcSymbols: list;
       globalEnvironment: GlobalEnvironment;
       isGlobal: boolean;
       isLINQContext: boolean;
       last: any kind;
       # 用于traceback进行脚本函数调试使用
       lastException: Message;
       log4vb_redirect: boolean;
       messages: iterates(Message);
       options: Options;
       packages: PackageManager;
       parent: Environment;
       # Enable programming in multiple kind of programming language
       polyglot: Platform;
       profiler2: Stack`1;
       # the R# script host object
       Rscript: RInterpreter;
       # if current executation is comes from the R script executation
       #  then this property will returns the directory path in the !script
       #  magic symbol object, otherwise will returns nothing
       scriptDir: string;
       stackFrame: StackFrame;
       stackTrace: StackFrame[];
       # a TextWriter wrapper object
       stdout: RContentOutput;
       symbolLanguages: SymbolLanguageProcessor;
       types: list;
    }

### .NET clr type reference tree

1. this class extends from Environment class: Environment
2. use by property member `attachedNamespace`: SymbolNamespaceSolver
3. use by property member `debugLevel`: DebugLevels
4. use by property member `factors`: list
5. use by property member `funcSymbols`: list
6. use by property member `last`: any kind
7. use by property member `lastException`: Message
8. use by property member `messages`: iterates(Message)
9. use by property member `options`: Options
10. use by property member `packages`: PackageManager
11. use by property member `polyglot`: Platform
12. use by property member `profiler2`: Stack`1
13. use by property member `Rscript`: RInterpreter
14. use by property member `stackFrame`: StackFrame
15. use by property member `stackTrace`: StackFrame
16. use by property member `stdout`: RContentOutput
17. use by property member `symbolLanguages`: SymbolLanguageProcessor
18. use by property member `types`: list

[Package {$package} version {$version} Index]