[antlr-interest] findAllPartial() - Why is that?

rustydstone rustydstone at yahoo.com
Fri May 23 08:08:56 PDT 2003


Hi,

Consider the following expression: (a_1=true) || (a_2=true) || (a_3=false)

I'm using findAllPartial() to find all nodes in the expression above
that match empty "=" node.

The following is the result of the search:

i = 0 ( = a_1 true ) ( = a_2 true )
i = 1 ( = a_2 true )
i = 2 ( = a_3 false )


Why is the result for i = 0 is "( = a_1 true ) ( = a_2 true )" and not
just "( = a_1 true )"?

Thanks




 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list