antlr
Class LexerSharedInputState

java.lang.Object
  |
  +--antlr.LexerSharedInputState

public class LexerSharedInputState
extends Object

This object contains the data associated with an input stream of characters. Multiple lexers share a single LexerSharedInputState to lex the same input stream.


Field Summary
protected  int column
           
protected  String filename
          What file (if known) caused the problem?
 int guessing
           
protected  InputBuffer input
           
protected  int line
           
protected  int tokenStartColumn
           
protected  int tokenStartLine
           
 
Constructor Summary
LexerSharedInputState(InputBuffer inbuf)
           
LexerSharedInputState(InputStream in)
           
LexerSharedInputState(Reader in)
           
 
Method Summary
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

column

protected int column

line

protected int line

tokenStartColumn

protected int tokenStartColumn

tokenStartLine

protected int tokenStartLine

input

protected InputBuffer input

filename

protected String filename
What file (if known) caused the problem?


guessing

public int guessing
Constructor Detail

LexerSharedInputState

public LexerSharedInputState(InputBuffer inbuf)

LexerSharedInputState

public LexerSharedInputState(InputStream in)

LexerSharedInputState

public LexerSharedInputState(Reader in)
Method Detail

reset

public void reset()


Copyright 1999-2003 Oliver Zeigermann. All Rights Reserved.