blob: 8f72d07ff2393813ec14eb432a4ad0d54cb4fac8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
"""
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",
]
|