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