Package net.sourceforge.pmd.lang.cpp
Class CppParser
- java.lang.Object
-
- net.sourceforge.pmd.lang.AbstractParser
-
- net.sourceforge.pmd.lang.cpp.CppParser
-
- All Implemented Interfaces:
Parser
@Deprecated public class CppParser extends AbstractParser
Deprecated.There is no full PMD support for c++.Adapter for the C++ Parser.
-
-
Field Summary
-
Fields inherited from class net.sourceforge.pmd.lang.AbstractParser
parserOptions
-
-
Constructor Summary
Constructors Constructor Description CppParser(ParserOptions parserOptions)
Deprecated.Creates a new C++ Parser.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
canParse()
Deprecated.TokenManager
createTokenManager(Reader source)
Deprecated.Map<Integer,String>
getSuppressMap()
Deprecated.Node
parse(String fileName, Reader source)
Deprecated.-
Methods inherited from class net.sourceforge.pmd.lang.AbstractParser
getParserOptions, getTokenManager
-
-
-
-
Constructor Detail
-
CppParser
public CppParser(ParserOptions parserOptions)
Deprecated.Creates a new C++ Parser.- Parameters:
parserOptions
- the options
-
-
Method Detail
-
createTokenManager
public TokenManager createTokenManager(Reader source)
Deprecated.- Specified by:
createTokenManager
in classAbstractParser
-
canParse
public boolean canParse()
Deprecated.
-
parse
public Node parse(String fileName, Reader source) throws ParseException
Deprecated.- Throws:
ParseException
-
-