Gets a key for the parent table of this key.
If this key identifies the topLevel table, a key for the topLevel table is returned.
TomlKey get parentKey => TomlKey(parts.take(max(0, parts.length - 1)));