@Override
  public @Nullable ElementNode parent() {
    return this.parent;
  }
Returns the parent of this node, if present.

@return the parent or null
@since 4.10.0
text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/internal/parser/node/ElementNode.java