|
Carbide.c++ | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITranslationUnitProvider
This provides cached preprocessor translation units for files.
The provider must detect changes to the IDocument hosted in a returned translation unit and reflect those changes when asked for the file the next time. The provider does not have to persist the contents of the file on a document change, though.
The key used here is File (instead of IPath) since it has proper case sensitivity. Such Files should be absolute canonical filesystem paths.
| Method Summary | |
|---|---|
ITranslationUnit |
getTranslationUnit(java.io.File file,
IModelDocumentProvider modelDocumentProvider)
Locate an existing TU, or load it and parse it. |
| Method Detail |
|---|
ITranslationUnit getTranslationUnit(java.io.File file,
IModelDocumentProvider modelDocumentProvider)
This represents only the given file (no #includes are expanded).
file - the full path to the filemodelDocumentProvider - the provider of IDocument instances for the file.
|
Carbide.c++ | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||