Class SyntaxToken
- Namespace
- MarkMyDeck.SyntaxHighlighting
- Assembly
- MarkMyDeck.dll
Represents a syntax token with its text content and classification type.
public class SyntaxToken
- Inheritance
-
objectSyntaxToken
Constructors
SyntaxToken(string, TokenType)
public SyntaxToken(string text, TokenType type)
Parameters
textstringtypeTokenType
Properties
Text
public string Text { get; }
Property Value
- string
Type
public TokenType Type { get; }