abap.py 749 B

1234567891011121314151617181920212223242526272829303132
  1. """
  2. pygments.styles.abap
  3. ~~~~~~~~~~~~~~~~~~~~
  4. ABAP workbench like style.
  5. :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
  6. :license: BSD, see LICENSE for details.
  7. """
  8. from pygments.style import Style
  9. from pygments.token import Keyword, Name, Comment, String, Error, \
  10. Number, Operator
  11. __all__ = ['AbapStyle']
  12. class AbapStyle(Style):
  13. name = 'abap'
  14. styles = {
  15. Comment: 'italic #888',
  16. Comment.Special: '#888',
  17. Keyword: '#00f',
  18. Operator.Word: '#00f',
  19. Name: '#000',
  20. Number: '#3af',
  21. String: '#5a2',
  22. Error: '#F00',
  23. }