/* ======================================================================
   Parts Copyright 2006 University of Leeds, Oxford University, University of the Highlands and Islands.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

====================================================================== */

package org.bodington.servlet.template;

public interface TemplateParserConstants {

  int EOF = 0;
  int STAGO = 1;
  int ETAGO = 2;
  int PCDATAWS = 3;
  int PCDATA = 4;
  int BUILDING = 5;
  int BIMG = 6;
  int BODY = 7;
  int SCRIPTTAG = 8;
  int UNKNOWN = 9;
  int BTAGC = 13;
  int A_EQ = 14;
  int A_NAME = 15;
  int BETAGOO = 16;
  int BSTAGOO = 17;
  int BITAGC = 18;
  int AI_EQ = 19;
  int AI_NAME = 20;
  int BIETAGOO = 21;
  int BISTAGOO = 22;
  int BDTAGC = 23;
  int ABD_EQ = 24;
  int ABD_NAME = 25;
  int BDETAGOO = 26;
  int BDSTAGOO = 27;
  int CDATA = 31;
  int CIDATA = 32;
  int CBDDATA = 33;
  int STAGC = 34;
  int SETAGOO = 35;
  int SSTAGOO = 36;
  int SCRIPTATT = 37;
  int SCRIPTEND = 38;
  int SCRIPTWS = 39;
  int SCRIPTID = 40;
  int TAGC = 41;
  int ETAGOO = 42;
  int STAGOO = 43;
  int ATT = 44;

  int DEFAULT = 0;
  int TAG = 1;
  int BUILDINGATTLIST = 2;
  int BIMGATTLIST = 3;
  int BODYATTLIST = 4;
  int BUILDINGATTRVAL = 5;
  int BIMGATTRVAL = 6;
  int BODYATTRVAL = 7;
  int SCRIPTATTLIST = 8;
  int SCRIPT = 9;
  int ATTLIST = 10;

  String[] tokenImage = {
    "<EOF>",
    "<STAGO>",
    "\"</\"",
    "<PCDATAWS>",
    "<PCDATA>",
    "\"building\"",
    "\"img\"",
    "\"body\"",
    "\"script\"",
    "<UNKNOWN>",
    "<token of kind 10>",
    "<token of kind 11>",
    "<token of kind 12>",
    "\">\"",
    "\"=\"",
    "<A_NAME>",
    "\"</\"",
    "\"<\"",
    "\">\"",
    "\"=\"",
    "<AI_NAME>",
    "\"</\"",
    "\"<\"",
    "\">\"",
    "\"=\"",
    "<ABD_NAME>",
    "\"</\"",
    "\"<\"",
    "<token of kind 28>",
    "<token of kind 29>",
    "<token of kind 30>",
    "<CDATA>",
    "<CIDATA>",
    "<CBDDATA>",
    "\">\"",
    "\"</\"",
    "\"<\"",
    "<SCRIPTATT>",
    "<SCRIPTEND>",
    "<SCRIPTWS>",
    "<SCRIPTID>",
    "\">\"",
    "\"</\"",
    "\"<\"",
    "<ATT>",
  };

}
