mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 03:53:21 +02:00
Bug 490475 - Follow-up to fix some API errors
Change-Id: I63bc879aa3ec8c05c665b31cb786a6220f72f60d
This commit is contained in:
parent
898ce2245b
commit
3f64140125
2 changed files with 9 additions and 3 deletions
|
@ -32,13 +32,13 @@ public interface IValue {
|
|||
|
||||
/**
|
||||
* Returns the value as a number, or {@code null} if it is not possible.
|
||||
* @since 6.0
|
||||
* @since 6.1
|
||||
*/
|
||||
Number numberValue();
|
||||
|
||||
/**
|
||||
* If this value consists of sub-values, returns the number of these sub-values. Otherwise returns 1.
|
||||
* @since 6.0
|
||||
* @noreference This method is not intended to be referenced by clients.
|
||||
*/
|
||||
int numberOfSubValues();
|
||||
|
||||
|
@ -97,7 +97,7 @@ public interface IValue {
|
|||
|
||||
/**
|
||||
* Make a deep copy of this value.
|
||||
* @since 6.0
|
||||
* @since 6.1
|
||||
*/
|
||||
IValue clone();
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
package org.eclipse.cdt.core.dom.ast.cpp;
|
||||
|
||||
import org.eclipse.cdt.core.dom.ast.IASTInitializerClause;
|
||||
import org.eclipse.cdt.internal.core.dom.parser.cpp.ICPPEvaluation;
|
||||
|
||||
/**
|
||||
* C++ specific initializer clause.
|
||||
|
@ -19,4 +20,9 @@ import org.eclipse.cdt.core.dom.ast.IASTInitializerClause;
|
|||
* @since 5.5
|
||||
*/
|
||||
public interface ICPPASTInitializerClause extends IASTInitializerClause {
|
||||
/**
|
||||
* Returns the evaluation object for this expression.
|
||||
* @noreference This method is not intended to be referenced by clients.
|
||||
*/
|
||||
ICPPEvaluation getEvaluation();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue