package net.sourceforge.phpdt.core.compiler;
+import net.sourceforge.phpdt.core.compiler.ITerminalSymbols.TokenName;
+
/**
* Definition of a Java scanner, as returned by the <code>ToolFactory</code>.
* The scanner is responsible for tokenizing a given source, providing
* in case a lexical error was detected while reading the
* current token
*/
- int getNextToken() throws InvalidInputException;
+ TokenName getNextToken() throws InvalidInputException;
/**
* Answers the original source being processed (not a copy of it).