@Override
  public boolean hasToken(int position) {
    final int start = position;
    int i;
    for (i = 0; i < myPrefix.length && position < myEndOffset; i++, position++) {
      if (myPrefix[i] != myBuffer.charAt(position)) break;
    }
    if (i < myPrefix.length) return false;
    int end = getTokenEnd(position);
    myTokenInfo.updateData(start, end, myTokenType);
    return true;
  }
@Override
  public boolean hasToken(int position)