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. |
PARAMETER
static final ASTNodeProperty PARAMETER
- This property represents the relationship between a function style macro
definition and one of its parameters.
getParameters
IASTFunctionStyleMacroParameter[] getParameters()
- Get the macro parameters.
- Returns:
IASTFunctionStyleMacroParameter[]
parameters
addParameter
void addParameter(IASTFunctionStyleMacroParameter parm)
- Add a function-style macro parameter.
- Parameters:
parm
- IASTFunctionStyleMacroParameter
Copyright (c) IBM Corp. and others 2004. All Rights Reserved.