blob: a68596185ad595adce4a05fdf253b5740a19c877 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013 NumberFour AG
*
* 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
*
* Contributors:
* NumberFour AG - initial API and Implementation (Alex Panchenko)
*******************************************************************************/
package org.eclipse.dltk.javascript.typeinfo;
import org.eclipse.dltk.javascript.typeinfo.IModelBuilder.IMethod;
import org.eclipse.dltk.javascript.typeinfo.IModelBuilder.IVariable;
/**
* Listener for events happening during type inferencing.
*
* @see ITypeInferencerVisitor#addListener(ITypeInferenceListener)
*/
public interface ITypeInferenceListener {
/**
* Notifies that variable declaration was parsed.
*/
void variableParsed(IVariable variable);
/**
* Notifies that method declaration was parsed.
*/
void methodParsed(IMethod method);
/**
* Notifies that type inferencing of the file was completed.
*/
void done();
}