operator for test of left in right?
BinaryInExpression
00 Remarks
- 如果右边参数为序列,则是进行对值的indexOf操作
- 如果右边参数为列表,则是对key进行查找操作
01 Syntax
SMRUCC.Rsharp.Interpreter.ExecuteEngine.ExpressionSymbols.Operators.BinaryInExpression
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 | construct a expression for determine that does a in b? |
| testListIndex | 1 | check keys in left is exists in the namelist of right? |
| getIndex | 1 | |
| Evaluate | 1 | |
| ToString | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| type | 1 | |
| expressionName | 1 | |
| left | 1 | |
| right | 1 | |
| operator | 1 |
04 Members
#ctor(Expression, Expression)
construct a expression for determine that does a in b?
Parameters
| Name | Type | Description |
|---|---|---|
a | Expression | left |
b | Expression | right |
testListIndex(
RNames, String())check keys in left is exists in the namelist of right?
Parameters
| Name | Type | Description |
|---|---|---|
sequence | RNames | - |
testLeft | String() | - |
getIndex(
Object)Parameters
| Name | Type | Description |
|---|---|---|
src | Object | - |
Returns
array data or error message
type
expressionName
left
right
operator
Evaluate(Environment)
ToString()