Class PythonLanguageModule

java.lang.Object
net.sourceforge.pmd.lang.LanguageModuleBase
net.sourceforge.pmd.lang.impl.CpdOnlyLanguageModuleBase
net.sourceforge.pmd.lang.python.PythonLanguageModule
All Implemented Interfaces:
Comparable<net.sourceforge.pmd.lang.Language>, net.sourceforge.pmd.cpd.CpdCapableLanguage, net.sourceforge.pmd.lang.Language

public class PythonLanguageModule extends net.sourceforge.pmd.lang.impl.CpdOnlyLanguageModuleBase
Defines the Language module for Python
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.sourceforge.pmd.lang.LanguageModuleBase

    net.sourceforge.pmd.lang.LanguageModuleBase.DialectLanguageMetadata, net.sourceforge.pmd.lang.LanguageModuleBase.LanguageMetadata
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.sourceforge.pmd.cpd.CpdLexer
    createCpdLexer(net.sourceforge.pmd.lang.LanguagePropertyBundle bundle)
     
     

    Methods inherited from class net.sourceforge.pmd.lang.LanguageModuleBase

    compareTo, equals, getBaseLanguageId, getDefaultVersion, getDependencies, getExtensions, getId, getName, getShortName, getVersion, getVersionNamesAndAliases, getVersions, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface net.sourceforge.pmd.lang.Language

    getBaseLanguageId, getDefaultVersion, getDependencies, getExtensions, getId, getLatestVersion, getName, getShortName, getVersion, getVersionNamesAndAliases, getVersions, hasExtension, hasVersion, isDialectOf, newPropertyBundle
  • Constructor Details

    • PythonLanguageModule

      public PythonLanguageModule()
  • Method Details

    • getInstance

      public static PythonLanguageModule getInstance()
    • createCpdLexer

      public net.sourceforge.pmd.cpd.CpdLexer createCpdLexer(net.sourceforge.pmd.lang.LanguagePropertyBundle bundle)
      Specified by:
      createCpdLexer in interface net.sourceforge.pmd.cpd.CpdCapableLanguage
      Specified by:
      createCpdLexer in class net.sourceforge.pmd.lang.impl.CpdOnlyLanguageModuleBase