blob: d5b9a816784d2f52f38977d8e7a1ee7c072537da [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.ruby.internal.callhierarchy;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.dltk.core.ICallHierarchyFactory;
import org.eclipse.dltk.core.ICallProcessor;
import org.eclipse.dltk.core.ICalleeProcessor;
import org.eclipse.dltk.core.IMethod;
import org.eclipse.dltk.core.search.IDLTKSearchScope;
public class RubyCallHierarchyFactory implements ICallHierarchyFactory {
@Override
public ICalleeProcessor createCalleeProcessor(IMethod method,
IProgressMonitor monitor, IDLTKSearchScope scope) {
return new RubyCalleeProcessor( method, monitor, scope );
}
@Override
public ICallProcessor createCallProcessor() {
return new RubyCallProcessor();
}
}