This module contains a standard set of span classes. Use them to markup your rules, so they can be highlighted in IDE.

syntax module StandardSpanClasses
{
  using Identifiers;

  span class Comment;
  span class Char;
  span class String;
  span class Number;
  span class Keyword      = ['a'..'z', '_']['a'..'z', '_']+;
  span class Operator     = ['+', '-', '/', '*', '^', '!', '?', ':',
                             '<', '=', '>', '|', '&', '~', '%']+;
  span class OpenBrace    = "(" | "{" | "[";
  span class CloseBrace   = ")" | "}" | "]";
}

See also

Nitra.Core.dll