blob: cea49669673e3d146240768abe8577fda20982a0 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008 The University of York.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* Contributors:
* Dimitrios Kolovos - initial API and implementation
******************************************************************************/
package org.eclipse.epsilon.ecl;
import java.util.List;
import org.eclipse.epsilon.ecl.dom.MatchRule;
import org.eclipse.epsilon.ecl.execute.context.IEclContext;
import org.eclipse.epsilon.ecl.trace.Match;
import org.eclipse.epsilon.ecl.trace.MatchTrace;
import org.eclipse.epsilon.eol.exceptions.EolRuntimeException;
import org.eclipse.epsilon.erl.IErlModule;
public interface IEclModule extends IErlModule {
public List<MatchRule> getMatchRules();
public List<MatchRule> getDeclaredMatchRules();
@Override
default IEclContext getContext() {
return (IEclContext) IErlModule.super.getContext();
}
@Override
public MatchTrace execute() throws EolRuntimeException;
public void matchModels() throws EolRuntimeException;
public Match match(Object left, Object right, boolean forcedMatch) throws EolRuntimeException;
}