Initial commit.
Signed-off-by: Andreas Widen <aw@luflow.net>
This commit is contained in:
commit
a4a5c7daa5
1389 changed files with 241399 additions and 0 deletions
15
static/highlight/es/languages/cal.min.js
vendored
Normal file
15
static/highlight/es/languages/cal.min.js
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/*! `cal` grammar compiled for Highlight.js 11.11.1 */
|
||||
var hljsGrammar=(()=>{"use strict";return e=>{
|
||||
const r=e.regex,a=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],n=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{
|
||||
relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],t={className:"string",
|
||||
begin:/'/,end:/'/,contains:[{begin:/''/}]},s={className:"string",begin:/(#\d+)+/
|
||||
},i={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",
|
||||
3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,
|
||||
keywords:a,contains:[t,s,e.NUMBER_MODE]},...n]},o={
|
||||
match:[/OBJECT/,/\s+/,r.either("Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],
|
||||
relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{
|
||||
name:"C/AL",case_insensitive:!0,keywords:{keyword:a,literal:"false true"},
|
||||
illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0
|
||||
},t,s,{className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},{
|
||||
className:"string",begin:'"',end:'"'},e.NUMBER_MODE,o,i]}}})()
|
||||
;export default hljsGrammar;
|
||||
Loading…
Reference in a new issue