External Rule References Handling

The Grammar External Rule References project properties section controls how external rule references in ABNF grammars are handled by the various tools of the environment.

External rule references handling is controlled by translation rules. To configure those rules, select your project in the Navigator view, open the contextual menu and select Properties (or simply press Alt-Enter):

Translation Rules

Each translation rule has a name and a context in which it applies. The context is one of:

To add a new rule, press the Add... button. The following dialog box appears:

A rule name must be chosen, as well as the context (the Apply When drop-down menu).

The rule must also specify a condition and an action. The condition determines whether a rule can be applied to a given external rule reference. The action specifies how to convert the rule reference.

A condition can be one of the following:

An action can be one of the following:

To edit an existing rule, select the rule and press the Edit... button. The same dialog box appears. To delete a rule, select the rule and press the Delete button.

Translation rules are tried in the order they are specified. To change the order of the rules, select a rule and click on the Up or Down button to move it up or down in the list.

Copyright © 2007,2008,2009,2010,2011 Nu Echo Inc.