Table of Contents

Class SyntaxToken

Namespace
MarkMyDeck.SyntaxHighlighting
Assembly
MarkMyDeck.dll

Represents a syntax token with its text content and classification type.

public class SyntaxToken
Inheritance
object
SyntaxToken

Constructors

SyntaxToken(string, TokenType)

public SyntaxToken(string text, TokenType type)

Parameters

text string
type TokenType

Properties

Text

public string Text { get; }

Property Value

string

Type

public TokenType Type { get; }

Property Value

TokenType