You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
413 B
21 lines
413 B
"""
|
|
Lexer interface and implementations.
|
|
Used for syntax highlighting.
|
|
"""
|
|
from __future__ import unicode_literals
|
|
from .base import Lexer, SimpleLexer, DynamicLexer
|
|
from .pygments import PygmentsLexer, SyntaxSync, SyncFromStart, RegexSync
|
|
|
|
__all__ = [
|
|
# Base.
|
|
'Lexer',
|
|
'SimpleLexer',
|
|
'DynamicLexer',
|
|
|
|
# Pygments.
|
|
'PygmentsLexer',
|
|
'RegexSync',
|
|
'SyncFromStart',
|
|
'SyntaxSync',
|
|
]
|