code: public static boolean isEndOfChunk(LabelTagType prev, LabelTagType cur)
    {
      if (prev == null) return false;
      return isEndOfChunk(prev.tag, prev.type, cur.tag, cur.type);
    }
docs: Returns whether a chunk ended between the previous and current token
  @param prev - the label/tag/type of the previous token
  @param cur - the label/tag/type of the current token
  @return true if the previous token was the last token of a chunk