%PDF- %PDF-
Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/ |
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/rsl-D4D8XkEl.chunk.mjs.map |
{"version":3,"file":"rsl-D4D8XkEl.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/rsl.js"],"sourcesContent":["/*\nLanguage: RenderMan RSL\nAuthor: Konstantin Evdokimenko <qewerty@gmail.com>\nContributors: Shuen-Huei Guan <drake.guan@gmail.com>\nWebsite: https://renderman.pixar.com/resources/RenderMan_20/shadingLanguage.html\nCategory: graphics\n*/\n\nfunction rsl(hljs) {\n const BUILT_INS = [\n \"abs\",\n \"acos\",\n \"ambient\",\n \"area\",\n \"asin\",\n \"atan\",\n \"atmosphere\",\n \"attribute\",\n \"calculatenormal\",\n \"ceil\",\n \"cellnoise\",\n \"clamp\",\n \"comp\",\n \"concat\",\n \"cos\",\n \"degrees\",\n \"depth\",\n \"Deriv\",\n \"diffuse\",\n \"distance\",\n \"Du\",\n \"Dv\",\n \"environment\",\n \"exp\",\n \"faceforward\",\n \"filterstep\",\n \"floor\",\n \"format\",\n \"fresnel\",\n \"incident\",\n \"length\",\n \"lightsource\",\n \"log\",\n \"match\",\n \"max\",\n \"min\",\n \"mod\",\n \"noise\",\n \"normalize\",\n \"ntransform\",\n \"opposite\",\n \"option\",\n \"phong\",\n \"pnoise\",\n \"pow\",\n \"printf\",\n \"ptlined\",\n \"radians\",\n \"random\",\n \"reflect\",\n \"refract\",\n \"renderinfo\",\n \"round\",\n \"setcomp\",\n \"setxcomp\",\n \"setycomp\",\n \"setzcomp\",\n \"shadow\",\n \"sign\",\n \"sin\",\n \"smoothstep\",\n \"specular\",\n \"specularbrdf\",\n \"spline\",\n \"sqrt\",\n \"step\",\n \"tan\",\n \"texture\",\n \"textureinfo\",\n \"trace\",\n \"transform\",\n \"vtransform\",\n \"xcomp\",\n \"ycomp\",\n \"zcomp\"\n ];\n\n const TYPES = [\n \"matrix\",\n \"float\",\n \"color\",\n \"point\",\n \"normal\",\n \"vector\"\n ];\n\n const KEYWORDS = [\n \"while\",\n \"for\",\n \"if\",\n \"do\",\n \"return\",\n \"else\",\n \"break\",\n \"extern\",\n \"continue\"\n ];\n\n const CLASS_DEFINITION = {\n match: [\n /(surface|displacement|light|volume|imager)/,\n /\\s+/,\n hljs.IDENT_RE,\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\",\n }\n };\n\n return {\n name: 'RenderMan RSL',\n keywords: {\n keyword: KEYWORDS,\n built_in: BUILT_INS,\n type: TYPES\n },\n illegal: '</',\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.APOS_STRING_MODE,\n hljs.C_NUMBER_MODE,\n {\n className: 'meta',\n begin: '#',\n end: '$'\n },\n CLASS_DEFINITION,\n {\n beginKeywords: 'illuminate illuminance gather',\n end: '\\\\('\n }\n ]\n };\n}\n\nmodule.exports = rsl;\n"],"names":["rsl","hljs","BUILT_INS","TYPES","KEYWORDS","CLASS_DEFINITION","rsl_1"],"mappings":";4YAQA,SAASA,EAAIC,EAAM,CACjB,MAAMC,EAAY,CAChB,MACA,OACA,UACA,OACA,OACA,OACA,aACA,YACA,kBACA,OACA,YACA,QACA,OACA,SACA,MACA,UACA,QACA,QACA,UACA,WACA,KACA,KACA,cACA,MACA,cACA,aACA,QACA,SACA,UACA,WACA,SACA,cACA,MACA,QACA,MACA,MACA,MACA,QACA,YACA,aACA,WACA,SACA,QACA,SACA,MACA,SACA,UACA,UACA,SACA,UACA,UACA,aACA,QACA,UACA,WACA,WACA,WACA,SACA,OACA,MACA,aACA,WACA,eACA,SACA,OACA,OACA,MACA,UACA,cACA,QACA,YACA,aACA,QACA,QACA,OACJ,EAEQC,EAAQ,CACZ,SACA,QACA,QACA,QACA,SACA,QACJ,EAEQC,EAAW,CACf,QACA,MACA,KACA,KACA,SACA,OACA,QACA,SACA,UACJ,EAEQC,EAAmB,CACvB,MAAO,CACL,6CACA,MACAJ,EAAK,QACN,EACD,MAAO,CACL,EAAG,UACH,EAAG,aACJ,CACL,EAEE,MAAO,CACL,KAAM,gBACN,SAAU,CACR,QAASG,EACT,SAAUF,EACV,KAAMC,CACP,EACD,QAAS,KACT,SAAU,CACRF,EAAK,oBACLA,EAAK,qBACLA,EAAK,kBACLA,EAAK,iBACLA,EAAK,cACL,CACE,UAAW,OACX,MAAO,IACP,IAAK,GACN,EACDI,EACA,CACE,cAAe,gCACf,IAAK,KACN,CACF,CACL,CACA,CAEA,IAAAC,EAAiBN","x_google_ignoreList":[0]}