jellyj.parser
Class ASCII_UCodeESC_CharStream
- public final class ASCII_UCodeESC_CharStream
An implementation of interface CharStream, where the stream is assumed to
contain only ASCII characters (with java-like unicode escape processing).
available
int available
bufpos
public int bufpos
bufsize
int bufsize
staticFlag
public final static boolean staticFlag
tokenBegin
int tokenBegin
ASCII_UCodeESC_CharStream
public ASCII_UCodeESC_CharStream(java.io.InputStream dstream, int startline, int startcolumn, int buffersize)
ASCII_UCodeESC_CharStream
public ASCII_UCodeESC_CharStream(java.io.InputStream dstream, int startline, int startcolumn)
adjustBeginLineColumn
public void adjustBeginLineColumn(int newLine, int newCol)
- Method to adjust line and column numbers for the start of a token.
backup
public final void backup(int amount)
BeginToken
public final char BeginToken()
throws java.io.IOException
Done
public void Done()
getBeginColumn
public final int getBeginColumn()
getBeginLine
public final int getBeginLine()
getEndColumn
public final int getEndColumn()
getEndLine
public final int getEndLine()
GetImage
public final String GetImage()
GetSuffix
public final char[] GetSuffix(int len)
hexval
final static int hexval(char c)
throws java.io.IOException
readChar
public final char readChar()
throws java.io.IOException
ReInit
public void ReInit(java.io.InputStream dstream, int startline, int startcolumn, int buffersize)
ReInit
public void ReInit(java.io.InputStream dstream, int startline, int startcolumn)
to Class java.io.InputStream