| Modifier and Type | Field and Description |
|---|---|
| private int | |
| protected int[] | |
| protected char[] | |
| protected int[] | |
| public int | bufpos
Position in buffer. |
| private int | |
| protected int | |
| protected int | |
| protected Reader | |
| protected int | |
| protected int | |
| protected boolean | |
| protected boolean | |
| public static final boolean | staticFlag
Whether parser is static. |
| protected int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | DefaultCharStream(InputStream dstream, String encoding, int startline, int startcolumn, int buffersize)
Constructor. |
| public | |
| public | |
| pack-priv | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | adjustBeginLineColumn(int newLine, int newCol)
Method to adjust line and column numbers for the start of a token. |
| pack-priv void | |
| pack-priv char | |
| protected void | |
| protected void | |
| pack-priv int | |
| pack-priv int | |
| public int | |
| public int | |
| pack-priv String | |
| protected int | |
| pack-priv char | |
| public void | |
| public void | |
| public void | |
| public void | reInit(InputStream dstream, String encoding, int startline, int startcolumn, int buffersize)
Reinitialise. |
| public void | |
| public void | |
| protected void | |
| protected void |
| available | back to summary |
|---|---|
| private int available | |
| bufcolumn | back to summary |
|---|---|
| protected int[] bufcolumn | |
| buffer | back to summary |
|---|---|
| protected char[] buffer | |
| bufline | back to summary |
|---|---|
| protected int[] bufline | |
| bufpos | back to summary |
|---|---|
| public int bufpos Position in buffer. | |
| bufsize | back to summary |
|---|---|
| private int bufsize | |
| column | back to summary |
|---|---|
| protected int column | |
| inBuf | back to summary |
|---|---|
| protected int inBuf | |
| inputStream | back to summary |
|---|---|
| protected Reader inputStream | |
| line | back to summary |
|---|---|
| protected int line | |
| maxNextCharInd | back to summary |
|---|---|
| protected int maxNextCharInd | |
| prevCharIsCR | back to summary |
|---|---|
| protected boolean prevCharIsCR | |
| prevCharIsLF | back to summary |
|---|---|
| protected boolean prevCharIsLF | |
| staticFlag | back to summary |
|---|---|
| public static final boolean staticFlag Whether parser is static. | |
| tabSize | back to summary |
|---|---|
| protected int tabSize | |
| tokenBegin | back to summary |
|---|---|
| private int tokenBegin | |
| DefaultCharStream | back to summary |
|---|---|
| public DefaultCharStream(Reader dstream, int startline, int startcolumn, int buffersize) Constructor. | |
| DefaultCharStream | back to summary |
|---|---|
| public DefaultCharStream(Reader dstream, int startline, int startcolumn) Constructor. | |
| DefaultCharStream | back to summary |
|---|---|
| public DefaultCharStream(Reader dstream) Constructor. | |
| DefaultCharStream | back to summary |
|---|---|
| public DefaultCharStream(InputStream dstream, String encoding, int startline, int startcolumn, int buffersize) throws UnsupportedEncodingException Constructor. | |
| DefaultCharStream | back to summary |
|---|---|
| public DefaultCharStream(InputStream dstream, int startline, int startcolumn, int buffersize) Constructor. | |
| DefaultCharStream | back to summary |
|---|---|
| public DefaultCharStream(InputStream dstream, String encoding, int startline, int startcolumn) throws UnsupportedEncodingException Constructor. | |
| DefaultCharStream | back to summary |
|---|---|
| pack-priv DefaultCharStream(InputStream dstream, int startline, int startcolumn) Constructor. | |
| DefaultCharStream | back to summary |
|---|---|
| pack-priv DefaultCharStream(InputStream dstream, String encoding) throws UnsupportedEncodingException Constructor. | |
| DefaultCharStream | back to summary |
|---|---|
| pack-priv DefaultCharStream(InputStream dstream) Constructor. | |
| adjustBeginLineColumn | back to summary |
|---|---|
| public void adjustBeginLineColumn(int newLine, int newCol) Method to adjust line and column numbers for the start of a token. | |
| backup | back to summary |
|---|---|
| pack-priv void backup(int amount) Backup a number of characters. | |
| beginToken | back to summary |
|---|---|
| pack-priv char beginToken() throws IOException Start. | |
| expandBuff | back to summary |
|---|---|
| protected void expandBuff(boolean wrapAround) | |
| fillBuff | back to summary |
|---|---|
| protected void fillBuff() throws IOException | |
| getBeginColumn | back to summary |
|---|---|
| pack-priv int getBeginColumn() Get token beginning column number. | |
| getBeginLine | back to summary |
|---|---|
| pack-priv int getBeginLine() Get token beginning line number. | |
| getEndColumn | back to summary |
|---|---|
| public int getEndColumn() Get token end column number. | |
| getEndLine | back to summary |
|---|---|
| public int getEndLine() Get token end line number. | |
| getImage | back to summary |
|---|---|
| pack-priv String getImage() Get token literal value. | |
| getTabSize | back to summary |
|---|---|
| protected int getTabSize() | |
| readChar | back to summary |
|---|---|
| pack-priv char readChar() throws IOException Read a character. | |
| reInit | back to summary |
|---|---|
| public void reInit(Reader dstream, int startline, int startcolumn, int buffersize) Reinitialise. | |
| reInit | back to summary |
|---|---|
| public void reInit(Reader dstream, int startline, int startcolumn) Reinitialise. | |
| reInit | back to summary |
|---|---|
| public void reInit(Reader dstream) Reinitialise. | |
| reInit | back to summary |
|---|---|
| public void reInit(InputStream dstream, String encoding, int startline, int startcolumn, int buffersize) throws UnsupportedEncodingException Reinitialise. | |
| reInit | back to summary |
|---|---|
| public void reInit(InputStream dstream, int startline, int startcolumn, int buffersize) Reinitialise. | |
| reInit | back to summary |
|---|---|
| public void reInit(InputStream dstream, String encoding) throws UnsupportedEncodingException Reinitialise. | |
| setTabSize | back to summary |
|---|---|
| protected void setTabSize(int i) | |
| updateLineColumn | back to summary |
|---|---|
| protected void updateLineColumn(char c) | |