Helper for R shell terminal multiple line editing
IncompleteExpression
01 Syntax
SMRUCC.Rsharp.Language.Syntax.IncompleteExpression
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| CheckTokenSequence | 1 | test the given line tokens is in-complete expression or not? |
| scanStackOpen | 1 | |
| Append | 1 | |
| Clear | 1 | |
| GetRScriptText | 1 | |
| PopRScriptText | 1 | |
| GetRScript | 1 | |
| eval | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Check | 1 |
04 Members
CheckTokenSequence(Token())
test the given line tokens is in-complete expression or not?
Remarks
in-complete expression:
- ends with operator token
- bracket stack not closed
Parameters
| Name | Type | Description |
|---|---|---|
tokens | Token() | - |
scanStackOpen(Token())
Parameters
| Name | Type | Description |
|---|---|---|
tokens | Token() | - |
Returns
returns true means the stack is opened
Check
Returns
true means the script expression is in-complete
Append(
String)Clear()
GetRScriptText()
PopRScriptText()
GetRScript()
eval(Environment)