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