Package net.sourceforge.pmd.lang.cpp
Class CppCharStream
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.SimpleCharStream
-
- net.sourceforge.pmd.lang.cpp.CppCharStream
-
- All Implemented Interfaces:
CharStream
@Deprecated @InternalApi public class CppCharStream extends SimpleCharStream
Deprecated.A SimpleCharStream, that supports the continuation of lines via backslash+newline, which is used in C/C++.- Author:
- Andreas Dangel
-
-
Field Summary
-
Fields inherited from class net.sourceforge.pmd.lang.ast.SimpleCharStream
bufcolumn, buffer, bufline, bufpos, column, inBuf, inputStream, line, maxNextCharInd, prevCharIsCR, prevCharIsLF, staticFlag, tabSize
-
-
Constructor Summary
Constructors Constructor Description CppCharStream(Reader dstream)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
GetImage()
Deprecated.char[]
GetSuffix(int len)
Deprecated.char
readChar()
Deprecated.-
Methods inherited from class net.sourceforge.pmd.lang.ast.SimpleCharStream
adjustBeginLineColumn, backup, BeginToken, Done, ExpandBuff, FillBuff, getBeginColumn, getBeginLine, getColumn, getEndColumn, getEndLine, getLine, getTabSize, ReInit, ReInit, ReInit, ReInit, ReInit, ReInit, ReInit, ReInit, ReInit, setTabSize, UpdateLineColumn
-
-
-
-
Constructor Detail
-
CppCharStream
public CppCharStream(Reader dstream)
Deprecated.
-
-
Method Detail
-
readChar
public char readChar() throws IOException
Deprecated.- Specified by:
readChar
in interfaceCharStream
- Overrides:
readChar
in classSimpleCharStream
- Throws:
IOException
-
GetSuffix
public char[] GetSuffix(int len)
Deprecated.- Specified by:
GetSuffix
in interfaceCharStream
- Overrides:
GetSuffix
in classSimpleCharStream
-
GetImage
public String GetImage()
Deprecated.- Specified by:
GetImage
in interfaceCharStream
- Overrides:
GetImage
in classSimpleCharStream
-
-