Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.05 KB

File metadata and controls

34 lines (22 loc) · 1.05 KB

description: Reroot to a subtree, maintaining an input proto index.

Module: expression_impl.reroot

View source on GitHub

Reroot to a subtree, maintaining an input proto index.

reroot is similar to get_descendant_or_error. However, this method allows you to call create_proto_index(...) later on, that gives you a reference to the original proto.

Functions

create_proto_index_field(...)

reroot(...): Reroot to a new path, maintaining a input proto index.