JAPE Shorthands

Copy a feature value from the LHS to RHS

Rule: Rule1
(
  {Lookup.majorType == "location"}
):look
-->
:look.Location = { kind = :look.Lookup.minorType }

Note this only works if you know that there is only one annotation of type Lookup in the look binding.

page_revision: 0, last_edited: 1227547147|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License