blob: 75107e77f6178e9e25953ccf4dc6caa4cd74b3f0 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2007 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.internal.ui.text;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.dltk.core.ISourceModule;
/**
* Interface of an object listening to script reconciling.
*/
public interface IScriptReconcilingListener {
/**
* Called before reconciling is started.
*/
void aboutToBeReconciled();
/**
* Called after reconciling has been finished.
*
* @param ast
* the compilation unit AST or <code>null</code> if the working
* copy was consistent or reconciliation has been cancelled
* @param forced
* <code>true</code> iff this reconciliation was forced
* @param progressMonitor
* the progress monitor
*/
void reconciled(ISourceModule module, boolean forced,
IProgressMonitor progressMonitor);
}