mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 02:30:50 +00:00
Added AS3 support for logical AND/OR compound operator
This commit is contained in:
@@ -30,7 +30,7 @@ import java.util.List;
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class AndItem extends BinaryOpItem {
|
||||
public class AndItem extends BinaryOpItem implements CompoundableBinaryOp {
|
||||
|
||||
@Override
|
||||
public List<GraphSourceItemPos> getNeededSources() {
|
||||
|
||||
@@ -30,7 +30,7 @@ import java.util.List;
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class OrItem extends BinaryOpItem {
|
||||
public class OrItem extends BinaryOpItem implements CompoundableBinaryOp {
|
||||
|
||||
public OrItem(GraphSourceItem src, GraphSourceItem lineStartIns, GraphTargetItem leftSide, GraphTargetItem rightSide) {
|
||||
super(src, lineStartIns, PRECEDENCE_LOGICALOR, leftSide, rightSide, "||", "Boolean", "Boolean");
|
||||
|
||||
Reference in New Issue
Block a user