📄 wktawttokenmanager.java
字号:
/*
* This file is part of the GeOxygene project source files.
*
* GeOxygene aims at providing an open framework which implements OGC/ISO specifications for
* the development and deployment of geographic (GIS) applications. It is a open source
* contribution of the COGIT laboratory at the Institut G閛graphique National (the French
* National Mapping Agency).
*
* See: http://oxygene-project.sourceforge.net
*
* Copyright (C) 2005 Institut G閛graphique National
*
* This library is free software; you can redistribute it and/or modify it under the terms
* of the GNU Lesser General Public License as published by the Free Software Foundation;
* either version 2.1 of the License, or any later version.
*
* This library 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 library (see file LICENSE if present); if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
/* Generated By:JavaCC: Do not edit this line. WktAwtTokenManager.java */
package fr.ign.cogit.geoxygene.util.conversion;
public class WktAwtTokenManager implements WktAwtConstants
{
public java.io.PrintStream debugStream = System.out;
public void setDebugStream(java.io.PrintStream ds) { debugStream = ds; }
private final int jjStopStringLiteralDfa_0(int pos, long active0)
{
switch (pos)
{
default :
return -1;
}
}
private final int jjStartNfa_0(int pos, long active0)
{
return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0), pos + 1);
}
private final int jjStopAtPos(int pos, int kind)
{
jjmatchedKind = kind;
jjmatchedPos = pos;
return pos + 1;
}
private final int jjStartNfaWithStates_0(int pos, int kind, int state)
{
jjmatchedKind = kind;
jjmatchedPos = pos;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) { return pos + 1; }
return jjMoveNfa_0(state, pos + 1);
}
private final int jjMoveStringLiteralDfa0_0()
{
switch(curChar)
{
case 10:
return jjStopAtPos(0, 6);
case 40:
return jjStopAtPos(0, 9);
case 41:
return jjStopAtPos(0, 10);
case 44:
return jjStopAtPos(0, 12);
case 69:
return jjMoveStringLiteralDfa1_0(0x800L);
case 71:
return jjMoveStringLiteralDfa1_0(0x80000L);
case 76:
return jjMoveStringLiteralDfa1_0(0x4000L);
case 77:
return jjMoveStringLiteralDfa1_0(0x58000L);
case 80:
return jjMoveStringLiteralDfa1_0(0x22000L);
default :
return jjMoveNfa_0(0, 0);
}
}
private final int jjMoveStringLiteralDfa1_0(long active0)
{
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(0, active0);
return 1;
}
switch(curChar)
{
case 69:
return jjMoveStringLiteralDfa2_0(active0, 0x80000L);
case 73:
return jjMoveStringLiteralDfa2_0(active0, 0x4000L);
case 77:
return jjMoveStringLiteralDfa2_0(active0, 0x800L);
case 79:
return jjMoveStringLiteralDfa2_0(active0, 0x22000L);
case 85:
return jjMoveStringLiteralDfa2_0(active0, 0x58000L);
default :
break;
}
return jjStartNfa_0(0, active0);
}
private final int jjMoveStringLiteralDfa2_0(long old0, long active0)
{
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(0, old0);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(1, active0);
return 2;
}
switch(curChar)
{
case 73:
return jjMoveStringLiteralDfa3_0(active0, 0x2000L);
case 76:
return jjMoveStringLiteralDfa3_0(active0, 0x78000L);
case 78:
return jjMoveStringLiteralDfa3_0(active0, 0x4000L);
case 79:
return jjMoveStringLiteralDfa3_0(active0, 0x80000L);
case 80:
return jjMoveStringLiteralDfa3_0(active0, 0x800L);
default :
break;
}
return jjStartNfa_0(1, active0);
}
private final int jjMoveStringLiteralDfa3_0(long old0, long active0)
{
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(1, old0);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(2, active0);
return 3;
}
switch(curChar)
{
case 69:
return jjMoveStringLiteralDfa4_0(active0, 0x4000L);
case 77:
return jjMoveStringLiteralDfa4_0(active0, 0x80000L);
case 78:
return jjMoveStringLiteralDfa4_0(active0, 0x2000L);
case 84:
return jjMoveStringLiteralDfa4_0(active0, 0x58800L);
case 89:
return jjMoveStringLiteralDfa4_0(active0, 0x20000L);
default :
break;
}
return jjStartNfa_0(2, active0);
}
private final int jjMoveStringLiteralDfa4_0(long old0, long active0)
{
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(2, old0);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(3, active0);
return 4;
}
switch(curChar)
{
case 69:
return jjMoveStringLiteralDfa5_0(active0, 0x80000L);
case 71:
return jjMoveStringLiteralDfa5_0(active0, 0x20000L);
case 73:
return jjMoveStringLiteralDfa5_0(active0, 0x58000L);
case 83:
return jjMoveStringLiteralDfa5_0(active0, 0x4000L);
case 84:
if ((active0 & 0x2000L) != 0L)
return jjStopAtPos(4, 13);
break;
case 89:
if ((active0 & 0x800L) != 0L)
return jjStopAtPos(4, 11);
break;
default :
break;
}
return jjStartNfa_0(3, active0);
}
private final int jjMoveStringLiteralDfa5_0(long old0, long active0)
{
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(3, old0);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(4, active0);
return 5;
}
switch(curChar)
{
case 76:
return jjMoveStringLiteralDfa6_0(active0, 0x10000L);
case 79:
return jjMoveStringLiteralDfa6_0(active0, 0x20000L);
case 80:
return jjMoveStringLiteralDfa6_0(active0, 0x48000L);
case 84:
return jjMoveStringLiteralDfa6_0(active0, 0x84000L);
default :
break;
}
return jjStartNfa_0(4, active0);
}
private final int jjMoveStringLiteralDfa6_0(long old0, long active0)
{
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(4, old0);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(5, active0);
return 6;
}
switch(curChar)
{
case 73:
return jjMoveStringLiteralDfa7_0(active0, 0x10000L);
case 78:
if ((active0 & 0x20000L) != 0L)
return jjStopAtPos(6, 17);
break;
case 79:
return jjMoveStringLiteralDfa7_0(active0, 0x48000L);
case 82:
return jjMoveStringLiteralDfa7_0(active0, 0x84000L);
default :
break;
}
return jjStartNfa_0(5, active0);
}
private final int jjMoveStringLiteralDfa7_0(long old0, long active0)
{
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(5, old0);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(6, active0);
return 7;
}
switch(curChar)
{
case 73:
return jjMoveStringLiteralDfa8_0(active0, 0xc000L);
case 76:
return jjMoveStringLiteralDfa8_0(active0, 0x40000L);
case 78:
return jjMoveStringLiteralDfa8_0(active0, 0x10000L);
case 89:
return jjMoveStringLiteralDfa8_0(active0, 0x80000L);
default :
break;
}
return jjStartNfa_0(6, active0);
}
private final int jjMoveStringLiteralDfa8_0(long old0, long active0)
{
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(6, old0);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(7, active0);
return 8;
}
switch(curChar)
{
case 67:
return jjMoveStringLiteralDfa9_0(active0, 0x80000L);
case 69:
return jjMoveStringLiteralDfa9_0(active0, 0x10000L);
case 78:
return jjMoveStringLiteralDfa9_0(active0, 0xc000L);
case 89:
return jjMoveStringLiteralDfa9_0(active0, 0x40000L);
default :
break;
}
return jjStartNfa_0(7, active0);
}
private final int jjMoveStringLiteralDfa9_0(long old0, long active0)
{
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(7, old0);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(8, active0);
return 9;
}
switch(curChar)
{
case 71:
if ((active0 & 0x4000L) != 0L)
return jjStopAtPos(9, 14);
return jjMoveStringLiteralDfa10_0(active0, 0x40000L);
case 79:
return jjMoveStringLiteralDfa10_0(active0, 0x80000L);
case 83:
return jjMoveStringLiteralDfa10_0(active0, 0x10000L);
case 84:
if ((active0 & 0x8000L) != 0L)
return jjStopAtPos(9, 15);
break;
default :
break;
}
return jjStartNfa_0(8, active0);
}
private final int jjMoveStringLiteralDfa10_0(long old0, long active0)
{
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(8, old0);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(9, active0);
return 10;
}
switch(curChar)
{
case 76:
return jjMoveStringLiteralDfa11_0(active0, 0x80000L);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -