APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.tools.example.debug.expr

public final Class ASCII_UCodeESC_CharStream

extends Object
Class Inheritance

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

Field Summary

Modifier and TypeField and Description
pack-priv int
private int[]
private char[]
private int[]
public int
pack-priv int
private int
private int
private InputStream
private int
private int
private byte[]
private int
private boolean
private boolean
public static final boolean
pack-priv int

Constructor Summary

AccessConstructor and Description
public
ASCII_UCodeESC_CharStream(InputStream dstream, int startline, int startcolumn, int buffersize)

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

Method Summary

Modifier and TypeMethod and Description
public void
adjustBeginLineColumn(int newLine, int newCol)

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

private final void
public final void
backup(int amount)

public final char
public void
Done()

private final void
ExpandBuff(boolean wrapAround)

private final void
public final int
public final int
public final int
getColumn()
Deprecated

public final int
public final int
public final String
public final int
getLine()
Deprecated

public final char[]
GetSuffix(int len)

pack-priv static final int
hexval(char c)

private final byte
public final char
public void
ReInit(InputStream dstream, int startline, int startcolumn, int buffersize)

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

private final void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

availableback to summary
pack-priv int available
bufcolumnback to summary
private int[] bufcolumn
bufferback to summary
private char[] buffer
buflineback to summary
private int[] bufline
bufposback to summary
public int bufpos
bufsizeback to summary
pack-priv int bufsize
columnback to summary
private int column
inBufback to summary
private int inBuf
inputStreamback to summary
private InputStream inputStream
lineback to summary
private int line
maxNextCharIndback to summary
private int maxNextCharInd
nextCharBufback to summary
private byte[] nextCharBuf
nextCharIndback to summary
private int nextCharInd
prevCharIsCRback to summary
private boolean prevCharIsCR
prevCharIsLFback to summary
private boolean prevCharIsLF
staticFlagback to summary
public static final boolean staticFlag
tokenBeginback to summary
pack-priv int tokenBegin

Constructor Detail

ASCII_UCodeESC_CharStreamback to summary
public ASCII_UCodeESC_CharStream(InputStream dstream, int startline, int startcolumn, int buffersize)
ASCII_UCodeESC_CharStreamback to summary
public ASCII_UCodeESC_CharStream(InputStream dstream, int startline, int startcolumn)

Method Detail

adjustBeginLineColumnback to summary
public void adjustBeginLineColumn(int newLine, int newCol)

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

AdjustBuffSizeback to summary
private final void AdjustBuffSize()
backupback to summary
public final void backup(int amount)
BeginTokenback to summary
public final char BeginToken() throws IOException
Doneback to summary
public void Done()
ExpandBuffback to summary
private final void ExpandBuff(boolean wrapAround)
FillBuffback to summary
private final void FillBuff() throws IOException
getBeginColumnback to summary
public final int getBeginColumn()
getBeginLineback to summary
public final int getBeginLine()
getColumnback to summary
public final int getColumn()

Deprecated

Annotations
@Deprecated
See Also
getEndColumn
getEndColumnback to summary
public final int getEndColumn()
getEndLineback to summary
public final int getEndLine()
GetImageback to summary
public final String GetImage()
getLineback to summary
public final int getLine()

Deprecated

Annotations
@Deprecated
See Also
getEndLine
GetSuffixback to summary
public final char[] GetSuffix(int len)
hexvalback to summary
pack-priv static final int hexval(char c) throws IOException
ReadByteback to summary
private final byte ReadByte() throws IOException
readCharback to summary
public final char readChar() throws IOException
ReInitback to summary
public void ReInit(InputStream dstream, int startline, int startcolumn, int buffersize)
ReInitback to summary
public void ReInit(InputStream dstream, int startline, int startcolumn)
UpdateLineColumnback to summary
private final void UpdateLineColumn(char c)