|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFunction
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()
Returns the formal parameters of the function. |
IFunctionType |
getType()
Get the IFunctionType for this function |
boolean |
isAuto()
|
boolean |
isExtern()
|
boolean |
isInline()
Returns true if the function is inline. |
boolean |
isRegister()
|
boolean |
isStatic()
Returns true if the function has the static storage-class specifier
similarly for extern, auto, register. |
boolean |
takesVarArgs()
Returns true if this function takes variable arguments. |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IBinding |
---|
getLinkage, getName, getNameCharArray, getOwner, getScope |
Method Detail |
---|
IParameter[] getParameters() throws DOMException
DOMException
- if this is a problem binding.IScope getFunctionScope() throws DOMException
DOMException
- if this is a problem binding.IFunctionType getType() throws DOMException
DOMException
- if this is a problem binding.boolean isStatic() throws DOMException
true
if the function has the static storage-class specifier
similarly for extern, auto, register.
DOMException
- if this is a problem binding.boolean isExtern() throws DOMException
DOMException
boolean isAuto() throws DOMException
DOMException
boolean isRegister() throws DOMException
DOMException
boolean isInline() throws DOMException
true
if the function is inline.
DOMException
- if this is a problem binding.boolean takesVarArgs() throws DOMException
true
if this function takes variable arguments.
DOMException
- if this is a problem binding.
|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |