<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">

<html>

<!--(==============================================================)-->
<!--(Document created with RoboEditor. )============================-->
<!--(==============================================================)-->

<head>

<title>nest</title>

<!--(Meta)==========================================================-->

<meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
<meta name=generator-major-version content=0.1>
<meta name=generator-minor-version content=1>
<meta name=filetype content=kadov>
<meta name=filetype-version content=1>
<meta name=page-count content=1>
<meta name=layout-height content=703>
<meta name=layout-width content=916>
<meta name=date content="05 4, 2002 11:33:03 PM">


<!--(Links)=========================================================-->

<link rel=StyleSheet href=default.css>



</head>

<!--(Body)==========================================================-->


<body>

<h1>nest</h1>

<h2>Purpose</h2>

<p>Invoke a recursive rules pass on nodes that matched the current rule 
 element.</p>

<h2>Remarks</h2>

<p><span style="font-weight: bold;">recurse</span>, <span style="font-weight: bold;">passes</span> 
 and <span style="font-weight: bold;">pass</span> are alternate forms for 
 nest. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}--></p>

<p>See the <a href="RECURSE.htm">RECURSE Region</a> discussion for more 
 information on nested minipasses.</p>

<h2>Example</h2>

<p style="font-family: monospace;"># This is the tagrules minipass.<br>
@RECURSE tagrules<br>
<br>
# This rule in the minipass operates on the phrase of nodes that<br>
# matched _xWILD in the _tag rule.<span style="font-family: monospace;"><br>
@RULES<br>
_keywords &lt;-<br>
 <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->keywords<br>
 <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->\=<br>
 <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->\(<br>
 <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->_xALPHA 
 [star]<br>
 <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->\)<br>
 <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->@@<br>
<br>
@@RECURSE tagrules<br>
<br>
# This is the main rules area, called the Grammar Zone.<br>
# When this rule matches, it invokes a minipass to process<br>
# the nodes that matched the _xWILD wildcard.<br>
@RULES<br>
_tag &lt;- \&lt; _xWILD [</span><span style="font-family: monospace; font-weight: bold;">nest</span><span 
 style="font-family: monospace;">=(tagrules)] \&gt; @@</span></p>

<h2>See Also</h2>

<p><a href="NLP_PP_Stuff/Phrase_element_modifiers.htm">Phrase Element Modifiers</a></p>

</body>

</html>
