Issue #1063 AS3 direct edit - script initializer fix, generating method names

XML export/import fixes
Interfaces added to AS3 tests
This commit is contained in:
Jindra Petřík
2015-10-28 08:28:16 +01:00
parent 770e1b4352
commit 5f7564ecbc
9 changed files with 86 additions and 22 deletions

Binary file not shown.

View File

@@ -0,0 +1,9 @@
package classes {
public interface MyInterface {
function interfaceMethod(a:int):int;
}
}

View File

@@ -0,0 +1,9 @@
package classes {
public interface MyInterface2 extends MyInterface{
function interface2Method(a:int,b:int):int;
}
}

View File

@@ -5,7 +5,7 @@
import classes.myInternal;
import flash.errors.EOFError;
import flash.events.Event;
public class Test
public class Test implements MyInterface2
{
private var testPriv:int=5;
protected var testProt:int=9;
@@ -17,6 +17,14 @@
{
trace("hello");
}
public function interfaceMethod(a:int):int {
return a+1;
}
public function interface2Method(a:int,b:int):int {
return a + b;
}
public function testIncDec()
{