Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast
Interface IASTMacroExpansion

All Superinterfaces:
IASTNodeLocation

public interface IASTMacroExpansion
extends IASTNodeLocation

A Macro expansion is a node location. Nodes that have locations that arrive through the expansion of preprocessor macros will refer to these type of objects.


Method Summary
 IASTNodeLocation[] getExpansionLocations()
          The source locations for for the macro expansion.
 IASTPreprocessorMacroDefinition getMacroDefinition()
          The macro definition used for the expansion
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNodeLocation
asFileLocation, getNodeLength, getNodeOffset
 

Method Detail

getMacroDefinition

IASTPreprocessorMacroDefinition getMacroDefinition()
The macro definition used for the expansion

Returns:

getExpansionLocations

IASTNodeLocation[] getExpansionLocations()
The source locations for for the macro expansion. These are the locations where the expansion in question occured and was replaced.

Returns:

Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.