Package org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPASTParameterListOwner
-
- All Known Subinterfaces:
ICPPASTDeductionGuide,ICPPASTFunctionDeclarator,ICPPASTFunctionTryBlockDeclarator
public interface ICPPASTParameterListOwnerInternal interface to describe the ability of having a parameter list- Since:
- 7.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddParameterDeclaration(IASTParameterDeclaration parameter)Add a parameter to the parameter list of the parameter list owner.IASTParameterDeclaration[]getParameters()Gets the parameter declarations for the parameter list ownervoidsetVarArgs(boolean value)Set whether or not the parameter list owner takes a variable number of arguments.booleantakesVarArgs()Check if the parameter list owner takes a variable number of arguments.
-
-
-
Method Detail
-
addParameterDeclaration
void addParameterDeclaration(IASTParameterDeclaration parameter)
Add a parameter to the parameter list of the parameter list owner.
-
getParameters
IASTParameterDeclaration[] getParameters()
Gets the parameter declarations for the parameter list owner
-
setVarArgs
void setVarArgs(boolean value)
Set whether or not the parameter list owner takes a variable number of arguments.
-
takesVarArgs
boolean takesVarArgs()
Check if the parameter list owner takes a variable number of arguments.
-
-