]> luflow.net public git repositories - flow-web.git/blob - static/highlight/languages/rib.js
Initial commit.
[flow-web.git] / static / highlight / languages / rib.js
1 /*! `rib` grammar compiled for Highlight.js 11.11.1 */
2 (function(){
3 var hljsGrammar = (function () {
4 'use strict';
5
6 /*
7 Language: RenderMan RIB
8 Author: Konstantin Evdokimenko <qewerty@gmail.com>
9 Contributors: Shuen-Huei Guan <drake.guan@gmail.com>
10 Website: https://renderman.pixar.com/resources/RenderMan_20/ribBinding.html
11 Category: graphics
12 */
13
14 function rib(hljs) {
15 return {
16 name: 'RenderMan RIB',
17 keywords:
18 'ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis '
19 + 'Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone '
20 + 'CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail '
21 + 'DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format '
22 + 'FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry '
23 + 'Hider Hyperboloid Identity Illuminate Imager Interior LightSource '
24 + 'MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte '
25 + 'MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option '
26 + 'Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples '
27 + 'PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection '
28 + 'Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow '
29 + 'ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere '
30 + 'SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd '
31 + 'TransformPoints Translate TrimCurve WorldBegin WorldEnd',
32 illegal: '</',
33 contains: [
34 hljs.HASH_COMMENT_MODE,
35 hljs.C_NUMBER_MODE,
36 hljs.APOS_STRING_MODE,
37 hljs.QUOTE_STRING_MODE
38 ]
39 };
40 }
41
42 return rib;
43
44 })();
45
46 hljs.registerLanguage('rib', hljsGrammar);
47 })();