# Style sheet for VRML files
# Copyright (c) 1995-2000 Akim Demaille, Miguel Santana
#

#
# This file is part of a2ps.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING.  If not, see
# <https://www.gnu.org/licenses/gpl-3.0.html>.
#

style VRML is
written by "Nadine Richard <Nadine.Richard@ada.eu.org>"
version is 1.0
requires a2ps 4.12
case sensitive
documentation is
   "According to"
   "   url(https://www.web3d.org/documents/specifications/14772/V2.0/part1/grammar.html)url(Grammar Definition Version 2.0 ISO/IEC CD 14772)url."
end documentation

# Support for the main keywords
keywords in Keyword_strong are
   eventIn, eventOut, field, exposedField, EXTERNPROTO, ROUTE, TO, IS,
   DEF, USE
end keywords

# Node names
optional keywords in Keyword are

   Shape, Anchor, Billboard, Collision, Group, Transform, Inline, LOD,
   Switch, Box, Cone, Cylinder, ElevationGrid, Extrusion,
   IndexedFaceSet, IndexedLineSet, PointSet, Sphere, Text, Appearance,
   Color, Coordinate, FontStyle, ImageTexture, Material, MovieTexture,
   Normal, PixelTexture, TextureCoordinate, TextureTransform, Sound,
   AudioClip, CylinderSensor, PlaneSensor, TimeSensor,
   ProximitySensor, SphereSensor, TouchSensor, VisibilitySensor,
   Script, ColorInterpolator, CoordinateInterpolator,
   NormalInterpolator, OrientationInterpolator, PositionInterpolator,
   ScalarInterpolator

end keywords

# Support for the predefined symbols
keywords in Keyword are

   SFNode, MFNode, SFBool, SFColor, MFColor, SFFloat, MFFloat,
   SFImage, SFInt32, MFInt32, SFRotation, MFRotation, SFString,
   MFString, SFTime, MFTime, SFVect2f, MFVect2f, SFVect3f, NFVect3f

end keywords

sequences are
  # The comments
  "#" Comment,
  C-string,

  "DEF " Keyword_strong Label " " Plain

end sequences

end style
