1 2 20 21 package org.netbeans.modules.css.text.syntax.javacc; 22 23 public interface CSSSyntaxConstants { 24 25 int EOF = 0; 26 int CRLF = 1; 27 int LCB = 2; 28 int ERR_IN_DEFAULT = 3; 29 int COMMENT_START = 4; 30 int CCOMMENT_START = 5; 31 int SELECTOR = 6; 32 int MEDIA_DECL = 7; 33 int ATKW = 8; 34 int RULESET_START = 9; 35 int TEXT_IN_MEDIA_DECL = 10; 36 int PROP = 11; 37 int TEXT_IN_RULESET = 12; 38 int COMMENT_IN_RULESET = 13; 39 int CCOMMENT_IN_RULESET = 14; 40 int RCB_IN_BLOCK = 15; 41 int TEXT_IN_COMMENT = 16; 42 int ERR_IN_COMMENT = 17; 43 int COMMENT_END = 18; 44 int TEXT_IN_CCOMMENT = 19; 45 int CCOMMENT_END = 20; 46 47 int IN_CCOMMENT = 0; 48 int IN_COMMENT = 1; 49 int IN_RULESET = 2; 50 int IN_MEDIA_DECL = 3; 51 int DEFAULT = 4; 52 53 String [] tokenImage = { 54 "<EOF>", 55 "\"\\n\"", 56 "\"{\"", 57 "\"}\"", 58 "\"<!--\"", 59 "\"/*\"", 60 "<SELECTOR>", 61 "<MEDIA_DECL>", 62 "<ATKW>", 63 "\"{\"", 64 "<TEXT_IN_MEDIA_DECL>", 65 "<PROP>", 66 "<TEXT_IN_RULESET>", 67 "\"<!--\"", 68 "\"/*\"", 69 "<RCB_IN_BLOCK>", 70 "<TEXT_IN_COMMENT>", 71 "<ERR_IN_COMMENT>", 72 "\"-->\"", 73 "<TEXT_IN_CCOMMENT>", 74 "\"*/\"", 75 }; 76 77 } 78 | Popular Tags |