blob: 0e3055220b1d23a0935a3053ffae9d5ae6b5f5df [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011 NumberFour AG
*
* 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:
* NumberFour AG - initial API and Implementation (Alex Panchenko)
*******************************************************************************/
package org.eclipse.dltk.javascript.typeinfo;
import org.eclipse.dltk.annotations.ConfigurationElement;
import org.eclipse.dltk.javascript.typeinfo.model.JSType;
import org.eclipse.dltk.javascript.typeinfo.model.Type;
/**
* Factory to create runtime type instance for the specified model object
*/
@ConfigurationElement("runtimeTypeFactory")
public interface IRTypeFactory {
IRType create(Type type);
IRType create(ITypeSystem typeSystem, JSType type);
}