int id= scanner.getNextToken();
int id= fgScanner.getNextToken();
	private static IRegion getToken(IDocument document, IRegion scanRegion, int tokenId)  {		try {			final String source= document.get(scanRegion.getOffset(), scanRegion.getLength());			IScanner scanner= ToolFactory.createScanner(false, false, false, false);			scanner.setSource(source.toCharArray());			int id= scanner.getNextToken();			while (id != ITerminalSymbols.TokenNameEOF && id != tokenId)				id= scanner.getNextToken();			if (id == ITerminalSymbols.TokenNameEOF)				return null;			int tokenOffset= scanner.getCurrentTokenStartPosition();			int tokenLength= scanner.getCurrentTokenEndPosition() + 1 - tokenOffset; // inclusive end			return new Region(tokenOffset + scanRegion.getOffset(), tokenLength);		} catch (InvalidInputException x) {			return null;		} catch (BadLocationException x) {			return null;		}	}