Package org.eclipse.cdt.core.dom
Interface IASTServiceProvider
-
- All Known Implementing Classes:
CDOM
@Deprecated public interface IASTServiceProviderDeprecated.Use methods provided byITranslationUnitorILanguage.- Restriction:
- This interface is not intended to be referenced by clients.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIASTServiceProvider.UnsupportedDialectExceptionDeprecated.This exception is thrown when there is not a service provider that can handle the request due to dialect mis-match.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description IASTCompletionNodegetCompletionNode(org.eclipse.core.resources.IFile fileToParse, int offset, ICodeReaderFactory fileCreator)Deprecated.Returns a parse tree that represents the content provided as parameters.IASTCompletionNodegetCompletionNode(org.eclipse.core.resources.IStorage fileToParse, org.eclipse.core.resources.IProject project, int offset, ICodeReaderFactory fileCreator)Deprecated.Returns a parse tree that represents the content provided as parameters.IASTTranslationUnitgetTranslationUnit(org.eclipse.core.resources.IFile fileToParse)Deprecated.Returns a parse tree that represents the content provided as parameters.IASTTranslationUnitgetTranslationUnit(org.eclipse.core.resources.IFile fileToParse, boolean parseComments)Deprecated.Returns a parse tree that represents the content provided as parameters.IASTTranslationUnitgetTranslationUnit(org.eclipse.core.resources.IFile fileToParse, ICodeReaderFactory fileCreator)Deprecated.Returns a parse tree that represents the content provided as parameters.IASTTranslationUnitgetTranslationUnit(org.eclipse.core.resources.IFile fileToParse, ICodeReaderFactory fileCreator, boolean parseComments)Deprecated.Returns a parse tree that represents the content provided as parameters.IASTTranslationUnitgetTranslationUnit(org.eclipse.core.resources.IFile fileToParse, ICodeReaderFactory fileCreator, IParserConfiguration configuration)Deprecated.Returns a parse tree that represents the content provided as parameters.IASTTranslationUnitgetTranslationUnit(org.eclipse.core.resources.IStorage fileToParse, org.eclipse.core.resources.IProject project)Deprecated.Returns a parse tree that represents the content provided as parameters.IASTTranslationUnitgetTranslationUnit(org.eclipse.core.resources.IStorage fileToParse, org.eclipse.core.resources.IProject project, ICodeReaderFactory fileCreator)Deprecated.Returns a parse tree that represents the content provided as parameters.
-
-
-
Method Detail
-
getTranslationUnit
IASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IFile fileToParse) throws IASTServiceProvider.UnsupportedDialectException
Deprecated.Returns a parse tree that represents the content provided as parameters.- Parameters:
fileToParse- the file in question- Returns:
- syntactical parse tree
- Throws:
IASTServiceProvider.UnsupportedDialectException
-
getTranslationUnit
IASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IFile fileToParse, boolean parseComments) throws IASTServiceProvider.UnsupportedDialectException
Deprecated.Returns a parse tree that represents the content provided as parameters.- Parameters:
fileToParse- the file in questionparseComments- parse commtents flag- Returns:
- syntactical parse tree
- Throws:
IASTServiceProvider.UnsupportedDialectException
-
getTranslationUnit
IASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IStorage fileToParse, org.eclipse.core.resources.IProject project, ICodeReaderFactory fileCreator) throws IASTServiceProvider.UnsupportedDialectException
Deprecated.Returns a parse tree that represents the content provided as parameters.- Parameters:
fileToParse- the file in questionproject- project handle to help us figure out build settingsfileCreator-- Returns:
- syntactical parse tree
- Throws:
IASTServiceProvider.UnsupportedDialectException- See Also:
CDOM.getCodeReaderFactory(int)
-
getTranslationUnit
IASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IStorage fileToParse, org.eclipse.core.resources.IProject project) throws IASTServiceProvider.UnsupportedDialectException
Deprecated.Returns a parse tree that represents the content provided as parameters.- Parameters:
fileToParse- the file in questionproject- project handle to help us figure out build settings- Returns:
- syntactical parse tree
- Throws:
IASTServiceProvider.UnsupportedDialectException
-
getTranslationUnit
IASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IFile fileToParse, ICodeReaderFactory fileCreator) throws IASTServiceProvider.UnsupportedDialectException
Deprecated.Returns a parse tree that represents the content provided as parameters.- Parameters:
fileToParse- the file in questionfileCreator-- Returns:
- syntactical parse tree
- Throws:
IASTServiceProvider.UnsupportedDialectException- See Also:
CDOM.getCodeReaderFactory(int)
-
getTranslationUnit
IASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IFile fileToParse, ICodeReaderFactory fileCreator, boolean parseComments) throws IASTServiceProvider.UnsupportedDialectException
Deprecated.Returns a parse tree that represents the content provided as parameters.- Parameters:
fileToParse- the file in questionfileCreator-parseComments- parse comments flag- Returns:
- syntactical parse tree
- Throws:
IASTServiceProvider.UnsupportedDialectException- See Also:
CDOM.getCodeReaderFactory(int)
-
getTranslationUnit
IASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IFile fileToParse, ICodeReaderFactory fileCreator, IParserConfiguration configuration) throws IASTServiceProvider.UnsupportedDialectException
Deprecated.Returns a parse tree that represents the content provided as parameters.- Parameters:
fileToParse- the file in questionfileCreator-configuration- parser configuration provided rather than discovered by service- Returns:
- syntactical parse tree
- Throws:
IASTServiceProvider.UnsupportedDialectException- See Also:
CDOM.getCodeReaderFactory(int)
-
getCompletionNode
IASTCompletionNode getCompletionNode(org.eclipse.core.resources.IFile fileToParse, int offset, ICodeReaderFactory fileCreator) throws IASTServiceProvider.UnsupportedDialectException
Deprecated.Returns a parse tree that represents the content provided as parameters.- Parameters:
fileToParse- the file in questionoffset- the offset at which you require completion atfileCreator-- Returns:
- syntactical parse tree
- Throws:
IASTServiceProvider.UnsupportedDialectException- See Also:
CDOM.getCodeReaderFactory(int)
-
getCompletionNode
IASTCompletionNode getCompletionNode(org.eclipse.core.resources.IStorage fileToParse, org.eclipse.core.resources.IProject project, int offset, ICodeReaderFactory fileCreator) throws IASTServiceProvider.UnsupportedDialectException
Deprecated.Returns a parse tree that represents the content provided as parameters.- Parameters:
fileToParse- the file in questionproject- the project containing the scanner infooffset- the offset at which you require completion atfileCreator-- Returns:
- syntactical parse tree
- Throws:
IASTServiceProvider.UnsupportedDialectException- See Also:
CDOM.getCodeReaderFactory(int)
-
-