Environment {SMRUCC.Rsharp.Runtime} | .NET clr documentation |
A R#
scripting runtime context.
(在一个环境对象容器之中,所有的对象都是以变量来表示的)
# namespace SMRUCC.Rsharp.Runtime
export class Environment {
# 导入的函数列表
funcSymbols: list;
# 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[];
}
funcSymbols
: listlast
: any kindmessages
: iterates(Message)stackFrame
: StackFramestackTrace
: StackFrame