Symbol {SMRUCC.Rsharp.Runtime.Components} | .NET clr documentation |
The variable model in R# language
# namespace SMRUCC.Rsharp.Runtime.Components
export class Symbol {
# 当前的这个变量被约束的类型
constraint: TypeCodes;
# 当前的变量值的类型代码是否满足类型约束条件
constraintValid: boolean;
# 当前的这个符号值是否是一个可以被调用的函数对象?
isCallable: boolean;
# The vector length
length: integer;
name: string;
readonly: boolean;
# which runtime stack that this variable symbol is created?
stacktrace: StackFrame[];
# 当前的这个变量的值所具有的类型代码
typeCode: TypeCodes;
# RType.fullName, key for GlobalEnvironment.types
typeId: string;
# Get the .net clr type of the current object Symbol.value.
typeof: Type;
# 变量值对于基础类型而言,都是以数组的形式存储的
# 非基础类型则为其值本身
value: any kind;
}
constraint
: TypeCodesstacktrace
: StackFrametypeCode
: TypeCodestypeof
: Typevalue
: any kind