| java.lang.Object org.acm.seguin.pmd.cpd.cppast.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 static char | BeginToken() | public static void | Done() | protected static void | ExpandBuff(boolean wrapAround) | protected static void | FillBuff() | public static String | GetImage() | public static 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 static void | UpdateLineColumn(char c) | public static void | adjustBeginLineColumn(int newLine, int newCol) | public static void | backup(int amount) | public static int | getBeginColumn() | public static int | getBeginLine() | public static int | getColumn() | public static int | getEndColumn() | public static int | getEndLine() | public static int | getLine() | public static char | readChar() |
available | static int available(Code) | | |
bufcolumn | protected static int bufcolumn(Code) | | |
buffer | protected static char[] buffer(Code) | | |
bufline | protected static int bufline(Code) | | |
bufpos | public static int bufpos(Code) | | |
bufsize | static int bufsize(Code) | | |
column | protected static int column(Code) | | |
inBuf | protected static int inBuf(Code) | | |
line | protected static int line(Code) | | |
maxNextCharInd | protected static int maxNextCharInd(Code) | | |
prevCharIsCR | protected static boolean prevCharIsCR(Code) | | |
prevCharIsLF | protected static boolean prevCharIsLF(Code) | | |
staticFlag | final public static boolean staticFlag(Code) | | |
tokenBegin | static 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) | | |
Done | public static void Done()(Code) | | |
ExpandBuff | protected static void ExpandBuff(boolean wrapAround)(Code) | | |
GetSuffix | public static char[] GetSuffix(int len)(Code) | | |
ReInit | public void ReInit(java.io.Reader dstream, int startline, int startcolumn, int buffersize)(Code) | | |
UpdateLineColumn | protected static void UpdateLineColumn(char c)(Code) | | |
adjustBeginLineColumn | public static void adjustBeginLineColumn(int newLine, int newCol)(Code) | | Method to adjust line and column numbers for the start of a token.
|
backup | public static void backup(int amount)(Code) | | |
getBeginColumn | public static int getBeginColumn()(Code) | | |
getBeginLine | public static int getBeginLine()(Code) | | |
getEndColumn | public static int getEndColumn()(Code) | | |
getEndLine | public static int getEndLine()(Code) | | |
|
|