| java.lang.Object org.gjt.sp.jedit.bsh.JavaCharStream
JavaCharStream | public class JavaCharStream (Code) | | An implementation of interface CharStream, where the stream is assumed to
contain only ASCII characters (with java-like unicode escape processing).
|
Constructor Summary | |
public | JavaCharStream(java.io.Reader dstream, int startline, int startcolumn, int buffersize) | public | JavaCharStream(java.io.Reader dstream, int startline, int startcolumn) | public | JavaCharStream(java.io.Reader dstream) | public | JavaCharStream(java.io.InputStream dstream, int startline, int startcolumn, int buffersize) | public | JavaCharStream(java.io.InputStream dstream, int startline, int startcolumn) | public | JavaCharStream(java.io.InputStream dstream) |
Method Summary | |
protected void | AdjustBuffSize() | public char | BeginToken() | public void | Done() | protected void | ExpandBuff(boolean wrapAround) | protected void | FillBuff() | public String | GetImage() | public char[] | GetSuffix(int len) | public void | ReInit(java.io.Reader dstream, int startline, int startcolumn, int buffersize) | public void | ReInit(java.io.Reader dstream, int startline, int startcolumn) | public void | ReInit(java.io.Reader dstream) | public void | ReInit(java.io.InputStream dstream, int startline, int startcolumn, int buffersize) | public void | ReInit(java.io.InputStream dstream, int startline, int startcolumn) | public void | ReInit(java.io.InputStream dstream) | protected char | ReadByte() | protected void | UpdateLineColumn(char c) | public void | adjustBeginLineColumn(int newLine, int newCol) | public void | backup(int amount) | public int | getBeginColumn() | public int | getBeginLine() | public int | getColumn() | public int | getEndColumn() | public int | getEndLine() | public int | getLine() | final static int | hexval(char c) | public char | readChar() |
bufcolumn | protected int bufcolumn(Code) | | |
buffer | protected char[] buffer(Code) | | |
bufline | protected int bufline(Code) | | |
column | protected int column(Code) | | |
inBuf | protected int inBuf(Code) | | |
maxNextCharInd | protected int maxNextCharInd(Code) | | |
nextCharBuf | protected char[] nextCharBuf(Code) | | |
nextCharInd | protected int nextCharInd(Code) | | |
prevCharIsCR | protected boolean prevCharIsCR(Code) | | |
prevCharIsLF | protected boolean prevCharIsLF(Code) | | |
staticFlag | final public static boolean staticFlag(Code) | | |
tokenBegin | int tokenBegin(Code) | | |
JavaCharStream | public JavaCharStream(java.io.Reader dstream, int startline, int startcolumn, int buffersize)(Code) | | |
AdjustBuffSize | protected void AdjustBuffSize()(Code) | | |
ExpandBuff | protected void ExpandBuff(boolean wrapAround)(Code) | | |
GetSuffix | public char[] GetSuffix(int len)(Code) | | |
ReInit | public void ReInit(java.io.Reader dstream, int startline, int startcolumn, int buffersize)(Code) | | |
UpdateLineColumn | protected void UpdateLineColumn(char c)(Code) | | |
adjustBeginLineColumn | public void adjustBeginLineColumn(int newLine, int newCol)(Code) | | Method to adjust line and column numbers for the start of a token.
|
backup | public void backup(int amount)(Code) | | |
getBeginColumn | public int getBeginColumn()(Code) | | |
getBeginLine | public int getBeginLine()(Code) | | |
getEndColumn | public int getEndColumn()(Code) | | |
getEndLine | public int getEndLine()(Code) | | |
|
|