Class TokenTypeExtensions
Extension methods for IDictionary<string, T>.
Inheritance
System.Object
TokenTypeExtensions
Namespace: Perlang.Interpreter.Extensions
Assembly: Perlang.Interpreter.dll
Syntax
public static class TokenTypeExtensions : object
Methods
| Improve this Doc View SourceToSourceString(TokenType)
Converts the given TokenType to its representation in source code form.
Declaration
public static string ToSourceString(this TokenType tokenType)
Parameters
Type | Name | Description |
---|---|---|
TokenType | tokenType | A TokenType. |
Returns
Type | Description |
---|---|
System.String | The source-level representation of the given token type. |