Class PosToken
Assembly: RCaron.dll
View Source
Declarationcsharppublic class PosToken
Declarationcsharppublic class PosToken
Derived:
RCaron.BlockPosToken, RCaron.ExternThingToken, RCaron.IndexerToken, RCaron.KeywordToken, RCaron.OperationPosToken, RCaron.ValuePosToken
Properties
Position
View Source
Declarationcsharppublic (int Start, int End) Position { get; }
Declarationcsharppublic (int Start, int End) Position { get; }
Type
View Source
Declarationcsharppublic TokenType Type { get; }
Declarationcsharppublic TokenType Type { get; }
Methods
ToString(string)
View Source
Declarationcsharppublic string ToString(string text)
Declarationcsharppublic string ToString(string text)
Returns
System.String
Parameters
| Type | Name |
|---|---|
System.String | text |
EqualsString(in string, in string)
View Source
Declarationcsharppublic bool EqualsString(in string text, in string b)
Declarationcsharppublic bool EqualsString(in string text, in string b)
Returns
System.Boolean
Parameters
| Type | Name |
|---|---|
System.String | text |
System.String | b |
EqualsStringCaseInsensitive(in string, in string)
View Source
Declarationcsharppublic bool EqualsStringCaseInsensitive(in string text, in string b)
Declarationcsharppublic bool EqualsStringCaseInsensitive(in string text, in string b)
Returns
System.Boolean
Parameters
| Type | Name |
|---|---|
System.String | text |
System.String | b |
ToSpan(in ReadOnlySpan<char>)
View Source
Declarationcsharppublic ReadOnlySpan<char> ToSpan(in ReadOnlySpan<char> span)
Declarationcsharppublic ReadOnlySpan<char> ToSpan(in ReadOnlySpan<char> span)
Returns
System.ReadOnlySpan<System.Char>
Parameters
| Type | Name |
|---|---|
System.ReadOnlySpan<System.Char> | span |
IsDotJoinable()
View Source
Declarationcsharppublic bool IsDotJoinable()
Declarationcsharppublic bool IsDotJoinable()
Returns
System.Boolean
IsLiteral()
View Source
Declarationcsharppublic bool IsLiteral()
Declarationcsharppublic bool IsLiteral()
Returns
System.Boolean
IsKeywordWithIgnoredWhitespace(in string)
View Source
Declarationcsharppublic bool IsKeywordWithIgnoredWhitespace(in string raw)
Declarationcsharppublic bool IsKeywordWithIgnoredWhitespace(in string raw)
Returns
System.Boolean
Parameters
| Type | Name |
|---|---|
System.String | raw |
Extension Methods
- System.Object.RCaron.ListEx.Expect``1
- RCaron.ListEx.NotNull(object?)