blob: 14f979e602214008c98159baf0904fc0ea78857c [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 2016 IBM Corporation and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*
*******************************************************************************/
package org.eclipse.dltk.evaluation.types;
import org.eclipse.dltk.ti.types.IEvaluatedType;
public class UnknownType implements IEvaluatedType {
public static final IEvaluatedType INSTANCE = new UnknownType();
/**
* The constructor is private so that we can rely on comparing with
* <code>INSTANCE</code>.
*/
private UnknownType() {
}
@Override
public String getTypeName() {
return "unknown"; //$NON-NLS-1$
}
@Override
public boolean subtypeOf(IEvaluatedType type) {
// TODO Auto-generated method stub
return false;
}
}