Module: ABNF::Compiler::Controls::Grammar

Defined in:
lib/abnf/compiler/controls/grammar.rb

Defined Under Namespace

Classes: Example

Constant Summary collapse

Alternative =
Example.new '1*%x30-39 / *%x30-39 "*" *%x30-39', Compiler::Grammar::Alternative
CharVal =
Example.new '"some-string"', Compiler::Grammar::CharVal
Concatenation =
Example.new '"some-string" " " "some-string"', Compiler::Grammar::Concatenation
Group =
Example.new '( "foo" / "bar" )', Compiler::Grammar::Element
NumVal =
Example.new '%x41.42.43', Compiler::Grammar::NumVal
Option =
Example.new '[ "some-string" ]', Compiler::Grammar::Element
Repetition =
Example.new '1*2"some-element"', Compiler::Grammar::Repetition
Rulename =
Example.new 'some-rule', Compiler::Grammar::Rulename
Rule =
Example.new "some-rule = \"some-string\"\r\n", Compiler::Grammar::Rule
ProseVal =
Example.new '<Some Prose>', Compiler::Grammar::ProseVal