Interface ICPPVariable
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IBinding, ICPPBinding, IVariable
- All Known Subinterfaces:
ICPPField, ICPPFieldTemplate, ICPPParameter, ICPPTemplateNonTypeParameter, ICPPVariableInstance, ICPPVariableTemplate, ICPPVariableTemplatePartialSpecialization
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Field Summary
Fields inherited from interface IBinding
EMPTY_BINDING_ARRAYFields inherited from interface IVariable
EMPTY_VARIABLE_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether this variable is declared as constexpr.booleanChecks whether this variable is declared as extern "C".booleanChecks whether this variable has the mutable storage class specifier.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 IVariable
getInitialValue, getType, isAuto, isExtern, isRegister, isStatic
-
Method Details
-
isMutable
boolean isMutable()Checks whether this variable has the mutable storage class specifier. -
isConstexpr
boolean isConstexpr()Checks whether this variable is declared as constexpr.- Since:
- 6.2
-
isExternC
boolean isExternC()Checks whether this variable is declared as extern "C".
-