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 IBinding
EMPTY_BINDING_ARRAYFields inherited from interface IParameter
EMPTY_PARAMETER_ARRAYFields inherited from interface 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 IBinding
getLinkage, getName, getNameCharArray, getOwner, getScopeMethods inherited from interface ICPPBinding
getQualifiedName, getQualifiedNameCharArray, isGloballyQualifiedMethods inherited from interface ICPPVariable
isConstexpr, isExternC, isMutableMethods inherited from interface 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
-