[antlr-interest] tree parsers vs visitors & xml translators etc...
Silvain Piree
s.piree at enneya.com
Fri May 10 03:30:13 PDT 2002
Oops, forgot you were using instance initializer instead
of method.
So that should be:
"//class[not(parent::method)][not(parent::initializer)]"
Silvain
p.s. using attributes you can further simplify this query, e.g.
"//classes[not(@hidden)]"
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list