From 7a3df06eb573d36142bd1a8e03c5ce8752d300b3 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 24 May 2017 15:10:37 +0200 Subject: fix build issues and add typedoc --- node_modules/highlight.js/lib/languages/axapta.js | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 node_modules/highlight.js/lib/languages/axapta.js (limited to 'node_modules/highlight.js/lib/languages/axapta.js') diff --git a/node_modules/highlight.js/lib/languages/axapta.js b/node_modules/highlight.js/lib/languages/axapta.js new file mode 100644 index 000000000..9f03de6d5 --- /dev/null +++ b/node_modules/highlight.js/lib/languages/axapta.js @@ -0,0 +1,30 @@ +module.exports = function(hljs) { + return { + 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 + ] + } + ] + }; +}; \ No newline at end of file -- cgit v1.2.3