]>
luflow.net public git repositories - flow-web.git/blob - static/highlight/es/languages/cal.js
1 /*! `cal` grammar compiled for Highlight.js 11.11.1 */
2 var hljsGrammar
= (function () {
7 Author: Kenneth Fuglsang Christensen <kfuglsang@gmail.com>
8 Description: Provides highlighting of Microsoft Dynamics NAV C/AL code files
9 Website: https://docs.microsoft.com/en-us/dynamics-nav/programming-in-c-al
13 /** @type LanguageFn */
15 const regex
= hljs
.regex
;
44 const LITERALS
= 'false true';
45 const COMMENT_MODES
= [
46 hljs
.C_LINE_COMMENT_MODE
,
62 contains: [ { begin: /''/ } ]
70 begin: '\\b\\d+(\\.\\d+)?(DT|D|T)',
73 const DBL_QUOTED_VARIABLE
= {
74 className: 'string', // not a string technically but makes sense to be highlighted in the same style
106 const OBJECT_TYPES
= [
121 regex
.either(...OBJECT_TYPES
),
138 match: /[\w]+(?=\=)/,
145 case_insensitive: true,
168 export default hljsGrammar
;