|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMacroBinding
Models bindings for macro names.
Field Summary |
---|
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IBinding |
---|
EMPTY_BINDING_ARRAY |
Method Summary | |
---|---|
char[] |
getExpansion()
Returns the expansion of this macro definition, or null if the definition is not
available. |
char[] |
getExpansionImage()
Returns the image of the expansion (also containing comments), or null if the definition
is not available. |
char[][] |
getParameterList()
Returns the parameter names or null if this is not a function style macro. |
char[][] |
getParameterPlaceholderList()
Returns the parameter list where the name of the last parameter is changed if this is a variadic macro, or null if this is not a function style macro. |
boolean |
isDynamic()
Returns true if this is a dynamic macro. |
boolean |
isFunctionStyle()
Returns true if this is a function-style macro. |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IBinding |
---|
getLinkage, getName, getNameCharArray, getOwner, getScope |
Method Detail |
---|
boolean isFunctionStyle()
true
if this is a function-style macro.
boolean isDynamic()
true
if this is a dynamic macro.
char[][] getParameterList()
null
if this is not a function style macro.
char[] getExpansion()
null
if the definition is not
available. For dynamic macros an exemplary image is returned.
char[][] getParameterPlaceholderList()
null
if this is not a function style macro.
The parameter '...' will be changed to '__VA_ARGS__'
Parameters like 'a...' will be changed to 'a'.
char[] getExpansionImage()
null
if the definition
is not available. For dynamic macros an exemplary image is returned.
|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |