001/* Generated By:JavaCC: Do not edit this line. UParserConstants.java */ 002/* 003 004 Copyright (c) 1998-2008 The Regents of the University of California. 005 All rights reserved. 006 Permission is hereby granted, without written agreement and without 007 license or royalty fees, to use, copy, modify, and distribute this 008 software and its documentation for any purpose, provided that the above 009 copyright notice and the following two paragraphs appear in all copies 010 of this software. 011 012 IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY 013 FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES 014 ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF 015 THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF 016 SUCH DAMAGE. 017 018 THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, 019 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 020 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE 021 PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF 022 CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, 023 ENHANCEMENTS, OR MODIFICATIONS. 024 025 PT_COPYRIGHT_VERSION_3 026 COPYRIGHTENDKEY 027*/ 028 029package ptolemy.moml.unit; 030 031/** 032 * Token literal values and constants. 033 * Generated by org.javacc.parser.OtherFilesGen#start() 034 */ 035public interface UParserConstants { 036 037 /** End of File. */ 038 int EOF = 0; 039 /** RegularExpression Id. */ 040 int PLUS = 5; 041 /** RegularExpression Id. */ 042 int MINUS = 6; 043 /** RegularExpression Id. */ 044 int MULTIPLY = 7; 045 /** RegularExpression Id. */ 046 int DIVIDE = 8; 047 /** RegularExpression Id. */ 048 int POWER = 9; 049 /** RegularExpression Id. */ 050 int EQUALS = 10; 051 /** RegularExpression Id. */ 052 int LT = 11; 053 /** RegularExpression Id. */ 054 int DOLLAR = 12; 055 /** RegularExpression Id. */ 056 int SEMICOLON = 13; 057 /** RegularExpression Id. */ 058 int INTEGER = 14; 059 /** RegularExpression Id. */ 060 int EXPONENT = 15; 061 /** RegularExpression Id. */ 062 int DOUBLE = 16; 063 /** RegularExpression Id. */ 064 int UNITLABEL = 17; 065 /** RegularExpression Id. */ 066 int LETTER = 18; 067 /** RegularExpression Id. */ 068 int PORT = 19; 069 /** RegularExpression Id. */ 070 int LPAREN = 20; 071 /** RegularExpression Id. */ 072 int RPAREN = 21; 073 074 /** Lexical state. */ 075 int DEFAULT = 0; 076 077 /** Literal token values. */ 078 String[] tokenImage = { "<EOF>", "\" \"", "\"\\r\"", "\"\\t\"", "\"\\n\"", 079 "\"+\"", "\"-\"", "\"*\"", "\"/\"", "\"^\"", "\"=\"", "\"<\"", 080 "\"$\"", "\";\"", "<INTEGER>", "<EXPONENT>", "<DOUBLE>", 081 "<UNITLABEL>", "<LETTER>", "<PORT>", "\"(\"", "\")\"", }; 082 083}