Class CppParser

  • All Implemented Interfaces:
    net.sourceforge.pmd.lang.Parser

    @Deprecated
    public class CppParser
    extends net.sourceforge.pmd.lang.AbstractParser
    Deprecated.
    There is no full PMD support for c++.
    Adapter for the C++ Parser.
    • Constructor Detail

      • CppParser

        public CppParser​(net.sourceforge.pmd.lang.ParserOptions parserOptions)
        Deprecated.
        Creates a new C++ Parser.
        Parameters:
        parserOptions - the options
    • Method Detail

      • createTokenManager

        public net.sourceforge.pmd.lang.TokenManager createTokenManager​(Reader source)
        Deprecated.
        Specified by:
        createTokenManager in class net.sourceforge.pmd.lang.AbstractParser
      • canParse

        public boolean canParse()
        Deprecated.
      • parse

        public net.sourceforge.pmd.lang.ast.Node parse​(String fileName,
                                                       Reader source)
                                                throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException