blob: 945102c75f037f5f208724e2313616199efdf684 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.wst.jsdt.debug.internal.crossfire.jsdi;
import org.eclipse.wst.jsdt.debug.core.jsdi.UndefinedValue;
import org.eclipse.wst.jsdt.debug.core.jsdi.VirtualMachine;
/**
* Default implementation for an {@link UndefinedValue} for Crossfire
*
* @since 1.0
*/
public class CFUndefinedValue extends CFMirror implements UndefinedValue {
public static final String UNDEFINED = "undefined"; //$NON-NLS-1$
/**
* Constructor
*
* @param vm
*/
public CFUndefinedValue(VirtualMachine vm) {
super(vm);
}
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.Value#valueString()
*/
public String valueString() {
return UNDEFINED;
}
/* (non-Javadoc)
* @see java.lang.Object#toString()
*/
public String toString() {
return valueString();
}
}