]>
luflow.net public git repositories - flow-web.git/blob - static/highlight/languages/vala.js
1 /*! `vala` grammar compiled for Highlight.js 11.11.1 */
3 var hljsGrammar
= ( function () {
8 Author: Antono Vasiljev <antono.vasiljev@gmail.com>
9 Description: Vala is a new programming language that aims to bring modern programming language features to GNOME developers without imposing any additional runtime requirements and without using a different ABI compared to applications and libraries written in C.
10 Website: https://wiki.gnome.org/Projects/Vala
20 'char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 '
21 + 'uint16 uint32 uint64 float double bool struct enum string void '
23 + 'weak unowned owned '
25 + 'async signal static abstract interface override virtual delegate '
27 + 'if while do for foreach else switch case break default return try catch '
29 + 'public private protected internal '
31 + 'using new this get set const stdout stdin stderr var' ,
33 'DBus GLib CCode Gee Object Gtk Posix' ,
40 beginKeywords : 'class interface namespace' ,
43 illegal : '[^,: \\ n \\ s \\ .]' ,
44 contains : [ hljs
. UNDERSCORE_TITLE_MODE
]
46 hljs
. C_LINE_COMMENT_MODE
,
47 hljs
. C_BLOCK_COMMENT_MODE
,
54 hljs
. APOS_STRING_MODE
,
55 hljs
. QUOTE_STRING_MODE
,
70 hljs
. registerLanguage ( 'vala' , hljsGrammar
);