<entity>
Element: entity
Child Elements: <entry>, <pattern>
Description: Defines an entity that you can use for matching.
Example: <entity name="entity1" type="public" case="insensitive" extend="disallow" debug="true">
Attribute | Value | Default | Description |
---|---|---|---|
|
<grammar name> |
The name of the grammar. A value is required. |
|
type
|
public private |
private |
Defines the entity as public or private. |
case
|
sensitive insensitive inherited |
inherited |
Determines whether a match is case sensitive. The value |
extend
|
append replace disallow |
disallow |
Extends or replaces an existing entity definition. |
debug
|
true false inherited |
inherited |
Displays verbose information for the entity element during compilation. The value inherited accepts the debug mode of the grammar parent. |