Skip to content

Pygments lexer for the Salesforce Apex language.

License

Notifications You must be signed in to change notification settings

open-force/pygments-lexer-apex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

$ 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.

About

Pygments lexer for the Salesforce Apex language.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%