The signature determination of the given expression tokens
ExpressionSignature
01 Syntax
SMRUCC.Rsharp.Language.Syntax.SyntaxParser.ExpressionSignature
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| isLambdaFunction | 2 | The given code tokens is a lambda function? x -> ... |
| isNamespaceReferenceCall | 1 | ns::f |
| isFunctionInvoke | 1 | XXX(YYY) |
| isTuple | 1 | [x,y,z] |
| isComma | 1 | length is 1 and also the token is comma |
| isLiteral | 1 | XXX |
| isIdentifier | 1 | XXX |
| isKeyword | 2 | XXX |
| isOneOfKeywords | 1 | XXX |
| isOperator | 1 | |
| isValueAssign | 1 | |
| isSequenceSyntax | 1 | |
| ifElseTriple | 1 | |
| isByRefCall | 1 | |
| isSimpleSymbolIndexer | 1 | |
| isAnonymous | 1 | |
| isAcceptor | 1 | |
| parseComplexSymbolIndexer | 1 | |
| isStackOf | 1 | |
| isVectorLoop | 1 | |
| isAnyKeyword | 1 |
03 Fields
| Name | Overloads | Summary |
|---|---|---|
| lambdaOperator | 1 | orelse = |
04 Members
isLambdaFunction(
List(Of Token()))The given code tokens is a lambda function?
x -> ...
Parameters
| Name | Type | Description |
|---|---|---|
code | List(Of Token()) | - |
isLambdaFunction(
Variant(Of Expression, String)())The given code tokens is a lambda function?
x -> ...
Parameters
| Name | Type | Description |
|---|---|---|
code | Variant(Of Expression, String)() | - |
isNamespaceReferenceCall(
Variant(Of Expression, String)())ns::f
Parameters
| Name | Type | Description |
|---|---|---|
tokens | Variant(Of Expression, String)() | - |
isFunctionInvoke(Token())
XXX(YYY)
Parameters
| Name | Type | Description |
|---|---|---|
tokens | Token() | - |
isTuple(Token())
[x,y,z]
Parameters
| Name | Type | Description |
|---|---|---|
tokens | Token() | - |
isComma(Token())
length is 1 and also the token is comma
Parameters
| Name | Type | Description |
|---|---|---|
tokens | Token() | - |
XXX
Parameters
isIdentifier(Token())
XXX
Parameters
| Name | Type | Description |
|---|---|---|
tokens | Token() | - |
isKeyword(Token,
String)XXX
Parameters
| Name | Type | Description |
|---|---|---|
token | Token | - |
keyword | String | - |
isKeyword(Token(),
String)XXX
Parameters
| Name | Type | Description |
|---|---|---|
tokens | Token() | - |
keyword$ | String | - |
isOneOfKeywords(Token(),
String())XXX
Parameters
| Name | Type | Description |
|---|---|---|
tokens | Token() | - |
keywords | String() | - |
isOperator(Token(),
String())*
Parameters
| Name | Type | Description |
|---|---|---|
tokens | Token() | - |
operators | String() | - |
lambdaOperator
-> orelse =>
isValueAssign(
List(Of Token()))isSequenceSyntax(
List(Of Token()))ifElseTriple(Token())
isByRefCall(
Variant(Of Expression, String)())isSimpleSymbolIndexer(Token())
isAnonymous(
List(Of Token()))isAcceptor(Token())
parseComplexSymbolIndexer(Token(), SyntaxBuilderOptions)
isVectorLoop(Token())
isAnyKeyword(Token,
String())