bnf top-level property

Language bnf
final

Implementation

final bnf = Language(
  id: "bnf",
  refs: {},
  name: "Backus–Naur Form",
  contains: [
    Mode(
      className: "attribute",
      begin: "<",
      end: ">",
    ),
    Mode(
      begin: "::=",
      end: "\$",
      contains: [
        Mode(
          begin: "<",
          end: ">",
        ),
        C_LINE_COMMENT_MODE,
        C_BLOCK_COMMENT_MODE,
        APOS_STRING_MODE,
        QUOTE_STRING_MODE,
      ],
    ),
  ],
);