mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
New constructor.
This commit is contained in:
parent
c6ed7e065e
commit
4b325fa30f
1 changed files with 7 additions and 1 deletions
|
@ -18,7 +18,13 @@ public class VariableObject extends CObject implements ICDIVariableObject {
|
|||
ICDIStackFrame frame;
|
||||
int stackdepth;
|
||||
|
||||
public VariableObject(ICDITarget target, String n, ICDIStackFrame stack, int pos, int depth) {
|
||||
public VariableObject(VariableObject obj, String n) {
|
||||
this(obj.getTarget(), n, obj.getStackFrame(),
|
||||
obj.getPosition(), obj.getStackDepth());
|
||||
}
|
||||
|
||||
public VariableObject(ICDITarget target, String n, ICDIStackFrame stack,
|
||||
int pos, int depth) {
|
||||
super(target);
|
||||
name = n;
|
||||
frame = stack;
|
||||
|
|
Loading…
Add table
Reference in a new issue