001/*
002 * Copyright 2006 - 2013
003 *     Stefan Balev     <stefan.balev@graphstream-project.org>
004 *     Julien Baudry    <julien.baudry@graphstream-project.org>
005 *     Antoine Dutot    <antoine.dutot@graphstream-project.org>
006 *     Yoann Pigné      <yoann.pigne@graphstream-project.org>
007 *     Guilhelm Savin   <guilhelm.savin@graphstream-project.org>
008 * 
009 * This file is part of GraphStream <http://graphstream-project.org>.
010 * 
011 * GraphStream is a library whose purpose is to handle static or dynamic
012 * graph, create them from scratch, file or any source and display them.
013 * 
014 * This program is free software distributed under the terms of two licenses, the
015 * CeCILL-C license that fits European law, and the GNU Lesser General Public
016 * License. You can  use, modify and/ or redistribute the software under the terms
017 * of the CeCILL-C license as circulated by CEA, CNRS and INRIA at the following
018 * URL <http://www.cecill.info> or under the terms of the GNU LGPL as published by
019 * the Free Software Foundation, either version 3 of the License, or (at your
020 * option) any later version.
021 * 
022 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
023 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
024 * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
025 * 
026 * You should have received a copy of the GNU Lesser General Public License
027 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
028 * 
029 * The fact that you are presently reading this means that you have had
030 * knowledge of the CeCILL-C and LGPL licenses and that you accept their terms.
031 */
032package org.graphstream.stream.file.pajek;
033
034/**
035 * Token literal values and constants. Generated by
036 * org.javacc.parser.OtherFilesGen#start()
037 */
038public interface PajekParserConstants {
039
040        /** End of File. */
041        int EOF = 0;
042        /** RegularExpression Id. */
043        int EOL = 3;
044        /** RegularExpression Id. */
045        int DIGIT = 4;
046        /** RegularExpression Id. */
047        int HEXDIGIT = 5;
048        /** RegularExpression Id. */
049        int INT = 6;
050        /** RegularExpression Id. */
051        int REAL = 7;
052        /** RegularExpression Id. */
053        int STRING = 8;
054        /** RegularExpression Id. */
055        int NETWORK = 9;
056        /** RegularExpression Id. */
057        int VERTICES = 10;
058        /** RegularExpression Id. */
059        int ARCS = 11;
060        /** RegularExpression Id. */
061        int EDGES = 12;
062        /** RegularExpression Id. */
063        int EDGESLIST = 13;
064        /** RegularExpression Id. */
065        int ARCSLIST = 14;
066        /** RegularExpression Id. */
067        int MATRIX = 15;
068        /** RegularExpression Id. */
069        int COMMENT = 16;
070        /** RegularExpression Id. */
071        int ELLIPSE = 17;
072        /** RegularExpression Id. */
073        int DIAMOND = 18;
074        /** RegularExpression Id. */
075        int CROSS = 19;
076        /** RegularExpression Id. */
077        int BOX = 20;
078        /** RegularExpression Id. */
079        int TRIANGLE = 21;
080        /** RegularExpression Id. */
081        int EMPTY = 22;
082        /** RegularExpression Id. */
083        int SIZE = 23;
084        /** RegularExpression Id. */
085        int XFACT = 24;
086        /** RegularExpression Id. */
087        int YFACT = 25;
088        /** RegularExpression Id. */
089        int PHI = 26;
090        /** RegularExpression Id. */
091        int R = 27;
092        /** RegularExpression Id. */
093        int Q = 28;
094        /** RegularExpression Id. */
095        int IC = 29;
096        /** RegularExpression Id. */
097        int BC = 30;
098        /** RegularExpression Id. */
099        int BW = 31;
100        /** RegularExpression Id. */
101        int LC = 32;
102        /** RegularExpression Id. */
103        int LA = 33;
104        /** RegularExpression Id. */
105        int LR = 34;
106        /** RegularExpression Id. */
107        int LPHI = 35;
108        /** RegularExpression Id. */
109        int FOS = 36;
110        /** RegularExpression Id. */
111        int FONT = 37;
112        /** RegularExpression Id. */
113        int C = 38;
114        /** RegularExpression Id. */
115        int P = 39;
116        /** RegularExpression Id. */
117        int W = 40;
118        /** RegularExpression Id. */
119        int S = 41;
120        /** RegularExpression Id. */
121        int A = 42;
122        /** RegularExpression Id. */
123        int AP = 43;
124        /** RegularExpression Id. */
125        int L = 44;
126        /** RegularExpression Id. */
127        int LP = 45;
128        /** RegularExpression Id. */
129        int H1 = 46;
130        /** RegularExpression Id. */
131        int H2 = 47;
132        /** RegularExpression Id. */
133        int K1 = 48;
134        /** RegularExpression Id. */
135        int K2 = 49;
136        /** RegularExpression Id. */
137        int A1 = 50;
138        /** RegularExpression Id. */
139        int A2 = 51;
140        /** RegularExpression Id. */
141        int B = 52;
142        /** RegularExpression Id. */
143        int KEY = 53;
144
145        /** Lexical state. */
146        int DEFAULT = 0;
147
148        /** Literal token values. */
149        String[] tokenImage = { "<EOF>", "\" \"", "\"\\t\"", "<EOL>", "<DIGIT>",
150                        "<HEXDIGIT>", "<INT>", "<REAL>", "<STRING>", "\"*network\"",
151                        "\"*vertices\"", "\"*arcs\"", "\"*edges\"", "\"*edgeslist\"",
152                        "\"*arcslist\"", "\"*matrix\"", "<COMMENT>", "\"ellipse\"",
153                        "\"diamond\"", "\"cross\"", "\"box\"", "\"triangle\"", "\"empty\"",
154                        "<SIZE>", "\"x_fact\"", "\"y_fact\"", "\"phi\"", "\"r\"", "\"q\"",
155                        "\"ic\"", "\"bc\"", "\"bw\"", "\"lc\"", "\"la\"", "\"lr\"",
156                        "\"lphi\"", "\"fos\"", "\"font\"", "\"c\"", "\"p\"", "\"w\"",
157                        "\"s\"", "\"a\"", "\"ap\"", "\"l\"", "\"lp\"", "\"h1\"", "\"h2\"",
158                        "\"k1\"", "\"k2\"", "\"a1\"", "\"a2\"", "\"b\"", "<KEY>", };
159
160}