1 2 package org.w3c.flute.parser; 3 4 public interface ParserConstants { 5 6 int EOF = 0; 7 int S = 1; 8 int CDO = 5; 9 int CDC = 6; 10 int LBRACE = 7; 11 int RBRACE = 8; 12 int DASHMATCH = 9; 13 int INCLUDES = 10; 14 int EQ = 11; 15 int PLUS = 12; 16 int MINUS = 13; 17 int COMMA = 14; 18 int SEMICOLON = 15; 19 int PRECEDES = 16; 20 int DIV = 17; 21 int LBRACKET = 18; 22 int RBRACKET = 19; 23 int ANY = 20; 24 int DOT = 21; 25 int LPARAN = 22; 26 int RPARAN = 23; 27 int COLON = 24; 28 int NONASCII = 25; 29 int H = 26; 30 int UNICODE = 27; 31 int ESCAPE = 28; 32 int NMSTART = 29; 33 int NMCHAR = 30; 34 int STRINGCHAR = 31; 35 int D = 32; 36 int NAME = 33; 37 int NNAME = 34; 38 int STRING = 35; 39 int IDENT = 36; 40 int NUMBER = 37; 41 int _URL = 38; 42 int URL = 39; 43 int NAMESPACE_IDENT = 40; 44 int PERCENTAGE = 41; 45 int PT = 42; 46 int MM = 43; 47 int CM = 44; 48 int PC = 45; 49 int IN = 46; 50 int PX = 47; 51 int EMS = 48; 52 int EXS = 49; 53 int DEG = 50; 54 int RAD = 51; 55 int GRAD = 52; 56 int MS = 53; 57 int SECOND = 54; 58 int HZ = 55; 59 int KHZ = 56; 60 int DIMEN = 57; 61 int HASH = 58; 62 int IMPORT_SYM = 59; 63 int MEDIA_SYM = 60; 64 int CHARSET_SYM = 61; 65 int PAGE_SYM = 62; 66 int NAMESPACE_SYM = 63; 67 int FONT_FACE_SYM = 64; 68 int ATKEYWORD = 65; 69 int IMPORTANT_SYM = 66; 70 int RANGE0 = 67; 71 int RANGE1 = 68; 72 int RANGE2 = 69; 73 int RANGE3 = 70; 74 int RANGE4 = 71; 75 int RANGE5 = 72; 76 int RANGE6 = 73; 77 int RANGE = 74; 78 int UNI = 75; 79 int UNICODERANGE = 76; 80 int FUNCTION = 77; 81 int UNKNOWN = 78; 82 83 int DEFAULT = 0; 84 int IN_COMMENT = 1; 85 86 String [] tokenImage = { 87 "<EOF>", 88 "<S>", 89 "\"/*\"", 90 "\"*/\"", 91 "<token of kind 4>", 92 "\"<!--\"", 93 "\"-->\"", 94 "\"{\"", 95 "\"}\"", 96 "\"|=\"", 97 "\"~=\"", 98 "\"=\"", 99 "\"+\"", 100 "\"-\"", 101 "\",\"", 102 "\";\"", 103 "\">\"", 104 "\"/\"", 105 "\"[\"", 106 "\"]\"", 107 "\"*\"", 108 "\".\"", 109 "\")\"", 110 "\"(\"", 111 "\":\"", 112 "<NONASCII>", 113 "<H>", 114 "<UNICODE>", 115 "<ESCAPE>", 116 "<NMSTART>", 117 "<NMCHAR>", 118 "<STRINGCHAR>", 119 "<D>", 120 "<NAME>", 121 "<NNAME>", 122 "<STRING>", 123 "<IDENT>", 124 "<NUMBER>", 125 "<_URL>", 126 "<URL>", 127 "<NAMESPACE_IDENT>", 128 "<PERCENTAGE>", 129 "<PT>", 130 "<MM>", 131 "<CM>", 132 "<PC>", 133 "<IN>", 134 "<PX>", 135 "<EMS>", 136 "<EXS>", 137 "<DEG>", 138 "<RAD>", 139 "<GRAD>", 140 "<MS>", 141 "<SECOND>", 142 "<HZ>", 143 "<KHZ>", 144 "<DIMEN>", 145 "<HASH>", 146 "\"@import\"", 147 "\"@media\"", 148 "\"@charset\"", 149 "\"@page\"", 150 "\"@namespace\"", 151 "\"@font-face\"", 152 "<ATKEYWORD>", 153 "<IMPORTANT_SYM>", 154 "<RANGE0>", 155 "<RANGE1>", 156 "<RANGE2>", 157 "<RANGE3>", 158 "<RANGE4>", 159 "<RANGE5>", 160 "<RANGE6>", 161 "<RANGE>", 162 "<UNI>", 163 "<UNICODERANGE>", 164 "<FUNCTION>", 165 "<UNKNOWN>", 166 }; 167 168 } 169 | Popular Tags |