]>
luflow.net public git repositories - flow-web.git/blob - static/highlight/es/languages/profile.js
1 /*! `profile` grammar compiled for Highlight.js 11.11.1 */
2 var hljsGrammar
= (function () {
6 Language: Python profiler
7 Description: Python profiler results
8 Author: Brian Beck <exogen@gmail.com>
11 function profile(hljs
) {
13 name: 'Python profiler',
17 begin: '[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}',
22 begin: '(ncalls|tottime|cumtime)',
24 keywords: 'ncalls tottime|10 cumtime|10 filename',
28 begin: 'function calls',
30 contains: [ hljs
.C_NUMBER_MODE
],
33 hljs
.APOS_STRING_MODE
,
34 hljs
.QUOTE_STRING_MODE
,
51 export default hljsGrammar
;