View Javadoc
1   /**
2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3    */
4   package net.sourceforge.pmd.cpd;
5   
6   
7   /**
8    * Defines the Language module for Python
9    */
10  public class PythonLanguage extends AbstractLanguage {
11  
12      /**
13       * Creates a new instance of {@link PythonLanguage} with the default extensions for python files.
14       */
15      public PythonLanguage() {
16          super("Python", "python", new PythonTokenizer(), ".py");
17      }
18  }