DeclareNewSymbol {SMRUCC.Rsharp.Interpreter.ExecuteEngine.ExpressionSymbols.Closure} | .NET clr documentation |
An expressin for create a new symbol inside the runtime environment
# namespace SMRUCC.Rsharp.Interpreter.ExecuteEngine.ExpressionSymbols.Closure
export class DeclareNewSymbol extends SymbolExpression {
expressionName: ExpressionTypes;
# true for if the DeclareNewSymbol.value expression is not nothing
hasInitializeExpression: boolean;
isCallable: boolean;
# does current symbol declaration contains multiple symbol targets?
isTuple: boolean;
# tuple names.
# (对于tuple语法,会存在多个变量)
names: IReadOnlyCollection`1;
stackFrame: StackFrame;
# the size of the symbol names
symbolSize: integer;
# get object value type for current new symbol
type: TypeCodes;
# the unit name of the symbol value if it is a vector
unit: string;
# The symbol initial value.(初始值)
value: Expression;
}
expressionName
: ExpressionTypesnames
: IReadOnlyCollection`1stackFrame
: StackFrametype
: TypeCodesvalue
: Expression