Re: [cedet-semantic] Extra Specifiers
Brought to you by:
zappo
From: Eric M. L. <er...@si...> - 2006-07-19 20:15:36
|
>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: za...@gn..., er...@si... Home: http://www.ludlam.net Siege: www.siege-engine.com Emacs: http://cedet.sourceforge.net GNU: www.gnu.org |