Coverage Report - org.webslinger.rules.RulesConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
RulesConstants
N/A
N/A
0
 
 1  
 /* Generated By:JJTree&JavaCC: Do not edit this line. RulesConstants.java */
 2  
 package org.webslinger.rules;
 3  
 
 4  
 public interface RulesConstants {
 5  
 
 6  
   int EOF = 0;
 7  
   int OPERATOR_EQUALS = 1;
 8  
   int OPERATOR_CONTAINS = 2;
 9  
   int RULE_START = 3;
 10  
   int CHILD = 4;
 11  
   int SIBLING = 5;
 12  
   int ROOT = 6;
 13  
   int TAIL = 7;
 14  
   int TYPE = 8;
 15  
   int CLASS = 9;
 16  
   int ALL = 10;
 17  
   int ATTRIBUTE_START = 11;
 18  
   int COMMAND_START = 12;
 19  
   int CONFIG_START = 13;
 20  
   int MODE_START = 14;
 21  
   int REQ_ATTR_START = 15;
 22  
   int REQ_PARAM_START = 16;
 23  
   int ATTRIBUTE_END = 17;
 24  
   int MODE_CAPTURE = 18;
 25  
   int MODE_CONTENT = 19;
 26  
   int MODE_REPLACE = 20;
 27  
   int MODE_RESPONSE = 21;
 28  
   int MODE_TEMPLATE = 22;
 29  
   int MODE_TRANSFORM = 23;
 30  
   int MODE_TRIGGER = 24;
 31  
   int MODE_WRAP = 25;
 32  
   int SEP = 26;
 33  
   int COMMENT_START = 27;
 34  
   int COMMENT_END = 29;
 35  
   int REGEX_START = 30;
 36  
   int THEME_START = 31;
 37  
   int CALL_END = 32;
 38  
   int QUOTE_START = 33;
 39  
   int ESCAPED = 35;
 40  
   int QUOTE_END = 36;
 41  
   int LOOKUP = 37;
 42  
   int SPLIT_START = 38;
 43  
   int RESOLVE_START = 39;
 44  
   int ACTION_WRAP = 40;
 45  
   int ACTION_TEMPLATE = 41;
 46  
   int ACTION_REPLACE = 42;
 47  
   int ACTION_TRIGGER = 43;
 48  
   int ACTION_RESPONSE = 44;
 49  
   int ACTION_TRANSFORM = 45;
 50  
   int KEYWORD_NONE = 46;
 51  
   int ACTION_SEP = 47;
 52  
   int RULE_END = 48;
 53  
   int NUMBER = 49;
 54  
   int ACTION_END = 50;
 55  
   int TEXT = 51;
 56  
 
 57  
   int IN_REQ_ATTR = 0;
 58  
   int IN_ATTRIBUTE = 1;
 59  
   int DEFAULT = 2;
 60  
   int IN_MODE = 3;
 61  
   int IN_CONFIG = 4;
 62  
   int IN_LOOKUP = 5;
 63  
   int IN_RESOLVE = 6;
 64  
   int IN_THEME = 7;
 65  
   int IN_QUOTE = 8;
 66  
   int IN_COMMAND = 9;
 67  
   int IN_REQ_PARAM = 10;
 68  
   int IN_REGEX = 11;
 69  
   int IN_SPLIT = 12;
 70  
   int IN_RULE = 13;
 71  
   int IN_COMMENT = 14;
 72  
 
 73  
   String[] tokenImage = {
 74  
     "<EOF>",
 75  
     "\"=\"",
 76  
     "\"~=\"",
 77  
     "\"{\"",
 78  
     "\">\"",
 79  
     "\"+\"",
 80  
     "\"^\"",
 81  
     "\"$\"",
 82  
     "\"#\"",
 83  
     "\".\"",
 84  
     "\"*\"",
 85  
     "\"[\"",
 86  
     "\"command(\"",
 87  
     "\"config(\"",
 88  
     "\"mode(\"",
 89  
     "\"req-attr(\"",
 90  
     "\"req-param(\"",
 91  
     "\"]\"",
 92  
     "\"\\\"capture\\\"\"",
 93  
     "\"\\\"content\\\"\"",
 94  
     "\"\\\"replace\\\"\"",
 95  
     "\"\\\"response\\\"\"",
 96  
     "\"\\\"template\\\"\"",
 97  
     "\"\\\"transform\\\"\"",
 98  
     "\"\\\"trigger\\\"\"",
 99  
     "\"\\\"wrap\\\"\"",
 100  
     "\",\"",
 101  
     "\"/*\"",
 102  
     "<token of kind 28>",
 103  
     "\"*/\"",
 104  
     "\"regex(\"",
 105  
     "\"theme(\"",
 106  
     "\")\"",
 107  
     "\"\\\"\"",
 108  
     "<token of kind 34>",
 109  
     "<ESCAPED>",
 110  
     "\"\\\"\"",
 111  
     "\"lookup(\"",
 112  
     "\"split(\"",
 113  
     "\"resolve(\"",
 114  
     "\"wrap\"",
 115  
     "\"template\"",
 116  
     "\"replace\"",
 117  
     "\"trigger\"",
 118  
     "\"response\"",
 119  
     "\"transform\"",
 120  
     "\"none\"",
 121  
     "\":\"",
 122  
     "\"}\"",
 123  
     "<NUMBER>",
 124  
     "\";\"",
 125  
     "<TEXT>",
 126  
   };
 127  
 
 128  
 }