aboutsummaryrefslogtreecommitdiff
path: root/node_modules/highlight.js/lib/languages/axapta.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/highlight.js/lib/languages/axapta.js')
-rw-r--r--node_modules/highlight.js/lib/languages/axapta.js30
1 files changed, 30 insertions, 0 deletions
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