[antlr-interest] Removing nil nodes from tree

Eric researcher0x00 at gmail.com
Sat Mar 17 07:48:44 PDT 2012


Hi Todd,

Are the nil nodes causing you a problem or are they just astetically
unpleasing?

Eric

On Sat, Mar 17, 2012 at 1:38 AM, Todd Nine <tnine at apigee.com> wrote:

> Hi all,
>  I now have my AST generating node classes for my tree.  However, I have
> one final issue.  nil nodes are included in my tree after parsing is
> complete.  They appear in trees due to operator precedence.  Is it possible
> to remove nil nodes as the tree is generated?
>
> Thanks,
> Todd
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>


More information about the antlr-interest mailing list