public final class

ASCII_UCodeESC_CharStream

extends Object
java.lang.Object
   ↳ com.sun.tools.example.debug.expr.ASCII_UCodeESC_CharStream

Class Overview

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

Summary

Constants
boolean staticFlag
Fields
public int bufpos
Public Constructors
ASCII_UCodeESC_CharStream(InputStream dstream, int startline, int startcolumn, int buffersize)
ASCII_UCodeESC_CharStream(InputStream dstream, int startline, int startcolumn)
Public Methods
final char BeginToken()
void Done()
final String GetImage()
final char[] GetSuffix(int len)
void ReInit(InputStream dstream, int startline, int startcolumn)
void ReInit(InputStream dstream, int startline, int startcolumn, int buffersize)
void adjustBeginLineColumn(int newLine, int newCol)
Method to adjust line and column numbers for the start of a token.
final void backup(int amount)
final int getBeginColumn()
final int getBeginLine()
final int getColumn()
@deprecated
final int getEndColumn()
final int getEndLine()
final int getLine()
@deprecated
final char readChar()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final boolean staticFlag

Constant Value: false

Fields

public int bufpos

Public Constructors

public ASCII_UCodeESC_CharStream (InputStream dstream, int startline, int startcolumn, int buffersize)

public ASCII_UCodeESC_CharStream (InputStream dstream, int startline, int startcolumn)

Public Methods

public final char BeginToken ()

Throws
IOException

public void Done ()

public final String GetImage ()

public final char[] GetSuffix (int len)

public void ReInit (InputStream dstream, int startline, int startcolumn)

public void ReInit (InputStream dstream, int startline, int startcolumn, int buffersize)

public void adjustBeginLineColumn (int newLine, int newCol)

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

public final void backup (int amount)

public final int getBeginColumn ()

public final int getBeginLine ()

public final int getColumn ()

@deprecated

See Also

public final int getEndColumn ()

public final int getEndLine ()

public final int getLine ()

@deprecated

See Also

public final char readChar ()

Throws
IOException