зеркало из https://github.com/nextcloud/text.git
1 строка
7.2 KiB
Plaintext
1 строка
7.2 KiB
Plaintext
{"version":3,"file":"lasso-D0iph5Ty.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/lasso.js"],"sourcesContent":["/*\nLanguage: Lasso\nAuthor: Eric Knibbe <eric@lassosoft.com>\nDescription: Lasso is a language and server platform for database-driven web applications. This definition handles Lasso 9 syntax and LassoScript for Lasso 8.6 and earlier.\nWebsite: http://www.lassosoft.com/What-Is-Lasso\nCategory: database, web\n*/\n\nfunction lasso(hljs) {\n const LASSO_IDENT_RE = '[a-zA-Z_][\\\\w.]*';\n const LASSO_ANGLE_RE = '<\\\\?(lasso(script)?|=)';\n const LASSO_CLOSE_RE = '\\\\]|\\\\?>';\n const LASSO_KEYWORDS = {\n $pattern: LASSO_IDENT_RE + '|&[lg]t;',\n literal:\n 'true false none minimal full all void and or not '\n + 'bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft',\n built_in:\n 'array date decimal duration integer map pair string tag xml null '\n + 'boolean bytes keyword list locale queue set stack staticarray '\n + 'local var variable global data self inherited currentcapture givenblock',\n keyword:\n 'cache database_names database_schemanames database_tablenames '\n + 'define_tag define_type email_batch encode_set html_comment handle '\n + 'handle_error header if inline iterate ljax_target link '\n + 'link_currentaction link_currentgroup link_currentrecord link_detail '\n + 'link_firstgroup link_firstrecord link_lastgroup link_lastrecord '\n + 'link_nextgroup link_nextrecord link_prevgroup link_prevrecord log '\n + 'loop namespace_using output_none portal private protect records '\n + 'referer referrer repeating resultset rows search_args '\n + 'search_arguments select sort_args sort_arguments thread_atomic '\n + 'value_list while abort case else fail_if fail_ifnot fail if_empty '\n + 'if_false if_null if_true loop_abort loop_continue loop_count params '\n + 'params_up return return_value run_children soap_definetag '\n + 'soap_lastrequest soap_lastresponse tag_name ascending average by '\n + 'define descending do equals frozen group handle_failure import in '\n + 'into join let match max min on order parent protected provide public '\n + 'require returnhome skip split_thread sum take thread to trait type '\n + 'where with yield yieldhome'\n };\n const HTML_COMMENT = hljs.COMMENT(\n '<!--',\n '-->',\n { relevance: 0 }\n );\n const LASSO_NOPROCESS = {\n className: 'meta',\n begin: '\\\\[noprocess\\\\]',\n starts: {\n end: '\\\\[/noprocess\\\\]',\n returnEnd: true,\n contains: [ HTML_COMMENT ]\n }\n };\n const LASSO_START = {\n className: 'meta',\n begin: '\\\\[/noprocess|' + LASSO_ANGLE_RE\n };\n const LASSO_DATAMEMBER = {\n className: 'symbol',\n begin: '\\'' + LASSO_IDENT_RE + '\\''\n };\n const LASSO_CODE = [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.inherit(hljs.C_NUMBER_MODE, { begin: hljs.C_NUMBER_RE + '|(-?infinity|NaN)\\\\b' }),\n hljs.inherit(hljs.APOS_STRING_MODE, { illegal: null }),\n hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null }),\n {\n className: 'string',\n begin: '`',\n end: '`'\n },\n { // variables\n variants: [\n { begin: '[#$]' + LASSO_IDENT_RE },\n {\n begin: '#',\n end: '\\\\d+',\n illegal: '\\\\W'\n }\n ] },\n {\n className: 'type',\n begin: '::\\\\s*',\n end: LASSO_IDENT_RE,\n illegal: '\\\\W'\n },\n {\n className: 'params',\n variants: [\n {\n begin: '-(?!infinity)' + LASSO_IDENT_RE,\n relevance: 0\n },\n { begin: '(\\\\.\\\\.\\\\.)' }\n ]\n },\n {\n begin: /(->|\\.)\\s*/,\n relevance: 0,\n contains: [ LASSO_DATAMEMBER ]\n },\n {\n className: 'class',\n beginKeywords: 'define',\n returnEnd: true,\n end: '\\\\(|=>',\n contains: [ hljs.inherit(hljs.TITLE_MODE, { begin: LASSO_IDENT_RE + '(=(?!>))?|[-+*/%](?!>)' }) ]\n }\n ];\n return {\n name: 'Lasso',\n aliases: [\n 'ls',\n 'lassoscript'\n ],\n case_insensitive: true,\n keywords: LASSO_KEYWORDS,\n contains: [\n {\n className: 'meta',\n begin: LASSO_CLOSE_RE,\n relevance: 0,\n starts: { // markup\n end: '\\\\[|' + LASSO_ANGLE_RE,\n returnEnd: true,\n relevance: 0,\n contains: [ HTML_COMMENT ]\n }\n },\n LASSO_NOPROCESS,\n LASSO_START,\n {\n className: 'meta',\n begin: '\\\\[no_square_brackets',\n starts: {\n end: '\\\\[/no_square_brackets\\\\]', // not implemented in the language\n keywords: LASSO_KEYWORDS,\n contains: [\n {\n className: 'meta',\n begin: LASSO_CLOSE_RE,\n relevance: 0,\n starts: {\n end: '\\\\[noprocess\\\\]|' + LASSO_ANGLE_RE,\n returnEnd: true,\n contains: [ HTML_COMMENT ]\n }\n },\n LASSO_NOPROCESS,\n LASSO_START\n ].concat(LASSO_CODE)\n }\n },\n {\n className: 'meta',\n begin: '\\\\[',\n relevance: 0\n },\n {\n className: 'meta',\n begin: '^#!',\n end: 'lasso9$',\n relevance: 10\n }\n ].concat(LASSO_CODE)\n };\n}\n\nmodule.exports = lasso;\n"],"names":["lasso","hljs","LASSO_IDENT_RE","LASSO_ANGLE_RE","LASSO_CLOSE_RE","LASSO_KEYWORDS","HTML_COMMENT","LASSO_NOPROCESS","LASSO_START","LASSO_DATAMEMBER","LASSO_CODE","lasso_1"],"mappings":";4YAQA,SAASA,EAAMC,EAAM,CACnB,MAAMC,EAAiB,mBACjBC,EAAiB,yBACjBC,EAAiB,WACjBC,EAAiB,CACrB,SAAUH,EAAiB,WAC3B,QACE,uGAEF,SACE,yMAGF,QACE,yhCAiBN,EACQI,EAAeL,EAAK,QACxB,OACA,MACA,CAAE,UAAW,CAAG,CACpB,EACQM,EAAkB,CACtB,UAAW,OACX,MAAO,kBACP,OAAQ,CACN,IAAK,mBACL,UAAW,GACX,SAAU,CAAED,CAAc,CAC3B,CACL,EACQE,EAAc,CAClB,UAAW,OACX,MAAO,iBAAmBL,CAC9B,EACQM,EAAmB,CACvB,UAAW,SACX,MAAO,IAAOP,EAAiB,GACnC,EACQQ,EAAa,CACjBT,EAAK,oBACLA,EAAK,qBACLA,EAA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AM,OAAOA,CAAU,CACvB,CACA,CAEA,IAAAC,EAAiBX","x_google_ignoreList":[0]} |