@Override
  public int packData(@NotNull IElementType tokenType, int state, boolean isRestartableState) {
    final short idx = tokenType.getIndex();
    return isRestartableState ? idx : -idx;
  }
@Override
  public int packData(@NotNull IElementType tokenType, int state, boolean isRestartableState)