public interface IASTPreprocessorMacroDefinition extends IASTPreprocessorStatement, IASTNameOwner
IASTNode.CopyStyle
Modifier and Type | Field and Description |
---|---|
static ASTNodeProperty |
MACRO_NAME
MACRO_NAME describes the relationship between a macro
definition and it's name. |
EMPTY_NODE_ARRAY
r_declaration, r_definition, r_reference, r_unclear
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExpansion()
Returns the macro expansion, or an empty string for dynamic style macros.
|
IASTFileLocation |
getExpansionLocation()
Returns the location of the macro expansion, or
null if not supported. |
IASTName |
getName()
Get the macro name.
|
boolean |
isActive()
Returns whether this macro definition occurs in active code.
|
accept, contains, copy, copy, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
getRoleForName
static final ASTNodeProperty MACRO_NAME
MACRO_NAME
describes the relationship between a macro
definition and it's name.IASTName getName()
java.lang.String getExpansion()
IASTFileLocation getExpansionLocation()
null
if not supported.
For built-in macros the location will always be null.Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.