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   import java.util.Properties;
7   
8   /**
9    * 
10   * @author Stuart Turton sturton@users.sourceforge.net
11   */
12  public class PLSQLLanguage extends AbstractLanguage {
13  	public PLSQLLanguage() {
14  		super(new PLSQLTokenizer()
15  		      ,".sql"
16  		      ,".trg" //Triggers
17  		      ,".prc",".fnc" // Standalone Procedures and Functions 
18  		      ,".pld" // Oracle*Forms 
19  		      ,".pls" ,".plh" ,".plb" // Packages
20  		      ,".pck" ,".pks" ,".pkh" ,".pkb" // Packages
21  		      ,".typ" ,".tyb" // Object Types
22  		      ,".tps" ,".tpb" // Object Types
23  		     );
24  	}
25  
26  	@Override
27  	public final void setProperties(Properties properties) {
28  	    ((PLSQLTokenizer)getTokenizer()).setProperties(properties);
29  	}
30  }