]>
luflow.net public git repositories - flow-web.git/blob - static/highlight/languages/profile.js
1 /*! `profile` grammar compiled for Highlight.js 11.11.1 */
3 var hljsGrammar
= (function () {
7 Language: Python profiler
8 Description: Python profiler results
9 Author: Brian Beck <exogen@gmail.com>
12 function profile(hljs
) {
14 name: 'Python profiler',
18 begin: '[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}',
23 begin: '(ncalls|tottime|cumtime)',
25 keywords: 'ncalls tottime|10 cumtime|10 filename',
29 begin: 'function calls',
31 contains: [ hljs
.C_NUMBER_MODE
],
34 hljs
.APOS_STRING_MODE
,
35 hljs
.QUOTE_STRING_MODE
,
52 hljs
.registerLanguage('profile', hljsGrammar
);