An open API service indexing awesome lists of open source software.

https://github.com/shawalli/pygments-lexer-apex

Pygments lexer for the Salesforce Apex language.
https://github.com/shawalli/pygments-lexer-apex

apex pygments pygments-lexer salesforce

Last synced: 11 months ago
JSON representation

Pygments lexer for the Salesforce Apex language.

Awesome Lists containing this project

README

          

# Apex Lexer
This module creates a Pygments lexer for the Apex language. Since Apex is largely based on Java,
this lexer is a modified form of the Java lexer.

# Hand-Testing
```bash

$ pygmentize -x -l ./pygments_lexer_apex.py:ApexLexer -f html -O full -o test.html test/apex/FundController.apxc
```

# Note
This was cooked up in about 15 minutes, so it almost certainly does not cover all the lexigraphical
complexities, edge cases, and obscure portions of the Apex language. Contributions to beef it up are welcome.