public interface IFunction extends IBinding
EMPTY_BINDING_ARRAY
Modifier and Type | Method and Description |
---|---|
IScope |
getFunctionScope()
Returns the function scope
|
IParameter[] |
getParameters()
Returns the formal parameters of the function.
|
IFunctionType |
getType()
Returns the IFunctionType for this function
|
boolean |
isAuto() |
boolean |
isExtern() |
boolean |
isInline()
Returns
true if the function is inline. |
boolean |
isNoReturn()
Returns
true if this function never returns. |
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. |
getLinkage, getName, getNameCharArray, getOwner, getScope
IParameter[] getParameters()
IScope getFunctionScope()
IFunctionType getType()
boolean isStatic()
true
if the function has the static storage-class specifier
similarly for extern, auto, register.boolean isExtern()
boolean isAuto()
boolean isRegister()
boolean isInline()
true
if the function is inline.boolean takesVarArgs()
true
if this function takes variable arguments.boolean isNoReturn()
true
if this function never returns. Based on 'noreturn' attribute in
the function declaration.Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.