mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-28 04:50:46 +00:00
author javadoc comments added, finished...
This commit is contained in:
@@ -103,6 +103,8 @@ import java.util.logging.Logger;
|
||||
|
||||
/**
|
||||
* Represents one ACTIONRECORD, also has some static method to work with Actions
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public abstract class Action implements GraphSourceItem {
|
||||
|
||||
|
||||
@@ -22,6 +22,10 @@ import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Stack;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class LocalDataArea {
|
||||
|
||||
public List<String> constantPool;
|
||||
|
||||
@@ -26,6 +26,10 @@ import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ActionFSCommand2 extends Action {
|
||||
|
||||
public ActionFSCommand2() {
|
||||
|
||||
@@ -29,6 +29,10 @@ import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ActionStrictMode extends Action {
|
||||
|
||||
public int mode;
|
||||
|
||||
@@ -30,6 +30,10 @@ import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public abstract class ActionItem extends GraphTargetItem implements Serializable {
|
||||
|
||||
public ActionItem() {
|
||||
|
||||
+5
-1
@@ -28,10 +28,14 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class AsciiToCharActionItem extends ActionItem {
|
||||
|
||||
public AsciiToCharActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem value) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -27,10 +27,14 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CallActionItem extends ActionItem {
|
||||
|
||||
public CallActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem value) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+4
@@ -31,6 +31,10 @@ import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CallFunctionActionItem extends ActionItem {
|
||||
|
||||
public final GraphTargetItem functionName;
|
||||
|
||||
+5
-1
@@ -30,6 +30,10 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CallMethodActionItem extends ActionItem {
|
||||
|
||||
public GraphTargetItem methodName;
|
||||
@@ -47,7 +51,7 @@ public class CallMethodActionItem extends ActionItem {
|
||||
}
|
||||
|
||||
public CallMethodActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem scriptObject, GraphTargetItem methodName, List<GraphTargetItem> arguments) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.methodName = methodName;
|
||||
this.arguments = arguments;
|
||||
this.scriptObject = scriptObject;
|
||||
|
||||
@@ -28,6 +28,10 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CastOpActionItem extends ActionItem {
|
||||
|
||||
public GraphTargetItem constructor;
|
||||
@@ -43,7 +47,7 @@ public class CastOpActionItem extends ActionItem {
|
||||
}
|
||||
|
||||
public CastOpActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem constructor, GraphTargetItem object) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.constructor = constructor;
|
||||
this.object = object;
|
||||
}
|
||||
|
||||
+5
-1
@@ -28,10 +28,14 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CharToAsciiActionItem extends ActionItem {
|
||||
|
||||
public CharToAsciiActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem value) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+5
-1
@@ -28,6 +28,10 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CloneSpriteActionItem extends ActionItem {
|
||||
|
||||
public GraphTargetItem source;
|
||||
@@ -46,7 +50,7 @@ public class CloneSpriteActionItem extends ActionItem {
|
||||
}
|
||||
|
||||
public CloneSpriteActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem source, GraphTargetItem target, GraphTargetItem depth) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.source = source;
|
||||
this.target = target;
|
||||
this.depth = depth;
|
||||
|
||||
@@ -1,23 +1,28 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3.0 of the License, or (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.␍ */
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.action.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ConstantPool {
|
||||
|
||||
public List<String> constants = new ArrayList<>();
|
||||
|
||||
+5
-1
@@ -29,6 +29,10 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DecrementActionItem extends ActionItem {
|
||||
|
||||
public GraphTargetItem object;
|
||||
@@ -41,7 +45,7 @@ public class DecrementActionItem extends ActionItem {
|
||||
}
|
||||
|
||||
public DecrementActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem object) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_ADDITIVE);
|
||||
super(instruction, lineStartIns, PRECEDENCE_ADDITIVE);
|
||||
this.object = object;
|
||||
}
|
||||
|
||||
|
||||
+4
-1
@@ -31,11 +31,14 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DefineLocalActionItem extends ActionItem implements SetTypeActionItem {
|
||||
|
||||
public GraphTargetItem name;
|
||||
|
||||
//public GraphTargetItem value;
|
||||
private int tempRegister = -1;
|
||||
|
||||
@Override
|
||||
|
||||
@@ -29,6 +29,10 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DeleteActionItem extends ActionItem {
|
||||
|
||||
public GraphTargetItem object;
|
||||
@@ -44,7 +48,7 @@ public class DeleteActionItem extends ActionItem {
|
||||
}
|
||||
|
||||
public DeleteActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem object, GraphTargetItem propertyName) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.object = object;
|
||||
this.propertyName = propertyName;
|
||||
}
|
||||
|
||||
+4
@@ -37,6 +37,10 @@ import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DirectValueActionItem extends ActionItem implements SimpleValue {
|
||||
|
||||
public Object value;
|
||||
|
||||
+8
-4
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3.0 of the License, or (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
@@ -24,6 +24,10 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class EnumerateActionItem extends ActionItem {
|
||||
|
||||
public GraphTargetItem object;
|
||||
@@ -36,7 +40,7 @@ public class EnumerateActionItem extends ActionItem {
|
||||
}
|
||||
|
||||
public EnumerateActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem object) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.object = object;
|
||||
}
|
||||
|
||||
|
||||
@@ -23,6 +23,10 @@ import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ExtendsActionItem extends ActionItem {
|
||||
|
||||
public GraphTargetItem subclass;
|
||||
@@ -30,7 +34,7 @@ public class ExtendsActionItem extends ActionItem {
|
||||
public GraphTargetItem superclass;
|
||||
|
||||
public ExtendsActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem subclass, GraphTargetItem superclass) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.subclass = subclass;
|
||||
this.superclass = superclass;
|
||||
}
|
||||
|
||||
+5
-1
@@ -29,6 +29,10 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class FSCommand2ActionItem extends ActionItem {
|
||||
|
||||
public String target;
|
||||
@@ -46,7 +50,7 @@ public class FSCommand2ActionItem extends ActionItem {
|
||||
}
|
||||
|
||||
public FSCommand2ActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem command, List<GraphTargetItem> arguments) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.command = command;
|
||||
this.arguments = arguments;
|
||||
}
|
||||
|
||||
@@ -43,6 +43,10 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class FunctionActionItem extends ActionItem {
|
||||
|
||||
public List<GraphTargetItem> actions;
|
||||
|
||||
+5
-1
@@ -30,6 +30,10 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GetMemberActionItem extends ActionItem {
|
||||
|
||||
public GraphTargetItem object;
|
||||
@@ -44,7 +48,7 @@ public class GetMemberActionItem extends ActionItem {
|
||||
}
|
||||
|
||||
public GetMemberActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem object, GraphTargetItem memberName) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.object = object;
|
||||
this.memberName = memberName;
|
||||
}
|
||||
|
||||
+5
-1
@@ -30,6 +30,10 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GetPropertyActionItem extends ActionItem {
|
||||
|
||||
public GraphTargetItem target;
|
||||
@@ -44,7 +48,7 @@ public class GetPropertyActionItem extends ActionItem {
|
||||
}
|
||||
|
||||
public GetPropertyActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem target, int propertyIndex) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.target = target;
|
||||
this.propertyIndex = propertyIndex;
|
||||
}
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3.0 of the License, or (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
@@ -28,6 +28,10 @@ import java.util.List;
|
||||
import java.util.Random;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GetTimeActionItem extends ActionItem {
|
||||
|
||||
public GetTimeActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns) {
|
||||
|
||||
@@ -28,6 +28,10 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GetURL2ActionItem extends ActionItem {
|
||||
|
||||
public GraphTargetItem urlString;
|
||||
@@ -64,7 +68,7 @@ public class GetURL2ActionItem extends ActionItem {
|
||||
}
|
||||
|
||||
public GetURL2ActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem urlString, GraphTargetItem targetString, int method) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.urlString = urlString;
|
||||
this.targetString = targetString;
|
||||
this.sendVarsMethod = method;
|
||||
|
||||
@@ -26,6 +26,10 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import com.jpexs.helpers.Helper;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GetURLActionItem extends ActionItem {
|
||||
|
||||
public String urlString;
|
||||
@@ -44,7 +48,7 @@ public class GetURLActionItem extends ActionItem {
|
||||
}
|
||||
|
||||
public GetURLActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, String urlString, String targetString) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.urlString = urlString;
|
||||
this.targetString = targetString;
|
||||
}
|
||||
|
||||
+4
@@ -33,6 +33,10 @@ import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GetVariableActionItem extends ActionItem {
|
||||
|
||||
public final GraphTargetItem name;
|
||||
|
||||
+5
-1
@@ -30,6 +30,10 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GotoFrame2ActionItem extends ActionItem {
|
||||
|
||||
public GraphTargetItem frame;
|
||||
@@ -48,7 +52,7 @@ public class GotoFrame2ActionItem extends ActionItem {
|
||||
}
|
||||
|
||||
public GotoFrame2ActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem frame, boolean sceneBiasFlag, boolean playFlag, int sceneBias) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.frame = frame;
|
||||
this.sceneBiasFlag = sceneBiasFlag;
|
||||
this.playFlag = playFlag;
|
||||
|
||||
+5
-1
@@ -25,12 +25,16 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GotoFrameActionItem extends ActionItem {
|
||||
|
||||
public int frame;
|
||||
|
||||
public GotoFrameActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, int frame) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.frame = frame;
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -26,12 +26,16 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import com.jpexs.helpers.Helper;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GotoLabelActionItem extends ActionItem {
|
||||
|
||||
public String label;
|
||||
|
||||
public GotoLabelActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, String label) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.label = label;
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -23,6 +23,10 @@ import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ImplementsOpActionItem extends ActionItem {
|
||||
|
||||
public GraphTargetItem subclass;
|
||||
@@ -30,7 +34,7 @@ public class ImplementsOpActionItem extends ActionItem {
|
||||
public List<GraphTargetItem> superclasses;
|
||||
|
||||
public ImplementsOpActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem subclass, List<GraphTargetItem> superclasses) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.subclass = subclass;
|
||||
this.superclasses = superclasses;
|
||||
}
|
||||
|
||||
+5
-1
@@ -29,6 +29,10 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IncrementActionItem extends ActionItem {
|
||||
|
||||
public GraphTargetItem object;
|
||||
@@ -41,7 +45,7 @@ public class IncrementActionItem extends ActionItem {
|
||||
}
|
||||
|
||||
public IncrementActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem object) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_ADDITIVE);
|
||||
super(instruction, lineStartIns, PRECEDENCE_ADDITIVE);
|
||||
this.object = object;
|
||||
}
|
||||
|
||||
|
||||
+10
-5
@@ -1,18 +1,19 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3.0 of the License, or (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.␍ */
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.action.model;
|
||||
|
||||
import com.jpexs.decompiler.flash.SourceGeneratorLocalData;
|
||||
@@ -27,6 +28,10 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class InitArrayActionItem extends ActionItem {
|
||||
|
||||
public List<GraphTargetItem> values;
|
||||
@@ -39,7 +44,7 @@ public class InitArrayActionItem extends ActionItem {
|
||||
}
|
||||
|
||||
public InitArrayActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, List<GraphTargetItem> values) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.values = values;
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -30,6 +30,10 @@ import com.jpexs.decompiler.graph.model.TernarOpItem;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class InitObjectActionItem extends ActionItem {
|
||||
|
||||
public List<GraphTargetItem> names;
|
||||
@@ -45,7 +49,7 @@ public class InitObjectActionItem extends ActionItem {
|
||||
}
|
||||
|
||||
public InitObjectActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, List<GraphTargetItem> names, List<GraphTargetItem> values) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.values = values;
|
||||
this.names = names;
|
||||
}
|
||||
|
||||
+5
-1
@@ -28,10 +28,14 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class MBAsciiToCharActionItem extends ActionItem {
|
||||
|
||||
public MBAsciiToCharActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem value) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+5
-1
@@ -27,10 +27,14 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class MBCharToAsciiActionItem extends ActionItem {
|
||||
|
||||
public MBCharToAsciiActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem value) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+4
-1
@@ -29,9 +29,12 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class MBStringExtractActionItem extends ActionItem {
|
||||
|
||||
//public GraphTargetItem value;
|
||||
public GraphTargetItem index;
|
||||
|
||||
public GraphTargetItem count;
|
||||
|
||||
+5
-2
@@ -28,11 +28,14 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class MBStringLengthActionItem extends ActionItem {
|
||||
|
||||
//public GraphTargetItem value;
|
||||
public MBStringLengthActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem value) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+5
-1
@@ -29,6 +29,10 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class NewMethodActionItem extends ActionItem {
|
||||
|
||||
public GraphTargetItem methodName;
|
||||
@@ -46,7 +50,7 @@ public class NewMethodActionItem extends ActionItem {
|
||||
}
|
||||
|
||||
public NewMethodActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem scriptObject, GraphTargetItem methodName, List<GraphTargetItem> arguments) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.methodName = methodName;
|
||||
this.arguments = arguments;
|
||||
this.scriptObject = scriptObject;
|
||||
|
||||
+5
-1
@@ -28,6 +28,10 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class NewObjectActionItem extends ActionItem {
|
||||
|
||||
public GraphTargetItem objectName;
|
||||
@@ -43,7 +47,7 @@ public class NewObjectActionItem extends ActionItem {
|
||||
}
|
||||
|
||||
public NewObjectActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem objectName, List<GraphTargetItem> arguments) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.objectName = objectName;
|
||||
this.arguments = arguments;
|
||||
}
|
||||
|
||||
+7
-3
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3.0 of the License, or (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
@@ -25,6 +25,10 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class NextFrameActionItem extends ActionItem {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3.0 of the License, or (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
@@ -25,6 +25,10 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class PlayActionItem extends ActionItem {
|
||||
|
||||
@Override
|
||||
|
||||
+4
@@ -36,6 +36,10 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class PostDecrementActionItem extends ActionItem implements SetTypeActionItem {
|
||||
|
||||
public GraphTargetItem object;
|
||||
|
||||
+4
@@ -36,6 +36,10 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class PostIncrementActionItem extends ActionItem implements SetTypeActionItem {
|
||||
|
||||
public GraphTargetItem object;
|
||||
|
||||
+7
-3
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3.0 of the License, or (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
@@ -25,6 +25,10 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class PrevFrameActionItem extends ActionItem {
|
||||
|
||||
@Override
|
||||
|
||||
+5
-1
@@ -27,10 +27,14 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class RandomNumberActionItem extends ActionItem {
|
||||
|
||||
public RandomNumberActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem maximum) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, maximum);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, maximum);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+5
-1
@@ -27,10 +27,14 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class RemoveSpriteActionItem extends ActionItem {
|
||||
|
||||
public RemoveSpriteActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem target) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, target);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, target);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -39,11 +39,14 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ReturnActionItem extends ActionItem implements ExitItem {
|
||||
|
||||
//public GraphTargetItem value;
|
||||
public ReturnActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem value) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+4
-1
@@ -34,13 +34,16 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class SetMemberActionItem extends ActionItem implements SetTypeActionItem {
|
||||
|
||||
public GraphTargetItem object;
|
||||
|
||||
public GraphTargetItem objectName;
|
||||
|
||||
//public GraphTargetItem value;
|
||||
private int tempRegister = -1;
|
||||
|
||||
@Override
|
||||
|
||||
+4
-1
@@ -33,12 +33,15 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class SetPropertyActionItem extends ActionItem implements SetTypeActionItem {
|
||||
|
||||
public GraphTargetItem target;
|
||||
|
||||
public int propertyIndex;
|
||||
//public GraphTargetItem value;
|
||||
|
||||
@Override
|
||||
public GraphPart getFirstPart() {
|
||||
|
||||
+10
-5
@@ -1,18 +1,19 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3.0 of the License, or (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.␍ */
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.action.model;
|
||||
|
||||
import com.jpexs.decompiler.flash.SourceGeneratorLocalData;
|
||||
@@ -25,12 +26,16 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class SetTarget2ActionItem extends ActionItem {
|
||||
|
||||
public GraphTargetItem target;
|
||||
|
||||
public SetTarget2ActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem target) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.target = target;
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -25,12 +25,16 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import com.jpexs.helpers.Helper;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class SetTargetActionItem extends ActionItem {
|
||||
|
||||
public String target;
|
||||
|
||||
public SetTargetActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, String target) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.target = target;
|
||||
}
|
||||
|
||||
|
||||
+4
-1
@@ -35,11 +35,14 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class SetVariableActionItem extends ActionItem implements SetTypeActionItem {
|
||||
|
||||
public GraphTargetItem name;
|
||||
|
||||
//public GraphTargetItem value;
|
||||
private int tempRegister = -1;
|
||||
|
||||
@Override
|
||||
|
||||
+5
-1
@@ -27,6 +27,10 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class StartDragActionItem extends ActionItem {
|
||||
|
||||
public GraphTargetItem target;
|
||||
@@ -44,7 +48,7 @@ public class StartDragActionItem extends ActionItem {
|
||||
public GraphTargetItem x1;
|
||||
|
||||
public StartDragActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem target, GraphTargetItem lockCenter, GraphTargetItem constrain, GraphTargetItem x1, GraphTargetItem y1, GraphTargetItem x2, GraphTargetItem y2) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.target = target;
|
||||
this.lockCenter = lockCenter;
|
||||
this.constrain = constrain;
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3.0 of the License, or (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
@@ -25,6 +25,10 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class StopActionItem extends ActionItem {
|
||||
|
||||
@Override
|
||||
|
||||
+7
-3
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3.0 of the License, or (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
@@ -25,6 +25,10 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class StopAllSoundsActionItem extends ActionItem {
|
||||
|
||||
@Override
|
||||
|
||||
+7
-3
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3.0 of the License, or (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
@@ -25,6 +25,10 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class StopDragActionItem extends ActionItem {
|
||||
|
||||
@Override
|
||||
|
||||
+4
-1
@@ -32,11 +32,14 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class StoreRegisterActionItem extends ActionItem implements SetTypeActionItem {
|
||||
|
||||
public RegisterNumber register;
|
||||
|
||||
//public GraphTargetItem value;
|
||||
public boolean define = false;
|
||||
|
||||
public boolean temporary = false;
|
||||
|
||||
+5
-1
@@ -20,12 +20,16 @@ import com.jpexs.decompiler.flash.helpers.GraphTextWriter;
|
||||
import com.jpexs.decompiler.graph.GraphSourceItem;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class StrictModeActionItem extends ActionItem {
|
||||
|
||||
public int mode;
|
||||
|
||||
public StrictModeActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, int mode) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.mode = mode;
|
||||
}
|
||||
|
||||
|
||||
+4
-1
@@ -28,9 +28,12 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class StringExtractActionItem extends ActionItem {
|
||||
|
||||
//public GraphTargetItem value;
|
||||
public GraphTargetItem index;
|
||||
|
||||
public GraphTargetItem count;
|
||||
|
||||
+5
-2
@@ -28,11 +28,14 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class StringLengthActionItem extends ActionItem {
|
||||
|
||||
//public GraphTargetItem value;
|
||||
public StringLengthActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem value) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+5
-1
@@ -27,10 +27,14 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class TargetPathActionItem extends ActionItem {
|
||||
|
||||
public TargetPathActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem object) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, object);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, object);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -27,10 +27,14 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ThrowActionItem extends ActionItem {
|
||||
|
||||
public ThrowActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem object) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, object);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, object);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+5
-1
@@ -28,10 +28,14 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ToIntegerActionItem extends ActionItem {
|
||||
|
||||
public ToIntegerActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem value) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+5
-1
@@ -27,10 +27,14 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ToNumberActionItem extends ActionItem {
|
||||
|
||||
public ToNumberActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem value) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+5
-1
@@ -28,10 +28,14 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ToStringActionItem extends ActionItem {
|
||||
|
||||
public ToStringActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem value) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+7
-3
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3.0 of the License, or (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
@@ -25,6 +25,10 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ToggleHighQualityActionItem extends ActionItem {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -27,6 +27,10 @@ import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class TraceActionItem extends ActionItem {
|
||||
|
||||
public TraceActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem value) {
|
||||
|
||||
@@ -30,10 +30,14 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class TypeOfActionItem extends ActionItem {
|
||||
|
||||
public TypeOfActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem value) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+5
-1
@@ -21,12 +21,16 @@ import com.jpexs.decompiler.flash.helpers.GraphTextWriter;
|
||||
import com.jpexs.decompiler.graph.GraphSourceItem;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class UnsupportedActionItem extends ActionItem {
|
||||
|
||||
public String value;
|
||||
|
||||
public UnsupportedActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, String value) {
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
super(instruction, lineStartIns, PRECEDENCE_PRIMARY);
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
+4
@@ -39,6 +39,10 @@ import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ClassActionItem extends ActionItem implements Block {
|
||||
|
||||
public List<GraphTargetItem> functions;
|
||||
|
||||
+4
@@ -44,6 +44,10 @@ import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ForInActionItem extends LoopActionItem implements Block {
|
||||
|
||||
public GraphTargetItem variableName;
|
||||
|
||||
+7
-3
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3.0 of the License, or (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
@@ -20,6 +20,10 @@ import com.jpexs.decompiler.flash.action.model.ActionItem;
|
||||
import com.jpexs.decompiler.graph.GraphSourceItem;
|
||||
import com.jpexs.decompiler.graph.Loop;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public abstract class LoopActionItem extends ActionItem {
|
||||
|
||||
public Loop loop;
|
||||
|
||||
+4
@@ -32,6 +32,10 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class TellTargetActionItem extends ActionItem {
|
||||
|
||||
public List<GraphTargetItem> commands;
|
||||
|
||||
+4
@@ -35,6 +35,10 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class TryActionItem extends ActionItem implements Block {
|
||||
|
||||
public List<GraphTargetItem> tryCommands;
|
||||
|
||||
+4
@@ -30,6 +30,10 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class WithActionItem extends ActionItem {
|
||||
|
||||
public GraphTargetItem scope;
|
||||
|
||||
+4
@@ -31,6 +31,10 @@ import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class AddActionItem extends BinaryOpItem {
|
||||
|
||||
boolean version2;
|
||||
|
||||
+4
@@ -27,6 +27,10 @@ import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import com.jpexs.decompiler.graph.model.UnboundedTypeItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class AndActionItem extends BinaryOpItem {
|
||||
|
||||
public AndActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem leftSide, GraphTargetItem rightSide) {
|
||||
|
||||
+4
@@ -27,6 +27,10 @@ import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import com.jpexs.decompiler.graph.model.UnboundedTypeItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class BitAndActionItem extends BinaryOpItem {
|
||||
|
||||
public BitAndActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem leftSide, GraphTargetItem rightSide) {
|
||||
|
||||
+4
@@ -27,6 +27,10 @@ import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import com.jpexs.decompiler.graph.model.UnboundedTypeItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class BitOrActionItem extends BinaryOpItem {
|
||||
|
||||
public BitOrActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem leftSide, GraphTargetItem rightSide) {
|
||||
|
||||
+4
@@ -30,6 +30,10 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import com.jpexs.decompiler.graph.model.UnboundedTypeItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class BitXorActionItem extends BinaryOpItem {
|
||||
|
||||
public BitXorActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem leftSide, GraphTargetItem rightSide) {
|
||||
|
||||
+4
@@ -26,6 +26,10 @@ import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import com.jpexs.decompiler.graph.model.UnboundedTypeItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DivideActionItem extends BinaryOpItem {
|
||||
|
||||
public DivideActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem leftSide, GraphTargetItem rightSide) {
|
||||
|
||||
+4
@@ -30,6 +30,10 @@ import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import com.jpexs.decompiler.graph.model.LogicalOpItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class EqActionItem extends BinaryOpItem implements LogicalOpItem, EqualsTypeItem {
|
||||
|
||||
boolean version2;
|
||||
|
||||
+4
@@ -33,6 +33,10 @@ import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import com.jpexs.decompiler.graph.model.LogicalOpItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GeActionItem extends BinaryOpItem implements LogicalOpItem, Inverted {
|
||||
|
||||
boolean version2;
|
||||
|
||||
+4
@@ -32,6 +32,10 @@ import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import com.jpexs.decompiler.graph.model.LogicalOpItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GtActionItem extends BinaryOpItem implements LogicalOpItem {
|
||||
|
||||
public GtActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem leftSide, GraphTargetItem rightSide) {
|
||||
|
||||
+9
-4
@@ -1,18 +1,19 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3.0 of the License, or (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.␍ */
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.action.model.operations;
|
||||
|
||||
import com.jpexs.decompiler.flash.action.model.ActionItem;
|
||||
@@ -22,6 +23,10 @@ import com.jpexs.decompiler.graph.TypeItem;
|
||||
import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class InActionItem extends BinaryOpItem {
|
||||
|
||||
public InActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, ActionItem name, ActionItem object) {
|
||||
|
||||
+9
-4
@@ -1,18 +1,19 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3.0 of the License, or (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.␍ */
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.action.model.operations;
|
||||
|
||||
import com.jpexs.decompiler.flash.SourceGeneratorLocalData;
|
||||
@@ -26,6 +27,10 @@ import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class InstanceOfActionItem extends BinaryOpItem {
|
||||
|
||||
public InstanceOfActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem value, GraphTargetItem type) {
|
||||
|
||||
+4
@@ -27,6 +27,10 @@ import com.jpexs.decompiler.graph.TypeItem;
|
||||
import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class LShiftActionItem extends BinaryOpItem {
|
||||
|
||||
public LShiftActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem leftSide, GraphTargetItem rightSide) {
|
||||
|
||||
+4
@@ -33,6 +33,10 @@ import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import com.jpexs.decompiler.graph.model.LogicalOpItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class LeActionItem extends BinaryOpItem implements LogicalOpItem, Inverted {
|
||||
|
||||
public LeActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem leftSide, GraphTargetItem rightSide) {
|
||||
|
||||
+4
@@ -32,6 +32,10 @@ import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import com.jpexs.decompiler.graph.model.LogicalOpItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class LtActionItem extends BinaryOpItem implements LogicalOpItem {
|
||||
|
||||
boolean version2;
|
||||
|
||||
+4
@@ -26,6 +26,10 @@ import com.jpexs.decompiler.graph.TypeItem;
|
||||
import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ModuloActionItem extends BinaryOpItem {
|
||||
|
||||
public ModuloActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem leftSide, GraphTargetItem rightSide) {
|
||||
|
||||
+4
@@ -26,6 +26,10 @@ import com.jpexs.decompiler.graph.TypeItem;
|
||||
import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class MultiplyActionItem extends BinaryOpItem {
|
||||
|
||||
public MultiplyActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem leftSide, GraphTargetItem rightSide) {
|
||||
|
||||
+4
@@ -30,6 +30,10 @@ import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import com.jpexs.decompiler.graph.model.LogicalOpItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class NeqActionItem extends BinaryOpItem implements LogicalOpItem, Inverted {
|
||||
|
||||
boolean version2;
|
||||
|
||||
+4
@@ -27,6 +27,10 @@ import com.jpexs.decompiler.graph.TypeItem;
|
||||
import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class OrActionItem extends BinaryOpItem {
|
||||
|
||||
public OrActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem leftSide, GraphTargetItem rightSide) {
|
||||
|
||||
+4
@@ -38,6 +38,10 @@ import com.jpexs.decompiler.graph.model.UnaryOpItem;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class PreDecrementActionItem extends UnaryOpItem {
|
||||
|
||||
public PreDecrementActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem object) {
|
||||
|
||||
+4
@@ -38,6 +38,10 @@ import com.jpexs.decompiler.graph.model.UnaryOpItem;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class PreIncrementActionItem extends UnaryOpItem {
|
||||
|
||||
public PreIncrementActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem object) {
|
||||
|
||||
+4
@@ -27,6 +27,10 @@ import com.jpexs.decompiler.graph.TypeItem;
|
||||
import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class RShiftActionItem extends BinaryOpItem {
|
||||
|
||||
public RShiftActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem leftSide, GraphTargetItem rightSide) {
|
||||
|
||||
+4
@@ -29,6 +29,10 @@ import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import com.jpexs.decompiler.graph.model.LogicalOpItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class StrictEqActionItem extends BinaryOpItem implements LogicalOpItem, Inverted, EqualsTypeItem {
|
||||
|
||||
public StrictEqActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem leftSide, GraphTargetItem rightSide) {
|
||||
|
||||
+4
@@ -29,6 +29,10 @@ import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import com.jpexs.decompiler.graph.model.LogicalOpItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class StrictNeqActionItem extends BinaryOpItem implements LogicalOpItem, Inverted {
|
||||
|
||||
public StrictNeqActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem leftSide, GraphTargetItem rightSide) {
|
||||
|
||||
+4
@@ -28,6 +28,10 @@ import com.jpexs.decompiler.graph.model.BinaryOpItem;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class StringAddActionItem extends BinaryOpItem {
|
||||
|
||||
public StringAddActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem leftSide, GraphTargetItem rightSide) {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user