View Javadoc
1   package net.sourceforge.pmd.lang.ecmascript;
2   
3   import net.sourceforge.pmd.lang.BaseLanguageModule;
4   import net.sourceforge.pmd.lang.ecmascript.rule.EcmascriptRuleChainVisitor;
5   
6   /**
7    * Created by christoferdutz on 20.09.14.
8    */
9   public class EcmascriptLanguageModule extends BaseLanguageModule {
10  
11      public static final String NAME = "Ecmascript";
12      public static final String TERSE_NAME = "ecmascript";
13  
14      public EcmascriptLanguageModule() {
15          super(NAME, null, TERSE_NAME, EcmascriptRuleChainVisitor.class, "js");
16          addVersion("3", new Ecmascript3Handler(), true);
17      }
18  
19  }