|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgate.jape.parser.ASCII_CharStream
public final class ASCII_CharStream
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
Field Summary | |
---|---|
int |
bufpos
|
static boolean |
staticFlag
|
Constructor Summary | |
---|---|
ASCII_CharStream(InputStream dstream,
int startline,
int startcolumn)
|
|
ASCII_CharStream(InputStream dstream,
int startline,
int startcolumn,
int buffersize)
|
|
ASCII_CharStream(Reader dstream,
int startline,
int startcolumn)
|
|
ASCII_CharStream(Reader dstream,
int startline,
int startcolumn,
int buffersize)
|
Method Summary | |
---|---|
void |
adjustBeginLineColumn(int newLine,
int newCol)
Method to adjust line and column numbers for the start of a token. |
void |
backup(int amount)
|
char |
BeginToken()
|
void |
Done()
|
int |
getBeginColumn()
|
int |
getBeginLine()
|
int |
getColumn()
Deprecated. |
int |
getEndColumn()
|
int |
getEndLine()
|
String |
GetImage()
|
int |
getLine()
Deprecated. |
char[] |
GetSuffix(int len)
|
char |
readChar()
|
void |
ReInit(InputStream dstream,
int startline,
int startcolumn)
|
void |
ReInit(InputStream dstream,
int startline,
int startcolumn,
int buffersize)
|
void |
ReInit(Reader dstream,
int startline,
int startcolumn)
|
void |
ReInit(Reader dstream,
int startline,
int startcolumn,
int buffersize)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean staticFlag
public int bufpos
Constructor Detail |
---|
public ASCII_CharStream(Reader dstream, int startline, int startcolumn, int buffersize)
public ASCII_CharStream(Reader dstream, int startline, int startcolumn)
public ASCII_CharStream(InputStream dstream, int startline, int startcolumn, int buffersize)
public ASCII_CharStream(InputStream dstream, int startline, int startcolumn)
Method Detail |
---|
public final char BeginToken() throws IOException
IOException
public final char readChar() throws IOException
IOException
public final int getColumn()
getEndColumn()
public final int getLine()
getEndLine()
public final int getEndColumn()
public final int getEndLine()
public final int getBeginColumn()
public final int getBeginLine()
public final void backup(int amount)
public void ReInit(Reader dstream, int startline, int startcolumn, int buffersize)
public void ReInit(Reader dstream, int startline, int startcolumn)
public void ReInit(InputStream dstream, int startline, int startcolumn, int buffersize)
public void ReInit(InputStream dstream, int startline, int startcolumn)
public final String GetImage()
public final char[] GetSuffix(int len)
public void Done()
public void adjustBeginLineColumn(int newLine, int newCol)
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |