public interface ICPPFunction extends IFunction, ICPPBinding
EMPTY_BINDING_ARRAY
Modifier and Type | Method and Description |
---|---|
ICPPFunctionType |
getDeclaredType()
Returns the function's declared type.
|
IType[] |
getExceptionSpecification()
Returns the exception specification for this function or
null if there
is no exception specification. |
ICPPParameter[] |
getParameters()
Returns the formal parameters of the function.
|
int |
getRequiredArgumentCount() |
ICPPFunctionType |
getType()
Returns the function's type.
|
boolean |
hasParameterPack() |
boolean |
isConstexpr()
Returns whether this function is declared constexpr.
|
boolean |
isDeleted()
Returns whether this is a function with a deleted function definition.
|
boolean |
isExternC()
Returns whether this function is declared as extern "C".
|
boolean |
isInline()
Is this an inline function
|
boolean |
isMutable()
Does this function have the mutable storage class specifier
|
getFunctionScope, isAuto, isExtern, isNoReturn, isRegister, isStatic, takesVarArgs
getQualifiedName, getQualifiedNameCharArray, isGloballyQualified
getLinkage, getName, getNameCharArray, getOwner, getScope
boolean isMutable()
boolean isInline()
boolean isExternC()
boolean isConstexpr()
IType[] getExceptionSpecification()
null
if there
is no exception specification.ICPPFunctionType getType()
ICPPFunctionType getDeclaredType()
ICPPParameter[] getParameters()
IFunction
getParameters
in interface IFunction
int getRequiredArgumentCount()
boolean hasParameterPack()
boolean isDeleted()
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.