Class CppCharStream

  • All Implemented Interfaces:
    net.sourceforge.pmd.lang.ast.CharStream

    @Deprecated
    @InternalApi
    public class CppCharStream
    extends net.sourceforge.pmd.lang.ast.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.
       
    • Constructor Detail

      • CppCharStream

        public CppCharStream​(Reader dstream)
        Deprecated.
    • Method Detail

      • readChar

        public char readChar()
                      throws IOException
        Deprecated.
        Specified by:
        readChar in interface net.sourceforge.pmd.lang.ast.CharStream
        Overrides:
        readChar in class net.sourceforge.pmd.lang.ast.SimpleCharStream
        Throws:
        IOException
      • GetSuffix

        public char[] GetSuffix​(int len)
        Deprecated.
        Specified by:
        GetSuffix in interface net.sourceforge.pmd.lang.ast.CharStream
        Overrides:
        GetSuffix in class net.sourceforge.pmd.lang.ast.SimpleCharStream
      • GetImage

        public String GetImage()
        Deprecated.
        Specified by:
        GetImage in interface net.sourceforge.pmd.lang.ast.CharStream
        Overrides:
        GetImage in class net.sourceforge.pmd.lang.ast.SimpleCharStream