Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-core-dev] Core Model IInclude


Hello Alain,

The IASTInclusion has  getFullFileName(). However, it is not populated with the proper path in Quick parse mode ( the mode used by the CModelBuilder) since this mode does not follow includes. My guess is that you could use the indexer directly to obtain such information or parse in full mode.

Regards
Hoda Amer
Staff Software Engineer
Rational Software - IBM Software Group



"Alain Magloire" <alain@xxxxxxx>
Sent by: cdt-core-dev-admin@xxxxxxxxxxx

08/21/2003 10:58 AM
Please respond to cdt-core-dev

       
        To:        cdt-core-dev@xxxxxxxxxxx
        cc:        
        Subject:        [cdt-core-dev] Core Model IInclude




Bonjour

                The outliner implements an action that will try to load an include file in
the file editor.  In the old version things where hardcoded ... no good.

We would like to implement the ICElement/IInclude.getPath() to return the location.

Question:
Can the parser tell me the location ? So when iterating through the CModelBuilder
and creating Include to also pass the information.

_______________________________________________
cdt-core-dev mailing list
cdt-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-core-dev


Back to the top