Eclipse CDT
Pre-release 3.0

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

All Superinterfaces:
IASTNode

public interface IASTPreprocessorMacroExpansion
extends IASTNode

Models macro expansion found in the source code that is not nested inside another expansion.

Since:
5.0

Field Summary
static IASTPreprocessorMacroExpansion[] EMPTY_ARRAY
           
static ASTNodeProperty EXPANSION_NAME
           
static ASTNodeProperty NESTED_EXPANSION_NAME
           
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAY
 
Method Summary
 IASTPreprocessorMacroDefinition getMacroDefinition()
          Returns the macro definition used for the expansion.
 IASTName getMacroReference()
          Returns the reference to the macro that causes this expansion.
 IASTName[] getNestedMacroReferences()
          Returns an array of nested macro expansions.
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
accept, contains, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, isPartOfTranslationUnitFile, setParent, setPropertyInParent
 

Field Detail

EMPTY_ARRAY

static final IASTPreprocessorMacroExpansion[] EMPTY_ARRAY

EXPANSION_NAME

static final ASTNodeProperty EXPANSION_NAME

NESTED_EXPANSION_NAME

static final ASTNodeProperty NESTED_EXPANSION_NAME
Method Detail

getMacroDefinition

IASTPreprocessorMacroDefinition getMacroDefinition()
Returns the macro definition used for the expansion.


getMacroReference

IASTName getMacroReference()
Returns the reference to the macro that causes this expansion.


getNestedMacroReferences

IASTName[] getNestedMacroReferences()
Returns an array of nested macro expansions.


Eclipse CDT
Pre-release 3.0

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