|
Eclipse CDT 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IASTPreprocessorMacroDefinition
This represents the definition of a macro.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
|---|
IASTNode.CopyStyle |
| Field Summary | |
|---|---|
static ASTNodeProperty |
MACRO_NAME
MACRO_NAME describes the relationship between a macro
definition and it's name. |
| Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
|---|
EMPTY_NODE_ARRAY |
| Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner |
|---|
r_declaration, r_definition, r_reference, r_unclear |
| Method Summary | |
|---|---|
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. |
void |
setExpansion(java.lang.String exp)
Deprecated. |
void |
setName(IASTName name)
Deprecated. |
| Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
|---|
accept, contains, copy, copy, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent |
| Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner |
|---|
getRoleForName |
| Field Detail |
|---|
static final ASTNodeProperty MACRO_NAME
MACRO_NAME describes the relationship between a macro
definition and it's name.
| Method Detail |
|---|
IASTName getName()
java.lang.String getExpansion()
IASTFileLocation getExpansionLocation()
null if not supported.
For built-in macros the location will always be null.
boolean isActive()
isActive in interface IASTNode@Deprecated void setName(IASTName name)
@Deprecated void setExpansion(java.lang.String exp)
|
Eclipse CDT 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||