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