Table of Contents

Namespace BlazOrbit.SyntaxHighlight.Rules

Classes

BalancedRule

Matches balanced delimited blocks (e.g., braces) with optional nested tokenization.

ContextualKeywordRule

Matches keywords only when a context predicate is satisfied.

ContextualRegexRule

Matches a regex pattern only when a context predicate is satisfied.

DelimitedRule

Matches tokens delimited by start and end sequences, such as strings or comments.

KeywordRule

Matches a fixed set of keywords with optional case-insensitive comparison.

MarkupRule

Matches HTML-like markup tags and tokenizes their contents.

RegexRule

Matches tokens using a regular expression pattern.

SequenceRule

Matches an exact character sequence.

TokenizerContext

Provides contextual state for the tokenizer.

Interfaces

ITokenRule

Defines a rule for matching tokens during lexical analysis.