Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Construct a variable declaration from Literal/Id expression

You can probably find examples in org.eclipse.cdt.internal.ui.refactoring.extractconstant.

-sergey

On Thu, Dec 11, 2014 at 3:16 AM, Krishna Narasimhan <krishna.nm86@xxxxxxxxx> wrote:
Hi,
   How do I construct a  variable declaration given a ID or Literal _expression_. Basically, all I need is the type information, so I can use NodeFactory to create a new declSpecifier . 



Regards
       Krishna

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev

Back to the top