1234567891011121314151617181920212223242526272829303132333435363738394041 |
- /*
- Language: Microsoft Axapta (now Dynamics 365)
- Author: Dmitri Roudakov <dmitri@roudakov.ru>
- Website: https://dynamics.microsoft.com/en-us/ax-overview/
- Category: enterprise
- */
- /** @type LanguageFn */
- function axapta(hljs) {
- return {
- name: 'Dynamics 365',
- keywords: 'false int abstract private char boolean static null if for true ' +
- 'while long throw finally protected final return void enum else ' +
- 'break new catch byte super case short default double public try this switch ' +
- 'continue reverse firstfast firstonly forupdate nofetch sum avg minof maxof count ' +
- 'order group by asc desc index hint like dispaly edit client server ttsbegin ' +
- 'ttscommit str real date container anytype common div mod',
- contains: [
- hljs.C_LINE_COMMENT_MODE,
- hljs.C_BLOCK_COMMENT_MODE,
- hljs.APOS_STRING_MODE,
- hljs.QUOTE_STRING_MODE,
- hljs.C_NUMBER_MODE,
- {
- className: 'meta',
- begin: '#', end: '$'
- },
- {
- className: 'class',
- beginKeywords: 'class interface', end: '{', excludeEnd: true,
- illegal: ':',
- contains: [
- {beginKeywords: 'extends implements'},
- hljs.UNDERSCORE_TITLE_MODE
- ]
- }
- ]
- };
- }
- module.exports = axapta;
|