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
) {
18 protected void filter() {
21 logger
.debug(token
.getClass());
22 logger
.debug("state: [" + state
.id() + "]");
23 logger
.debug("text: [" + token
.getText() + "]");