blob: 9bdc5998475998b39aa24d47d8dfb7f7dd4be87c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
"""
Lexer interface and implementations.
Used for syntax highlighting.
"""
from __future__ import annotations
from .base import DynamicLexer, Lexer, SimpleLexer
from .pygments import PygmentsLexer, RegexSync, SyncFromStart, SyntaxSync
__all__ = [
# Base.
"Lexer",
"SimpleLexer",
"DynamicLexer",
# Pygments.
"PygmentsLexer",
"RegexSync",
"SyncFromStart",
"SyntaxSync",
]
|