Package org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPParameter
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable,IBinding,ICPPBinding,ICPPVariable,IParameter,IVariable
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Field Summary
FieldsFields inherited from interface org.eclipse.cdt.core.dom.ast.IBinding
EMPTY_BINDING_ARRAYFields inherited from interface org.eclipse.cdt.core.dom.ast.IParameter
EMPTY_PARAMETER_ARRAYFields inherited from interface org.eclipse.cdt.core.dom.ast.IVariable
EMPTY_VARIABLE_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionReturns the default value of this parameter if it has one, or null otherwise.booleanif there is a default value or not.booleanReturns whether this parameter is a parameter pack.Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.cdt.core.dom.ast.IBinding
getLinkage, getName, getNameCharArray, getOwner, getScopeMethods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPBinding
getQualifiedName, getQualifiedNameCharArray, isGloballyQualifiedMethods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPVariable
isConstexpr, isExternC, isMutableMethods inherited from interface org.eclipse.cdt.core.dom.ast.IParameter
getInitialValue
-
Field Details
-
EMPTY_CPPPARAMETER_ARRAY
- Since:
- 5.2
-
-
Method Details
-
hasDefaultValue
boolean hasDefaultValue()if there is a default value or not. -
getDefaultValue
IValue getDefaultValue()Returns the default value of this parameter if it has one, or null otherwise.- Since:
- 5.7
-
isParameterPack
boolean isParameterPack()Returns whether this parameter is a parameter pack.- Since:
- 5.2
-