Symbol {SMRUCC.Rsharp.Runtime.Components} | .NET clr documentation

## Symbol

### Description

The variable model in R# language

### Declare

    # 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;
    }

### .NET clr type reference tree

1. use by property member `constraint`: TypeCodes
2. use by property member `stacktrace`: StackFrame
3. use by property member `typeCode`: TypeCodes
4. use by property member `typeof`: Type
5. use by property member `value`: any kind

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