Update API/syntax for unresolved layouts

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: repo-panama
    • Component/s: tools

      Unresolved layouts present some ambiguities when it comes to layout annotations: they use the predefined 'name' annotation to indicate the layout they point to - but that means that an unresolved layout cannot be given a name - which makes them incompatible with schemes such as the one described here:

      http://cr.openjdk.java.net/~mcimadamore/panama/panama-annos.html

      The solution is to model the layout expression of an unresolved layout in a more direct way:

      unresolved = '$' '(' layoutExpr ')' annosOpt

      Or, even more clearly, using a different set of braces for the layoutExpr:

      unresolved = '$' '{' layoutExpr '}' annosOpt

            Assignee:
            Unassigned
            Reporter:
            Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: