Initialize fields used as path components
Initialize fields used as path components

When a field is used in a path component, initialize its value from the
path. Since it is not possible to change an existing path, this operation
is only needed when new parts of the AST are created.

The code assumes that the leaf for the path component is in the subtree
where the leaf's value is used. That is not necessarily true; at least,
it's not being checked from the grammar.

jasperla/augeas,mlichvar/augeas,hercules-team/augeas,ptoscano/augeas,kumy/augeas,mchf/augeas,hercules-team/augeas-do-not-use,kumy/augeas,bkearney/augeas,mlichvar/augeas,hercules-team/augeas-do-not-use,ptoscano/augeas,camptocamp/augeas,lutter/augeas,kunkku/augeas,domcleal/augeas,dafugg/augeas,mchf/augeas,kunkku/augeas,bkearney/augeas,MikaelSmith/augeas,raphink/augeas,bkearney/augeas,domcleal/augeas,mlichvar/augeas,bkearney/augeas,jtopjian/augeas,jasperla/augeas,jtopjian/augeas,MikaelSmith/augeas,jjlin/augeas,domcleal/augeas,kumy/augeas,ptoscano/augeas,camptocamp/augeas,GeoffWilliams/augeas,camptocamp/augeas,jjlin/augeas,jjlin/augeas,manandbytes/augeas,pevalme/augeas,lutter/augeas,hercules-team/augeas,GeoffWilliams/augeas,kumy/augeas,dafugg/augeas,kunkku/augeas,hercules-team/augeas-do-not-use,camptocamp/augeas,pevalme/augeas,raphink/augeas,dafugg/augeas,lutter/augeas,pevalme/augeas,manandbytes/augeas