зеркало из https://github.com/nextcloud/text.git
1 строка
13 KiB
Plaintext
1 строка
13 KiB
Plaintext
|
{"version":3,"file":"sas-C_UMK08C.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/sas.js"],"sourcesContent":["/*\nLanguage: SAS\nAuthor: Mauricio Caceres <mauricio.caceres.bravo@gmail.com>\nDescription: Syntax Highlighting for SAS\nCategory: scientific\n*/\n\n/** @type LanguageFn */\nfunction sas(hljs) {\n const regex = hljs.regex;\n // Data step and PROC SQL statements\n const SAS_KEYWORDS = [\n \"do\",\n \"if\",\n \"then\",\n \"else\",\n \"end\",\n \"until\",\n \"while\",\n \"abort\",\n \"array\",\n \"attrib\",\n \"by\",\n \"call\",\n \"cards\",\n \"cards4\",\n \"catname\",\n \"continue\",\n \"datalines\",\n \"datalines4\",\n \"delete\",\n \"delim\",\n \"delimiter\",\n \"display\",\n \"dm\",\n \"drop\",\n \"endsas\",\n \"error\",\n \"file\",\n \"filename\",\n \"footnote\",\n \"format\",\n \"goto\",\n \"in\",\n \"infile\",\n \"informat\",\n \"input\",\n \"keep\",\n \"label\",\n \"leave\",\n \"length\",\n \"libname\",\n \"link\",\n \"list\",\n \"lostcard\",\n \"merge\",\n \"missing\",\n \"modify\",\n \"options\",\n \"output\",\n \"out\",\n \"page\",\n \"put\",\n \"redirect\",\n \"remove\",\n \"rename\",\n \"replace\",\n \"retain\",\n \"return\",\n \"select\",\n \"set\",\n \"skip\",\n \"startsas\",\n \"stop\",\n \"title\",\n \"update\",\n \"waitsas\",\n \"where\",\n \"window\",\n \"x|0\",\n \"systask\",\n \"add\",\n \"and\",\n \"alter\",\n \"as\",\n \"cascade\",\n \"check\",\n \"create\",\n \"delete\",\n \"describe\",\n \"distinct\",\n \"drop\",\n \"foreign\",\n \"from\",\n \"group\",\n \"having\",\n \"index\",\n \"insert\",\n \"into\",\n \"in\",\n \"key\",\n \"like\",\n \"message\",\n \"modify\",\n \"msgtype\",\n \"not\",\n \"null\",\n \"on\",\n \"or\",\n \"order\",\n \"primary\",\n \"references\",\n \"reset\",\n \"restrict\",\n \"select\",\n \"set\",\n \"table\",\n \"unique\",\n \"update\",\n \"validate\",\n \"view\",\n \"where\"\n ];\n\n // Built-in SAS functions\n const FUNCTIONS = [\n \"abs\",\n \"addr\",\n \"airy\",\n \"arcos\",\n \"arsin\",\n \"atan\",\n \"attrc\",\n \"attrn\",\n \"band\",\n \"betainv\",\n \"blshift\",\n \"bnot\",\n \"bor\",\n \"brshift\",\n \"bxor\",\n \"byte\",\n \"cdf\",\n \"ceil\",\n \"cexist\",\n \"cinv\",\n \"close\",\n \"cnonct\",\n \"collate\",\n \"compbl\",\n \"compound\",\n \"compress\",\n \"cos\",\n \"cosh\",\n \"css\",\n \"curobs\",\n \"cv\",\n \"daccdb\",\n \"daccdbsl\",\n \"daccsl\",\n \"daccsyd\",\n \"dacctab\",\n \"dairy\",\n \"date\",\n \"datejul\",\n \"datepart\",\n \"datetime\",\n \"day\",\n \"dclose\",\n \"depdb\",\n \"depdbsl\",\n \"depdbsl\",\n \"depsl\",\n \"depsl\",\n \"depsyd\",\n \"depsyd\",\n \"deptab\",\n \"deptab\",\n \"dequote\",\n \"dhms\",\n \"dif\",\n \"digamma\",\n \"dim\",\n \"dinfo\",\n \"dnum\",\n \"dopen\",\n \"doptname\",\n \"doptnum\",\n \"dread\",\n \"dropnote\",\n \"dsname\",\n \"erf\",\n \"erfc\",\n \"exist\",\n \"exp\",\n \"fappend\",\n \"fclose\",\n \"fcol\",\n \"fdelete\",\n \"fetch\",\n \"fetchobs\",\n \"fexist\",\n \"fget\",\n \"fileexist\",\n \"filename\",\n \"fileref\",\n \"finfo\",\n \"finv\",\n \"fipname\",\n \"fipnamel\",\n \"fipstate\",\n \"floor\",\n \"fnonct\",\n \"fnote\",\n \"fopen\",\n \"foptname\",\n \"foptnum\",\n \"fpoint\",\n \"fpos\",\n \"fput\",\n \"fread\",\n \"frewind\",\n \"frlen\",\n \"fsep\",\n \"fuzz\",\n \"fwrite\",\n \"gaminv\",\n \"gamma\",\n \"getoption\",\n \"getvarc\",\n \"getvarn\",\n \"hbound\",\n \"hms\",\n \"hosthelp\",\n \"hour\",\n \"ibessel\",\
|