You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
409 B
Python

"""
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",
]