blob: 6dc36ac493d8865213e05b65e785d2805ad690d0 [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.codeassist.impl;
import java.util.Map;
import org.eclipse.dltk.codeassist.IAssistParser;
import org.eclipse.dltk.core.ISearchableEnvironment;
import org.eclipse.dltk.core.search.SearchPattern;
import org.eclipse.dltk.internal.compiler.impl.ITypeRequestor;
import org.eclipse.dltk.internal.compiler.lookup.LookupEnvironment;
import org.eclipse.dltk.internal.compiler.lookup.SourceModuleScope;
public abstract class Engine implements ITypeRequestor {
public LookupEnvironment lookupEnvironment;
protected ISearchableEnvironment nameEnvironment;
protected SourceModuleScope unitScope;
public AssistOptions options;
protected static final int EXACT_RULE = SearchPattern.R_EXACT_MATCH
| SearchPattern.R_CASE_SENSITIVE;
public Engine(Map settings) {
this.options = new AssistOptions(settings);
}
@Deprecated
protected final IAssistParser getParser() {
return null;
}
}