sync
[Bookkeeping.git] / src / com / interrupt / bookkeeping / cc / DebugLexer.java
blob7c8e9b5ac91f3bc080e124544ca7cdc65e8d9880
1 package com.interrupt.bookkeeping.cc;
3 import java.io.PushbackReader;
5 import org.apache.log4j.Logger;
7 import com.interrupt.bookkeeping.cc.bkell.Bkell;
8 import com.interrupt.bookkeeping.cc.lexer.Lexer;
10 public class DebugLexer extends Lexer {
12 private Logger logger = Logger.getLogger(DebugLexer.class);
14 public DebugLexer(PushbackReader reader) {
15 super(reader);
18 protected void filter() {
20 logger.debug("");
21 logger.debug(token.getClass());
22 logger.debug("state: [" + state.id() + "]");
23 logger.debug("text: [" + token.getText() + "]");