Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] C function start and end Line using the eclipse CDT Parser


What you are trying to do is very similar to what we do in CDT when the user wishes to compare two source files structurally.  
I would suggest you look @ the class org.eclipse.cdt.internal.ui.compare.CStructureCreator.

Hope that helps!

JohnC
www.eclipse.org/cdt


cdt-dev-admin@xxxxxxxxxxx wrote on 07/14/2004 12:46:43 AM:

> I want to build an application to find the difference between two releases
> of C Files. for that i need to know all function name and their starting
> Line and End Line.
>
> How can i find the C function start and end Line using the eclipse CDT
> Parser.
>
>
> Sunil Virmani
>
>
> Disclaimer:
>
> This message and any attachment(s) contained here are information that is
> confidential,proprietary to HCL Technologies and its customers, privileged
> or otherwise protected by law.The information is solely intended for the
> individual or the entity it is addressed to. If you are not the intended
> recipient of this message, you are not authorized to read, forward,
> print,retain, copy or disseminate this message or any part of it. If you
> have received this e-mail in error, please notify the sender immediately by
> return e-mail and delete it from your computer.
>
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-dev

Back to the top