gt:          long l = 1L << (curChar & 077);
context: /* Generated By:JavaCC: Do not edit this line. DotGParserTokenManager.java */
  package org.workcraft.plugins.stg.javacc;
  import java.util.HashMap;
  import java.util.List;
  import java.util.LinkedList;
  import java.util.Map;
  import org.workcraft.dom.Node;
  import org.workcraft.plugins.stg.SignalTransition.Direction;
  import org.workcraft.plugins.stg.SignalTransition.Type;
  import org.workcraft.plugins.stg.*;
  import org.workcraft.util.Pair;
  import org.workcraft.util.Triple;
  import org.workcraft.exceptions.InvalidConnectionException;
  import org.workcraft.exceptions.FormatException;
  import org.workcraft.exceptions.NotFoundException;
  
  /** Token Manager. */
  @SuppressWarnings("all")
  public class DotGParserTokenManager implements DotGParserConstants
  {
  
    /** Debug output. */
    public  java.io.PrintStream debugStream = System.out;
    /** Set debug output. */
    public  void setDebugStream(java.io.PrintStream ds) { debugStream = ds; }
  private final int jjStopStringLiteralDfa_0(int pos, long active0)
  {
     switch (pos)
     {
        case 0:
           if ((active0 & 0xfe0L) != 0L)
              return 5;
           return -1;
        case 1:
           if ((active0 & 0xfe0L) != 0L)
           {
              jjmatchedKind = 12;
              jjmatchedPos = 1;
              return 6;
           }
           return -1;
        case 2:
           if ((active0 & 0xfe0L) != 0L)
           {
              jjmatchedKind = 12;
              jjmatchedPos = 2;
              return 6;
           }
           return -1;
        case 3:
           if ((active0 & 0xfe0L) != 0L)
           {
              jjmatchedKind = 12;
              jjmatchedPos = 3;
              return 6;
           }
           return -1;
        case 4:
           if ((active0 & 0xfe0L) != 0L)
           {
              jjmatchedKind = 12;
              jjmatchedPos = 4;
              return 6;
           }
           return -1;
        case 5:
           if ((active0 & 0x300L) != 0L)
              return 6;
           if ((active0 & 0xce0L) != 0L)
           {
              jjmatchedKind = 12;
              jjmatchedPos = 5;
              return 6;
           }
           return -1;
        case 6:
           if ((active0 & 0x20L) != 0L)
              return 6;
           if ((active0 & 0xcc0L) != 0L)
           {
              jjmatchedKind = 12;
              jjmatchedPos = 6;
              return 6;
           }
           return -1;
        case 7:
           if ((active0 & 0x440L) != 0L)
              return 6;
           if ((active0 & 0x880L) != 0L)
           {
              jjmatchedKind = 12;
              jjmatchedPos = 7;
              return 6;
           }
           return -1;
        default :
           return -1;
     }
  }
  private final int jjStartNfa_0(int pos, long active0)
  {
     return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0), pos + 1);
  }
  private int jjStopAtPos(int pos, int kind)
  {
     jjmatchedKind = kind;
     jjmatchedPos = pos;
     return pos + 1;
  }
  private int jjMoveStringLiteralDfa0_0()
  {
     switch(curChar)
     {
        case 44:
           return jjStopAtPos(0, 20);
        case 46:
           return jjMoveStringLiteralDfa1_0(0xfe0L);
        case 47:
           return jjStopAtPos(0, 21);
        case 60:
           return jjStopAtPos(0, 18);
        case 61:
           return jjStopAtPos(0, 22);
        case 62:
           return jjStopAtPos(0, 19);
        case 123:
           return jjStopAtPos(0, 16);
        case 125:
           return jjStopAtPos(0, 17);
        default :
           return jjMoveNfa_0(0, 0);
     }
  }
  private int jjMoveStringLiteralDfa1_0(long active0)
  {
     try { curChar = input_stream.readChar(); }
     catch(java.io.IOException e) {
        jjStopStringLiteralDfa_0(0, active0);
        return 1;
     }
     switch(curChar)
     {
        case 99:
           return jjMoveStringLiteralDfa2_0(active0, 0x800L);
        case 100:
           return jjMoveStringLiteralDfa2_0(active0, 0x100L);
        case 103:
           return jjMoveStringLiteralDfa2_0(active0, 0x200L);
        case 105:
           return jjMoveStringLiteralDfa2_0(active0, 0xa0L);
        case 109:
           return jjMoveStringLiteralDfa2_0(active0, 0x400L);
        case 111:
           return jjMoveStringLiteralDfa2_0(active0, 0x40L);
        default :
           break;
     }
     return jjStartNfa_0(0, active0);
  }
  private 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 97:
           return jjMoveStringLiteralDfa3_0(active0, 0xc00L);
        case 110:
           return jjMoveStringLiteralDfa3_0(active0, 0xa0L);
        case 114:
           return jjMoveStringLiteralDfa3_0(active0, 0x200L);
        case 117:
           return jjMoveStringLiteralDfa3_0(active0, 0x140L);
        default :
           break;
     }
     return jjStartNfa_0(1, active0);
  }
  private 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 97:
           return jjMoveStringLiteralDfa4_0(active0, 0x200L);
        case 109:
           return jjMoveStringLiteralDfa4_0(active0, 0x100L);
        case 112:
           return jjMoveStringLiteralDfa4_0(active0, 0x820L);
        case 114:
           return jjMoveStringLiteralDfa4_0(active0, 0x400L);
        case 116:
           return jjMoveStringLiteralDfa4_0(active0, 0xc0L);
        default :
           break;
     }
     return jjStartNfa_0(2, active0);
  }
  private 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 97:
           return jjMoveStringLiteralDfa5_0(active0, 0x800L);
        case 101:
           return jjMoveStringLiteralDfa5_0(active0, 0x80L);
        case 107:
           return jjMoveStringLiteralDfa5_0(active0, 0x400L);
        case 109:
           return jjMoveStringLiteralDfa5_0(active0, 0x100L);
        case 112:
           return jjMoveStringLiteralDfa5_0(active0, 0x240L);
        case 117:
           return jjMoveStringLiteralDfa5_0(active0, 0x20L);
        default :
           break;
     }
     return jjStartNfa_0(3, active0);
  }
  private 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 99:
           return jjMoveStringLiteralDfa6_0(active0, 0x800L);
        case 104:
           if ((active0 & 0x200L) != 0L)
              return jjStartNfaWithStates_0(5, 9, 6);
           break;
        case 105:
           return jjMoveStringLiteralDfa6_0(active0, 0x400L);
        case 114:
           return jjMoveStringLiteralDfa6_0(active0, 0x80L);
        case 116:
           return jjMoveStringLiteralDfa6_0(active0, 0x20L);
        case 117:
           return jjMoveStringLiteralDfa6_0(active0, 0x40L);
        case 121:
           if ((active0 & 0x100L) != 0L)
              return jjStartNfaWithStates_0(5, 8, 6);
           break;
        default :
           break;
     }
     return jjStartNfa_0(4, active0);
  }
  private 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 105:
           return jjMoveStringLiteralDfa7_0(active0, 0x800L);
        case 110:
           return jjMoveStringLiteralDfa7_0(active0, 0x480L);
        case 115:
           if ((active0 & 0x20L) != 0L)
              return jjStartNfaWithStates_0(6, 5, 6);
           break;
        case 116:
           return jjMoveStringLiteralDfa7_0(active0, 0x40L);
        default :
           break;
     }
     return jjStartNfa_0(5, active0);
  }
  private 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 97:
           return jjMoveStringLiteralDfa8_0(active0, 0x80L);
        case 103:
           if ((active0 & 0x400L) != 0L)
              return jjStartNfaWithStates_0(7, 10, 6);
           break;
        case 115:
           if ((active0 & 0x40L) != 0L)
              return jjStartNfaWithStates_0(7, 6, 6);
           break;
        case 116:
           return jjMoveStringLiteralDfa8_0(active0, 0x800L);
        default :
           break;
     }
     return jjStartNfa_0(6, active0);
  }
  private 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 108:
           if ((active0 & 0x80L) != 0L)
              return jjStartNfaWithStates_0(8, 7, 6);
           break;
        case 121:
           if ((active0 & 0x800L) != 0L)
              return jjStartNfaWithStates_0(8, 11, 6);
           break;
        default :
           break;
     }
     return jjStartNfa_0(7, active0);
  }
  private 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);
  }
  static final long[] jjbitVec0 = {
     0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL
  };
  private int jjMoveNfa_0(int startState, int curPos)
  {
     int startsAt = 0;
     jjnewStateCnt = 11;
     int i = 1;
     jjstateSet[0] = startState;
     int kind = 0x7fffffff;
     for (;;)
     {
        if (++jjround == 0x7fffffff)
           ReInitRounds();
        if (curChar < 64)
        {
           long l = 1L << curChar;
           do
           {
              switch(jjstateSet[--i])
              {
                 case 0:
                    if ((0x3ff000000000000L & l) != 0L)
                    {
                       if (kind > 15)
                          kind = 15;
                       jjCheckNAdd(10);
                    }
                    else if ((0x280000000000L & l) != 0L)
                    {
                       if (kind > 14)
                          kind = 14;
                    }
                    else if ((0x2400L & l) != 0L)
                    {
                       if (kind > 4)
                          kind = 4;
                       jjCheckNAdd(3);
                    }
                    else if (curChar == 46)
                       jjstateSet[jjnewStateCnt++] = 5;
                    else if (curChar == 35)
                    {
                       if (kind > 3)
                          kind = 3;
                       jjCheckNAddTwoStates(1, 2);
                    }
                    break;
                 case 1:
                    if ((0xffffffffffffdbffL & l) == 0L)
                       break;
                    if (kind > 3)
                       kind = 3;
                    jjCheckNAddTwoStates(1, 2);
                    break;
                 case 2:
                    if ((0x2400L & l) == 0L)
                       break;
                    if (kind > 3)
                       kind = 3;
                    jjCheckNAdd(2);
                    break;
                 case 3:
                    if ((0x2400L & l) == 0L)
                       break;
                    if (kind > 4)
                       kind = 4;
                    jjCheckNAdd(3);
                    break;
                 case 4:
                    if (curChar == 46)
                       jjstateSet[jjnewStateCnt++] = 5;
                    break;
                 case 6:
                    if ((0x3ff000000000000L & l) == 0L)
                       break;
                    if (kind > 12)
                       kind = 12;
                    jjstateSet[jjnewStateCnt++] = 6;
                    break;
                 case 8:
                    if ((0x3ff000000000000L & l) == 0L)
                       break;
                    if (kind > 13)
                       kind = 13;
                    jjstateSet[jjnewStateCnt++] = 8;
                    break;
                 case 9:
                    if ((0x280000000000L & l) != 0L && kind > 14)
                       kind = 14;
                    break;
                 case 10:
                    if ((0x3ff000000000000L & l) == 0L)
                       break;
                    if (kind > 15)
                       kind = 15;
                    jjCheckNAdd(10);
                    break;
                 default : break;
              }
           } while(i != startsAt);
        }
        else if (curChar < 128)
        {
  