mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-01 05:14:49 +00:00
AS3 p-code more RAbcDasm like
- get/setlocal_x renamed to get/setlocalx - QName casing changed from Qname Better increment/decrement detection, chained assignments.
This commit is contained in:
29
libsrc/ffdec_lib/testdata/custom/src/Main.as
vendored
Normal file
29
libsrc/ffdec_lib/testdata/custom/src/Main.as
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
package
|
||||
{
|
||||
import flash.display.Sprite;
|
||||
import flash.events.Event;
|
||||
import tests.*;
|
||||
|
||||
/**
|
||||
* ...
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class Main extends Sprite
|
||||
{
|
||||
TestDupAssignment;
|
||||
|
||||
public function Main()
|
||||
{
|
||||
if (stage) init();
|
||||
else addEventListener(Event.ADDED_TO_STAGE, init);
|
||||
}
|
||||
|
||||
private function init(e:Event = null):void
|
||||
{
|
||||
removeEventListener(Event.ADDED_TO_STAGE, init);
|
||||
// entry point
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
13
libsrc/ffdec_lib/testdata/custom/src/tests/TestDupAssignment.as
vendored
Normal file
13
libsrc/ffdec_lib/testdata/custom/src/tests/TestDupAssignment.as
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
package tests
|
||||
{
|
||||
public class TestDupAssignment
|
||||
{
|
||||
|
||||
public function run() : void
|
||||
{
|
||||
//TODO: replace this using RABCDasm
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user