mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 04:30:45 +00:00
AS3 parser stub: TODO list
This commit is contained in:
@@ -75,6 +75,7 @@ import com.jpexs.decompiler.flash.abc.types.Multiname;
|
||||
import com.jpexs.decompiler.flash.abc.types.Namespace;
|
||||
import com.jpexs.decompiler.flash.action.swf4.ActionIf;
|
||||
import com.jpexs.decompiler.flash.configuration.Configuration;
|
||||
import com.jpexs.decompiler.flash.gui.Main;
|
||||
import com.jpexs.decompiler.flash.tags.ABCContainerTag;
|
||||
import com.jpexs.decompiler.flash.tags.Tag;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
@@ -1799,6 +1800,7 @@ public class ActionScriptParser {
|
||||
if(args.length<2){
|
||||
return;
|
||||
}
|
||||
Main.initLogging(false);
|
||||
try {
|
||||
String src = args[0];
|
||||
String dst = args[1];
|
||||
|
||||
@@ -18,17 +18,6 @@ package com.jpexs.decompiler.flash.abc.avm2.parser.script;
|
||||
|
||||
import com.jpexs.decompiler.flash.SourceGeneratorLocalData;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.localregs.GetLocal0Ins;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.localregs.GetLocal1Ins;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.localregs.GetLocal2Ins;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.localregs.GetLocal3Ins;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.localregs.GetLocalIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.localregs.SetLocal0Ins;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.localregs.SetLocal1Ins;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.localregs.SetLocal2Ins;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.localregs.SetLocal3Ins;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.localregs.SetLocalIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.stack.DupIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.stack.PopIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.AVM2Item;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.CoerceAVM2Item;
|
||||
@@ -69,6 +58,12 @@ public class NameAVM2Item extends AVM2Item {
|
||||
this.regNumber = regNumber;
|
||||
}
|
||||
|
||||
public int getRegNumber() {
|
||||
return regNumber;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public String getNs() {
|
||||
return ns;
|
||||
}
|
||||
@@ -142,7 +137,7 @@ public class NameAVM2Item extends AVM2Item {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public List<GraphSourceItem> toSourceIgnoreReturnValue(SourceGeneratorLocalData localData, SourceGenerator generator) {
|
||||
if (regNumber == -1) {
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
TODO List for AS3 parser/compiler:
|
||||
------------------------------
|
||||
- exceptions (try/catch)
|
||||
- finally clause
|
||||
- E4X (XML)
|
||||
- for in/ for each
|
||||
- typenames (Vectors)
|
||||
- inner functions (activation, slots, etc.)
|
||||
- namespaces :: etc.
|
||||
- pre/post in/decrements
|
||||
- with
|
||||
- delete property
|
||||
- default xml namespace
|
||||
Reference in New Issue
Block a user