home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 November / Chip_1998-11_cd.bin / tema / Cafe / jfc.bin / style32Constants.java < prev    next >
Text File  |  1998-02-26  |  5KB  |  281 lines

  1. /* Generated By:JavaCC: Do not edit this line. style32Constants.java */
  2. package com.sun.java.swing.text.html;
  3.  
  4. /*
  5.  * @(#)style32Constants.java    1.5 97/10/10
  6.  * 
  7.  * Copyright (c) 1997 Sun Microsystems, Inc. All Rights Reserved.
  8.  * 
  9.  * This software is the confidential and proprietary information of Sun
  10.  * Microsystems, Inc. ("Confidential Information").  You shall not
  11.  * disclose such Confidential Information and shall use it only in
  12.  * accordance with the terms of the license agreement you entered into
  13.  * with Sun.
  14.  * 
  15.  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
  16.  * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  17.  * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  18.  * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
  19.  * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
  20.  * THIS SOFTWARE OR ITS DERIVATIVES.
  21.  * 
  22.  */
  23.  
  24.  
  25. /**
  26.  *
  27.  * @version     1.5 10/10/97
  28.  * @author      Makarand Gokhale
  29.  *
  30.  */
  31. interface style32Constants {
  32.  
  33.   int EOF = 0;
  34.   int STAGO = 8;
  35.   int ETAGO = 9;
  36.   int A = 10;
  37.   int ADDRESS = 11;
  38.   int APPLET = 12;
  39.   int AREA = 13;
  40.   int B = 14;
  41.   int BASE = 15;
  42.   int BASEFONT = 16;
  43.   int BIG = 17;
  44.   int BLOCKQUOTE = 18;
  45.   int BODY = 19;
  46.   int BR = 20;
  47.   int CAPTION = 21;
  48.   int CENTER = 22;
  49.   int CITE = 23;
  50.   int CODE = 24;
  51.   int DD = 25;
  52.   int DFN = 26;
  53.   int DIR = 27;
  54.   int DIV = 28;
  55.   int DL = 29;
  56.   int DT = 30;
  57.   int EM = 31;
  58.   int FONT = 32;
  59.   int FORM = 33;
  60.   int H1 = 34;
  61.   int H2 = 35;
  62.   int H3 = 36;
  63.   int H4 = 37;
  64.   int H5 = 38;
  65.   int H6 = 39;
  66.   int HEAD = 40;
  67.   int HR = 41;
  68.   int HTML = 42;
  69.   int I = 43;
  70.   int IMG = 44;
  71.   int INPUT = 45;
  72.   int ISINDEX = 46;
  73.   int KBD = 47;
  74.   int LI = 48;
  75.   int LINK = 49;
  76.   int MAP = 50;
  77.   int MENU = 51;
  78.   int META = 52;
  79.   int OL = 53;
  80.   int OPTION = 54;
  81.   int P = 55;
  82.   int PARAM = 56;
  83.   int PRE = 57;
  84.   int PROMPT = 58;
  85.   int SAMP = 59;
  86.   int SCRIPT = 60;
  87.   int SELECT = 61;
  88.   int SMALL = 62;
  89.   int STRIKE = 63;
  90.   int STRONG = 64;
  91.   int STYLE = 65;
  92.   int SUB = 66;
  93.   int SUP = 67;
  94.   int TABLE = 68;
  95.   int TD = 69;
  96.   int TEXTAREA = 70;
  97.   int TH = 71;
  98.   int TITLE = 72;
  99.   int TR = 73;
  100.   int TT = 74;
  101.   int U = 75;
  102.   int UL = 76;
  103.   int VAR = 77;
  104.   int UNKNOWN = 78;
  105.   int DOT = 79;
  106.   int COLON = 80;
  107.   int SPROP = 81;
  108.   int COMMA = 82;
  109.   int STYLETAG0 = 84;
  110.   int SA_NAME = 86;
  111.   int T_EQ = 87;
  112.   int TAGC = 88;
  113.   int SA_VAL = 89;
  114.   int ALPHA = 90;
  115.   int NUM = 91;
  116.   int ALPHANUM = 92;
  117.   int C_NAME = 93;
  118.   int PLINK = 94;
  119.   int ACTIVE = 95;
  120.   int VISITED = 96;
  121.   int FIRSTLINE = 97;
  122.   int FIRSTLETTER = 98;
  123.   int PALPHA = 100;
  124.   int PNUM = 101;
  125.   int PALPHANUM = 102;
  126.   int P_NAME = 103;
  127.   int PCOLON = 104;
  128.   int VALPHA = 106;
  129.   int VNUM = 107;
  130.   int VSPECIAL = 108;
  131.   int VALPHANUM = 109;
  132.   int P_VALUE = 110;
  133.   int PARENOPEN = 111;
  134.   int VCOMMA = 112;
  135.   int SEMICOLON = 113;
  136.   int EPROP = 114;
  137.   int VSALPHA = 116;
  138.   int VSNUM = 117;
  139.   int VSSPECIAL = 118;
  140.   int VSALPHANUM = 119;
  141.   int PS_VALUE = 120;
  142.   int PARENCLOSE = 121;
  143.  
  144.   int DEFAULT = 0;
  145.   int STYLECOMMENT = 1;
  146.   int STYLETAG = 2;
  147.   int SATTLIST = 3;
  148.   int SATTVAL = 4;
  149.   int CLASSNAME = 5;
  150.   int PSEUDOCLASS = 6;
  151.   int PROPERTY = 7;
  152.   int PROPERTY_VALUE = 8;
  153.   int VALUE_SPECIAL = 9;
  154.  
  155.   String[] tokenImage = {
  156.     "<EOF>",
  157.     "<token of kind 1>",
  158.     "\"<!--\"",
  159.     "\"-->\"",
  160.     "\"/*\"",
  161.     "<token of kind 5>",
  162.     "<token of kind 6>",
  163.     "\"*/\"",
  164.     "\"<\"",
  165.     "\"</\"",
  166.     "\"a\"",
  167.     "\"address\"",
  168.     "\"applet\"",
  169.     "\"area\"",
  170.     "\"b\"",
  171.     "\"base\"",
  172.     "\"basefont\"",
  173.     "\"big\"",
  174.     "\"blockquote\"",
  175.     "\"body\"",
  176.     "\"br\"",
  177.     "\"caption\"",
  178.     "\"center\"",
  179.     "\"cite\"",
  180.     "\"code\"",
  181.     "\"dd\"",
  182.     "\"dfn\"",
  183.     "\"dir\"",
  184.     "\"div\"",
  185.     "\"dl\"",
  186.     "\"dt\"",
  187.     "\"em\"",
  188.     "\"font\"",
  189.     "\"form\"",
  190.     "\"h1\"",
  191.     "\"h2\"",
  192.     "\"h3\"",
  193.     "\"h4\"",
  194.     "\"h5\"",
  195.     "\"h6\"",
  196.     "\"head\"",
  197.     "\"hr\"",
  198.     "\"html\"",
  199.     "\"i\"",
  200.     "\"img\"",
  201.     "\"input\"",
  202.     "\"isindex\"",
  203.     "\"kbd\"",
  204.     "\"li\"",
  205.     "\"link\"",
  206.     "\"map\"",
  207.     "\"menu\"",
  208.     "\"meta\"",
  209.     "\"ol\"",
  210.     "\"option\"",
  211.     "\"p\"",
  212.     "\"param\"",
  213.     "\"pre\"",
  214.     "\"prompt\"",
  215.     "\"samp\"",
  216.     "\"script\"",
  217.     "\"select\"",
  218.     "\"small\"",
  219.     "\"strike\"",
  220.     "\"strong\"",
  221.     "\"style\"",
  222.     "\"sub\"",
  223.     "\"sup\"",
  224.     "\"table\"",
  225.     "\"td\"",
  226.     "\"textarea\"",
  227.     "\"th\"",
  228.     "\"title\"",
  229.     "\"tr\"",
  230.     "\"tt\"",
  231.     "\"u\"",
  232.     "\"ul\"",
  233.     "\"var\"",
  234.     "<UNKNOWN>",
  235.     "\".\"",
  236.     "\":\"",
  237.     "\"{\"",
  238.     "\",\"",
  239.     "<token of kind 83>",
  240.     "\"style\"",
  241.     "<token of kind 85>",
  242.     "\"type\"",
  243.     "\"=\"",
  244.     "\">\"",
  245.     "<SA_VAL>",
  246.     "<ALPHA>",
  247.     "<NUM>",
  248.     "<ALPHANUM>",
  249.     "<C_NAME>",
  250.     "\"link\"",
  251.     "\"active\"",
  252.     "\"visited\"",
  253.     "\"first-line\"",
  254.     "\"first-letter\"",
  255.     "<token of kind 99>",
  256.     "<PALPHA>",
  257.     "<PNUM>",
  258.     "<PALPHANUM>",
  259.     "<P_NAME>",
  260.     "\":\"",
  261.     "<token of kind 105>",
  262.     "<VALPHA>",
  263.     "<VNUM>",
  264.     "<VSPECIAL>",
  265.     "<VALPHANUM>",
  266.     "<P_VALUE>",
  267.     "\"(\"",
  268.     "\",\"",
  269.     "\";\"",
  270.     "\"}\"",
  271.     "<token of kind 115>",
  272.     "<VSALPHA>",
  273.     "<VSNUM>",
  274.     "<VSSPECIAL>",
  275.     "<VSALPHANUM>",
  276.     "<PS_VALUE>",
  277.     "\")\"",
  278.   };
  279.  
  280. }
  281.