JAPE Shorthands

Copy a feature value from the LHS to RHS

Rule: Rule1
  {Lookup.majorType == "location"}
: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.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License