antlr.debug
Class DebuggingInputBuffer

java.lang.Object
  |
  +--antlr.InputBuffer
        |
        +--antlr.debug.DebuggingInputBuffer

public class DebuggingInputBuffer
extends InputBuffer

Untamed:


Field Summary
private  InputBuffer buffer
           
private  boolean debugMode
           
private  InputBufferEventSupport inputBufferEventSupport
           
 
Fields inherited from class antlr.InputBuffer
markerOffset, nMarkers, numToConsume, queue
 
Constructor Summary
DebuggingInputBuffer(InputBuffer buffer)
          Enabled:
 
Method Summary
 void addInputBufferListener(InputBufferListener l)
          Enabled:
 void consume()
          Enabled:
 void fill(int a)
          Enabled:
 Vector getInputBufferListeners()
          Enabled:
 boolean isDebugMode()
          Enabled:
 boolean isMarked()
          Enabled:
 char LA(int i)
          Enabled:
 int mark()
          Enabled:
 void removeInputBufferListener(InputBufferListener l)
          Enabled:
 void rewind(int mark)
          Enabled:
 void setDebugMode(boolean value)
          Enabled:
 
Methods inherited from class antlr.InputBuffer
commit, getLAChars, getMarkedChars, syncConsume
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buffer

private InputBuffer buffer

inputBufferEventSupport

private InputBufferEventSupport inputBufferEventSupport

debugMode

private boolean debugMode
Constructor Detail

DebuggingInputBuffer

public DebuggingInputBuffer(InputBuffer buffer)
Enabled:

Method Detail

addInputBufferListener

public void addInputBufferListener(InputBufferListener l)
Enabled:


consume

public void consume()
Enabled:

Overrides:
consume in class InputBuffer

fill

public void fill(int a)
          throws CharStreamException
Enabled:

Specified by:
fill in class InputBuffer
CharStreamException

getInputBufferListeners

public Vector getInputBufferListeners()
Enabled:


isDebugMode

public boolean isDebugMode()
Enabled:


isMarked

public boolean isMarked()
Enabled:

Overrides:
isMarked in class InputBuffer

LA

public char LA(int i)
        throws CharStreamException
Enabled:

Overrides:
LA in class InputBuffer
CharStreamException

mark

public int mark()
Enabled:

Overrides:
mark in class InputBuffer

removeInputBufferListener

public void removeInputBufferListener(InputBufferListener l)
Enabled:


rewind

public void rewind(int mark)
Enabled:

Overrides:
rewind in class InputBuffer
Parameters:
mark - Marker returned previously from mark()

setDebugMode

public void setDebugMode(boolean value)
Enabled:



comments?