Element: grammar
Child Elements: <extern>, <entity>
Description: Defines a grammar, which is a collection of entities. Entities are used for matching.
Example: <grammar name="grammar1" case="inherited" extend="disallow" debug="inherited">
Attribute |
Value |
Default |
Description |
---|---|---|---|
name
|
<grammar name> |
A value is required. |
|
case
|
sensitive insensitive inherited |
inherited |
Determines whether a match is case sensitive. The value inherited accepts the case matching mode of the <grammars> parent. |
extend
|
append replace disallow |
disallow |
Extends or replaces an existing grammar definition, or disallows this if one already exists. |
debug
|
true false inherited |
inherited |
Displays verbose information for the dictionary element during compilation. The value inherited accepts the debug mode of the grammars parent. |
|