ITranslationUnit or ILanguage.@Deprecated public interface IASTServiceProvider
| Modifier and Type | Interface and Description |
|---|---|
static class |
IASTServiceProvider.UnsupportedDialectException
Deprecated.
This exception is thrown when there is not a service provider that can handle
the request due to dialect mis-match.
|
| Modifier and Type | Method and Description |
|---|---|
IASTCompletionNode |
getCompletionNode(org.eclipse.core.resources.IFile fileToParse,
int offset,
ICodeReaderFactory fileCreator)
Deprecated.
Returns a parse tree that represents the content provided as parameters.
|
IASTCompletionNode |
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.
|
IASTTranslationUnit |
getTranslationUnit(org.eclipse.core.resources.IFile fileToParse)
Deprecated.
Returns a parse tree that represents the content provided as parameters.
|
IASTTranslationUnit |
getTranslationUnit(org.eclipse.core.resources.IFile fileToParse,
boolean parseComments)
Deprecated.
Returns a parse tree that represents the content provided as parameters.
|
IASTTranslationUnit |
getTranslationUnit(org.eclipse.core.resources.IFile fileToParse,
ICodeReaderFactory fileCreator)
Deprecated.
Returns a parse tree that represents the content provided as parameters.
|
IASTTranslationUnit |
getTranslationUnit(org.eclipse.core.resources.IFile fileToParse,
ICodeReaderFactory fileCreator,
boolean parseComments)
Deprecated.
Returns a parse tree that represents the content provided as parameters.
|
IASTTranslationUnit |
getTranslationUnit(org.eclipse.core.resources.IFile fileToParse,
ICodeReaderFactory fileCreator,
IParserConfiguration configuration)
Deprecated.
Returns a parse tree that represents the content provided as parameters.
|
IASTTranslationUnit |
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.
|
IASTTranslationUnit |
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.
|
IASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IFile fileToParse) throws IASTServiceProvider.UnsupportedDialectException
fileToParse - the file in questionIASTServiceProvider.UnsupportedDialectExceptionIASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IFile fileToParse, boolean parseComments) throws IASTServiceProvider.UnsupportedDialectException
fileToParse - the file in questionparseComments - parse commtents flagIASTServiceProvider.UnsupportedDialectExceptionIASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IStorage fileToParse, org.eclipse.core.resources.IProject project, ICodeReaderFactory fileCreator) throws IASTServiceProvider.UnsupportedDialectException
fileToParse - the file in questionproject - project handle to help us figure out build settingsfileCreator - @see CDOM#getCodeReaderFactory(int)IASTServiceProvider.UnsupportedDialectExceptionIASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IStorage fileToParse, org.eclipse.core.resources.IProject project) throws IASTServiceProvider.UnsupportedDialectException
fileToParse - the file in questionproject - project handle to help us figure out build settingsIASTServiceProvider.UnsupportedDialectExceptionIASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IFile fileToParse, ICodeReaderFactory fileCreator) throws IASTServiceProvider.UnsupportedDialectException
fileToParse - the file in questionfileCreator - @see CDOM#getCodeReaderFactory(int)IASTServiceProvider.UnsupportedDialectExceptionIASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IFile fileToParse, ICodeReaderFactory fileCreator, boolean parseComments) throws IASTServiceProvider.UnsupportedDialectException
fileToParse - the file in questionfileCreator - @see CDOM#getCodeReaderFactory(int)parseComments - parse comments flagIASTServiceProvider.UnsupportedDialectExceptionIASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IFile fileToParse, ICodeReaderFactory fileCreator, IParserConfiguration configuration) throws IASTServiceProvider.UnsupportedDialectException
fileToParse - the file in questionfileCreator - @see CDOM#getCodeReaderFactory(int)configuration - parser configuration provided rather than discovered by serviceIASTServiceProvider.UnsupportedDialectExceptionIASTCompletionNode getCompletionNode(org.eclipse.core.resources.IFile fileToParse, int offset, ICodeReaderFactory fileCreator) throws IASTServiceProvider.UnsupportedDialectException
fileToParse - the file in questionoffset - the offset at which you require completion atfileCreator - @see CDOM#getCodeReaderFactory(int)IASTServiceProvider.UnsupportedDialectExceptionIASTCompletionNode getCompletionNode(org.eclipse.core.resources.IStorage fileToParse, org.eclipse.core.resources.IProject project, int offset, ICodeReaderFactory fileCreator) throws IASTServiceProvider.UnsupportedDialectException
fileToParse - the file in questionproject - the project containing the scanner infooffset - the offset at which you require completion atfileCreator - @see CDOM#getCodeReaderFactory(int)IASTServiceProvider.UnsupportedDialectExceptionCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.