*/
protected void configure(final CompilationUnitTree cu, final AstGenerator gen) throws IOException {
final LineMap lineMap = cu.getLineMap();
// add lexical markers
JavaLexer lexer = new JavaLexer(new CharSequenceReader(gen.sourceFile));
lexer.setTabSize(tabWidth);
try {
Stack<Long> openBraces = new Stack<Long>();
while(true) {
Token token = lexer.nextToken();
int type = token.getType();
if(type == JavaTokenTypes.EOF)
break;
if(type == JavaTokenTypes.IDENT && ReservedWords.LIST.contains(token.getText()))
gen.add(new Tag.ReservedWord(lineMap,token));