public interface IASTPreprocessorFunctionStyleMacroDefinition extends IASTPreprocessorMacroDefinition
#define ABC(def) GHINote: macros that are expanded as parameters to function style macros are not captured in this abstraction.
IASTNode.CopyStyle
Modifier and Type | Field and Description |
---|---|
static ASTNodeProperty |
PARAMETER
This property represents the relationship between a function style macro
definition and one of its parameters.
|
MACRO_NAME
EMPTY_NODE_ARRAY
r_declaration, r_definition, r_reference, r_unclear
Modifier and Type | Method and Description |
---|---|
void |
addParameter(IASTFunctionStyleMacroParameter parm)
Adds a function-style macro parameter.
|
IASTFunctionStyleMacroParameter[] |
getParameters()
Returns the macro parameters.
|
getExpansion, getExpansionLocation, getName, isActive
accept, contains, copy, copy, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
getRoleForName
static final ASTNodeProperty PARAMETER
IASTFunctionStyleMacroParameter[] getParameters()
IASTFunctionStyleMacroParameter[]
parametersvoid addParameter(IASTFunctionStyleMacroParameter parm)
parm
- the parameter to addCopyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.