mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-08-02 15:01:14 +00:00
format java code
This commit is contained in:
@@ -735,5 +735,4 @@ public class AVM2Graph extends Graph {
|
||||
protected List<GraphTargetItem> filter(List<GraphTargetItem> list) {
|
||||
return avm2code.clearTemporaryRegisters(list);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@ import com.jpexs.decompiler.flash.SourceGeneratorLocalData;
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instructions;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.GetLexIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.parser.script.AVM2SourceGenerator;
|
||||
import com.jpexs.decompiler.flash.abc.types.Namespace;
|
||||
import com.jpexs.decompiler.flash.configuration.Configuration;
|
||||
@@ -25,6 +24,7 @@ import java.util.List;
|
||||
public class RegExpAvm2Item extends AVM2Item {
|
||||
|
||||
public String pattern;
|
||||
|
||||
public String modifier;
|
||||
|
||||
public RegExpAvm2Item(String pattern, String modifier, GraphSourceItem instruction, GraphSourceItem lineStartIns) {
|
||||
@@ -101,5 +101,4 @@ public class RegExpAvm2Item extends AVM2Item {
|
||||
ins(AVM2Instructions.Construct, hasModifier ? 2 : 1)
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,22 +1,23 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2016 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.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.model;
|
||||
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -45,6 +45,7 @@ public class CallAVM2Item extends AVM2Item {
|
||||
public List<GraphTargetItem> arguments;
|
||||
|
||||
public int line;
|
||||
|
||||
public List<NamespaceItem> openedNamespaces;
|
||||
|
||||
public CallAVM2Item(List<NamespaceItem> openedNamespaces, int line, GraphTargetItem name, List<GraphTargetItem> arguments) {
|
||||
|
||||
@@ -34,7 +34,9 @@ import java.util.Objects;
|
||||
public class NamespaceItem {
|
||||
|
||||
public DottedChain name;
|
||||
|
||||
public int kind;
|
||||
|
||||
private int nsIndex = -1;
|
||||
|
||||
public void forceResolve(AbcIndexing abcIndex) {
|
||||
@@ -148,5 +150,4 @@ public class NamespaceItem {
|
||||
|
||||
return abcIndex.getSelectedAbc().constants.getNamespaceSetId(nssa, true);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user