blob: 63ef33190a46fc5938a12b8d792a04da84bb7aae [file] [log] [blame]
package org.eclipse.cdt.internal.core.parser;
import java.io.Reader;
import java.util.List;
/**
* @author jcamelon
*
* To change this generated comment edit the template variable
"typecomment":
* Window>Preferences>Java>Templates.
* To enable and disable the creation of type comments go to
* Window>Preferences>Java>Code Generation.
*/
public interface IScanner {
public IScanner initialize( Reader sourceToBeRead, String fileName );
public void addDefinition(String key, IMacroDescriptor macroToBeAdded );
public void addDefinition(String key, String value);
public Object getDefinition(String key);
public Object[] getIncludePaths();
public void addIncludePath(String includePath);
public void overwriteIncludePath( List newIncludePaths );
public Token nextToken() throws ScannerException;
public void setQuickScan(boolean qs);
public void setCallback(IParserCallback c);
}