|
Eclipse CDT Pre-release 3.0 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This represents a function in the program. A function is also a scope for other bindings.
Field Summary |
---|
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IBinding |
---|
EMPTY_BINDING_ARRAY |
Method Summary | |
---|---|
IScope |
getFunctionScope()
Get the function scope |
IParameter[] |
getParameters()
This gets the parameters to the function |
IFunctionType |
getType()
Get the IFunctionType for this function |
boolean |
isAuto()
|
boolean |
isExtern()
|
boolean |
isInline()
is this function inline |
boolean |
isRegister()
|
boolean |
isStatic()
Does this function have the static storage-class specifier similarily for extern, auto, register |
boolean |
takesVarArgs()
Whether or not this function takes variable arguments |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IBinding |
---|
getLinkage, getName, getNameCharArray, getScope |
Method Detail |
public IParameter[] getParameters() throws DOMException
DOMException
- if this is a problem bindingpublic IScope getFunctionScope() throws DOMException
DOMException
- if this is a problem bindingpublic IFunctionType getType() throws DOMException
DOMException
- if this is a problem bindingpublic boolean isStatic() throws DOMException
DOMException
public boolean isExtern() throws DOMException
DOMException
public boolean isAuto() throws DOMException
DOMException
public boolean isRegister() throws DOMException
DOMException
public boolean isInline() throws DOMException
DOMException
public boolean takesVarArgs() throws DOMException
DOMException
|
Eclipse CDT Pre-release 3.0 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |