1 15 package org.apache.hivemind.conditional; 16 17 23 class TokenType 24 { 25 28 29 static final TokenType OPAREN = new TokenType("OPAREN"); 30 31 34 35 static final TokenType CPAREN = new TokenType("CPAREN"); 36 37 40 41 static final TokenType AND = new TokenType("AND"); 42 43 46 47 static final TokenType OR = new TokenType("OR"); 48 49 52 53 static final TokenType NOT = new TokenType("NOT"); 54 55 58 59 static final TokenType PROPERTY = new TokenType("PROPERTY"); 60 61 64 65 static final TokenType CLASS = new TokenType("CLASS"); 66 67 70 71 static final TokenType SYMBOL = new TokenType("SYMBOL"); 72 73 private String _name; 74 75 private TokenType(String name) 76 { 77 _name = name; 78 } 79 80 public String toString() 81 { 82 return _name; 83 } 84 } | Popular Tags |