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

## Environment

### Description

A `R#` scripting runtime context.

(在一个环境对象容器之中，所有的对象都是以变量来表示的)

### Declare

    # namespace SMRUCC.Rsharp.Runtime
    export class Environment {
       # 导入的函数列表
       funcSymbols: SymbolSet;
       # the global environment
       globalEnvironment: GlobalEnvironment;
       # It is the top level global environment?
       isGlobal: boolean;
       isLINQContext: boolean;
       # get value of the special last variable in R# Environment
       last: any kind;
       # 主要是存储警告消息
       messages: iterates(Message);
       # 最顶层的closure环境的parent是空值来的
       parent: Environment;
       # The name of this current stack closure.(R function name, closure id, etc)
       stackFrame: StackFrame;
       # @M:SMRUCC.Rsharp.Runtime.Internal.debug.getEnvironmentStack(SMRUCC.Rsharp.Runtime.Environment)
       stackTrace: StackFrame[];
    }

### .NET clr type reference tree

1. use by property member `funcSymbols`: SymbolSet
2. use by property member `last`: any kind
3. use by property member `messages`: iterates(Message)
4. use by property member `stackFrame`: StackFrame
5. use by property member `stackTrace`: StackFrame

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