Eduction 23.2

# <grammar>

Element: grammar

Child Elements: <extern>, <entity>

Description: Defines a grammar, which is a collection of entities. You use entities for matching.

Example: `<grammar name="grammar1" case="inherited" extend="disallow" debug="inherited">`

Attribute | Value | Default | Description
--- | --- | --- | ---
`name` | <grammar name> |  | The name of the grammar. 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 | The mode to use for updating a grammar. Set this option to append to add the new entities to the existing grammar definition. Set it to replace to ignore the existing definition and use the new one. Set `extend` to disallow to prevent the new definition adding to or replacing values if there is already a grammar with the same name.
`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.

Copyright 2013-2023 Open Text
Version 23.2 | Last updated March 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Eduction 23.2

Topic Title: <grammar>