JavaCharStream(InputStream dstream)
Deprecated.
Constructor.
JavaCharStream(InputStream dstream, int startline, int startcolumn)
Deprecated.
Constructor.
JavaCharStream(InputStream dstream, int startline, int startcolumn, int buffersize)
Deprecated.
Constructor.
JavaCharStream(InputStream dstream, String encoding)
Deprecated.
Constructor.
JavaCharStream(InputStream dstream, String encoding, int startline, int startcolumn)
Deprecated.
Constructor.
JavaCharStream(InputStream dstream, String encoding, int startline, int startcolumn, int buffersize)
Deprecated.
Constructor.
JavaCharStream(Reader dstream)
Deprecated.
Constructor.
JavaCharStream(Reader dstream, int startline, int startcolumn)
Deprecated.
Constructor.
JavaCharStream(Reader dstream, int startline, int startcolumn, int buffersize)
Deprecated.
Constructor.
void
adjustBeginLineColumn(int newLine, int newCol)
Deprecated.
Method to adjust line and column numbers for the start of a token.
protected void
AdjustBuffSize()
Deprecated.
void
backup(int amount)
Deprecated.
Retreat.
char
BeginToken()
Deprecated.
Returns the next character that marks the beginning of the next token.
void
Done()
Deprecated.
Set buffers back to null when finished.
protected void
ExpandBuff(boolean wrapAround)
Deprecated.
protected void
FillBuff()
Deprecated.
int
getBeginColumn()
Deprecated.
Returns the column number of the first character for current token (being matched after the last call to BeginTOken).
int
getBeginLine()
Deprecated.
Returns the line number of the first character for current token (being matched after the last call to BeginTOken).
int
getColumn()
Deprecated.
int
getEndColumn()
Deprecated.
Get end column.
int
getEndLine()
Deprecated.
Get end line.
String
GetImage()
Deprecated.
Returns a string made up of characters from the marked token beginning to the current buffer position.
int
getLine()
Deprecated.
char[]
GetSuffix(int len)
Deprecated.
Returns an array of characters that make up the suffix of length 'len' for the currently matched token.
protected int
getTabSize(int i)
Deprecated.
protected char
ReadByte()
Deprecated.
char
readChar()
Deprecated.
Read a character.
void
ReInit(InputStream dstream)
Deprecated.
Reinitialise.
void
ReInit(InputStream dstream, int startline, int startcolumn)
Deprecated.
Reinitialise.
void
ReInit(InputStream dstream, int startline, int startcolumn, int buffersize)
Deprecated.
Reinitialise.
void
ReInit(InputStream dstream, String encoding)
Deprecated.
Reinitialise.
void
ReInit(InputStream dstream, String encoding, int startline, int startcolumn)
Deprecated.
Reinitialise.
void
ReInit(InputStream dstream, String encoding, int startline, int startcolumn, int buffersize)
Deprecated.
Reinitialise.
void
ReInit(Reader dstream)
Deprecated.
Reinitialise.
void
ReInit(Reader dstream, int startline, int startcolumn)
Deprecated.
Reinitialise.
void
ReInit(Reader dstream, int startline, int startcolumn, int buffersize)
Deprecated.
Reinitialise.
protected void
setTabSize(int i)
Deprecated.
protected void
UpdateLineColumn(char c)
Deprecated.
public static final boolean staticFlag
Deprecated.
Whether parser is static.
public int bufpos
Deprecated.
Position in buffer.
protected int[] bufline
Deprecated.
protected int[] bufcolumn
Deprecated.
protected int column
Deprecated.
protected int line
Deprecated.
protected boolean prevCharIsCR
Deprecated.
protected boolean prevCharIsLF
Deprecated.
protected Reader inputStream
Deprecated.
protected char[] nextCharBuf
Deprecated.
protected char[] buffer
Deprecated.
protected int maxNextCharInd
Deprecated.
protected int nextCharInd
Deprecated.
protected int inBuf
Deprecated.
protected int tabSize
Deprecated.
public JavaCharStream(Reader dstream, int startline, int startcolumn, int buffersize)
Deprecated.
Constructor.
public JavaCharStream(Reader dstream, int startline, int startcolumn)
Deprecated.
Constructor.
public JavaCharStream(Reader dstream)
Deprecated.
Constructor.
public JavaCharStream(InputStream dstream, String encoding, int startline, int startcolumn, int buffersize) throws UnsupportedEncodingException
Deprecated.
Constructor.
UnsupportedEncodingException
public JavaCharStream(InputStream dstream, int startline, int startcolumn, int buffersize)
Deprecated.
Constructor.
public JavaCharStream(InputStream dstream, String encoding, int startline, int startcolumn) throws UnsupportedEncodingException
Deprecated.
Constructor.
UnsupportedEncodingException
public JavaCharStream(InputStream dstream, int startline, int startcolumn)
Deprecated.
Constructor.
public JavaCharStream(InputStream dstream, String encoding) throws UnsupportedEncodingException
Deprecated.
Constructor.
UnsupportedEncodingException
public JavaCharStream(InputStream dstream)
Deprecated.
Constructor.
protected void setTabSize(int i)
Deprecated.
protected int getTabSize(int i)
Deprecated.
protected void ExpandBuff(boolean wrapAround)
Deprecated.
protected void FillBuff() throws IOException
Deprecated.
IOException
protected char ReadByte() throws IOException
Deprecated.
IOException
public char BeginToken() throws IOException
Deprecated.
Returns the next character that marks the beginning of the next token. All characters must remain in the buffer between two successive calls to this method to implement backup correctly.
BeginToken
in interface CharStream
IOException
protected void AdjustBuffSize()
Deprecated.
protected void UpdateLineColumn(char c)
Deprecated.
public char readChar() throws IOException
Deprecated.
Read a character.
readChar
in interface CharStream
IOException
@Deprecated public int getColumn()
Deprecated.
getColumn
in interface CharStream
@Deprecated public int getLine()
Deprecated.
getLine
in interface CharStream
public int getEndColumn()
Deprecated.
Get end column.
getEndColumn
in interface CharStream
public int getEndLine()
Deprecated.
Get end line.
getEndLine
in interface CharStream
public int getBeginColumn()
Deprecated.
Returns the column number of the first character for current token (being matched after the last call to BeginTOken).
getBeginColumn
in interface CharStream
public int getBeginLine()
Deprecated.
Returns the line number of the first character for current token (being matched after the last call to BeginTOken).
getBeginLine
in interface CharStream
public void backup(int amount)
Deprecated.
Retreat.
backup
in interface CharStream
public void ReInit(Reader dstream, int startline, int startcolumn, int buffersize)
Deprecated.
Reinitialise.
public void ReInit(Reader dstream, int startline, int startcolumn)
Deprecated.
Reinitialise.
public void ReInit(Reader dstream)
Deprecated.
Reinitialise.
public void ReInit(InputStream dstream, String encoding, int startline, int startcolumn, int buffersize) throws UnsupportedEncodingException
Deprecated.
Reinitialise.
UnsupportedEncodingException
public void ReInit(InputStream dstream, int startline, int startcolumn, int buffersize)
Deprecated.
Reinitialise.
public void ReInit(InputStream dstream, String encoding, int startline, int startcolumn) throws UnsupportedEncodingException
Deprecated.
Reinitialise.
UnsupportedEncodingException
public void ReInit(InputStream dstream, int startline, int startcolumn)
Deprecated.
Reinitialise.
public void ReInit(InputStream dstream, String encoding) throws UnsupportedEncodingException
Deprecated.
Reinitialise.
UnsupportedEncodingException
public void ReInit(InputStream dstream)
Deprecated.
Reinitialise.
public String GetImage()
Deprecated.
Returns a string made up of characters from the marked token beginning to the current buffer position. Implementations have the choice of returning anything that they want to. For example, for efficiency, one might decide to just return null, which is a valid implementation.
GetImage
in interface CharStream
public char[] GetSuffix(int len)
Deprecated.
Returns an array of characters that make up the suffix of length 'len' for the currently matched token. This is used to build up the matched string for use in actions in the case of MORE. A simple and inefficient implementation of this is as follows : { String t = GetImage(); return t.substring(t.length() - len, t.length()).toCharArray(); }
GetSuffix
in interface CharStream
public void Done()
Deprecated.
Set buffers back to null when finished.
Done
in interface CharStream
public void adjustBeginLineColumn(int newLine, int newCol)
Deprecated.
Method to adjust line and column numbers for the start of a token.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4