the literal value expression in R#
Literal
00 Remarks
the number/boolean/character/integer/byte
01 Syntax
SMRUCC.Rsharp.Interpreter.ExecuteEngine.ExpressionSymbols.DataSets.Literal
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 2 | create literal from a language token |
| ToString | 1 | Get string representation of the literal object value |
| op_Equality | 1 | string value equals? |
| FromAnyValue | 1 | |
| Evaluate | 1 | |
| GetNativeRScript | 1 | |
| op_Inequality | 1 |
03 Properties
04 Members
#ctor(Token)
create literal from a language token
Parameters
| Name | Type | Description |
|---|---|---|
token | Token | - |
#ctor(
String)create a string literal
Parameters
| Name | Type | Description |
|---|---|---|
value | String | - |
ToString
Get string representation of the literal object value
op_Equality(Literal,
String)string value equals?
Parameters
| Name | Type | Description |
|---|---|---|
exp | Literal | - |
literal | String | - |
isNull
Does current value is NULL literal?
isNA
Does current value is NA literal?
ValueStr
any.tostring of Literal.value
type
expressionName
isNumeric
NULL
NA
TRUE
FALSE
FromAnyValue(
Object)Evaluate(Environment)
GetNativeRScript()
op_Inequality(Literal,
String)