You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2016/11/05 07:48:08 UTC
[03/15] git commit: [flex-falcon] [refs/heads/develop] - - Greatly
worked on cleaning up the compiler code
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/files/Version.as
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/files/Version.as b/compiler-jx/src/test/resources/vf2js/files/Version.as
deleted file mode 100644
index 496ab63..0000000
--- a/compiler-jx/src/test/resources/vf2js/files/Version.as
+++ /dev/null
@@ -1,25 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-import mx.core.mx_internal;
-
-/**
- * @private
- * Version string for this class.
- */
-mx_internal static const VERSION:String = "4.14.0.0";
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/interfaces/Test.as
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/interfaces/Test.as b/compiler-jx/src/test/resources/vf2js/projects/interfaces/Test.as
deleted file mode 100644
index d89743e..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/interfaces/Test.as
+++ /dev/null
@@ -1,46 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package
-{
- import classes.A;
- import interfaces.IA;
- import interfaces.IC;
- import interfaces.IE;
-
- public class Test extends A implements IA, IE
- {
- public function Test()
- {
- super();
-
- var ia:IA = doSomething(IC) as IA
- }
-
- public function doSomething(ic:IC):IC
- {
- for (var i:int = 0; i < 3; i++ {
- var a:A = null;
- }
-
- super.doStuff();
-
- return ic;
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/interfaces/Test_result.js
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/interfaces/Test_result.js b/compiler-jx/src/test/resources/vf2js/projects/interfaces/Test_result.js
deleted file mode 100644
index f547b18..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/interfaces/Test_result.js
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * Test
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('Test');
-
-goog.require('classes.A');
-goog.require('interfaces.IA');
-goog.require('interfaces.IC');
-goog.require('interfaces.IE');
-goog.require('org.apache.flex.utils.Language');
-
-
-
-/**
- * @constructor
- * @extends {classes.A}
- * @implements {interfaces.IA}
- * @implements {interfaces.IE}
- */
-Test = function() {
- Test.base(this, 'constructor');
- var /** @type {interfaces.IA} */ ia = org.apache.flex.utils.Language.as(this.doSomething(interfaces.IC), interfaces.IA);
-};
-goog.inherits(Test, classes.A);
-
-
-/**
- * @export
- * @param {interfaces.IC} ic
- * @return {interfaces.IC}
- */
-Test.prototype.doSomething = function(ic) {
- for (var /** @type {number} */ i = 0; i < 3; i++) {
- var /** @type {classes.A} */ a = null;
- }
- this.superClass_.doStuff.call(this);
- return ic;
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-Test.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'Test', qName: 'Test'}], interfaces: [interfaces.IA, interfaces.IE] };
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/A.as
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/A.as b/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/A.as
deleted file mode 100644
index 20a6a11..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/A.as
+++ /dev/null
@@ -1,32 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package classes
-{
- public class A extends C
- {
- public function A()
- {
- super();
- }
-
- public function doStuff():void{
- trace("STUFF!!!");
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/A_result.js
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/A_result.js b/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/A_result.js
deleted file mode 100644
index 842e665..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/A_result.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * classes.A
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('classes.A');
-
-goog.require('classes.C');
-
-
-
-/**
- * @constructor
- * @extends {classes.C}
- */
-classes.A = function() {
- classes.A.base(this, 'constructor');
-};
-goog.inherits(classes.A, classes.C);
-
-
-/**
- * @export
- */
-classes.A.prototype.doStuff = function() {
- org.apache.flex.utils.Language.trace("STUFF!!!");
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-classes.A.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'A', qName: 'classes.A'}] };
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/B.as
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/B.as b/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/B.as
deleted file mode 100644
index b410e59..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/B.as
+++ /dev/null
@@ -1,25 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package classes
-{
- public class B
- {
- public function B() {}
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/B_result.js
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/B_result.js b/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/B_result.js
deleted file mode 100644
index d8e3b89..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/B_result.js
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * classes.B
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('classes.B');
-
-
-
-/**
- * @constructor
- */
-classes.B = function() {};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-classes.B.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'B', qName: 'classes.B'}] };
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/C.as
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/C.as b/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/C.as
deleted file mode 100644
index d414a26..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/C.as
+++ /dev/null
@@ -1,25 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package classes
-{
- public class C
- {
- public function C() {}
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/C_result.js
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/C_result.js b/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/C_result.js
deleted file mode 100644
index c3b72f4..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/interfaces/classes/C_result.js
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * classes.C
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('classes.C');
-
-
-
-/**
- * @constructor
- */
-classes.C = function() {};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-classes.C.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'C', qName: 'classes.C'}] };
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IA.as
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IA.as b/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IA.as
deleted file mode 100644
index 5fbd6c2..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IA.as
+++ /dev/null
@@ -1,22 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package interfaces
-{
- public interface IA extends IC {}
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IA_result.js
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IA_result.js b/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IA_result.js
deleted file mode 100644
index 2a00144..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IA_result.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * interfaces.IA
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('interfaces.IA');
-
-goog.require('interfaces.IC');
-
-
-
-/**
- * @interface
- * @extends {interfaces.IC}
- */
-interfaces.IA = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-interfaces.IA.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'IA', qName: 'interfaces.IA'}], interfaces: [interfaces.IC] };
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IB.as
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IB.as b/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IB.as
deleted file mode 100644
index a995635..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IB.as
+++ /dev/null
@@ -1,22 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package interfaces
-{
- public interface IB {}
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IB_result.js
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IB_result.js b/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IB_result.js
deleted file mode 100644
index d4933c8..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IB_result.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * interfaces.IB
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('interfaces.IB');
-
-
-
-/**
- * @interface
- */
-interfaces.IB = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-interfaces.IB.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'IB', qName: 'interfaces.IB'}] };
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IC.as
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IC.as b/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IC.as
deleted file mode 100644
index 9183bac..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IC.as
+++ /dev/null
@@ -1,22 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package interfaces
-{
- public interface IC extends ID {}
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IC_result.js
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IC_result.js b/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IC_result.js
deleted file mode 100644
index 9e5298b..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IC_result.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * interfaces.IC
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('interfaces.IC');
-
-goog.require('interfaces.ID');
-
-
-
-/**
- * @interface
- * @extends {interfaces.ID}
- */
-interfaces.IC = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-interfaces.IC.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'IC', qName: 'interfaces.IC'}], interfaces: [interfaces.ID] };
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/ID.as
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/ID.as b/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/ID.as
deleted file mode 100644
index d5e9543..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/ID.as
+++ /dev/null
@@ -1,22 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package interfaces
-{
- public interface ID {}
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/ID_result.js
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/ID_result.js b/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/ID_result.js
deleted file mode 100644
index a730bbb..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/ID_result.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * interfaces.ID
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('interfaces.ID');
-
-
-
-/**
- * @interface
- */
-interfaces.ID = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-interfaces.ID.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'ID', qName: 'interfaces.ID'}] };
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IE.as
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IE.as b/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IE.as
deleted file mode 100644
index d2c7ce1..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IE.as
+++ /dev/null
@@ -1,26 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package interfaces
-{
- public interface IE {
- function myMethod():void;
- function get myProp():String;
- function set myProp(value:String):void;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IE_result.js
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IE_result.js b/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IE_result.js
deleted file mode 100644
index 63d68c7..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/interfaces/interfaces/IE_result.js
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * interfaces.IE
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('interfaces.IE');
-
-
-
-/**
- * @interface
- */
-interfaces.IE = function() {
-};
-
-
-interfaces.IE.prototype.myMethod = function() {};
-
-
-/**
- * @return {string}
- */
-interfaces.IE.prototype.get_myProp = function() {};
-
-
-/**
- * @param {string} value
- */
-interfaces.IE.prototype.set_myProp = function(value) {};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-interfaces.IE.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'IE', qName: 'interfaces.IE'}] };
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/sdk/SomeSDKClass.as
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/sdk/SomeSDKClass.as b/compiler-jx/src/test/resources/vf2js/projects/sdk/SomeSDKClass.as
deleted file mode 100644
index 52541c2..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/sdk/SomeSDKClass.as
+++ /dev/null
@@ -1,68 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package
-{
-
-import mx.core.mx_internal;
-
-import bases.HelperBaseClass;
-
-use namespace mx_internal;
-
-public class SomeSDKClass
-{
- public function SomeSDKClass() {};
-
- private var number:Number = 'Got it: ' + this.getString();
-
- public function getString():String
- {
- return Helper.helperFunction();
- }
-
- public function someFunction():String
- {
- helperBaseClass.doSomething();
- }
-
- mx_internal var helperBaseClass:HelperBaseClass = new HelperBaseClass();
-}
-
-}
-
-import bases.HelperBaseClass;
-
-class Helper extends HelperBaseClass
-{
-
- public static function helperFunction():String {
- return "Hello world";
- }
-
- public function Helper(url:String) {
- url_ = url;
- }
-
- private var url_:String;
-
- public function get url():String {
- return url_;
- }
-
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/sdk/SomeSDKClass_result.js
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/sdk/SomeSDKClass_result.js b/compiler-jx/src/test/resources/vf2js/projects/sdk/SomeSDKClass_result.js
deleted file mode 100644
index fd32667..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/sdk/SomeSDKClass_result.js
+++ /dev/null
@@ -1,114 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * SomeSDKClass
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('SomeSDKClass');
-
-goog.require('bases.HelperBaseClass');
-goog.require('mx.core.mx_internal');
-goog.require('org.apache.flex.utils.Language');
-
-
-
-/**
- * @constructor
- */
-SomeSDKClass = function() {
- this.number = 'Got it: ' + this.getString();
-
- this.helperBaseClass = new bases.HelperBaseClass();
-};
-
-
-/**
- * @private
- * @type {number}
- */
-SomeSDKClass.prototype.number;
-
-
-/**
- * @export
- * @return {string}
- */
-SomeSDKClass.prototype.getString = function() {
- return Helper.helperFunction();
-};
-
-
-/**
- * @export
- * @return {string}
- */
-SomeSDKClass.prototype.someFunction = function() {
- this.helperBaseClass.doSomething();
-};
-
-
-/**
- * @type {bases.HelperBaseClass}
- */
-SomeSDKClass.prototype.helperBaseClass;
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-SomeSDKClass.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'SomeSDKClass', qName: 'SomeSDKClass'}] };
-
-
-
-/**
- * @constructor
- * @extends {bases.HelperBaseClass}
- * @param {string} url
- */
-Helper = function(url) {
- Helper.base(this, 'constructor', url);
- this.url_ = url;
-};
-goog.inherits(Helper, bases.HelperBaseClass);
-
-
-/**
- * @export
- * @return {string}
- */
-Helper.helperFunction = function() {
- return "Hello world";
-};
-
-
-/**
- * @private
- * @type {string}
- */
-Helper.prototype.url_;
-
-
-/**
- * @export
- * @return {string}
- */
-Helper.prototype.get_url = function() {
- return this.url_;
-};
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/sdk/bases/HelperBaseClass.as
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/sdk/bases/HelperBaseClass.as b/compiler-jx/src/test/resources/vf2js/projects/sdk/bases/HelperBaseClass.as
deleted file mode 100644
index 487990a..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/sdk/bases/HelperBaseClass.as
+++ /dev/null
@@ -1,33 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package bases
-{
-
-public class HelperBaseClass
-{
-
- public function HelperBaseClass() {};
-
- public function doSomething():String {
- return 'doneSomething';
- }
-
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/sdk/bases/HelperBaseClass_result.js
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/sdk/bases/HelperBaseClass_result.js b/compiler-jx/src/test/resources/vf2js/projects/sdk/bases/HelperBaseClass_result.js
deleted file mode 100644
index 2460bb0..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/sdk/bases/HelperBaseClass_result.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * bases.HelperBaseClass
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('bases.HelperBaseClass');
-
-
-
-/**
- * @constructor
- */
-bases.HelperBaseClass = function() {};
-
-
-/**
- * @export
- * @return {string}
- */
-bases.HelperBaseClass.prototype.doSomething = function() {
- return 'doneSomething';
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-bases.HelperBaseClass.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'HelperBaseClass', qName: 'bases.HelperBaseClass'}] };
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/simpleMXML/src/SimpleMXML_Project.mxml
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/simpleMXML/src/SimpleMXML_Project.mxml b/compiler-jx/src/test/resources/vf2js/projects/simpleMXML/src/SimpleMXML_Project.mxml
deleted file mode 100644
index 160b7c9..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/simpleMXML/src/SimpleMXML_Project.mxml
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:s="library://ns.adobe.com/flex/spark"
- xmlns:mx="library://ns.adobe.com/flex/mx"
- xmlns:example="example.*"
- minHeight="600"
- minWidth="955">
-
- <fx:Script><![CDATA[
-
- private var myComponent:Component = new Component();
-
- ]]></fx:Script>
-
- <fx:Declarations>
- <example:Component myProperty="oops" />
- </fx:Declarations>
-
-</s:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/simpleMXML/src/SimpleMXML_Project_result.js
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/simpleMXML/src/SimpleMXML_Project_result.js b/compiler-jx/src/test/resources/vf2js/projects/simpleMXML/src/SimpleMXML_Project_result.js
deleted file mode 100644
index 0acd486..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/simpleMXML/src/SimpleMXML_Project_result.js
+++ /dev/null
@@ -1,68 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * SimpleMXML_Project
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('SimpleMXML_Project');
-
-goog.require('spark.components.Application');
-goog.require('example.Component');
-goog.require('org.apache.flex.utils.Language');
-
-
-
-
-/**
- * @constructor
- * @extends {spark.components.Application}
- */
-SimpleMXML_Project = function() {
- SimpleMXML_Project.base(this, 'constructor');
-
- /**
- * @private
- * @type {example.Component}
- */
- this.$ID0;
-};
-goog.inherits(SimpleMXML_Project, spark.components.Application);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-SimpleMXML_Project.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'SimpleMXML_Project', qName: 'SimpleMXML_Project' }] };
-
-
-/**
- * @private
- * @type {example.Component}
- */
-SimpleMXML_Project.prototype.myComponent;
-
-
-/**
- * start
- *
- * @export
- */
-SimpleMXML_Project.prototype.start = function () {
-};
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/simpleMXML/src/example/Component.as
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/simpleMXML/src/example/Component.as b/compiler-jx/src/test/resources/vf2js/projects/simpleMXML/src/example/Component.as
deleted file mode 100644
index 02c03c3..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/simpleMXML/src/example/Component.as
+++ /dev/null
@@ -1,31 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package example
-{
-
- public class Component
- {
- public function Component()
- {
- super();
- }
-
- public var myProperty:Object = {};
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/simpleMXML/src/example/Component_result.js
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/simpleMXML/src/example/Component_result.js b/compiler-jx/src/test/resources/vf2js/projects/simpleMXML/src/example/Component_result.js
deleted file mode 100644
index 89b829f..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/simpleMXML/src/example/Component_result.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * example.Component
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('example.Component');
-
-
-
-/**
- * @constructor
- */
-example.Component = function() {
- ;
-};
-
-
-/**
- * @type {Object}
- */
-example.Component.prototype.myProperty = {};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-example.Component.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'Component', qName: 'example.Component'}] };
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/super/Base.as
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/super/Base.as b/compiler-jx/src/test/resources/vf2js/projects/super/Base.as
deleted file mode 100644
index ee69d65..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/super/Base.as
+++ /dev/null
@@ -1,65 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package
-{
-
-import Super;
-
-public class Base extends Super
-{
- public static var myClassConst:String = new Number();
-
- public function Base()
- {
- super();
- };
-
- private var number:Number = this.getNumber();
-
- private var newText:String = this.text;
-
- private var newTextAgain:String = text;
-
- override public function get text():String
- {
- return "A" + super.text;
- };
-
- override public function set text(value:String):void
- {
- if (value != super.text)
- {
- super.text = "B" + value;
- }
- };
-
- public function getNumber():void
- {
- alert(super.doStuff());
-
- var x:Number = super.x;
- }
-
- override public function doStuff():Number
- {
- throw new Error("No way!");
- };
-
-}
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/super/Base_result.js
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/super/Base_result.js b/compiler-jx/src/test/resources/vf2js/projects/super/Base_result.js
deleted file mode 100644
index 7ca1ad1..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/super/Base_result.js
+++ /dev/null
@@ -1,120 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * Base
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('Base');
-
-goog.require('Super');
-goog.require('org.apache.flex.utils.Language');
-
-
-
-/**
- * @constructor
- * @extends {Super}
- */
-Base = function() {
-
- Base.myClassConst = new Number();
-
- this.number = this.getNumber();
-
- this.newText = this.get_text();
-
- this.newTextAgain = this.get_text();
- Base.base(this, 'constructor');
-};
-goog.inherits(Base, Super);
-
-
-/**
- * @type {string}
- */
-Base.myClassConst;
-
-
-/**
- * @private
- * @type {number}
- */
-Base.prototype.number;
-
-
-/**
- * @private
- * @type {string}
- */
-Base.prototype.newText;
-
-
-/**
- * @private
- * @type {string}
- */
-Base.prototype.newTextAgain;
-
-
-/**
- * @export
- * @return {string}
- * @override
- */
-Base.prototype.get_text = function() {
- return "A" + Base.base(this, 'get_text');
-};
-
-
-/**
- * @export
- * @param {string} value
- * @override
- */
-Base.prototype.set_text = function(value) {
- if (value != Base.base(this, 'get_text')) {
- Base.base(this, 'set_text', "B" + value);
- }
-};
-
-
-/**
- * @export
- */
-Base.prototype.getNumber = function() {
- alert(this.superClass_.doStuff.call(this));
- var /** @type {number} */ x = this.get_x();
-};
-
-
-/**
- * @export
- * @return {number}
- * @override
- */
-Base.prototype.doStuff = function() {
- throw new Error("No way!");
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-Base.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'Base', qName: 'Base'}] };
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/super/Super.as
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/super/Super.as b/compiler-jx/src/test/resources/vf2js/projects/super/Super.as
deleted file mode 100644
index 3a2bca2..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/super/Super.as
+++ /dev/null
@@ -1,54 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package
-{
-
-public class Super
-{
- public function Super() {};
-
- private var _text:String = '';
-
- public function get text():String
- {
- return _text;
- };
-
- public function set text(value:String):void
- {
- if (value != _text)
- {
- _text = value;
- }
- };
-
- private var _x:Number = 5;
-
- public function get x():Number
- {
- return _x;
- };
-
- public function doStuff():Number
- {
- return "Stuff is done";
- };
-
-}
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler-jx/src/test/resources/vf2js/projects/super/Super_result.js
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/resources/vf2js/projects/super/Super_result.js b/compiler-jx/src/test/resources/vf2js/projects/super/Super_result.js
deleted file mode 100644
index d8bfa78..0000000
--- a/compiler-jx/src/test/resources/vf2js/projects/super/Super_result.js
+++ /dev/null
@@ -1,89 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * Super
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('Super');
-
-
-
-/**
- * @constructor
- */
-Super = function() {};
-
-
-/**
- * @private
- * @type {string}
- */
-Super.prototype._text = '';
-
-
-/**
- * @export
- * @return {string}
- */
-Super.prototype.get_text = function() {
- return this._text;
-};
-
-
-/**
- * @export
- * @param {string} value
- */
-Super.prototype.set_text = function(value) {
- if (value != this._text) {
- this._text = value;
- }
-};
-
-
-/**
- * @private
- * @type {number}
- */
-Super.prototype._x = 5;
-
-
-/**
- * @export
- * @return {number}
- */
-Super.prototype.get_x = function() {
- return this._x;
-};
-
-
-/**
- * @export
- * @return {number}
- */
-Super.prototype.doStuff = function() {
- return "Stuff is done";
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-Super.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'Super', qName: 'Super'}] };
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler/src/main/java/org/apache/flex/compiler/clients/problems/ProblemContext.java
----------------------------------------------------------------------
diff --git a/compiler/src/main/java/org/apache/flex/compiler/clients/problems/ProblemContext.java b/compiler/src/main/java/org/apache/flex/compiler/clients/problems/ProblemContext.java
new file mode 100644
index 0000000..cd29cf4
--- /dev/null
+++ b/compiler/src/main/java/org/apache/flex/compiler/clients/problems/ProblemContext.java
@@ -0,0 +1,42 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package org.apache.flex.compiler.clients.problems;
+
+/**
+ * Helper class to simplify access to the ProblemQuery instance without
+ * having to pass down the object in the methods signatures.
+ */
+public class ProblemContext {
+
+ private static ThreadLocal<ProblemQuery> problemQueryThreadLocal = new ThreadLocal<ProblemQuery>();
+
+ public static void initContext() {
+ problemQueryThreadLocal.set(new ProblemQuery());
+ }
+
+ public static ProblemQuery getContext() {
+ return problemQueryThreadLocal.get();
+ }
+
+ public static void clearContext() {
+ problemQueryThreadLocal.remove();
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/compiler/src/main/java/org/apache/flex/compiler/config/Configuration.java
----------------------------------------------------------------------
diff --git a/compiler/src/main/java/org/apache/flex/compiler/config/Configuration.java b/compiler/src/main/java/org/apache/flex/compiler/config/Configuration.java
index ea1e879..a4e94de 100644
--- a/compiler/src/main/java/org/apache/flex/compiler/config/Configuration.java
+++ b/compiler/src/main/java/org/apache/flex/compiler/config/Configuration.java
@@ -3067,6 +3067,10 @@ public class Configuration
return verboseStacktraces;
}
+ public boolean release() {
+ return !verboseStacktraces;
+ }
+
@Config
@Mapping({ "compiler", "verbose-stacktraces" })
public void setCompilerVerboseStacktraces(ConfigurationValue cv, boolean verboseStacktraces)
@@ -5582,6 +5586,7 @@ public class Configuration
/**
* Get target file path. Target file is the last file in the {@link #getFileSpecs()}.
+ * FIXME: Calling this target file is a bit misleading as it's sort of the "main" source file
*/
public String getTargetFile()
{
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3724c2ff/flex-compiler-oem/src/main/java/flex2/tools/MxmlJSC.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/main/java/flex2/tools/MxmlJSC.java b/flex-compiler-oem/src/main/java/flex2/tools/MxmlJSC.java
index 6aa1e63..014e0be 100644
--- a/flex-compiler-oem/src/main/java/flex2/tools/MxmlJSC.java
+++ b/flex-compiler-oem/src/main/java/flex2/tools/MxmlJSC.java
@@ -30,7 +30,6 @@ import org.apache.flex.compiler.internal.driver.js.goog.GoogBackend;
import org.apache.flex.compiler.internal.driver.js.jsc.JSCBackend;
import org.apache.flex.compiler.internal.driver.js.node.NodeBackend;
import org.apache.flex.compiler.internal.driver.mxml.flexjs.MXMLFlexJSBackend;
-import org.apache.flex.compiler.internal.driver.mxml.vf2js.MXMLVF2JSBackend;
import org.apache.flex.compiler.problems.ICompilerProblem;
import java.lang.reflect.InvocationTargetException;
@@ -78,9 +77,6 @@ public class MxmlJSC implements ProblemQueryProvider {
case GOOG:
backend = new GoogBackend();
break;
- case VF2JS:
- backend = new MXMLVF2JSBackend();
- break;
case JSC:
backend = new JSCBackend();
break;