1 package antlr.debug; 2 3 public class InputBufferReporter implements InputBufferListener { 4 5 6 9 public void doneParsing(TraceEvent e) { 10 } 11 public void inputBufferChanged(InputBufferEvent e) { 12 System.out.println(e); 13 } 14 17 public void inputBufferConsume(InputBufferEvent e) { 18 System.out.println(e); 19 } 20 23 public void inputBufferLA(InputBufferEvent e) { 24 System.out.println(e); 25 } 26 public void inputBufferMark(InputBufferEvent e) { 27 System.out.println(e); 28 } 29 public void inputBufferRewind(InputBufferEvent e) { 30 System.out.println(e); 31 } 32 35 public void refresh() { 36 } 37 } | Popular Tags |