>Hi there!
>
>Considering the following class definition in java:
>
>public class xpto {
>
>....
>
>}
>
>I would like to get the string 'public' (saying that the class is public)
>from the token relating to this class definition.
>
>I tried to use: (semantic-token-extra-spec TAG 'typemodifiers)
>but it's always returning 'nil'.
>
>Can someone tell why? Or can someone tell me a way to do this.
>
Hi,
I'm not positive about the specifics of java and your case, however
you should use the function `semantic-tag-protection' to get public,
private, whatever out of a tag, as some languages need to calculate
the value.
Good Luck
Eric
--
Eric Ludlam: zappo@..., eric@...
Home: http://www.ludlam.net Siege: http://www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org
|