The Grammar Class

Instances of the Grammarclass represent grammars located somewhere that can be accessed for various reasons. A Grammar object has a constant (unchanging) value. Complex grammar literals are references to instances of class Grammar.

The compound grammar operator || implicitly creates a new Grammar object.