Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

ASCII_UCodeESC_CharStream Class Reference

List of all members.

Public Methods

 ASCII_UCodeESC_CharStream (java.io.InputStream dstream, int startline, int startcolumn)
 ASCII_UCodeESC_CharStream (java.io.InputStream dstream, int startline, int startcolumn, int buffersize)
 ASCII_UCodeESC_CharStream (java.io.Reader dstream, int startline, int startcolumn)
 ASCII_UCodeESC_CharStream (java.io.Reader dstream, int startline, int startcolumn, int buffersize)
void adjustBeginLineColumn (int newLine, int newCol)
final void backup (int amount)
final char BeginToken () throws java.io.IOException
void Done ()
final int getBeginColumn ()
final int getBeginLine ()
final int getColumn ()
final int getEndColumn ()
final int getEndLine ()
final String GetImage ()
final int getLine ()
final char[] GetSuffix (int len)
final char readChar () throws java.io.IOException
void ReInit (java.io.InputStream dstream, int startline, int startcolumn)
void ReInit (java.io.InputStream dstream, int startline, int startcolumn, int buffersize)
void ReInit (java.io.Reader dstream, int startline, int startcolumn)
void ReInit (java.io.Reader dstream, int startline, int startcolumn, int buffersize)

Public Attributes

int bufpos = -1

Static Public Attributes

final boolean staticFlag = false

Private Methods

final void AdjustBuffSize ()
final void ExpandBuff (boolean wrapAround)
final void FillBuff () throws java.io.IOException
final char ReadByte () throws java.io.IOException
final void UpdateLineColumn (char c)

Static Private Methods

final int hexval (char c) throws java.io.IOException

Private Attributes

int bufsize
int available
int tokenBegin
int bufline []
int bufcolumn []
int column = 0
int line = 1
java io Reader inputStream
boolean prevCharIsCR = false
boolean prevCharIsLF = false
char[] nextCharBuf
char[] buffer
int maxNextCharInd = 0
int nextCharInd = -1
int inBuf = 0

Detailed Description

An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (with java-like unicode escape processing).

Definition at line 8 of file ASCII_UCodeESC_CharStream.java.


Member Function Documentation

void ASCII_UCodeESC_CharStream::adjustBeginLineColumn int   newLine,
int   newCol
[inline]
 

Method to adjust line and column numbers for the start of a token.

Definition at line 63 of file ASCII_UCodeESC_CharStream.java.

final int ASCII_UCodeESC_CharStream::getColumn   [inline]
 

Deprecated:
See also:
getEndColumn

Definition at line 242 of file ASCII_UCodeESC_CharStream.java.

final int ASCII_UCodeESC_CharStream::getLine   [inline]
 

Deprecated:
See also:
getEndLine

Definition at line 264 of file ASCII_UCodeESC_CharStream.java.


The documentation for this class was generated from the following file:
Generated at Thu Feb 7 07:04:52 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001