When available - which is not always the case in the tests - include the fully qualified interface name in the @extends annotation.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>
With the introduction of 'org.apache.flex.utils.Language', these global utility functions, which fill in some of the language gaps between AS and JS, are no longer needed.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>
Added emission of 'org.apache.flex.utils.Language' methods and supporting code.

Supported methods are 'as', 'int', 'is', 'trace' (partial) and 'uint'.

In order for 'is' to work, all classes implementing, and all interfaces extending, interfaces get a (static) constant added to their 'footer': an Array of references to the implemented/extended interfaces.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>
Fixed tests to reflect the new location ('org.apache.flex.utils.Language') of the global language support functions - 'as', 'int', 'is', 'trace' and 'uint'.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>
The test implementation of the project compilation method didn't assign a value to the 'mainCU' property of 'FlexJSProject'.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>
Added project (multiple classes) support to FlexJS tests.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>
Fixed some more tests to reflect the new location ('org.apache.flex.utils.Language') of the global language support functions.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>
Test project for 'as' and 'is' operators in FlexJS.

Note: the HTML file needs valid references to both 'goog.base' and 'org.apache.flex.utils.Language' for it to work. This file is included as reference more than a functional test.
Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>
Small fix to JS emitter and the addition of 'org.apache.flex.utils.Language' emission to the MXML emitter.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>
Something doesn't like the use of 'int' as a member of the 'Language' class, changed it to '_int'.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>