| java.lang.Object org.concern.model.parser.SimpleCharStream
SimpleCharStream | public class SimpleCharStream (Code) | | An implementation of interface CharStream, where the stream is assumed to
contain only ASCII characters (without unicode processing).
|
Constructor Summary | |
public | SimpleCharStream(java.io.Reader dstream, int startline, int startcolumn, int buffersize) | public | SimpleCharStream(java.io.Reader dstream, int startline, int startcolumn) | public | SimpleCharStream(java.io.Reader dstream) | public | SimpleCharStream(java.io.InputStream dstream, int startline, int startcolumn, int buffersize) | public | SimpleCharStream(java.io.InputStream dstream, int startline, int startcolumn) | public | SimpleCharStream(java.io.InputStream dstream) |
Method Summary | |
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) | public void | ReInit(java.io.InputStream dstream, int startline, int startcolumn) | protected void | UpdateLineColumn(char c) | public void | adjustBeginLineColumn(int newLine, int newCol) Method to adjust line and column numbers for the start of a token. | public void | backup(int amount) | public int | getBeginColumn() | public int | getBeginLine() | public int | getColumn() | public int | getEndColumn() | public int | getEndLine() | public int | getLine() | 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) | | |
prevCharIsCR | protected boolean prevCharIsCR(Code) | | |
prevCharIsLF | protected boolean prevCharIsLF(Code) | | |
staticFlag | final public static boolean staticFlag(Code) | | |
tokenBegin | int tokenBegin(Code) | | |
SimpleCharStream | public SimpleCharStream(java.io.Reader dstream, int startline, int startcolumn, int buffersize)(Code) | | |
SimpleCharStream | public SimpleCharStream(java.io.Reader dstream, int startline, int startcolumn)(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) | | |
|
|