From 7a3df06eb573d36142bd1a8e03c5ce8752d300b3 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 24 May 2017 15:10:37 +0200 Subject: fix build issues and add typedoc --- node_modules/highlight.js/lib/languages/rsl.js | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 node_modules/highlight.js/lib/languages/rsl.js (limited to 'node_modules/highlight.js/lib/languages/rsl.js') diff --git a/node_modules/highlight.js/lib/languages/rsl.js b/node_modules/highlight.js/lib/languages/rsl.js new file mode 100644 index 000000000..2734f4bc3 --- /dev/null +++ b/node_modules/highlight.js/lib/languages/rsl.js @@ -0,0 +1,35 @@ +module.exports = function(hljs) { + return { + keywords: { + keyword: + 'float color point normal vector matrix while for if do return else break extern continue', + built_in: + 'abs acos ambient area asin atan atmosphere attribute calculatenormal ceil cellnoise ' + + 'clamp comp concat cos degrees depth Deriv diffuse distance Du Dv environment exp ' + + 'faceforward filterstep floor format fresnel incident length lightsource log match ' + + 'max min mod noise normalize ntransform opposite option phong pnoise pow printf ' + + 'ptlined radians random reflect refract renderinfo round setcomp setxcomp setycomp ' + + 'setzcomp shadow sign sin smoothstep specular specularbrdf spline sqrt step tan ' + + 'texture textureinfo trace transform vtransform xcomp ycomp zcomp' + }, + illegal: '