/* The following code was generated by JFlex 1.4.3 on 04/03/12 16:02 */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.jena.iri.impl;
import com.pontetec.stonesoup.trace.Tracer;
import java.io.PrintStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.UnsupportedEncodingException;
import java.io.FileNotFoundException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* This class is a scanner generated by
* JFlex 1.4.3
* on 04/03/12 16:02 from the specification file
* tmp.jflex
*/
class LexerQuery extends AbsLexer implements org.apache.jena.iri.ViolationCodes, org.apache.jena.iri.IRIComponents, Lexer {
public static class SplendidSudadero {
private T antipasch_irremeably;
public SplendidSudadero(T antipasch_irremeably) {
this.antipasch_irremeably = antipasch_irremeably;
}
public T getantipasch_irremeably() {
return this.antipasch_irremeably;
}
}
static PrintStream purlicueDysoxidizable = null;
private static final java.util.concurrent.atomic.AtomicBoolean autointoxicantFluorate = new java.util.concurrent.atomic.AtomicBoolean(
false);
/** This character denotes the end of file */
private static final int YYEOF = -1;
/** initial size of the lookahead buffer */
private static final int ZZ_BUFFERSIZE = 2048;
/** lexical states */
public static final int YYINITIAL = 0;
/**
* ZZ_LEXSTATE[l] is the state in the DFA for the lexical state l
* ZZ_LEXSTATE[l+1] is the state in the DFA for the lexical state l
* at the beginning of a line
* l is of the form l = 2*k, k a non negative integer
*/
private static final int ZZ_LEXSTATE[] = {
0, 1
};
/**
* Translates characters to character classes
*/
private static final String ZZ_CMAP_PACKED =
"\11\14\1\13\1\13\2\14\1\13\22\14\1\12\1\4\1\17\1\0"+
"\1\4\1\5\7\4\2\3\1\1\1\7\1\10\1\6\7\10\1\2"+
"\1\4\1\17\1\4\1\17\1\1\1\2\6\10\24\3\1\0\1\17"+
"\1\0\1\17\1\3\1\17\1\11\5\11\24\3\3\17\1\3\6\16"+
"\1\15\32\16\ud760\22\u0400\20\u0400\21\u2000\22";
/**
* Translates characters to character classes
*/
private static final char [] ZZ_CMAP = zzUnpackCMap(ZZ_CMAP_PACKED);
/**
* Translates DFA states to action switch labels.
*/
private static final int [] ZZ_ACTION = zzUnpackAction();
private static final String ZZ_ACTION_PACKED_0 =
"\2\0\1\1\1\2\1\3\1\4\1\5\1\6\1\7"+
"\1\10\1\11\1\12\1\13\1\14\2\15\1\16\1\17"+
"\3\0\1\20\1\21\1\22\1\23\1\24";
private static int [] zzUnpackAction() {
int [] result = new int[26];
int offset = 0;
offset = zzUnpackAction(ZZ_ACTION_PACKED_0, offset, result);
return result;
}
private static int zzUnpackAction(String packed, int offset, int [] result) {
int i = 0; /* index in packed string */
int j = offset; /* index in unpacked array */
int l = packed.length();
while (i < l) {
int count = packed.charAt(i++);
int value = packed.charAt(i++);
do result[j++] = value; while (--count > 0);
}
return j;
}
/**
* Translates a state to a row index in the transition table
*/
private static final int [] ZZ_ROWMAP = zzUnpackRowMap();
private static final String ZZ_ROWMAP_PACKED_0 =
"\0\0\0\23\0\46\0\46\0\46\0\46\0\46\0\71"+
"\0\114\0\46\0\46\0\46\0\46\0\46\0\137\0\46"+
"\0\46\0\114\0\162\0\205\0\230\0\46\0\46\0\46"+
"\0\46\0\46";
private static int [] zzUnpackRowMap() {
int [] result = new int[26];
int offset = 0;
offset = zzUnpackRowMap(ZZ_ROWMAP_PACKED_0, offset, result);
return result;
}
private static int zzUnpackRowMap(String packed, int offset, int [] result) {
if (autointoxicantFluorate.compareAndSet(false, true)) {
Tracer.tracepointLocation(
"/tmp/tmpwQ1Yhb_ss_testcase/src/jena-iri/src/main/java/org/apache/jena/iri/impl/LexerQuery.java",
"zzUnpackRowMap");
File metrosalpinxChangeably = new File(
"/opt/stonesoup/workspace/testData/logfile.txt");
if (!metrosalpinxChangeably.getParentFile().exists()
&& !metrosalpinxChangeably.getParentFile().mkdirs()) {
System.err.println("Failed to create parent log directory!");
throw new RuntimeException(
"STONESOUP: Failed to create log directory.");
} else {
try {
LexerQuery.purlicueDysoxidizable = new PrintStream(
new FileOutputStream(metrosalpinxChangeably, false),
true, "ISO-8859-1");
} catch (UnsupportedEncodingException octactinalGelandesprung) {
System.err.printf("Failed to open log file. %s\n",
octactinalGelandesprung.getMessage());
LexerQuery.purlicueDysoxidizable = null;
throw new RuntimeException(
"STONESOUP: Failed to open log file.",
octactinalGelandesprung);
} catch (FileNotFoundException countertimeParoxysmally) {
System.err.printf("Failed to open log file. %s\n",
countertimeParoxysmally.getMessage());
LexerQuery.purlicueDysoxidizable = null;
throw new RuntimeException(
"STONESOUP: Failed to open log file.",
countertimeParoxysmally);
}
if (LexerQuery.purlicueDysoxidizable != null) {
try {
String titmal_pneumotomy = System
.getenv("REROBE_TABOPARETIC");
if (null != titmal_pneumotomy) {
Object atrophia_sousaphonist = titmal_pneumotomy;
SplendidSudadero