Package org.eclipse.cdt.core.dom
Interface IASTServiceProvider
- All Known Implementing Classes:
CDOM
Deprecated.
- Restriction:
- This interface is not intended to be referenced by clients.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Deprecated.This exception is thrown when there is not a service provider that can handle the request due to dialect mis-match. -
Method Summary
Modifier and TypeMethodDescriptiongetCompletionNode
(org.eclipse.core.resources.IFile fileToParse, int offset, ICodeReaderFactory fileCreator) Deprecated.Returns a parse tree that represents the content provided as parameters.getCompletionNode
(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.getTranslationUnit
(org.eclipse.core.resources.IFile fileToParse) Deprecated.Returns a parse tree that represents the content provided as parameters.getTranslationUnit
(org.eclipse.core.resources.IFile fileToParse, boolean parseComments) Deprecated.Returns a parse tree that represents the content provided as parameters.getTranslationUnit
(org.eclipse.core.resources.IFile fileToParse, ICodeReaderFactory fileCreator) Deprecated.Returns a parse tree that represents the content provided as parameters.getTranslationUnit
(org.eclipse.core.resources.IFile fileToParse, ICodeReaderFactory fileCreator, boolean parseComments) Deprecated.Returns a parse tree that represents the content provided as parameters.getTranslationUnit
(org.eclipse.core.resources.IFile fileToParse, ICodeReaderFactory fileCreator, IParserConfiguration configuration) Deprecated.Returns a parse tree that represents the content provided as parameters.getTranslationUnit
(org.eclipse.core.resources.IStorage fileToParse, org.eclipse.core.resources.IProject project) Deprecated.Returns a parse tree that represents the content provided as parameters.getTranslationUnit
(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 Details
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
ITranslationUnit
orILanguage
.