diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
commit | cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch) | |
tree | 92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/highlight.js/lib/languages/smalltalk.js | |
parent | 3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff) |
remove node_modules
Diffstat (limited to 'node_modules/highlight.js/lib/languages/smalltalk.js')
-rw-r--r-- | node_modules/highlight.js/lib/languages/smalltalk.js | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/node_modules/highlight.js/lib/languages/smalltalk.js b/node_modules/highlight.js/lib/languages/smalltalk.js deleted file mode 100644 index 6734bc11f..000000000 --- a/node_modules/highlight.js/lib/languages/smalltalk.js +++ /dev/null @@ -1,49 +0,0 @@ -module.exports = function(hljs) { - var VAR_IDENT_RE = '[a-z][a-zA-Z0-9_]*'; - var CHAR = { - className: 'string', - begin: '\\$.{1}' - }; - var SYMBOL = { - className: 'symbol', - begin: '#' + hljs.UNDERSCORE_IDENT_RE - }; - return { - aliases: ['st'], - keywords: 'self super nil true false thisContext', // only 6 - contains: [ - hljs.COMMENT('"', '"'), - hljs.APOS_STRING_MODE, - { - className: 'type', - begin: '\\b[A-Z][A-Za-z0-9_]*', - relevance: 0 - }, - { - begin: VAR_IDENT_RE + ':', - relevance: 0 - }, - hljs.C_NUMBER_MODE, - SYMBOL, - CHAR, - { - // This looks more complicated than needed to avoid combinatorial - // explosion under V8. It effectively means `| var1 var2 ... |` with - // whitespace adjacent to `|` being optional. - begin: '\\|[ ]*' + VAR_IDENT_RE + '([ ]+' + VAR_IDENT_RE + ')*[ ]*\\|', - returnBegin: true, end: /\|/, - illegal: /\S/, - contains: [{begin: '(\\|[ ]*)?' + VAR_IDENT_RE}] - }, - { - begin: '\\#\\(', end: '\\)', - contains: [ - hljs.APOS_STRING_MODE, - CHAR, - hljs.C_NUMBER_MODE, - SYMBOL - ] - } - ] - }; -};
\ No newline at end of file |