Package org.eclipse.cdt.core.index
Interface IIndexMacro
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable
,IBinding
,IIndexBinding
,IMacroBinding
Represents a macro stored in the index.
- Since:
- 4.0
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Field Summary
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IBinding
EMPTY_BINDING_ARRAY
Fields inherited from interface org.eclipse.cdt.core.index.IIndexBinding
EMPTY_INDEX_BINDING_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the definition of this macro, ornull
if not available.getFile()
Returns the file in which this macro is defined and belongs to.If available, return the file location for the macro definition of this macro, otherwise returnnull
.Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IBinding
getLinkage, getName, getNameCharArray, getScope
Methods inherited from interface org.eclipse.cdt.core.index.IIndexBinding
getLocalToFile, getOwner, getQualifiedName, isFileLocal
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IMacroBinding
getExpansion, getExpansionImage, getParameterList, getParameterPlaceholderList, isDynamic, isFunctionStyle
-
Field Details
-
EMPTY_INDEX_MACRO_ARRAY
-
-
Method Details
-
getFileLocation
If available, return the file location for the macro definition of this macro, otherwise returnnull
.- Throws:
org.eclipse.core.runtime.CoreException
-
getFile
Returns the file in which this macro is defined and belongs to.- Throws:
org.eclipse.core.runtime.CoreException
-
getDefinition
Returns the name of the definition of this macro, ornull
if not available.- Throws:
org.eclipse.core.runtime.CoreException
- Since:
- 5.0
-