%PDF- %PDF-
Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/highlight/ |
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/highlight/crystal-js-js.js.map |
{"version":3,"file":"highlight/crystal-js-js.js?v=55db6bafd376a542dfe2","mappings":"yIAsTAA,EAAOC,QA/SP,SAAiBC,GACf,MAAMC,EAAa,4BAGbC,EAAoB,gHACpBC,EAAkB,iCAClBC,EAAmB,CACvBC,SAJuB,sBAKvBC,QACE,yYAIFC,QAAS,kBAELC,EAAQ,CACZC,UAAW,QACXC,MAAO,MACPC,IAAK,KACLC,SAAUR,GAGNS,EAAW,CAGfJ,UAAW,WACXC,MAAO,8DAEHI,EAAY,CAChBL,UAAW,oBACXM,SAAU,CACR,CACEL,MAAO,SACPC,IAAK,UAEP,CACED,MAAO,OACPC,IAAK,SAGTC,SAAUR,GAGZ,SAASY,EAAeN,EAAOC,GAC7B,MACIM,EAAW,CACT,CACEP,MAAOA,EACPC,IAAKA,IAIb,OADAM,EAAS,GAAGA,SAAWA,EAChBA,CACT,CACA,MAAMC,EAAS,CACbT,UAAW,SACXQ,SAAU,CACRjB,EAAKmB,iBACLX,GAEFO,SAAU,CACR,CACEL,MAAO,IACPC,IAAK,KAEP,CACED,MAAO,IACPC,IAAK,KAEP,CACED,MAAO,IACPC,IAAK,KAEP,CACED,MAAO,aACPC,IAAK,MACLM,SAAUD,EAAe,MAAO,QAElC,CACEN,MAAO,aACPC,IAAK,MACLM,SAAUD,EAAe,MAAO,QAElC,CACEN,MAAO,aACPC,IAAK,KACLM,SAAUD,EAAe,KAAM,OAEjC,CACEN,MAAO,WACPC,IAAK,IACLM,SAAUD,EAAe,IAAK,MAEhC,CACEN,MAAO,aACPC,IAAK,OAEP,CACED,MAAO,UACPC,IAAK,aAGTS,UAAW,GAEPC,EAAW,CACfZ,UAAW,SACXM,SAAU,CACR,CACEL,MAAO,QACPC,IAAK,MACLM,SAAUD,EAAe,MAAO,QAElC,CACEN,MAAO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K8B,WAAY,CAAEpB,MAAOP,MAG3C,CACEyB,cAAe,aACfjB,IAAK,MACLkB,QAAS,IACTZ,SAAU,CACRjB,EAAK2B,kBACL3B,EAAKyB,QAAQzB,EAAK8B,WAAY,CAAEpB,MAAOP,KAEzCiB,UAAW,GAEb,CACEX,UAAW,WACXmB,cAAe,MACfjB,IAAK,OACLM,SAAU,CACRjB,EAAKyB,QAAQzB,EAAK8B,WAAY,CAC5BpB,MAAOR,EACP6B,YAAY,MAIlB,CACEtB,UAAW,WACXmB,cAAe,YACfjB,IAAK,OACLM,SAAU,CACRjB,EAAKyB,QAAQzB,EAAK8B,WAAY,CAC5BpB,MAAOR,EACP6B,YAAY,KAGhBX,UAAW,GAEb,CACEX,UAAW,SACXC,MAAOV,EAAKgC,oBAAsB,YAClCZ,UAAW,GAEb,CACEX,UAAW,SACXC,MAAO,IACPO,SAAU,CACRC,EACA,CAAER,MAAOR,IAEXkB,UAAW,GAEb,CACEX,UAAW,SACXM,SAAU,CACR,CAAEL,MAAO,gBAAkBT,GAC3B,CAAES,MAAO,iBAAmBT,GAC5B,CAAES,MAAO,uBAAyBT,GAClC,CAAES,MAAO,yFACT,CAAEA,MAAO,sBAAwBT,IAEnCmB,UAAW,IAMf,OAHAZ,EAAMS,SAAWO,EACjBV,EAAUG,SAAWO,EAAyBS,MAAM,GAE7C,CACLC,KAAM,UACNC,QAAS,CAAE,MACXvB,SAAUR,EACVa,SAAUO,EAEd,C,mBCpTA,SAASY,IACAA,EAAYC,SACfD,EAAYC,QAAS,EACrBC,QAAQC,IACN,uKAGN,CACAH,GACEtC,EAAOC,QAAU,EAAjB,M","sources":["webpack:///text/node_modules/highlight.js/lib/languages/crystal.js","webpack:///text/node_modules/highlight.js/lib/languages/crystal.js.js"],"sourcesContent":["/*\nLanguage: Crystal\nAuthor: TSUYUSATO Kitsune <make.just.on@gmail.com>\nWebsite: https://crystal-lang.org\n*/\n\n/** @type LanguageFn */\nfunction crystal(hljs) {\n const INT_SUFFIX = '(_?[ui](8|16|32|64|128))?';\n const FLOAT_SUFFIX = '(_?f(32|64))?';\n const CRYSTAL_IDENT_RE = '[a-zA-Z_]\\\\w*[!?=]?';\n const CRYSTAL_METHOD_RE = '[a-zA-Z_]\\\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\\\*\\\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\\\*\\\\*|\\\\[\\\\][=?]?';\n const CRYSTAL_PATH_RE = '[A-Za-z_]\\\\w*(::\\\\w+)*(\\\\?|!)?';\n const CRYSTAL_KEYWORDS = {\n $pattern: CRYSTAL_IDENT_RE,\n keyword:\n 'abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if '\n + 'include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? '\n + 'return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield '\n + '__DIR__ __END_LINE__ __FILE__ __LINE__',\n literal: 'false nil true'\n };\n const SUBST = {\n className: 'subst',\n begin: /#\\{/,\n end: /\\}/,\n keywords: CRYSTAL_KEYWORDS\n };\n // borrowed from Ruby\n const VARIABLE = {\n // negative-look forward attemps to prevent false matches like:\n // @ident@ or $ident$ that might indicate this is not ruby at all\n className: \"variable\",\n begin: '(\\\\$\\\\W)|((\\\\$|@@?)(\\\\w+))(?=[^@$?])' + `(?![A-Za-z])(?![@$?'])`\n };\n const EXPANSION = {\n className: 'template-variable',\n variants: [\n {\n begin: '\\\\{\\\\{',\n end: '\\\\}\\\\}'\n },\n {\n begin: '\\\\{%',\n end: '%\\\\}'\n }\n ],\n keywords: CRYSTAL_KEYWORDS\n };\n\n function recursiveParen(begin, end) {\n const\n contains = [\n {\n begin: begin,\n end: end\n }\n ];\n contains[0].contains = contains;\n return contains;\n }\n const STRING = {\n className: 'string',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n variants: [\n {\n begin: /'/,\n end: /'/\n },\n {\n begin: /\"/,\n end: /\"/\n },\n {\n begin: /`/,\n end: /`/\n },\n {\n begin: '%[Qwi]?\\\\(',\n end: '\\\\)',\n contains: recursiveParen('\\\\(', '\\\\)')\n },\n {\n begin: '%[Qwi]?\\\\[',\n end: '\\\\]',\n contains: recursiveParen('\\\\[', '\\\\]')\n },\n {\n begin: '%[Qwi]?\\\\{',\n end: /\\}/,\n contains: recursiveParen(/\\{/, /\\}/)\n },\n {\n begin: '%[Qwi]?<',\n end: '>',\n contains: recursiveParen('<', '>')\n },\n {\n begin: '%[Qwi]?\\\\|',\n end: '\\\\|'\n },\n {\n begin: /<<-\\w+$/,\n end: /^\\s*\\w+$/\n }\n ],\n relevance: 0\n };\n const Q_STRING = {\n className: 'string',\n variants: [\n {\n begin: '%q\\\\(',\n end: '\\\\)',\n contains: recursiveParen('\\\\(', '\\\\)')\n },\n {\n begin: '%q\\\\[',\n end: '\\\\]',\n contains: recursiveParen('\\\\[', '\\\\]')\n },\n {\n begin: '%q\\\\{',\n end: /\\}/,\n contains: recursiveParen(/\\{/, /\\}/)\n },\n {\n begin: '%q<',\n end: '>',\n contains: recursiveParen('<', '>')\n },\n {\n begin: '%q\\\\|',\n end: '\\\\|'\n },\n {\n begin: /<<-'\\w+'$/,\n end: /^\\s*\\w+$/\n }\n ],\n relevance: 0\n };\n const REGEXP = {\n begin: '(?!%\\\\})(' + hljs.RE_STARTERS_RE + '|\\\\n|\\\\b(case|if|select|unless|until|when|while)\\\\b)\\\\s*',\n keywords: 'case if select unless until when while',\n contains: [\n {\n className: 'regexp',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n variants: [\n {\n begin: '//[a-z]*',\n relevance: 0\n },\n {\n begin: '/(?!\\\\/)',\n end: '/[a-z]*'\n }\n ]\n }\n ],\n relevance: 0\n };\n const REGEXP2 = {\n className: 'regexp',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n variants: [\n {\n begin: '%r\\\\(',\n end: '\\\\)',\n contains: recursiveParen('\\\\(', '\\\\)')\n },\n {\n begin: '%r\\\\[',\n end: '\\\\]',\n contains: recursiveParen('\\\\[', '\\\\]')\n },\n {\n begin: '%r\\\\{',\n end: /\\}/,\n contains: recursiveParen(/\\{/, /\\}/)\n },\n {\n begin: '%r<',\n end: '>',\n contains: recursiveParen('<', '>')\n },\n {\n begin: '%r\\\\|',\n end: '\\\\|'\n }\n ],\n relevance: 0\n };\n const ATTRIBUTE = {\n className: 'meta',\n begin: '@\\\\[',\n end: '\\\\]',\n contains: [ hljs.inherit(hljs.QUOTE_STRING_MODE, { className: 'string' }) ]\n };\n const CRYSTAL_DEFAULT_CONTAINS = [\n EXPANSION,\n STRING,\n Q_STRING,\n REGEXP2,\n REGEXP,\n ATTRIBUTE,\n VARIABLE,\n hljs.HASH_COMMENT_MODE,\n {\n className: 'class',\n beginKeywords: 'class module struct',\n end: '$|;',\n illegal: /=/,\n contains: [\n hljs.HASH_COMMENT_MODE,\n hljs.inherit(hljs.TITLE_MODE, { begin: CRYSTAL_PATH_RE }),\n { // relevance booster for inheritance\n begin: '<' }\n ]\n },\n {\n className: 'class',\n beginKeywords: 'lib enum union',\n end: '$|;',\n illegal: /=/,\n contains: [\n hljs.HASH_COMMENT_MODE,\n hljs.inherit(hljs.TITLE_MODE, { begin: CRYSTAL_PATH_RE })\n ]\n },\n {\n beginKeywords: 'annotation',\n end: '$|;',\n illegal: /=/,\n contains: [\n hljs.HASH_COMMENT_MODE,\n hljs.inherit(hljs.TITLE_MODE, { begin: CRYSTAL_PATH_RE })\n ],\n relevance: 2\n },\n {\n className: 'function',\n beginKeywords: 'def',\n end: /\\B\\b/,\n contains: [\n hljs.inherit(hljs.TITLE_MODE, {\n begin: CRYSTAL_METHOD_RE,\n endsParent: true\n })\n ]\n },\n {\n className: 'function',\n beginKeywords: 'fun macro',\n end: /\\B\\b/,\n contains: [\n hljs.inherit(hljs.TITLE_MODE, {\n begin: CRYSTAL_METHOD_RE,\n endsParent: true\n })\n ],\n relevance: 2\n },\n {\n className: 'symbol',\n begin: hljs.UNDERSCORE_IDENT_RE + '(!|\\\\?)?:',\n relevance: 0\n },\n {\n className: 'symbol',\n begin: ':',\n contains: [\n STRING,\n { begin: CRYSTAL_METHOD_RE }\n ],\n relevance: 0\n },\n {\n className: 'number',\n variants: [\n { begin: '\\\\b0b([01_]+)' + INT_SUFFIX },\n { begin: '\\\\b0o([0-7_]+)' + INT_SUFFIX },\n { begin: '\\\\b0x([A-Fa-f0-9_]+)' + INT_SUFFIX },\n { begin: '\\\\b([1-9][0-9_]*[0-9]|[0-9])(\\\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?' + FLOAT_SUFFIX + '(?!_)' },\n { begin: '\\\\b([1-9][0-9_]*|0)' + INT_SUFFIX }\n ],\n relevance: 0\n }\n ];\n SUBST.contains = CRYSTAL_DEFAULT_CONTAINS;\n EXPANSION.contains = CRYSTAL_DEFAULT_CONTAINS.slice(1); // without EXPANSION\n\n return {\n name: 'Crystal',\n aliases: [ 'cr' ],\n keywords: CRYSTAL_KEYWORDS,\n contains: CRYSTAL_DEFAULT_CONTAINS\n };\n}\n\nmodule.exports = crystal;\n","function emitWarning() {\n if (!emitWarning.warned) {\n emitWarning.warned = true;\n console.log(\n 'Deprecation (warning): Using file extension in specifier is deprecated, use \"highlight.js/lib/languages/crystal\" instead of \"highlight.js/lib/languages/crystal.js\"'\n );\n }\n }\n emitWarning();\n module.exports = require('./crystal.js');"],"names":["module","exports","hljs","INT_SUFFIX","CRYSTAL_METHOD_RE","CRYSTAL_PATH_RE","CRYSTAL_KEYWORDS","$pattern","keyword","literal","SUBST","className","begin","end","keywords","VARIABLE","EXPANSION","variants","recursiveParen","contains","STRING","BACKSLASH_ESCAPE","relevance","Q_STRING","REGEXP","RE_STARTERS_RE","CRYSTAL_DEFAULT_CONTAINS","inherit","QUOTE_STRING_MODE","HASH_COMMENT_MODE","beginKeywords","illegal","TITLE_MODE","endsParent","UNDERSCORE_IDENT_RE","slice","name","aliases","emitWarning","warned","console","log"],"sourceRoot":""}