axapta.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. Language: Axapta
  3. Author: Dmitri Roudakov <[email protected]>
  4. Category: enterprise
  5. */
  6. function(hljs) {
  7. return {
  8. keywords: 'false int abstract private char boolean static null if for true ' +
  9. 'while long throw finally protected final return void enum else ' +
  10. 'break new catch byte super case short default double public try this switch ' +
  11. 'continue reverse firstfast firstonly forupdate nofetch sum avg minof maxof count ' +
  12. 'order group by asc desc index hint like dispaly edit client server ttsbegin ' +
  13. 'ttscommit str real date container anytype common div mod',
  14. contains: [
  15. hljs.C_LINE_COMMENT_MODE,
  16. hljs.C_BLOCK_COMMENT_MODE,
  17. hljs.APOS_STRING_MODE,
  18. hljs.QUOTE_STRING_MODE,
  19. hljs.C_NUMBER_MODE,
  20. {
  21. className: 'meta',
  22. begin: '#', end: '$'
  23. },
  24. {
  25. className: 'class',
  26. beginKeywords: 'class interface', end: '{', excludeEnd: true,
  27. illegal: ':',
  28. contains: [
  29. {beginKeywords: 'extends implements'},
  30. hljs.UNDERSCORE_TITLE_MODE
  31. ]
  32. }
  33. ]
  34. };
  35. }