flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roland Zwaga (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-33332) Make metadata annotations first class AS3 citizens
Date Sat, 29 Dec 2012 14:06:12 GMT
Roland Zwaga created FLEX-33332:

             Summary: Make metadata annotations first class AS3 citizens
                 Key: FLEX-33332
                 URL: https://issues.apache.org/jira/browse/FLEX-33332
             Project: Apache Flex
          Issue Type: Improvement
          Components: Compiler API
    Affects Versions: Apache Flex 4.9.0
            Reporter: Roland Zwaga
            Priority: Minor

Currently metadata annotations are only checked by certain IDE's using some sort of extra
Making metadata first class AS3 citizens would allow the compiler to check and verify annotations.

So, for each metadata tag there would need to exist a corresponding AS3 class that describes
this tag,

In practice, an annotation like this:

public var data:String;

There would need to exist a class like this:

public class Bindable {
  public var event:String;

Or something like that...
The MetadataAnnotation metadata would be the entry point for the compiler. The actual class
would not necessarily need to be compiled in the eventual target. (Or maybe it should, perhaps
for JS cross-compilation this could actually enable annotation support...)

Thoughts? Suggestions?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message