|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.internal.core.dom.InternalASTServiceProvider
public class InternalASTServiceProvider
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.cdt.core.dom.IASTServiceProvider |
---|
IASTServiceProvider.UnsupportedDialectException |
Constructor Summary | |
---|---|
InternalASTServiceProvider()
|
Method Summary | |
---|---|
org.eclipse.cdt.core.dom.ast.IASTCompletionNode |
getCompletionNode(org.eclipse.core.resources.IFile fileToParse,
int offset,
org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator)
Returns a parse tree that represents the content provided as parameters. |
org.eclipse.cdt.core.dom.ast.IASTCompletionNode |
getCompletionNode(org.eclipse.core.resources.IStorage fileToParse,
org.eclipse.core.resources.IProject project,
int offset,
org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator)
Returns a parse tree that represents the content provided as parameters. |
org.eclipse.cdt.core.dom.ast.IASTCompletionNode |
getCompletionNode(java.lang.String filename,
org.eclipse.core.resources.IResource infoProvider,
int offset,
org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator)
|
java.lang.String |
getName()
|
java.lang.String[] |
getSupportedDialects()
|
org.eclipse.cdt.core.dom.ast.IASTTranslationUnit |
getTranslationUnit(org.eclipse.core.resources.IFile fileToParse)
Returns a parse tree that represents the content provided as parameters. |
org.eclipse.cdt.core.dom.ast.IASTTranslationUnit |
getTranslationUnit(org.eclipse.core.resources.IFile fileToParse,
boolean parseComments)
Returns a parse tree that represents the content provided as parameters. |
org.eclipse.cdt.core.dom.ast.IASTTranslationUnit |
getTranslationUnit(org.eclipse.core.resources.IFile fileToParse,
org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator)
Returns a parse tree that represents the content provided as parameters. |
org.eclipse.cdt.core.dom.ast.IASTTranslationUnit |
getTranslationUnit(org.eclipse.core.resources.IFile fileToParse,
org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator,
boolean parseComments)
Returns a parse tree that represents the content provided as parameters. |
org.eclipse.cdt.core.dom.ast.IASTTranslationUnit |
getTranslationUnit(org.eclipse.core.resources.IFile fileToParse,
org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator,
org.eclipse.cdt.core.dom.IParserConfiguration configuration)
Returns a parse tree that represents the content provided as parameters. |
org.eclipse.cdt.core.dom.ast.IASTTranslationUnit |
getTranslationUnit(org.eclipse.core.resources.IStorage fileToParse,
org.eclipse.core.resources.IProject project)
Returns a parse tree that represents the content provided as parameters. |
org.eclipse.cdt.core.dom.ast.IASTTranslationUnit |
getTranslationUnit(org.eclipse.core.resources.IStorage fileToParse,
org.eclipse.core.resources.IProject project,
org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator)
Returns a parse tree that represents the content provided as parameters. |
org.eclipse.cdt.core.dom.ast.IASTTranslationUnit |
getTranslationUnit(java.lang.String filename,
org.eclipse.core.resources.IResource infoProvider,
org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator,
org.eclipse.cdt.core.dom.IParserConfiguration configuration,
boolean parseComment)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InternalASTServiceProvider()
Method Detail |
---|
public java.lang.String getName()
public org.eclipse.cdt.core.dom.ast.IASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IFile fileToParse) throws IASTServiceProvider.UnsupportedDialectException
IASTServiceProvider
getTranslationUnit
in interface IASTServiceProvider
fileToParse
- the file in question
IASTServiceProvider.UnsupportedDialectException
public org.eclipse.cdt.core.dom.ast.IASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IFile fileToParse, org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator) throws IASTServiceProvider.UnsupportedDialectException
IASTServiceProvider
getTranslationUnit
in interface IASTServiceProvider
fileToParse
- the file in questionfileCreator
- @see CDOM#getCodeReaderFactory(int)
IASTServiceProvider.UnsupportedDialectException
public org.eclipse.cdt.core.dom.ast.IASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IFile fileToParse, org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator, org.eclipse.cdt.core.dom.IParserConfiguration configuration) throws IASTServiceProvider.UnsupportedDialectException
IASTServiceProvider
getTranslationUnit
in interface IASTServiceProvider
fileToParse
- the file in questionfileCreator
- @see CDOM#getCodeReaderFactory(int)configuration
- parser configuration provided rather than discovered by service
IASTServiceProvider.UnsupportedDialectException
public org.eclipse.cdt.core.dom.ast.IASTTranslationUnit getTranslationUnit(java.lang.String filename, org.eclipse.core.resources.IResource infoProvider, org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator, org.eclipse.cdt.core.dom.IParserConfiguration configuration, boolean parseComment) throws IASTServiceProvider.UnsupportedDialectException
IASTServiceProvider.UnsupportedDialectException
public org.eclipse.cdt.core.dom.ast.IASTCompletionNode getCompletionNode(org.eclipse.core.resources.IStorage fileToParse, org.eclipse.core.resources.IProject project, int offset, org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator) throws IASTServiceProvider.UnsupportedDialectException
IASTServiceProvider
getCompletionNode
in interface IASTServiceProvider
fileToParse
- the file in questionproject
- the project containing the scanner infooffset
- the offset at which you require completion atfileCreator
- @see CDOM#getCodeReaderFactory(int)
IASTServiceProvider.UnsupportedDialectException
public org.eclipse.cdt.core.dom.ast.IASTCompletionNode getCompletionNode(org.eclipse.core.resources.IFile fileToParse, int offset, org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator) throws IASTServiceProvider.UnsupportedDialectException
IASTServiceProvider
getCompletionNode
in interface IASTServiceProvider
fileToParse
- the file in questionoffset
- the offset at which you require completion atfileCreator
- @see CDOM#getCodeReaderFactory(int)
IASTServiceProvider.UnsupportedDialectException
public org.eclipse.cdt.core.dom.ast.IASTCompletionNode getCompletionNode(java.lang.String filename, org.eclipse.core.resources.IResource infoProvider, int offset, org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator) throws IASTServiceProvider.UnsupportedDialectException
IASTServiceProvider.UnsupportedDialectException
public java.lang.String[] getSupportedDialects()
public org.eclipse.cdt.core.dom.ast.IASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IStorage fileToParse, org.eclipse.core.resources.IProject project, org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator) throws IASTServiceProvider.UnsupportedDialectException
IASTServiceProvider
getTranslationUnit
in interface IASTServiceProvider
fileToParse
- the file in questionproject
- project handle to help us figure out build settingsfileCreator
- @see CDOM#getCodeReaderFactory(int)
IASTServiceProvider.UnsupportedDialectException
public org.eclipse.cdt.core.dom.ast.IASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IStorage fileToParse, org.eclipse.core.resources.IProject project) throws IASTServiceProvider.UnsupportedDialectException
IASTServiceProvider
getTranslationUnit
in interface IASTServiceProvider
fileToParse
- the file in questionproject
- project handle to help us figure out build settings
IASTServiceProvider.UnsupportedDialectException
public org.eclipse.cdt.core.dom.ast.IASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IFile fileToParse, boolean parseComments) throws IASTServiceProvider.UnsupportedDialectException
IASTServiceProvider
getTranslationUnit
in interface IASTServiceProvider
fileToParse
- the file in questionparseComments
- parse commtents flag
IASTServiceProvider.UnsupportedDialectException
public org.eclipse.cdt.core.dom.ast.IASTTranslationUnit getTranslationUnit(org.eclipse.core.resources.IFile fileToParse, org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator, boolean parseComments) throws IASTServiceProvider.UnsupportedDialectException
IASTServiceProvider
getTranslationUnit
in interface IASTServiceProvider
fileToParse
- the file in questionfileCreator
- @see CDOM#getCodeReaderFactory(int)parseComments
- parse commtents flag
IASTServiceProvider.UnsupportedDialectException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |