blob: 50e7886418cc127b00c6e36a7d12717112544090 [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.python.internal.core.evaluation.types;
import org.eclipse.dltk.ti.types.IEvaluatedType;
public class ModuleType implements IEvaluatedType
{
private String fModule = null;
public ModuleType( String module ) {
this.fModule = module;
}
public String getModule() {
return this.fModule;
}
@Override
public String getTypeName( ) {
if( this.fModule != null ) {
return "module:" + this.fModule;
}
else {
return "unknown module";
}
}
@Override
public boolean subtypeOf(IEvaluatedType type) {
// TODO Auto-generated method stub
return false;
}
}