Searched refs:scanner (Results 1 – 2 of 2) sorted by relevance
476 IScanner scanner = ToolFactory.createScanner( in findSelectionInJavaUnit() local482 scanner.setSource(buffer.getCharacters()); in findSelectionInJavaUnit()485 for(int token = scanner.getNextToken(); in findSelectionInJavaUnit()487 token = scanner.getNextToken()) { in findSelectionInJavaUnit()488 if (scanner.getCurrentTokenStartPosition() <= mSelectionStart && in findSelectionInJavaUnit()489 scanner.getCurrentTokenEndPosition() >= mSelectionEnd) { in findSelectionInJavaUnit()492 mTokenString = new String(scanner.getCurrentTokenSource()); in findSelectionInJavaUnit()495 } else if (scanner.getCurrentTokenStartPosition() > mSelectionEnd) { in findSelectionInJavaUnit()
550 skayner->scanner