Package net.sourceforge.pmd.lang.cpp
Class CppLanguageModule
java.lang.Object
net.sourceforge.pmd.lang.LanguageModuleBase
net.sourceforge.pmd.lang.impl.CpdOnlyLanguageModuleBase
net.sourceforge.pmd.lang.cpp.CppLanguageModule
- All Implemented Interfaces:
Comparable<Language>,CpdCapableLanguage,Language
Defines the Language module for C/C++
-
Nested Class Summary
Nested classes/interfaces inherited from class net.sourceforge.pmd.lang.LanguageModuleBase
LanguageModuleBase.DialectLanguageMetadata, LanguageModuleBase.LanguageMetadata -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance ofCppLanguageModulewith the default extensions for c/c++ files. -
Method Summary
Modifier and TypeMethodDescriptioncreateCpdLexer(LanguagePropertyBundle bundle) static CppLanguageModuleMethods inherited from class net.sourceforge.pmd.lang.LanguageModuleBase
compareTo, equals, getBaseLanguageId, getDefaultVersion, getDependencies, getExtensions, getId, getName, getShortName, getVersion, getVersionNamesAndAliases, getVersions, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface net.sourceforge.pmd.lang.Language
getBaseLanguageId, getDefaultVersion, getDependencies, getExtensions, getId, getLatestVersion, getName, getShortName, getVersion, getVersionNamesAndAliases, getVersions, hasExtension, hasVersion, isDialectOf
-
Field Details
-
CPD_SKIP_BLOCKS
-
-
Constructor Details
-
CppLanguageModule
public CppLanguageModule()Creates a new instance ofCppLanguageModulewith the default extensions for c/c++ files.
-
-
Method Details
-
getInstance
-
newPropertyBundle
-
createCpdLexer
- Specified by:
createCpdLexerin interfaceCpdCapableLanguage- Specified by:
createCpdLexerin classCpdOnlyLanguageModuleBase
-