Translations:Development/KDevelop-PG-Qt Introduction/189/en

From KDE TechBase

A grammar file can contain multiple rulesets. A ruleset is a set of rules, as described in the previous section. It gets declared using:

%lexer "name" ->
  ⟨rules⟩
  ;