Previous: Action Types, Up: Semantics [Contents][Index]
Occasionally it is useful to put an action in the middle of a rule. These actions are written just like usual end-of-rule actions, but they are executed before the parser even recognizes the following components.
• Using Mid-Rule Actions: | Putting an action in the middle of a rule. | |
• Typed Mid-Rule Actions: | Specifying the semantic type of their values. | |
• Mid-Rule Action Translation: | How mid-rule actions are actually processed. | |
• Mid-Rule Conflicts: | Mid-rule actions can cause conflicts. |