Package | Description |
---|---|
org.eclipse.cdt.core.dom.ast | |
org.eclipse.cdt.core.model |
Modifier and Type | Method and Description |
---|---|
ITranslationUnit |
IASTTranslationUnit.getOriginatingTranslationUnit()
Returns the ITranslationUnit this AST originated from, or
null if the AST
does not correspond to an ITranslationUnit. |
Modifier and Type | Interface and Description |
---|---|
interface |
IWorkingCopy
A working copy of a C element acts just like a regular element (handle),
except it is not attached to an underlying resource.
|
Modifier and Type | Method and Description |
---|---|
ITranslationUnit |
CoreModel.createTranslationUnitFrom(ICProject cproject,
IPath path)
Creates a translation from an IPath.
|
static ITranslationUnit |
CoreModelUtil.findTranslationUnit(IFile file)
Returns the translation unit for the file given or
null . |
static ITranslationUnit |
CoreModelUtil.findTranslationUnitForLocation(IPath location,
ICProject preferredProject)
Searches for a translation unit within the cprojects.
|
ITranslationUnit |
IWorkingCopy.getOriginalElement()
Returns the original element this working copy was created from,
or
null if this is not a working copy. |
ITranslationUnit |
ITranslationUnitHolder.getTranslationUnit()
Returns the translation unit that is provided by the receiver or null if there is no
such translation unit.
|
ITranslationUnit |
ISourceReference.getTranslationUnit()
Returns the translation unit in which this member is declared, or
null
if this member is not declared in a translation unit (for example, a binary type). |
ITranslationUnit |
ICContainer.getTranslationUnit(java.lang.String name)
Returns the translation unit with the specified name in this container
(for example,
"foobar.c" ). |
ITranslationUnit[] |
ICContainer.getTranslationUnits()
Returns all of the translation units in this ccontainer.
|
Modifier and Type | Method and Description |
---|---|
IContributedModelBuilder |
IContributedModelBuilder.Factory.create(ITranslationUnit tu)
Create a model builder for the given translation unit.
|
IContributedModelBuilder |
AssemblyLanguage.createModelBuilder(ITranslationUnit tu) |
IContributedModelBuilder |
ILanguage.createModelBuilder(ITranslationUnit tu)
Used to override the default model building behavior for a translation unit.
|
IContributedModelBuilder |
LanguageManager.getContributedModelBuilderFor(ITranslationUnit tu) |
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.