RArgumentList
01 Syntax
SMRUCC.Rsharp.Runtime.Interop.RArgumentList
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| objectListArgumentIndex | 1 | get index of list argument |
| CreateLeftMarginArguments | 1 | |
| TryCastListObjects | 1 | |
| TryCastListObjectsInternal | 1 | try to resolve the argument parameter list |
| CreateRightMarginArguments | 1 | |
| CreateObjectListArguments | 1 | Create argument value for MethodBase.Invoke()) |
| objectListArgumentMargin | 1 |
03 Members
objectListArgumentIndex(RMethodInfo)
get index of list argument
Parameters
| Name | Type | Description |
|---|---|---|
[declare] | RMethodInfo | - |
Parameters
| Name | Type | Description |
|---|---|---|
[declare] | RMethodInfo | the first argument in api parameters is the list object argument all of the argument |
env | InvokeParameter() | - |
params | Environment | parameter declares example as: valids syntax:
|
Parameters
| Name | Type | Description |
|---|---|---|
parameterVals | Object() | - |
listIndex | Int32 | - |
argument | RMethodArgument | - |
env | Environment | - |
Returns
error message could be put into this return array, and the callee function will check the error message and then populate out to the upper environment context
try to resolve the argument parameter list
Parameters
| Name | Type | Description |
|---|---|---|
values | Object | - |
env | Environment | - |
lazy | Boolean | - |
Returns
should be a tuple list for the additional parameters, or error message
Remarks
处理参数在最后或者倒数第二个的情况
Parameters
| Name | Type | Description |
|---|---|---|
[declare] | RMethodInfo | - |
env | InvokeParameter() | - |
params | Environment |
|
Create argument value for MethodBase.Invoke()
Parameters
| Name | Type | Description |
|---|---|---|
params | RMethodInfo | required of replace dot(.) to underline(_)? |
objectListArgumentMargin(RMethodInfo)