mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
2004-10-28 Alain Magloire
Add getType() method. * cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIExpression.java * cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIValue.java
This commit is contained in:
parent
dc0936d60d
commit
2dfb046061
3 changed files with 26 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-10-28 Alain Magloire
|
||||||
|
Add getType() method.
|
||||||
|
* cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIExpression.java
|
||||||
|
* cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIValue.java
|
||||||
|
|
||||||
2004-10-26 Alain Magloire
|
2004-10-26 Alain Magloire
|
||||||
Remove ICDIMemoryManager for ICDIMemoryBlockManagement
|
Remove ICDIMemoryManager for ICDIMemoryBlockManagement
|
||||||
* cdi/org/eclipse/cdt/debug/core/cdi/ICDISession.java
|
* cdi/org/eclipse/cdt/debug/core/cdi/ICDISession.java
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
package org.eclipse.cdt.debug.core.cdi.model;
|
package org.eclipse.cdt.debug.core.cdi.model;
|
||||||
|
|
||||||
import org.eclipse.cdt.debug.core.cdi.CDIException;
|
import org.eclipse.cdt.debug.core.cdi.CDIException;
|
||||||
|
import org.eclipse.cdt.debug.core.cdi.model.type.ICDIType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An expression is a snippet of code that can be evaluated to
|
* An expression is a snippet of code that can be evaluated to
|
||||||
|
@ -46,4 +47,12 @@ public interface ICDIExpression extends ICDIObject {
|
||||||
*/
|
*/
|
||||||
ICDIValue getValue(ICDIStackFrame context) throws CDIException;
|
ICDIValue getValue(ICDIStackFrame context) throws CDIException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return the type of this expression
|
||||||
|
*
|
||||||
|
* @param context frame context
|
||||||
|
* @return
|
||||||
|
* @throws CDIException
|
||||||
|
*/
|
||||||
|
ICDIType getType(ICDIStackFrame context) throws CDIException;
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
package org.eclipse.cdt.debug.core.cdi.model;
|
package org.eclipse.cdt.debug.core.cdi.model;
|
||||||
|
|
||||||
import org.eclipse.cdt.debug.core.cdi.CDIException;
|
import org.eclipse.cdt.debug.core.cdi.CDIException;
|
||||||
|
import org.eclipse.cdt.debug.core.cdi.model.type.ICDIType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -29,6 +30,14 @@ public interface ICDIValue extends ICDIObject {
|
||||||
*/
|
*/
|
||||||
String getTypeName() throws CDIException;
|
String getTypeName() throws CDIException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return the type of this value.
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
* @throws CDIException
|
||||||
|
*/
|
||||||
|
ICDIType getType() throws CDIException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns this value as a <code>String</code>.
|
* Returns this value as a <code>String</code>.
|
||||||
*
|
*
|
||||||
|
@ -56,4 +65,5 @@ public interface ICDIValue extends ICDIObject {
|
||||||
* @throws CDIException if this method fails. Reasons include:
|
* @throws CDIException if this method fails. Reasons include:
|
||||||
*/
|
*/
|
||||||
ICDIVariable[] getVariables() throws CDIException;
|
ICDIVariable[] getVariables() throws CDIException;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue