org.eclipse.cdt.core.dom.ast
Interface IASTPreprocessorFunctionStyleMacroDefinition
- All Superinterfaces:
- IASTNameOwner, IASTNode, IASTPreprocessorMacroDefinition, IASTPreprocessorStatement
- public interface IASTPreprocessorFunctionStyleMacroDefinition
- extends IASTPreprocessorMacroDefinition
This interface represent a preprocessor function-style macro definition. e.g.
#define ABC( def ) GHI
Note: macros that are expanded as parameters to function style macros are not captured in this abstraction.
Field Summary |
static ASTNodeProperty |
PARAMETER
This property represents the relationship between a function style macro
definition and one of its parameters. |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
accept, contains, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent |
PARAMETER
public static final ASTNodeProperty PARAMETER
- This property represents the relationship between a function style macro
definition and one of its parameters.
getParameters
public IASTFunctionStyleMacroParameter[] getParameters()
- Get the macro parameters.
- Returns:
IASTFunctionStyleMacroParameter[]
parameters
addParameter
public void addParameter(IASTFunctionStyleMacroParameter parm)
- Add a function-style macro parameter.
- Parameters:
parm
- IASTFunctionStyleMacroParameter
Copyright (c) IBM Corp. and others 2004. All Rights Reserved.