net.sourceforge.pmd.cpd.cppast
public class SimpleCharStream extends Object
| Field Summary | |
|---|---|
| protected static int[] | bufcolumn |
| protected static char[] | buffer |
| protected static int[] | bufline |
| static int | bufpos |
| protected static int | column |
| protected static int | inBuf |
| protected static Reader | inputStream |
| protected static int | line |
| protected static int | maxNextCharInd |
| protected static boolean | prevCharIsCR |
| protected static boolean | prevCharIsLF |
| static boolean | staticFlag |
| protected static int | tabSize |
| Constructor Summary | |
|---|---|
| SimpleCharStream(Reader dstream, int startline, int startcolumn, int buffersize) | |
| SimpleCharStream(Reader dstream, int startline, int startcolumn) | |
| SimpleCharStream(Reader dstream) | |
| SimpleCharStream(InputStream dstream, String encoding, int startline, int startcolumn, int buffersize) | |
| SimpleCharStream(InputStream dstream, int startline, int startcolumn, int buffersize) | |
| SimpleCharStream(InputStream dstream, String encoding, int startline, int startcolumn) | |
| SimpleCharStream(InputStream dstream, int startline, int startcolumn) | |
| SimpleCharStream(InputStream dstream, String encoding) | |
| SimpleCharStream(InputStream dstream) | |
| Method Summary | |
|---|---|
| static void | adjustBeginLineColumn(int newLine, int newCol)
Method to adjust line and column numbers for the start of a token. |
| static void | backup(int amount) |
| static char | BeginToken() |
| static void | Done() |
| protected static void | ExpandBuff(boolean wrapAround) |
| protected static void | FillBuff() |
| static int | getBeginColumn() |
| static int | getBeginLine() |
| static int | getColumn() |
| static int | getEndColumn() |
| static int | getEndLine() |
| static int | getLine() |
| protected static int | getTabSize(int i) |
| static String | GetImage() |
| static char[] | GetSuffix(int len) |
| static char | readChar() |
| void | ReInit(Reader dstream, int startline, int startcolumn, int buffersize) |
| void | ReInit(Reader dstream, int startline, int startcolumn) |
| void | ReInit(Reader dstream) |
| void | ReInit(InputStream dstream, String encoding, int startline, int startcolumn, int buffersize) |
| void | ReInit(InputStream dstream, int startline, int startcolumn, int buffersize) |
| void | ReInit(InputStream dstream, String encoding) |
| void | ReInit(InputStream dstream) |
| void | ReInit(InputStream dstream, String encoding, int startline, int startcolumn) |
| void | ReInit(InputStream dstream, int startline, int startcolumn) |
| protected static void | setTabSize(int i) |
| protected static void | UpdateLineColumn(char c) |
Deprecated:
See Also: SimpleCharStream
Deprecated:
See Also: SimpleCharStream