Cambridge SMT System
EnumRuleType.java
Go to the documentation of this file.
1 /*******************************************************************************
2  * Licensed under the Apache License, Version 2.0 (the "License");
3  * you may not use these files except in compliance with the License.
4  * You may obtain a copy of the License at
5  *
6  * http://www.apache.org/licenses/LICENSE-2.0
7  *
8  * Unless required by applicable law or agreed to in writing, software
9  * distributed under the License is distributed on an "AS IS" BASIS,
10  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11  * See the License for the specific language governing permissions and
12  * limitations under the License.
13  *
14  * Copyright 2014 - Juan Pino, Aurelien Waite, William Byrne
15  *******************************************************************************/
16 package uk.ac.cam.eng.rule.retrieval;
17 
18 import uk.ac.cam.eng.extraction.D$;
19 import uk.ac.cam.eng.extraction.S$;
20 import uk.ac.cam.eng.extraction.V$;
21 import uk.ac.cam.eng.extraction.X$;
22 
23 
24 
30 public enum EnumRuleType {
31  X(X$.MODULE$), V(V$.MODULE$), S(S$.MODULE$), D(D$.MODULE$);
32 
33  private EnumRuleType(Object lhs) {
34  this.lhs = lhs;
35  }
36 
37  private final Object lhs;
38 
39  public Object getLhs() {
40  return lhs;
41  }
42 }