0

Update to 8.0

This commit is contained in:
Rogaboru Kujimoshi
2014-06-08 21:04:39 +04:00
parent 81d0115677
commit a52831ccdb
134 changed files with 10392 additions and 4999 deletions

View File

@@ -3,44 +3,37 @@ Language: Axapta
Author: Dmitri Roudakov <dmitri@roudakov.ru>
*/
hljs.LANGUAGES['axapta'] = function(hljs) {
function(hljs) {
return {
defaultMode: {
keywords: 'false int abstract private char interface boolean static null if for true ' +
'while long throw finally protected extends final implements return void enum else ' +
'break new catch byte super class 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: 'preprocessor',
begin: '#', end: '$'
},
{
className: 'class',
beginWithKeyword: true, end: '{',
illegal: ':',
keywords: 'class interface',
contains: [
{
className: 'inheritance',
beginWithKeyword: true,
keywords: 'extends implements',
relevance: 10
},
{
className: 'title',
begin: hljs.UNDERSCORE_IDENT_RE
}
]
}
]
}
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: 'preprocessor',
begin: '#', end: '$'
},
{
className: 'class',
beginKeywords: 'class interface', end: '{', excludeEnd: true,
illegal: ':',
contains: [
{
className: 'inheritance',
beginKeywords: 'extends implements',
relevance: 10
},
hljs.UNDERSCORE_TITLE_MODE
]
}
]
};
}(hljs);
}