<s> package org . eclipse . jdt . core . compiler ; import org . eclipse . jdt . core . compiler . InvalidInputException ; public interface IScanner { char [ ] getCurrentTokenSource ( ) ; char [ ] getRawTokenSource ( ) ; int getCurrentTokenStartPosition ( ) ; int getCurrentTokenEndPosition ( ) ; int getLineStart ( int lineNumber ) ; int getLineEnd ( int lineNumber ) ; int [ ] getLineEnds ( ) ; int getLineNumber ( int charPosition ) ; int getNextToken ( ) throws InvalidInputException ; char [ ] getSource ( ) ; void resetTo ( int startPosition , int endPosition ) ; void setSource ( char [ ] source ) ; } </s>