net.sourceforge.cobertura.javancss
Class ASCII_UCodeESC_CharStream
java.lang.Object
net.sourceforge.cobertura.javancss.ASCII_UCodeESC_CharStream
- public final class ASCII_UCodeESC_CharStream
- extends java.lang.Object
An implementation of interface CharStream, where the stream is assumed to
contain only ASCII characters (with java-like unicode escape processing).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
staticFlag
public static final boolean staticFlag
- See Also:
- Constant Field Values
bufpos
private int bufpos
bufsize
private int bufsize
available
private int available
tokenBegin
private int tokenBegin
bufline
private int[] bufline
bufcolumn
private int[] bufcolumn
column
private int column
line
private int line
inputStream
private java.io.Reader inputStream
prevCharIsCR
private boolean prevCharIsCR
prevCharIsLF
private boolean prevCharIsLF
nextCharBuf
private char[] nextCharBuf
buffer
private char[] buffer
maxNextCharInd
private int maxNextCharInd
nextCharInd
private int nextCharInd
inBuf
private int inBuf
ASCII_UCodeESC_CharStream
private ASCII_UCodeESC_CharStream(java.io.Reader dstream,
int startline,
int startcolumn,
int buffersize)
ASCII_UCodeESC_CharStream
public ASCII_UCodeESC_CharStream(java.io.InputStream dstream,
int startline,
int startcolumn)
hexval
private static final int hexval(char c)
throws java.io.IOException
- Throws:
java.io.IOException
expandBuff
private final void expandBuff(boolean wrapAround)
fillBuff
private final void fillBuff()
throws java.io.IOException
- Throws:
java.io.IOException
readByte
private final char readByte()
throws java.io.IOException
- Throws:
java.io.IOException
beginToken
public final char beginToken()
throws java.io.IOException
- Throws:
java.io.IOException
adjustBuffSize
private final void adjustBuffSize()
updateLineColumn
private final void updateLineColumn(char c)
readChar
public final char readChar()
throws java.io.IOException
- Throws:
java.io.IOException
getEndColumn
public final int getEndColumn()
getEndLine
public final int getEndLine()
getBeginColumn
public final int getBeginColumn()
getBeginLine
public final int getBeginLine()
backup
public final void backup(int amount)
getImage
public final java.lang.String getImage()
getSuffix
public final char[] getSuffix(int len)