/*
* Copyright 2006 - 2013
* Stefan Balev <stefan.balev@graphstream-project.org>
* Julien Baudry <julien.baudry@graphstream-project.org>
* Antoine Dutot <antoine.dutot@graphstream-project.org>
* Yoann Pigné <yoann.pigne@graphstream-project.org>
* Guilhelm Savin <guilhelm.savin@graphstream-project.org>
*
* This file is part of GraphStream <http://graphstream-project.org>.
*
* GraphStream is a library whose purpose is to handle static or dynamic
* graph, create them from scratch, file or any source and display them.
*
* This program is free software distributed under the terms of two licenses, the
* CeCILL-C license that fits European law, and the GNU Lesser General Public
* License. You can use, modify and/ or redistribute the software under the terms
* of the CeCILL-C license as circulated by CEA, CNRS and INRIA at the following
* URL <http://www.cecill.info> or under the terms of the GNU LGPL as published by
* the Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* The fact that you are presently reading this means that you have had
* knowledge of the CeCILL-C and LGPL licenses and that you accept their terms.
*/
package org.graphstream.stream.file.pajek;
import java.io.InputStream;
import java.io.IOException;
import java.io.Reader;
import java.util.ArrayList;
import org.graphstream.stream.file.FileSourcePajek;
import org.graphstream.util.parser.ParseException;
import org.graphstream.util.parser.Parser;
import org.graphstream.util.parser.SimpleCharStream;
import org.graphstream.util.parser.Token;
import org.graphstream.util.parser.TokenMgrError;
@SuppressWarnings("unused")
public class PajekParser implements Parser, PajekParserConstants {
// The node count.
int nodeCount;
// If true we are parsing the vertices labels.
// False as soon as we encounter the arcs.
boolean inVertices = true;
// If true the list of edges is a edge list.
boolean edgeListMode = true;
PajekContext ctx;
public PajekParser(FileSourcePajek pajek, InputStream stream) {
this(stream);
this.ctx = new PajekContext(pajek);
}
public PajekParser(FileSourcePajek pajek, Reader stream) {
this(stream);
this.ctx = new PajekContext(pajek);
}
public void open() {
}
/**
* Closes the parser, closing the opened stream.
*/
public void close() throws IOException {
jj_input_stream.close();
}
/*****************************************************************/
/* The parser. */
/*****************************************************************/
/** Unused rule, call it to slurp in the whole file. */
final public void all() throws ParseException {
label_1: while (true) {
if (jj_2_1(2)) {
network();
} else if (jj_2_2(2)) {
vertices();
} else if (jj_2_3(2)) {
edges();
} else if (jj_2_4(2)) {
jj_consume_token(COMMENT);
} else if (jj_2_5(2)) {
jj_consume_token(EOL);
} else {
jj_consume_token(-1);
throw new ParseException();
}
if (jj_2_6(2)) {
;
} else {
break label_1;
}
}
jj_consume_token(0);
}
final public boolean next() throws ParseException {
boolean ok = true;
Token k;
if (jj_2_7(2)) {
network();
} else if (jj_2_8(2)) {
vertices();
} else if (jj_2_9(2)) {
edges();
} else if (jj_2_10(2)) {
k = jj_consume_token(COMMENT);
System.err.printf("got comment %s%n", k.image);
} else if (jj_2_11(2)) {
jj_consume_token(EOL);
} else if (jj_2_12(2)) {
jj_consume_token(0);
ok = false;
} else {
jj_consume_token(-1);
throw new ParseException();
}
return ok;
}
final public void network() throws ParseException {
Token k;
StringBuffer buf = new StringBuffer();
boolean first = true;
jj_consume_token(NETWORK);
label_2: while (true) {
if (jj_2_13(2)) {
;
} else {
break label_2;
}
if (jj_2_14(2)) {
k = jj_consume_token(STRING);
if (!first)
buf.append(" ");
buf.append(k.image.substring(1, k.image.length() - 1));
first = false;
} else if (jj_2_15(2)) {
k = jj_consume_token(KEY);
if (!first)
buf.append(" ");
buf.append(k.image);
first = false;
} else {
jj_consume_token(-1);
throw new ParseException();
}
}
ctx.addGraphAttribute("ui.label", buf.toString());
EO();
}
// Vertices
final public void vertices() throws ParseException {
Token n;
jj_consume_token(VERTICES);
n = jj_consume_token(INT);
EO();
nodeCount = ctx.addNodes(n);
label_3: while (true) {
if (jj_2_16(2)) {
;
} else {
break label_3;
}
if (jj_2_17(2)) {
vertex();
} else if (jj_2_18(2)) {
jj_consume_token(COMMENT);
} else {
jj_consume_token(-1);
throw new ParseException();
}
}
}
final public void vertex() throws ParseException {
Token id, k, x, y, z = null, sh;
String label = null, value;
NodeGraphics graphics = null;
id = jj_consume_token(INT);
if (jj_2_53(2)) {
k = validIdentifier();
label = k.image;
if (jj_2_52(2)) {
if (jj_2_19(2)) {
x = jj_consume_token(REAL);
} else if (jj_2_20(2)) {
x = jj_consume_token(INT);
} else {
jj_consume_token(-1);
throw new ParseException();
}
if (jj_2_21(2)) {
y = jj_consume_token(REAL);
} else if (jj_2_22(2)) {
y = jj_consume_token(INT);
} else {
jj_consume_token(-1);
throw new ParseException();
}
if (jj_2_25(2)) {
if (jj_2_23(2)) {
z = jj_consume_token(REAL);
} else if (jj_2_24(2)) {
z = jj_consume_token(INT);
} else {
jj_consume_token(-1);
throw new ParseException();
}
} else {
;
}
ctx.addNodePosition(id.image, x, y, z);
if (jj_2_32(2)) {
if (jj_2_26(2)) {
k = jj_consume_token(ELLIPSE);
if (graphics == null)
graphics = new NodeGraphics();
graphics.addKey("shape", "circle", k);
} else if (jj_2_27(2)) {
k = jj_consume_token(BOX);
if (graphics == null)
graphics = new NodeGraphics();
graphics.addKey("shape", "box", k);
} else if (jj_2_28(2)) {
k = jj_consume_token(TRIANGLE);
if (graphics == null)
graphics = new NodeGraphics();
graphics.addKey("shape", "triangle", k);
} else if (jj_2_29(2)) {
k = jj_consume_token(CROSS);
if (graphics == null)
graphics = new NodeGraphics();
graphics.addKey("shape", "cross", k);
} else if (jj_2_30(2)) {
k = jj_consume_token(DIAMOND);
if (graphics == null)
graphics = new NodeGraphics();
graphics.addKey("shape", "diamond", k);
} else if (jj_2_31(2)) {
k = jj_consume_token(EMPTY);
if (graphics == null)
graphics = new NodeGraphics();
graphics.addKey("shape", "circle", k);
} else {
jj_consume_token(-1);
throw new ParseException();
}
} else {
;
}
label_4: while (true) {
if (jj_2_33(2)) {
;
} else {
break label_4;
}
if (jj_2_34(2)) {
k = jj_consume_token(SIZE);
value = number();
if (graphics == null)
graphics = new NodeGraphics();
graphics.addKey("s_size", value, k);
} else if (jj_2_35(2)) {
k = jj_consume_token(XFACT);
value = number();
} else if (jj_2_36(2)) {
k = jj_consume_token(YFACT);
value = number();
} else if (jj_2_37(2)) {
k = jj_consume_token(PHI);
value = number();
} else if (jj_2_38(2)) {
k = jj_consume_token(R);
value = number();
} else if (jj_2_39(2)) {
k = jj_consume_token(Q);
value = number();
} else if (jj_2_40(2)) {
k = jj_consume_token(IC);
value = color();
if (graphics == null)
graphics = new NodeGraphics();
graphics.addKey("ic", value, k);
} else if (jj_2_41(2)) {
k = jj_consume_token(BC);
value = color();
if (graphics == null)
graphics = new NodeGraphics();
graphics.addKey("bc", value, k);
} else if (jj_2_42(2)) {
k = jj_consume_token(BW);
value = number();
if (graphics == null)
graphics = new NodeGraphics();
graphics.addKey("bw", value, k);
} else if (jj_2_43(2)) {
k = jj_consume_token(LC);
value = color();
if (graphics == null)
graphics = new NodeGraphics();
graphics.addKey("lc", value, k);
} else if (jj_2_44(2)) {
k = jj_consume_token(LA);
value = number();
} else if (jj_2_45(2)) {
k = jj_consume_token(LR);
value = number();
} else if (jj_2_46(2)) {
k = jj_consume_token(LPHI);
value = number();
} else if (jj_2_47(2)) {
k = jj_consume_token(FOS);
value = number();
if (graphics == null)
graphics = new NodeGraphics();
graphics.addKey("fos", value, k);
} else if (jj_2_48(2)) {
k = jj_consume_token(FONT);
value = keyOrString();
if (graphics == null)
graphics = new NodeGraphics();
graphics.addKey("font", value, k);
} else {
jj_consume_token(-1);
throw new ParseException();
}
}
label_5: while (true) {
if (jj_2_49(2)) {
;
} else {
break label_5;
}
if (jj_2_50(2)) {
k = validIdentifier();
} else if (jj_2_51(2)) {
k = jj_consume_token(REAL);
} else {
jj_consume_token(-1);
throw new ParseException();
}
System.err.printf("%d:%d: unparsed garbage in .net (%s)%n",
k.beginLine, k.beginColumn, k.image);
}
} else {
;
}
} else {
;
}
EO();
if (label != null) {
if (label.startsWith("\u005c""))
label = label.substring(1, label.length() - 1);
ctx.addNodeLabel(id.image, label);
}
if (graphics != null)
ctx.addNodeGraphics(id.image, graphics);
}
// Edges and edge lists.
final public void edges() throws ParseException {
if (jj_2_66(2)) {
jj_consume_token(ARCS);
EO();
edgeListMode = false;
inVertices = false;
ctx.setDirected(true);
label_6: while (true) {
if (jj_2_54(2)) {
;
} else {
break label_6;
}
if (jj_2_55(2)) {
edge();
} else if (jj_2_56(2)) {
jj_consume_token(COMMENT);
} else {
jj_consume_token(-1);
throw new ParseException();
}
}
} else if (jj_2_67(2)) {
jj_consume_token(EDGES);
EO();
edgeListMode = false;
inVertices = false;
ctx.setDirected(false);
label_7: while (true) {
if (jj_2_57(2)) {
;
} else {
break label_7;
}
if (jj_2_58(2)) {
edge();
} else if (jj_2_59(2)) {
jj_consume_token(COMMENT);
} else {
jj_consume_token(-1);
throw new ParseException();
}
}
} else if (jj_2_68(2)) {
jj_consume_token(ARCSLIST);
EO();
edgeListMode = true;
inVertices = false;
ctx.setDirected(true);
label_8: while (true) {
if (jj_2_60(2)) {
;
} else {
break label_8;
}
if (jj_2_61(2)) {
edgeList();
} else if (jj_2_62(2)) {
jj_consume_token(COMMENT);
} else {
jj_consume_token(-1);
throw new ParseException();
}
}
} else if (jj_2_69(2)) {
jj_consume_token(EDGESLIST);
EO();
edgeListMode = true;
inVertices = false;
ctx.setDirected(false);
label_9: while (true) {
if (jj_2_63(2)) {
;
} else {
break label_9;
}
if (jj_2_64(2)) {
edgeList();
} else if (jj_2_65(2)) {
jj_consume_token(COMMENT);
} else {
jj_consume_token(-1);
throw new ParseException();
}
}
} else if (jj_2_70(2)) {
matrix();
} else if (jj_2_71(2)) {
jj_consume_token(COMMENT);
} else {
jj_consume_token(-1);
throw new ParseException();
}
}
final public void edge() throws ParseException {
Token src, trg, more, weight, k, sh;
String id, value;
EdgeGraphics graphics = null;
src = jj_consume_token(INT);
trg = jj_consume_token(INT);
id = ctx.addEdge(src.image, trg.image);
if (jj_2_100(2)) {
if (jj_2_72(2)) {
k = jj_consume_token(INT);
} else if (jj_2_73(2)) {
k = jj_consume_token(REAL);
} else {
jj_consume_token(-1);
throw new ParseException();
}
ctx.addEdgeWeight(id, k);
label_10: while (true) {
if (jj_2_74(2)) {
;
} else {
break label_10;
}
if (jj_2_77(2)) {
k = jj_consume_token(P);
value = keyOrString();
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("p", value, k);
} else if (jj_2_78(2)) {
k = jj_consume_token(W);
value = number();
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("w", value, k);
} else if (jj_2_79(2)) {
k = jj_consume_token(C);
value = color();
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("c", value, k);
} else if (jj_2_80(2)) {
k = jj_consume_token(S);
value = number();
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("s", value, k);
} else if (jj_2_81(2)) {
k = jj_consume_token(A);
if (jj_2_75(2)) {
k = jj_consume_token(A);
} else if (jj_2_76(2)) {
k = jj_consume_token(B);
} else {
jj_consume_token(-1);
throw new ParseException();
}
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("a", k.image, k);
} else if (jj_2_82(2)) {
k = jj_consume_token(AP);
value = number();
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("ap", value, k);
} else if (jj_2_83(2)) {
k = jj_consume_token(L);
value = keyOrString();
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("l", value, k);
} else if (jj_2_84(2)) {
k = jj_consume_token(LP);
value = number();
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("lp", value, k);
} else if (jj_2_85(2)) {
k = jj_consume_token(LR);
value = number();
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("lr", value, k);
} else if (jj_2_86(2)) {
k = jj_consume_token(LPHI);
value = number();
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("lphi", value, k);
} else if (jj_2_87(2)) {
k = jj_consume_token(LC);
value = color();
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("lc", value, k);
} else if (jj_2_88(2)) {
k = jj_consume_token(LA);
value = number();
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("la", value, k);
} else if (jj_2_89(2)) {
k = jj_consume_token(FOS);
value = number();
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("fos", value, k);
} else if (jj_2_90(2)) {
k = jj_consume_token(FONT);
value = keyOrString();
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("font", value, k);
} else if (jj_2_91(2)) {
k = jj_consume_token(H1);
value = number();
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("h1", value, k);
} else if (jj_2_92(2)) {
k = jj_consume_token(H2);
value = number();
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("h2", value, k);
} else if (jj_2_93(2)) {
k = jj_consume_token(A1);
value = number();
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("a1", value, k);
} else if (jj_2_94(2)) {
k = jj_consume_token(A2);
value = number();
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("a2", value, k);
} else if (jj_2_95(2)) {
k = jj_consume_token(K1);
value = number();
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("k1", value, k);
} else if (jj_2_96(2)) {
k = jj_consume_token(K2);
value = number();
if (graphics == null)
graphics = new EdgeGraphics();
graphics.addKey("k2", value, k);
} else {
jj_consume_token(-1);
throw new ParseException();
}
}
label_11: while (true) {
if (jj_2_97(2)) {
;
} else {
break label_11;
}
if (jj_2_98(2)) {
k = validIdentifier();
} else if (jj_2_99(2)) {
k = jj_consume_token(REAL);
} else {
jj_consume_token(-1);
throw new ParseException();
}
System.err.printf("%d:%d: unparsed garbage in .net (%s)%n",
k.beginLine, k.beginColumn, k.image);
}
} else {
;
}
EO();
if (graphics != null)
ctx.addEdgeGraphics(id, graphics);
}
final public void edgeList() throws ParseException {
Token src, trg, more;
String id;
src = jj_consume_token(INT);
trg = jj_consume_token(INT);
id = ctx.addEdge(src.image, trg.image);
label_12: while (true) {
if (jj_2_101(2)) {
;
} else {
break label_12;
}
more = jj_consume_token(INT);
if (edgeListMode)
ctx.addEdge(src.image, more.image);
}
EO();
}
// The awful *matrix notation.
final public void matrix() throws ParseException {
EdgeMatrix mat = new EdgeMatrix(nodeCount);
ArrayList<String> line;
jj_consume_token(MATRIX);
label_13: while (true) {
jj_consume_token(EOL);
if (jj_2_102(2)) {
;
} else {
break label_13;
}
}
label_14: while (true) {
if (jj_2_103(2)) {
line = matrixline(mat);
mat.addLine(line);
} else if (jj_2_104(2)) {
jj_consume_token(COMMENT);
} else {
jj_consume_token(-1);
throw new ParseException();
}
if (jj_2_105(2)) {
;
} else {
break label_14;
}
}
ctx.addEdges(mat);
}
final public ArrayList<String> matrixline(EdgeMatrix mat)
throws ParseException {
Token k;
ArrayList<String> line = new ArrayList<String>(nodeCount);
label_15: while (true) {
k = jj_consume_token(INT);
line.add(k.image);
if (jj_2_106(2)) {
;
} else {
break label_15;
}
}
EO();
return line;
}
// Various
final public String keyOrString() throws ParseException {
Token k;
String value;
if (jj_2_107(2)) {
k = jj_consume_token(KEY);
value = k.image;
} else if (jj_2_108(2)) {
k = jj_consume_token(STRING);
value = k.image.substring(1, k.image.length() - 1);
} else {
jj_consume_token(-1);
throw new ParseException();
}
return value;
}
final public String number() throws ParseException {
Token k;
if (jj_2_109(2)) {
k = jj_consume_token(INT);
} else if (jj_2_110(2)) {
k = jj_consume_token(REAL);
} else {
jj_consume_token(-1);
throw new ParseException();
}
return k.image;
}
final public String color() throws ParseException {
String value;
Token r, g, b;
if (jj_2_111(2)) {
value = keyOrString();
} else if (jj_2_112(2)) {
r = jj_consume_token(REAL);
g = jj_consume_token(REAL);
b = jj_consume_token(REAL);
value = PajekContext.toColorValue(r, g, b);
} else if (jj_2_113(2)) {
r = jj_consume_token(INT);
g = jj_consume_token(INT);
b = jj_consume_token(INT);
value = PajekContext.toColorValue(r, g, b);
} else {
jj_consume_token(-1);
throw new ParseException();
}
return value;
}
final public void EO() throws ParseException {
if (jj_2_115(2)) {
label_16: while (true) {
jj_consume_token(EOL);
if (jj_2_114(2)) {
;
} else {
break label_16;
}
}
} else if (jj_2_116(2)) {
jj_consume_token(0);
} else {
jj_consume_token(-1);
throw new ParseException();
}
}
final public Token anyGraphicAttribute() throws ParseException {
Token k;
if (jj_2_117(2)) {
k = jj_consume_token(INT);
} else if (jj_2_118(2)) {
k = jj_consume_token(REAL);
} else if (jj_2_119(2)) {
k = jj_consume_token(KEY);
} else if (jj_2_120(2)) {
k = jj_consume_token(STRING);
} else if (jj_2_121(2)) {
k = jj_consume_token(SIZE);
} else if (jj_2_122(2)) {
k = jj_consume_token(XFACT);
} else if (jj_2_123(2)) {
k = jj_consume_token(YFACT);
} else if (jj_2_124(2)) {
k = jj_consume_token(PHI);
} else if (jj_2_125(2)) {
k = jj_consume_token(R);
} else if (jj_2_126(2)) {
k = jj_consume_token(Q);
} else if (jj_2_127(2)) {
k = jj_consume_token(IC);
} else if (jj_2_128(2)) {
k = jj_consume_token(BC);
} else if (jj_2_129(2)) {
k = jj_consume_token(BW);
} else if (jj_2_130(2)) {
k = jj_consume_token(LC);
} else if (jj_2_131(2)) {
k = jj_consume_token(LA);
} else if (jj_2_132(2)) {
k = jj_consume_token(LR);
} else if (jj_2_133(2)) {
k = jj_consume_token(LPHI);
} else if (jj_2_134(2)) {
k = jj_consume_token(FOS);
} else if (jj_2_135(2)) {
k = jj_consume_token(FONT);
} else if (jj_2_136(2)) {
k = jj_consume_token(C);
} else if (jj_2_137(2)) {
k = jj_consume_token(P);
} else if (jj_2_138(2)) {
k = jj_consume_token(W);
} else if (jj_2_139(2)) {
k = jj_consume_token(A);
} else if (jj_2_140(2)) {
k = jj_consume_token(B);
} else if (jj_2_141(2)) {
k = jj_consume_token(AP);
} else if (jj_2_142(2)) {
k = jj_consume_token(L);
} else if (jj_2_143(2)) {
k = jj_consume_token(LP);
} else if (jj_2_144(2)) {
k = jj_consume_token(H1);
} else if (jj_2_145(2)) {
k = jj_consume_token(H2);
} else if (jj_2_146(2)) {
k = jj_consume_token(K1);
} else if (jj_2_147(2)) {
k = jj_consume_token(K2);
} else if (jj_2_148(2)) {
k = jj_consume_token(A1);
} else if (jj_2_149(2)) {
k = jj_consume_token(A2);
} else {
jj_consume_token(-1);
throw new ParseException();
}
return k;
}
final public Token validIdentifier() throws ParseException {
Token k = null;
if (jj_2_150(2)) {
k = jj_consume_token(KEY);
} else if (jj_2_151(2)) {
k = jj_consume_token(STRING);
} else if (jj_2_152(2)) {
k = jj_consume_token(INT);
} else if (jj_2_153(2)) {
k = jj_consume_token(A);
} else if (jj_2_154(2)) {
k = jj_consume_token(A1);
} else if (jj_2_155(2)) {
k = jj_consume_token(A2);
} else if (jj_2_156(2)) {
k = jj_consume_token(AP);
} else if (jj_2_157(2)) {
k = jj_consume_token(B);
} else if (jj_2_158(2)) {
k = jj_consume_token(BC);
} else if (jj_2_159(2)) {
k = jj_consume_token(BW);
} else if (jj_2_160(2)) {
k = jj_consume_token(C);
} else if (jj_2_161(2)) {
k = jj_consume_token(FONT);
} else if (jj_2_162(2)) {
k = jj_consume_token(FOS);
} else if (jj_2_163(2)) {
k = jj_consume_token(H1);
} else if (jj_2_164(2)) {
k = jj_consume_token(H2);
} else if (jj_2_165(2)) {
k = jj_consume_token(IC);
} else if (jj_2_166(2)) {
k = jj_consume_token(K1);
} else if (jj_2_167(2)) {
k = jj_consume_token(K2);
} else if (jj_2_168(2)) {
k = jj_consume_token(L);
} else if (jj_2_169(2)) {
k = jj_consume_token(LA);
} else if (jj_2_170(2)) {
k = jj_consume_token(LC);
} else if (jj_2_171(2)) {
k = jj_consume_token(LP);
} else if (jj_2_172(2)) {
k = jj_consume_token(LPHI);
} else if (jj_2_173(2)) {
k = jj_consume_token(LR);
} else if (jj_2_174(2)) {
k = jj_consume_token(P);
} else if (jj_2_175(2)) {
k = jj_consume_token(PHI);
} else if (jj_2_176(2)) {
k = jj_consume_token(Q);
} else if (jj_2_177(2)) {
k = jj_consume_token(R);
} else if (jj_2_178(2)) {
k = jj_consume_token(S);
} else if (jj_2_179(2)) {
k = jj_consume_token(SIZE);
} else if (jj_2_180(2)) {
k = jj_consume_token(W);
} else if (jj_2_181(2)) {
k = jj_consume_token(XFACT);
} else if (jj_2_182(2)) {
k = jj_consume_token(YFACT);
} else {
jj_consume_token(-1);
throw new ParseException();
}
return k;
}
private boolean jj_2_1(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_1();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(0, xla);
}
}
private boolean jj_2_2(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_2();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(1, xla);
}
}
private boolean jj_2_3(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_3();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(2, xla);
}
}
private boolean jj_2_4(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_4();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(3, xla);
}
}
private boolean jj_2_5(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_5();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(4, xla);
}
}
private boolean jj_2_6(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_6();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(5, xla);
}
}
private boolean jj_2_7(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_7();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(6, xla);
}
}
private boolean jj_2_8(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_8();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(7, xla);
}
}
private boolean jj_2_9(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_9();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(8, xla);
}
}
private boolean jj_2_10(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_10();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(9, xla);
}
}
private boolean jj_2_11(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_11();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(10, xla);
}
}
private boolean jj_2_12(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_12();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(11, xla);
}
}
private boolean jj_2_13(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_13();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(12, xla);
}
}
private boolean jj_2_14(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_14();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(13, xla);
}
}
private boolean jj_2_15(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_15();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(14, xla);
}
}
private boolean jj_2_16(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_16();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(15, xla);
}
}
private boolean jj_2_17(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_17();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(16, xla);
}
}
private boolean jj_2_18(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_18();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(17, xla);
}
}
private boolean jj_2_19(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_19();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(18, xla);
}
}
private boolean jj_2_20(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_20();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(19, xla);
}
}
private boolean jj_2_21(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_21();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(20, xla);
}
}
private boolean jj_2_22(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_22();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(21, xla);
}
}
private boolean jj_2_23(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_23();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(22, xla);
}
}
private boolean jj_2_24(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_24();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(23, xla);
}
}
private boolean jj_2_25(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_25();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(24, xla);
}
}
private boolean jj_2_26(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_26();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(25, xla);
}
}
private boolean jj_2_27(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_27();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(26, xla);
}
}
private boolean jj_2_28(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_28();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(27, xla);
}
}
private boolean jj_2_29(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_29();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(28, xla);
}
}
private boolean jj_2_30(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_30();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(29, xla);
}
}
private boolean jj_2_31(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_31();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(30, xla);
}
}
private boolean jj_2_32(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_32();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(31, xla);
}
}
private boolean jj_2_33(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_33();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(32, xla);
}
}
private boolean jj_2_34(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_34();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(33, xla);
}
}
private boolean jj_2_35(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_35();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(34, xla);
}
}
private boolean jj_2_36(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_36();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(35, xla);
}
}
private boolean jj_2_37(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_37();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(36, xla);
}
}
private boolean jj_2_38(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_38();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(37, xla);
}
}
private boolean jj_2_39(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_39();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(38, xla);
}
}
private boolean jj_2_40(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_40();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(39, xla);
}
}
private boolean jj_2_41(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_41();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(40, xla);
}
}
private boolean jj_2_42(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_42();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(41, xla);
}
}
private boolean jj_2_43(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_43();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(42, xla);
}
}
private boolean jj_2_44(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_44();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(43, xla);
}
}
private boolean jj_2_45(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_45();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(44, xla);
}
}
private boolean jj_2_46(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_46();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(45, xla);
}
}
private boolean jj_2_47(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_47();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(46, xla);
}
}
private boolean jj_2_48(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_48();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(47, xla);
}
}
private boolean jj_2_49(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_49();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(48, xla);
}
}
private boolean jj_2_50(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_50();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(49, xla);
}
}
private boolean jj_2_51(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_51();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(50, xla);
}
}
private boolean jj_2_52(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_52();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(51, xla);
}
}
private boolean jj_2_53(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_53();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(52, xla);
}
}
private boolean jj_2_54(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_54();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(53, xla);
}
}
private boolean jj_2_55(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_55();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(54, xla);
}
}
private boolean jj_2_56(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_56();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(55, xla);
}
}
private boolean jj_2_57(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_57();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(56, xla);
}
}
private boolean jj_2_58(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_58();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(57, xla);
}
}
private boolean jj_2_59(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_59();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(58, xla);
}
}
private boolean jj_2_60(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_60();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(59, xla);
}
}
private boolean jj_2_61(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_61();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(60, xla);
}
}
private boolean jj_2_62(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_62();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(61, xla);
}
}
private boolean jj_2_63(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_63();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(62, xla);
}
}
private boolean jj_2_64(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_64();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(63, xla);
}
}
private boolean jj_2_65(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_65();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(64, xla);
}
}
private boolean jj_2_66(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_66();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(65, xla);
}
}
private boolean jj_2_67(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_67();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(66, xla);
}
}
private boolean jj_2_68(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_68();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(67, xla);
}
}
private boolean jj_2_69(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_69();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(68, xla);
}
}
private boolean jj_2_70(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_70();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(69, xla);
}
}
private boolean jj_2_71(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_71();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(70, xla);
}
}
private boolean jj_2_72(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_72();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(71, xla);
}
}
private boolean jj_2_73(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_73();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(72, xla);
}
}
private boolean jj_2_74(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_74();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(73, xla);
}
}
private boolean jj_2_75(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_75();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(74, xla);
}
}
private boolean jj_2_76(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_76();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(75, xla);
}
}
private boolean jj_2_77(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_77();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(76, xla);
}
}
private boolean jj_2_78(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_78();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(77, xla);
}
}
private boolean jj_2_79(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_79();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(78, xla);
}
}
private boolean jj_2_80(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_80();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(79, xla);
}
}
private boolean jj_2_81(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_81();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(80, xla);
}
}
private boolean jj_2_82(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_82();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(81, xla);
}
}
private boolean jj_2_83(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_83();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(82, xla);
}
}
private boolean jj_2_84(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_84();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(83, xla);
}
}
private boolean jj_2_85(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_85();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(84, xla);
}
}
private boolean jj_2_86(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_86();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(85, xla);
}
}
private boolean jj_2_87(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_87();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(86, xla);
}
}
private boolean jj_2_88(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_88();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(87, xla);
}
}
private boolean jj_2_89(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_89();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(88, xla);
}
}
private boolean jj_2_90(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_90();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(89, xla);
}
}
private boolean jj_2_91(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_91();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(90, xla);
}
}
private boolean jj_2_92(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_92();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(91, xla);
}
}
private boolean jj_2_93(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_93();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(92, xla);
}
}
private boolean jj_2_94(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_94();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(93, xla);
}
}
private boolean jj_2_95(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_95();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(94, xla);
}
}
private boolean jj_2_96(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_96();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(95, xla);
}
}
private boolean jj_2_97(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_97();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(96, xla);
}
}
private boolean jj_2_98(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_98();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(97, xla);
}
}
private boolean jj_2_99(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_99();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(98, xla);
}
}
private boolean jj_2_100(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_100();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(99, xla);
}
}
private boolean jj_2_101(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_101();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(100, xla);
}
}
private boolean jj_2_102(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_102();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(101, xla);
}
}
private boolean jj_2_103(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_103();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(102, xla);
}
}
private boolean jj_2_104(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_104();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(103, xla);
}
}
private boolean jj_2_105(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_105();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(104, xla);
}
}
private boolean jj_2_106(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_106();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(105, xla);
}
}
private boolean jj_2_107(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_107();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(106, xla);
}
}
private boolean jj_2_108(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_108();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(107, xla);
}
}
private boolean jj_2_109(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_109();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(108, xla);
}
}
private boolean jj_2_110(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_110();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(109, xla);
}
}
private boolean jj_2_111(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_111();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(110, xla);
}
}
private boolean jj_2_112(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_112();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(111, xla);
}
}
private boolean jj_2_113(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_113();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(112, xla);
}
}
private boolean jj_2_114(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_114();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(113, xla);
}
}
private boolean jj_2_115(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_115();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(114, xla);
}
}
private boolean jj_2_116(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_116();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(115, xla);
}
}
private boolean jj_2_117(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_117();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(116, xla);
}
}
private boolean jj_2_118(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_118();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(117, xla);
}
}
private boolean jj_2_119(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_119();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(118, xla);
}
}
private boolean jj_2_120(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_120();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(119, xla);
}
}
private boolean jj_2_121(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_121();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(120, xla);
}
}
private boolean jj_2_122(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_122();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(121, xla);
}
}
private boolean jj_2_123(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_123();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(122, xla);
}
}
private boolean jj_2_124(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_124();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(123, xla);
}
}
private boolean jj_2_125(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_125();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(124, xla);
}
}
private boolean jj_2_126(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_126();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(125, xla);
}
}
private boolean jj_2_127(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_127();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(126, xla);
}
}
private boolean jj_2_128(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_128();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(127, xla);
}
}
private boolean jj_2_129(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_129();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(128, xla);
}
}
private boolean jj_2_130(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_130();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(129, xla);
}
}
private boolean jj_2_131(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_131();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(130, xla);
}
}
private boolean jj_2_132(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_132();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(131, xla);
}
}
private boolean jj_2_133(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_133();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(132, xla);
}
}
private boolean jj_2_134(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_134();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(133, xla);
}
}
private boolean jj_2_135(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_135();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(134, xla);
}
}
private boolean jj_2_136(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_136();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(135, xla);
}
}
private boolean jj_2_137(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_137();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(136, xla);
}
}
private boolean jj_2_138(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_138();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(137, xla);
}
}
private boolean jj_2_139(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_139();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(138, xla);
}
}
private boolean jj_2_140(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_140();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(139, xla);
}
}
private boolean jj_2_141(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_141();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(140, xla);
}
}
private boolean jj_2_142(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_142();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(141, xla);
}
}
private boolean jj_2_143(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_143();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(142, xla);
}
}
private boolean jj_2_144(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_144();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(143, xla);
}
}
private boolean jj_2_145(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_145();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(144, xla);
}
}
private boolean jj_2_146(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_146();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(145, xla);
}
}
private boolean jj_2_147(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_147();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(146, xla);
}
}
private boolean jj_2_148(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_148();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(147, xla);
}
}
private boolean jj_2_149(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_149();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(148, xla);
}
}
private boolean jj_2_150(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_150();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(149, xla);
}
}
private boolean jj_2_151(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_151();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(150, xla);
}
}
private boolean jj_2_152(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_152();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(151, xla);
}
}
private boolean jj_2_153(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_153();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(152, xla);
}
}
private boolean jj_2_154(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_154();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(153, xla);
}
}
private boolean jj_2_155(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_155();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(154, xla);
}
}
private boolean jj_2_156(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_156();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(155, xla);
}
}
private boolean jj_2_157(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_157();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(156, xla);
}
}
private boolean jj_2_158(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_158();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(157, xla);
}
}
private boolean jj_2_159(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_159();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(158, xla);
}
}
private boolean jj_2_160(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_160();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(159, xla);
}
}
private boolean jj_2_161(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_161();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(160, xla);
}
}
private boolean jj_2_162(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_162();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(161, xla);
}
}
private boolean jj_2_163(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_163();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(162, xla);
}
}
private boolean jj_2_164(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_164();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(163, xla);
}
}
private boolean jj_2_165(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_165();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(164, xla);
}
}
private boolean jj_2_166(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_166();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(165, xla);
}
}
private boolean jj_2_167(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_167();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(166, xla);
}
}
private boolean jj_2_168(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_168();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(167, xla);
}
}
private boolean jj_2_169(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_169();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(168, xla);
}
}
private boolean jj_2_170(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_170();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(169, xla);
}
}
private boolean jj_2_171(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_171();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(170, xla);
}
}
private boolean jj_2_172(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_172();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(171, xla);
}
}
private boolean jj_2_173(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_173();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(172, xla);
}
}
private boolean jj_2_174(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_174();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(173, xla);
}
}
private boolean jj_2_175(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_175();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(174, xla);
}
}
private boolean jj_2_176(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_176();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(175, xla);
}
}
private boolean jj_2_177(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_177();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(176, xla);
}
}
private boolean jj_2_178(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_178();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(177, xla);
}
}
private boolean jj_2_179(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_179();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(178, xla);
}
}
private boolean jj_2_180(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_180();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(179, xla);
}
}
private boolean jj_2_181(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_181();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(180, xla);
}
}
private boolean jj_2_182(int xla) {
jj_la = xla;
jj_lastpos = jj_scanpos = token;
try {
return !jj_3_182();
} catch (LookaheadSuccess ls) {
return true;
} finally {
jj_save(181, xla);
}
}
private boolean jj_3R_29() {
Token xsp;
if (jj_3_106())
return true;
while (true) {
xsp = jj_scanpos;
if (jj_3_106()) {
jj_scanpos = xsp;
break;
}
}
if (jj_3R_27())
return true;
return false;
}
private boolean jj_3_102() {
if (jj_scan_token(EOL))
return true;
return false;
}
private boolean jj_3_103() {
if (jj_3R_29())
return true;
return false;
}
private boolean jj_3_105() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_103()) {
jj_scanpos = xsp;
if (jj_3_104())
return true;
}
return false;
}
private boolean jj_3R_28() {
if (jj_scan_token(MATRIX))
return true;
Token xsp;
if (jj_3_102())
return true;
while (true) {
xsp = jj_scanpos;
if (jj_3_102()) {
jj_scanpos = xsp;
break;
}
}
return false;
}
private boolean jj_3_99() {
if (jj_scan_token(REAL))
return true;
return false;
}
private boolean jj_3_101() {
if (jj_scan_token(INT))
return true;
return false;
}
private boolean jj_3R_26() {
if (jj_scan_token(INT))
return true;
if (jj_scan_token(INT))
return true;
return false;
}
private boolean jj_3_76() {
if (jj_scan_token(B))
return true;
return false;
}
private boolean jj_3_98() {
if (jj_3R_24())
return true;
return false;
}
private boolean jj_3_97() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_98()) {
jj_scanpos = xsp;
if (jj_3_99())
return true;
}
return false;
}
private boolean jj_3_96() {
if (jj_scan_token(K2))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_95() {
if (jj_scan_token(K1))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_94() {
if (jj_scan_token(A2))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_75() {
if (jj_scan_token(A))
return true;
return false;
}
private boolean jj_3_93() {
if (jj_scan_token(A1))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_92() {
if (jj_scan_token(H2))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_91() {
if (jj_scan_token(H1))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_90() {
if (jj_scan_token(FONT))
return true;
if (jj_3R_23())
return true;
return false;
}
private boolean jj_3_89() {
if (jj_scan_token(FOS))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_88() {
if (jj_scan_token(LA))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_87() {
if (jj_scan_token(LC))
return true;
if (jj_3R_22())
return true;
return false;
}
private boolean jj_3_86() {
if (jj_scan_token(LPHI))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_85() {
if (jj_scan_token(LR))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_84() {
if (jj_scan_token(LP))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_83() {
if (jj_scan_token(L))
return true;
if (jj_3R_23())
return true;
return false;
}
private boolean jj_3_73() {
if (jj_scan_token(REAL))
return true;
return false;
}
private boolean jj_3_82() {
if (jj_scan_token(AP))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_81() {
if (jj_scan_token(A))
return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3_75()) {
jj_scanpos = xsp;
if (jj_3_76())
return true;
}
return false;
}
private boolean jj_3_80() {
if (jj_scan_token(S))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_79() {
if (jj_scan_token(C))
return true;
if (jj_3R_22())
return true;
return false;
}
private boolean jj_3_78() {
if (jj_scan_token(W))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_74() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_77()) {
jj_scanpos = xsp;
if (jj_3_78()) {
jj_scanpos = xsp;
if (jj_3_79()) {
jj_scanpos = xsp;
if (jj_3_80()) {
jj_scanpos = xsp;
if (jj_3_81()) {
jj_scanpos = xsp;
if (jj_3_82()) {
jj_scanpos = xsp;
if (jj_3_83()) {
jj_scanpos = xsp;
if (jj_3_84()) {
jj_scanpos = xsp;
if (jj_3_85()) {
jj_scanpos = xsp;
if (jj_3_86()) {
jj_scanpos = xsp;
if (jj_3_87()) {
jj_scanpos = xsp;
if (jj_3_88()) {
jj_scanpos = xsp;
if (jj_3_89()) {
jj_scanpos = xsp;
if (jj_3_90()) {
jj_scanpos = xsp;
if (jj_3_91()) {
jj_scanpos = xsp;
if (jj_3_92()) {
jj_scanpos = xsp;
if (jj_3_93()) {
jj_scanpos = xsp;
if (jj_3_94()) {
jj_scanpos = xsp;
if (jj_3_95()) {
jj_scanpos = xsp;
if (jj_3_96())
return true;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
return false;
}
private boolean jj_3_77() {
if (jj_scan_token(P))
return true;
if (jj_3R_23())
return true;
return false;
}
private boolean jj_3_72() {
if (jj_scan_token(INT))
return true;
return false;
}
private boolean jj_3_100() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_72()) {
jj_scanpos = xsp;
if (jj_3_73())
return true;
}
while (true) {
xsp = jj_scanpos;
if (jj_3_74()) {
jj_scanpos = xsp;
break;
}
}
while (true) {
xsp = jj_scanpos;
if (jj_3_97()) {
jj_scanpos = xsp;
break;
}
}
return false;
}
private boolean jj_3R_25() {
if (jj_scan_token(INT))
return true;
if (jj_scan_token(INT))
return true;
return false;
}
private boolean jj_3_51() {
if (jj_scan_token(REAL))
return true;
return false;
}
private boolean jj_3_24() {
if (jj_scan_token(INT))
return true;
return false;
}
private boolean jj_3_71() {
if (jj_scan_token(COMMENT))
return true;
return false;
}
private boolean jj_3_23() {
if (jj_scan_token(REAL))
return true;
return false;
}
private boolean jj_3_25() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_23()) {
jj_scanpos = xsp;
if (jj_3_24())
return true;
}
return false;
}
private boolean jj_3_70() {
if (jj_3R_28())
return true;
return false;
}
private boolean jj_3_69() {
if (jj_scan_token(EDGESLIST))
return true;
if (jj_3R_27())
return true;
return false;
}
private boolean jj_3_68() {
if (jj_scan_token(ARCSLIST))
return true;
if (jj_3R_27())
return true;
return false;
}
private boolean jj_3_67() {
if (jj_scan_token(EDGES))
return true;
if (jj_3R_27())
return true;
return false;
}
private boolean jj_3_66() {
if (jj_scan_token(ARCS))
return true;
if (jj_3R_27())
return true;
return false;
}
private boolean jj_3R_19() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_66()) {
jj_scanpos = xsp;
if (jj_3_67()) {
jj_scanpos = xsp;
if (jj_3_68()) {
jj_scanpos = xsp;
if (jj_3_69()) {
jj_scanpos = xsp;
if (jj_3_70()) {
jj_scanpos = xsp;
if (jj_3_71())
return true;
}
}
}
}
}
return false;
}
private boolean jj_3_22() {
if (jj_scan_token(INT))
return true;
return false;
}
private boolean jj_3_50() {
if (jj_3R_24())
return true;
return false;
}
private boolean jj_3_49() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_50()) {
jj_scanpos = xsp;
if (jj_3_51())
return true;
}
return false;
}
private boolean jj_3_48() {
if (jj_scan_token(FONT))
return true;
if (jj_3R_23())
return true;
return false;
}
private boolean jj_3_47() {
if (jj_scan_token(FOS))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_46() {
if (jj_scan_token(LPHI))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_45() {
if (jj_scan_token(LR))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_44() {
if (jj_scan_token(LA))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_43() {
if (jj_scan_token(LC))
return true;
if (jj_3R_22())
return true;
return false;
}
private boolean jj_3_21() {
if (jj_scan_token(REAL))
return true;
return false;
}
private boolean jj_3_42() {
if (jj_scan_token(BW))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_41() {
if (jj_scan_token(BC))
return true;
if (jj_3R_22())
return true;
return false;
}
private boolean jj_3_40() {
if (jj_scan_token(IC))
return true;
if (jj_3R_22())
return true;
return false;
}
private boolean jj_3_39() {
if (jj_scan_token(Q))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_38() {
if (jj_scan_token(R))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_37() {
if (jj_scan_token(PHI))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_36() {
if (jj_scan_token(YFACT))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_35() {
if (jj_scan_token(XFACT))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_33() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_34()) {
jj_scanpos = xsp;
if (jj_3_35()) {
jj_scanpos = xsp;
if (jj_3_36()) {
jj_scanpos = xsp;
if (jj_3_37()) {
jj_scanpos = xsp;
if (jj_3_38()) {
jj_scanpos = xsp;
if (jj_3_39()) {
jj_scanpos = xsp;
if (jj_3_40()) {
jj_scanpos = xsp;
if (jj_3_41()) {
jj_scanpos = xsp;
if (jj_3_42()) {
jj_scanpos = xsp;
if (jj_3_43()) {
jj_scanpos = xsp;
if (jj_3_44()) {
jj_scanpos = xsp;
if (jj_3_45()) {
jj_scanpos = xsp;
if (jj_3_46()) {
jj_scanpos = xsp;
if (jj_3_47()) {
jj_scanpos = xsp;
if (jj_3_48())
return true;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
return false;
}
private boolean jj_3_34() {
if (jj_scan_token(SIZE))
return true;
if (jj_3R_21())
return true;
return false;
}
private boolean jj_3_20() {
if (jj_scan_token(INT))
return true;
return false;
}
private boolean jj_3_31() {
if (jj_scan_token(EMPTY))
return true;
return false;
}
private boolean jj_3_30() {
if (jj_scan_token(DIAMOND))
return true;
return false;
}
private boolean jj_3_29() {
if (jj_scan_token(CROSS))
return true;
return false;
}
private boolean jj_3_28() {
if (jj_scan_token(TRIANGLE))
return true;
return false;
}
private boolean jj_3_27() {
if (jj_scan_token(BOX))
return true;
return false;
}
private boolean jj_3_26() {
if (jj_scan_token(ELLIPSE))
return true;
return false;
}
private boolean jj_3_32() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_26()) {
jj_scanpos = xsp;
if (jj_3_27()) {
jj_scanpos = xsp;
if (jj_3_28()) {
jj_scanpos = xsp;
if (jj_3_29()) {
jj_scanpos = xsp;
if (jj_3_30()) {
jj_scanpos = xsp;
if (jj_3_31())
return true;
}
}
}
}
}
return false;
}
private boolean jj_3_19() {
if (jj_scan_token(REAL))
return true;
return false;
}
private boolean jj_3_52() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_19()) {
jj_scanpos = xsp;
if (jj_3_20())
return true;
}
xsp = jj_scanpos;
if (jj_3_21()) {
jj_scanpos = xsp;
if (jj_3_22())
return true;
}
return false;
}
private boolean jj_3_53() {
if (jj_3R_24())
return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3_52())
jj_scanpos = xsp;
return false;
}
private boolean jj_3R_20() {
if (jj_scan_token(INT))
return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3_53())
jj_scanpos = xsp;
if (jj_3R_27())
return true;
return false;
}
private boolean jj_3_18() {
if (jj_scan_token(COMMENT))
return true;
return false;
}
private boolean jj_3_17() {
if (jj_3R_20())
return true;
return false;
}
private boolean jj_3_16() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_17()) {
jj_scanpos = xsp;
if (jj_3_18())
return true;
}
return false;
}
private boolean jj_3R_18() {
if (jj_scan_token(VERTICES))
return true;
if (jj_scan_token(INT))
return true;
return false;
}
private boolean jj_3_15() {
if (jj_scan_token(KEY))
return true;
return false;
}
private boolean jj_3_14() {
if (jj_scan_token(STRING))
return true;
return false;
}
private boolean jj_3_13() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_14()) {
jj_scanpos = xsp;
if (jj_3_15())
return true;
}
return false;
}
private boolean jj_3R_17() {
if (jj_scan_token(NETWORK))
return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3_13()) {
jj_scanpos = xsp;
break;
}
}
if (jj_3R_27())
return true;
return false;
}
private boolean jj_3_12() {
if (jj_scan_token(0))
return true;
return false;
}
private boolean jj_3_11() {
if (jj_scan_token(EOL))
return true;
return false;
}
private boolean jj_3_10() {
if (jj_scan_token(COMMENT))
return true;
return false;
}
private boolean jj_3_9() {
if (jj_3R_19())
return true;
return false;
}
private boolean jj_3_8() {
if (jj_3R_18())
return true;
return false;
}
private boolean jj_3_7() {
if (jj_3R_17())
return true;
return false;
}
private boolean jj_3_5() {
if (jj_scan_token(EOL))
return true;
return false;
}
private boolean jj_3_4() {
if (jj_scan_token(COMMENT))
return true;
return false;
}
private boolean jj_3_3() {
if (jj_3R_19())
return true;
return false;
}
private boolean jj_3_2() {
if (jj_3R_18())
return true;
return false;
}
private boolean jj_3_1() {
if (jj_3R_17())
return true;
return false;
}
private boolean jj_3_6() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_1()) {
jj_scanpos = xsp;
if (jj_3_2()) {
jj_scanpos = xsp;
if (jj_3_3()) {
jj_scanpos = xsp;
if (jj_3_4()) {
jj_scanpos = xsp;
if (jj_3_5())
return true;
}
}
}
}
return false;
}
private boolean jj_3_182() {
if (jj_scan_token(YFACT))
return true;
return false;
}
private boolean jj_3_181() {
if (jj_scan_token(XFACT))
return true;
return false;
}
private boolean jj_3_180() {
if (jj_scan_token(W))
return true;
return false;
}
private boolean jj_3_179() {
if (jj_scan_token(SIZE))
return true;
return false;
}
private boolean jj_3_178() {
if (jj_scan_token(S))
return true;
return false;
}
private boolean jj_3_177() {
if (jj_scan_token(R))
return true;
return false;
}
private boolean jj_3_176() {
if (jj_scan_token(Q))
return true;
return false;
}
private boolean jj_3_175() {
if (jj_scan_token(PHI))
return true;
return false;
}
private boolean jj_3_174() {
if (jj_scan_token(P))
return true;
return false;
}
private boolean jj_3_173() {
if (jj_scan_token(LR))
return true;
return false;
}
private boolean jj_3_172() {
if (jj_scan_token(LPHI))
return true;
return false;
}
private boolean jj_3_171() {
if (jj_scan_token(LP))
return true;
return false;
}
private boolean jj_3_170() {
if (jj_scan_token(LC))
return true;
return false;
}
private boolean jj_3_169() {
if (jj_scan_token(LA))
return true;
return false;
}
private boolean jj_3_168() {
if (jj_scan_token(L))
return true;
return false;
}
private boolean jj_3_167() {
if (jj_scan_token(K2))
return true;
return false;
}
private boolean jj_3_166() {
if (jj_scan_token(K1))
return true;
return false;
}
private boolean jj_3_165() {
if (jj_scan_token(IC))
return true;
return false;
}
private boolean jj_3_164() {
if (jj_scan_token(H2))
return true;
return false;
}
private boolean jj_3_163() {
if (jj_scan_token(H1))
return true;
return false;
}
private boolean jj_3_162() {
if (jj_scan_token(FOS))
return true;
return false;
}
private boolean jj_3_161() {
if (jj_scan_token(FONT))
return true;
return false;
}
private boolean jj_3_160() {
if (jj_scan_token(C))
return true;
return false;
}
private boolean jj_3_159() {
if (jj_scan_token(BW))
return true;
return false;
}
private boolean jj_3_158() {
if (jj_scan_token(BC))
return true;
return false;
}
private boolean jj_3_157() {
if (jj_scan_token(B))
return true;
return false;
}
private boolean jj_3_156() {
if (jj_scan_token(AP))
return true;
return false;
}
private boolean jj_3_155() {
if (jj_scan_token(A2))
return true;
return false;
}
private boolean jj_3_154() {
if (jj_scan_token(A1))
return true;
return false;
}
private boolean jj_3_153() {
if (jj_scan_token(A))
return true;
return false;
}
private boolean jj_3_152() {
if (jj_scan_token(INT))
return true;
return false;
}
private boolean jj_3_151() {
if (jj_scan_token(STRING))
return true;
return false;
}
private boolean jj_3_150() {
if (jj_scan_token(KEY))
return true;
return false;
}
private boolean jj_3R_24() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_150()) {
jj_scanpos = xsp;
if (jj_3_151()) {
jj_scanpos = xsp;
if (jj_3_152()) {
jj_scanpos = xsp;
if (jj_3_153()) {
jj_scanpos = xsp;
if (jj_3_154()) {
jj_scanpos = xsp;
if (jj_3_155()) {
jj_scanpos = xsp;
if (jj_3_156()) {
jj_scanpos = xsp;
if (jj_3_157()) {
jj_scanpos = xsp;
if (jj_3_158()) {
jj_scanpos = xsp;
if (jj_3_159()) {
jj_scanpos = xsp;
if (jj_3_160()) {
jj_scanpos = xsp;
if (jj_3_161()) {
jj_scanpos = xsp;
if (jj_3_162()) {
jj_scanpos = xsp;
if (jj_3_163()) {
jj_scanpos = xsp;
if (jj_3_164()) {
jj_scanpos = xsp;
if (jj_3_165()) {
jj_scanpos = xsp;
if (jj_3_166()) {
jj_scanpos = xsp;
if (jj_3_167()) {
jj_scanpos = xsp;
if (jj_3_168()) {
jj_scanpos = xsp;
if (jj_3_169()) {
jj_scanpos = xsp;
if (jj_3_170()) {
jj_scanpos = xsp;
if (jj_3_171()) {
jj_scanpos = xsp;
if (jj_3_172()) {
jj_scanpos = xsp;
if (jj_3_173()) {
jj_scanpos = xsp;
if (jj_3_174()) {
jj_scanpos = xsp;
if (jj_3_175()) {
jj_scanpos = xsp;
if (jj_3_176()) {
jj_scanpos = xsp;
if (jj_3_177()) {
jj_scanpos = xsp;
if (jj_3_178()) {
jj_scanpos = xsp;
if (jj_3_179()) {
jj_scanpos = xsp;
if (jj_3_180()) {
jj_scanpos = xsp;
if (jj_3_181()) {
jj_scanpos = xsp;
if (jj_3_182())
return true;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
return false;
}
private boolean jj_3_149() {
if (jj_scan_token(A2))
return true;
return false;
}
private boolean jj_3_148() {
if (jj_scan_token(A1))
return true;
return false;
}
private boolean jj_3_147() {
if (jj_scan_token(K2))
return true;
return false;
}
private boolean jj_3_146() {
if (jj_scan_token(K1))
return true;
return false;
}
private boolean jj_3_145() {
if (jj_scan_token(H2))
return true;
return false;
}
private boolean jj_3_144() {
if (jj_scan_token(H1))
return true;
return false;
}
private boolean jj_3_143() {
if (jj_scan_token(LP))
return true;
return false;
}
private boolean jj_3_142() {
if (jj_scan_token(L))
return true;
return false;
}
private boolean jj_3_141() {
if (jj_scan_token(AP))
return true;
return false;
}
private boolean jj_3_140() {
if (jj_scan_token(B))
return true;
return false;
}
private boolean jj_3_139() {
if (jj_scan_token(A))
return true;
return false;
}
private boolean jj_3_138() {
if (jj_scan_token(W))
return true;
return false;
}
private boolean jj_3_137() {
if (jj_scan_token(P))
return true;
return false;
}
private boolean jj_3_136() {
if (jj_scan_token(C))
return true;
return false;
}
private boolean jj_3_135() {
if (jj_scan_token(FONT))
return true;
return false;
}
private boolean jj_3_134() {
if (jj_scan_token(FOS))
return true;
return false;
}
private boolean jj_3_133() {
if (jj_scan_token(LPHI))
return true;
return false;
}
private boolean jj_3_132() {
if (jj_scan_token(LR))
return true;
return false;
}
private boolean jj_3_131() {
if (jj_scan_token(LA))
return true;
return false;
}
private boolean jj_3_130() {
if (jj_scan_token(LC))
return true;
return false;
}
private boolean jj_3_129() {
if (jj_scan_token(BW))
return true;
return false;
}
private boolean jj_3_128() {
if (jj_scan_token(BC))
return true;
return false;
}
private boolean jj_3_127() {
if (jj_scan_token(IC))
return true;
return false;
}
private boolean jj_3_126() {
if (jj_scan_token(Q))
return true;
return false;
}
private boolean jj_3_125() {
if (jj_scan_token(R))
return true;
return false;
}
private boolean jj_3_124() {
if (jj_scan_token(PHI))
return true;
return false;
}
private boolean jj_3_123() {
if (jj_scan_token(YFACT))
return true;
return false;
}
private boolean jj_3_122() {
if (jj_scan_token(XFACT))
return true;
return false;
}
private boolean jj_3_121() {
if (jj_scan_token(SIZE))
return true;
return false;
}
private boolean jj_3_120() {
if (jj_scan_token(STRING))
return true;
return false;
}
private boolean jj_3_119() {
if (jj_scan_token(KEY))
return true;
return false;
}
private boolean jj_3_118() {
if (jj_scan_token(REAL))
return true;
return false;
}
private boolean jj_3_117() {
if (jj_scan_token(INT))
return true;
return false;
}
private boolean jj_3_114() {
if (jj_scan_token(EOL))
return true;
return false;
}
private boolean jj_3_116() {
if (jj_scan_token(0))
return true;
return false;
}
private boolean jj_3_115() {
Token xsp;
if (jj_3_114())
return true;
while (true) {
xsp = jj_scanpos;
if (jj_3_114()) {
jj_scanpos = xsp;
break;
}
}
return false;
}
private boolean jj_3R_27() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_115()) {
jj_scanpos = xsp;
if (jj_3_116())
return true;
}
return false;
}
private boolean jj_3_104() {
if (jj_scan_token(COMMENT))
return true;
return false;
}
private boolean jj_3_113() {
if (jj_scan_token(INT))
return true;
if (jj_scan_token(INT))
return true;
return false;
}
private boolean jj_3_110() {
if (jj_scan_token(REAL))
return true;
return false;
}
private boolean jj_3_112() {
if (jj_scan_token(REAL))
return true;
if (jj_scan_token(REAL))
return true;
return false;
}
private boolean jj_3_111() {
if (jj_3R_23())
return true;
return false;
}
private boolean jj_3R_22() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_111()) {
jj_scanpos = xsp;
if (jj_3_112()) {
jj_scanpos = xsp;
if (jj_3_113())
return true;
}
}
return false;
}
private boolean jj_3_109() {
if (jj_scan_token(INT))
return true;
return false;
}
private boolean jj_3R_21() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_109()) {
jj_scanpos = xsp;
if (jj_3_110())
return true;
}
return false;
}
private boolean jj_3_65() {
if (jj_scan_token(COMMENT))
return true;
return false;
}
private boolean jj_3_62() {
if (jj_scan_token(COMMENT))
return true;
return false;
}
private boolean jj_3_59() {
if (jj_scan_token(COMMENT))
return true;
return false;
}
private boolean jj_3_56() {
if (jj_scan_token(COMMENT))
return true;
return false;
}
private boolean jj_3_108() {
if (jj_scan_token(STRING))
return true;
return false;
}
private boolean jj_3_107() {
if (jj_scan_token(KEY))
return true;
return false;
}
private boolean jj_3R_23() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_107()) {
jj_scanpos = xsp;
if (jj_3_108())
return true;
}
return false;
}
private boolean jj_3_64() {
if (jj_3R_26())
return true;
return false;
}
private boolean jj_3_63() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_64()) {
jj_scanpos = xsp;
if (jj_3_65())
return true;
}
return false;
}
private boolean jj_3_61() {
if (jj_3R_26())
return true;
return false;
}
private boolean jj_3_60() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_61()) {
jj_scanpos = xsp;
if (jj_3_62())
return true;
}
return false;
}
private boolean jj_3_58() {
if (jj_3R_25())
return true;
return false;
}
private boolean jj_3_57() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_58()) {
jj_scanpos = xsp;
if (jj_3_59())
return true;
}
return false;
}
private boolean jj_3_55() {
if (jj_3R_25())
return true;
return false;
}
private boolean jj_3_54() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_55()) {
jj_scanpos = xsp;
if (jj_3_56())
return true;
}
return false;
}
private boolean jj_3_106() {
if (jj_scan_token(INT))
return true;
return false;
}
/** Generated Token Manager. */
public PajekParserTokenManager token_source;
SimpleCharStream jj_input_stream;
/** Current token. */
public Token token;
/** Next token. */
public Token jj_nt;
private int jj_ntk;
private Token jj_scanpos, jj_lastpos;
private int jj_la;
private int jj_gen;
final private int[] jj_la1 = new int[0];
static private int[] jj_la1_0;
static private int[] jj_la1_1;
static {
jj_la1_init_0();
jj_la1_init_1();
}
private static void jj_la1_init_0() {
jj_la1_0 = new int[] {};
}
private static void jj_la1_init_1() {
jj_la1_1 = new int[] {};
}
final private JJCalls[] jj_2_rtns = new JJCalls[182];
private boolean jj_rescan = false;
private int jj_gc = 0;
/** Constructor with InputStream. */
public PajekParser(java.io.InputStream stream) {
this(stream, null);
}
/** Constructor with InputStream and supplied encoding */
public PajekParser(java.io.InputStream stream, String encoding) {
try {
jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1);
} catch (java.io.UnsupportedEncodingException e) {
throw new RuntimeException(e);
}
token_source = new PajekParserTokenManager(jj_input_stream);
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 0; i++)
jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++)
jj_2_rtns[i] = new JJCalls();
}
/** Reinitialise. */
public void ReInit(java.io.InputStream stream) {
ReInit(stream, null);
}
/** Reinitialise. */
public void ReInit(java.io.InputStream stream, String encoding) {
try {
jj_input_stream.ReInit(stream, encoding, 1, 1);
} catch (java.io.UnsupportedEncodingException e) {
throw new RuntimeException(e);
}
token_source.ReInit(jj_input_stream);
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 0; i++)
jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++)
jj_2_rtns[i] = new JJCalls();
}
/** Constructor. */
public PajekParser(java.io.Reader stream) {
jj_input_stream = new SimpleCharStream(stream, 1, 1);
token_source = new PajekParserTokenManager(jj_input_stream);
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 0; i++)
jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++)
jj_2_rtns[i] = new JJCalls();
}
/** Reinitialise. */
public void ReInit(java.io.Reader stream) {
jj_input_stream.ReInit(stream, 1, 1);
token_source.ReInit(jj_input_stream);
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 0; i++)
jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++)
jj_2_rtns[i] = new JJCalls();
}
/** Constructor with generated Token Manager. */
public PajekParser(PajekParserTokenManager tm) {
token_source = tm;
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 0; i++)
jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++)
jj_2_rtns[i] = new JJCalls();
}
/** Reinitialise. */
public void ReInit(PajekParserTokenManager tm) {
token_source = tm;
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 0; i++)
jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++)
jj_2_rtns[i] = new JJCalls();
}
private Token jj_consume_token(int kind) throws ParseException {
Token oldToken;
if ((oldToken = token).next != null)
token = token.next;
else
token = token.next = token_source.getNextToken();
jj_ntk = -1;
if (token.kind == kind) {
jj_gen++;
if (++jj_gc > 100) {
jj_gc = 0;
for (int i = 0; i < jj_2_rtns.length; i++) {
JJCalls c = jj_2_rtns[i];
while (c != null) {
if (c.gen < jj_gen)
c.first = null;
c = c.next;
}
}
}
return token;
}
token = oldToken;
jj_kind = kind;
throw generateParseException();
}
static private final class LookaheadSuccess extends java.lang.Error {
private static final long serialVersionUID = 8265735293607656893L;
}
final private LookaheadSuccess jj_ls = new LookaheadSuccess();
private boolean jj_scan_token(int kind) {
if (jj_scanpos == jj_lastpos) {
jj_la--;
if (jj_scanpos.next == null) {
jj_lastpos = jj_scanpos = jj_scanpos.next = token_source
.getNextToken();
} else {
jj_lastpos = jj_scanpos = jj_scanpos.next;
}
} else {
jj_scanpos = jj_scanpos.next;
}
if (jj_rescan) {
int i = 0;
Token tok = token;
while (tok != null && tok != jj_scanpos) {
i++;
tok = tok.next;
}
if (tok != null)
jj_add_error_token(kind, i);
}
if (jj_scanpos.kind != kind)
return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos)
throw jj_ls;
return false;
}
/** Get the next Token. */
final public Token getNextToken() {
if (token.next != null)
token = token.next;
else
token = token.next = token_source.getNextToken();
jj_ntk = -1;
jj_gen++;
return token;
}
/** Get the specific Token. */
final public Token getToken(int index) {
Token t = token;
for (int i = 0; i < index; i++) {
if (t.next != null)
t = t.next;
else
t = t.next = token_source.getNextToken();
}
return t;
}
private int jj_ntk() {
if ((jj_nt = token.next) == null)
return (jj_ntk = (token.next = token_source.getNextToken()).kind);
else
return (jj_ntk = jj_nt.kind);
}
private java.util.List<int[]> jj_expentries = new java.util.ArrayList<int[]>();
private int[] jj_expentry;
private int jj_kind = -1;
private int[] jj_lasttokens = new int[100];
private int jj_endpos;
private void jj_add_error_token(int kind, int pos) {
if (pos >= 100)
return;
if (pos == jj_endpos + 1) {
jj_lasttokens[jj_endpos++] = kind;
} else if (jj_endpos != 0) {
jj_expentry = new int[jj_endpos];
for (int i = 0; i < jj_endpos; i++) {
jj_expentry[i] = jj_lasttokens[i];
}
jj_entries_loop: for (java.util.Iterator<?> it = jj_expentries
.iterator(); it.hasNext();) {
int[] oldentry = (int[]) (it.next());
if (oldentry.length == jj_expentry.length) {
for (int i = 0; i < jj_expentry.length; i++) {
if (oldentry[i] != jj_expentry[i]) {
continue jj_entries_loop;
}
}
jj_expentries.add(jj_expentry);
break jj_entries_loop;
}
}
if (pos != 0)
jj_lasttokens[(jj_endpos = pos) - 1] = kind;
}
}
/** Generate ParseException. */
public ParseException generateParseException() {
jj_expentries.clear();
boolean[] la1tokens = new boolean[54];
if (jj_kind >= 0) {
la1tokens[jj_kind] = true;
jj_kind = -1;
}
for (int i = 0; i < 0; i++) {
if (jj_la1[i] == jj_gen) {
for (int j = 0; j < 32; j++) {
if ((jj_la1_0[i] & (1 << j)) != 0) {
la1tokens[j] = true;
}
if ((jj_la1_1[i] & (1 << j)) != 0) {
la1tokens[32 + j] = true;
}
}
}
}
for (int i = 0; i < 54; i++) {
if (la1tokens[i]) {
jj_expentry = new int[1];
jj_expentry[0] = i;
jj_expentries.add(jj_expentry);
}
}
jj_endpos = 0;
jj_rescan_token();
jj_add_error_token(0, 0);
int[][] exptokseq = new int[jj_expentries.size()][];
for (int i = 0; i < jj_expentries.size(); i++) {
exptokseq[i] = jj_expentries.get(i);
}
return new ParseException(token, exptokseq, tokenImage);
}
/** Enable tracing. */
final public void enable_tracing() {
}
/** Disable tracing. */
final public void disable_tracing() {
}
private void jj_rescan_token() {
jj_rescan = true;
for (int i = 0; i < 182; i++) {
try {
JJCalls p = jj_2_rtns[i];
do {
if (p.gen > jj_gen) {
jj_la = p.arg;
jj_lastpos = jj_scanpos = p.first;
switch (i) {
case 0:
jj_3_1();
break;
case 1:
jj_3_2();
break;
case 2:
jj_3_3();
break;
case 3:
jj_3_4();
break;
case 4:
jj_3_5();
break;
case 5:
jj_3_6();
break;
case 6:
jj_3_7();
break;
case 7:
jj_3_8();
break;
case 8:
jj_3_9();
break;
case 9:
jj_3_10();
break;
case 10:
jj_3_11();
break;
case 11:
jj_3_12();
break;
case 12:
jj_3_13();
break;
case 13:
jj_3_14();
break;
case 14:
jj_3_15();
break;
case 15:
jj_3_16();
break;
case 16:
jj_3_17();
break;
case 17:
jj_3_18();
break;
case 18:
jj_3_19();
break;
case 19:
jj_3_20();
break;
case 20:
jj_3_21();
break;
case 21:
jj_3_22();
break;
case 22:
jj_3_23();
break;
case 23:
jj_3_24();
break;
case 24:
jj_3_25();
break;
case 25:
jj_3_26();
break;
case 26:
jj_3_27();
break;
case 27:
jj_3_28();
break;
case 28:
jj_3_29();
break;
case 29:
jj_3_30();
break;
case 30:
jj_3_31();
break;
case 31:
jj_3_32();
break;
case 32:
jj_3_33();
break;
case 33:
jj_3_34();
break;
case 34:
jj_3_35();
break;
case 35:
jj_3_36();
break;
case 36:
jj_3_37();
break;
case 37:
jj_3_38();
break;
case 38:
jj_3_39();
break;
case 39:
jj_3_40();
break;
case 40:
jj_3_41();
break;
case 41:
jj_3_42();
break;
case 42:
jj_3_43();
break;
case 43:
jj_3_44();
break;
case 44:
jj_3_45();
break;
case 45:
jj_3_46();
break;
case 46:
jj_3_47();
break;
case 47:
jj_3_48();
break;
case 48:
jj_3_49();
break;
case 49:
jj_3_50();
break;
case 50:
jj_3_51();
break;
case 51:
jj_3_52();
break;
case 52:
jj_3_53();
break;
case 53:
jj_3_54();
break;
case 54:
jj_3_55();
break;
case 55:
jj_3_56();
break;
case 56:
jj_3_57();
break;
case 57:
jj_3_58();
break;
case 58:
jj_3_59();
break;
case 59:
jj_3_60();
break;
case 60:
jj_3_61();
break;
case 61:
jj_3_62();
break;
case 62:
jj_3_63();
break;
case 63:
jj_3_64();
break;
case 64:
jj_3_65();
break;
case 65:
jj_3_66();
break;
case 66:
jj_3_67();
break;
case 67:
jj_3_68();
break;
case 68:
jj_3_69();
break;
case 69:
jj_3_70();
break;
case 70:
jj_3_71();
break;
case 71:
jj_3_72();
break;
case 72:
jj_3_73();
break;
case 73:
jj_3_74();
break;
case 74:
jj_3_75();
break;
case 75:
jj_3_76();
break;
case 76:
jj_3_77();
break;
case 77:
jj_3_78();
break;
case 78:
jj_3_79();
break;
case 79:
jj_3_80();
break;
case 80:
jj_3_81();
break;
case 81:
jj_3_82();
break;
case 82:
jj_3_83();
break;
case 83:
jj_3_84();
break;
case 84:
jj_3_85();
break;
case 85:
jj_3_86();
break;
case 86:
jj_3_87();
break;
case 87:
jj_3_88();
break;
case 88:
jj_3_89();
break;
case 89:
jj_3_90();
break;
case 90:
jj_3_91();
break;
case 91:
jj_3_92();
break;
case 92:
jj_3_93();
break;
case 93:
jj_3_94();
break;
case 94:
jj_3_95();
break;
case 95:
jj_3_96();
break;
case 96:
jj_3_97();
break;
case 97:
jj_3_98();
break;
case 98:
jj_3_99();
break;
case 99:
jj_3_100();
break;
case 100:
jj_3_101();
break;
case 101:
jj_3_102();
break;
case 102:
jj_3_103();
break;
case 103:
jj_3_104();
break;
case 104:
jj_3_105();
break;
case 105:
jj_3_106();
break;
case 106:
jj_3_107();
break;
case 107:
jj_3_108();
break;
case 108:
jj_3_109();
break;
case 109:
jj_3_110();
break;
case 110:
jj_3_111();
break;
case 111:
jj_3_112();
break;
case 112:
jj_3_113();
break;
case 113:
jj_3_114();
break;
case 114:
jj_3_115();
break;
case 115:
jj_3_116();
break;
case 116:
jj_3_117();
break;
case 117:
jj_3_118();
break;
case 118:
jj_3_119();
break;
case 119:
jj_3_120();
break;
case 120:
jj_3_121();
break;
case 121:
jj_3_122();
break;
case 122:
jj_3_123();
break;
case 123:
jj_3_124();
break;
case 124:
jj_3_125();
break;
case 125:
jj_3_126();
break;
case 126:
jj_3_127();
break;
case 127:
jj_3_128();
break;
case 128:
jj_3_129();
break;
case 129:
jj_3_130();
break;
case 130:
jj_3_131();
break;
case 131:
jj_3_132();
break;
case 132:
jj_3_133();
break;
case 133:
jj_3_134();
break;
case 134:
jj_3_135();
break;
case 135:
jj_3_136();
break;
case 136:
jj_3_137();
break;
case 137:
jj_3_138();
break;
case 138:
jj_3_139();
break;
case 139:
jj_3_140();
break;
case 140:
jj_3_141();
break;
case 141:
jj_3_142();
break;
case 142:
jj_3_143();
break;
case 143:
jj_3_144();
break;
case 144:
jj_3_145();
break;
case 145:
jj_3_146();
break;
case 146:
jj_3_147();
break;
case 147:
jj_3_148();
break;
case 148:
jj_3_149();
break;
case 149:
jj_3_150();
break;
case 150:
jj_3_151();
break;
case 151:
jj_3_152();
break;
case 152:
jj_3_153();
break;
case 153:
jj_3_154();
break;
case 154:
jj_3_155();
break;
case 155:
jj_3_156();
break;
case 156:
jj_3_157();
break;
case 157:
jj_3_158();
break;
case 158:
jj_3_159();
break;
case 159:
jj_3_160();
break;
case 160:
jj_3_161();
break;
case 161:
jj_3_162();
break;
case 162:
jj_3_163();
break;
case 163:
jj_3_164();
break;
case 164:
jj_3_165();
break;
case 165:
jj_3_166();
break;
case 166:
jj_3_167();
break;
case 167:
jj_3_168();
break;
case 168:
jj_3_169();
break;
case 169:
jj_3_170();
break;
case 170:
jj_3_171();
break;
case 171:
jj_3_172();
break;
case 172:
jj_3_173();
break;
case 173:
jj_3_174();
break;
case 174:
jj_3_175();
break;
case 175:
jj_3_176();
break;
case 176:
jj_3_177();
break;
case 177:
jj_3_178();
break;
case 178:
jj_3_179();
break;
case 179:
jj_3_180();
break;
case 180:
jj_3_181();
break;
case 181:
jj_3_182();
break;
}
}
p = p.next;
} while (p != null);
} catch (LookaheadSuccess ls) {
}
}
jj_rescan = false;
}
private void jj_save(int index, int xla) {
JJCalls p = jj_2_rtns[index];
while (p.gen > jj_gen) {
if (p.next == null) {
p = p.next = new JJCalls();
break;
}
p = p.next;
}
p.gen = jj_gen + xla - jj_la;
p.first = token;
p.arg = xla;
}
static final class JJCalls {
int gen;
Token first;
int arg;
JJCalls next;
}
}