Commit ebbf454d authored by Sebastian Nickels's avatar Sebastian Nickels

Renamed VariableSymbol.Member.OUT to OUTPUT

parent 635831fa
Pipeline #170407 passed with stages
in 22 minutes and 7 seconds
......@@ -82,11 +82,11 @@ abstract public class PredefinedLayerDeclaration extends LayerDeclarationSymbol
VariableSymbol.Member member);
public boolean isValidMember(VariableSymbol.Member member) {
return member == VariableSymbol.Member.NONE || member == VariableSymbol.Member.OUT;
return member == VariableSymbol.Member.NONE || member == VariableSymbol.Member.OUTPUT;
}
public boolean canBeInput(VariableSymbol.Member member) {
return member == VariableSymbol.Member.OUT;
return member == VariableSymbol.Member.OUTPUT;
}
public boolean canBeOutput(VariableSymbol.Member member) {
......
......@@ -40,7 +40,7 @@ public class VariableSymbol extends ArchitectureElementSymbol {
public enum Member {
STATE,
OUT,
OUTPUT,
NONE,
UNKNOWN;
......@@ -49,7 +49,7 @@ public class VariableSymbol extends ArchitectureElementSymbol {
case "state":
return STATE;
case "output":
return OUT;
return OUTPUT;
case "":
return NONE;
default:
......@@ -155,7 +155,7 @@ public class VariableSymbol extends ArchitectureElementSymbol {
return getIoDeclaration().isInput();
}
else if (getType() == Type.LAYER) {
return getMember() == Member.STATE || getMember() == Member.OUT;
return getMember() == Member.STATE || getMember() == Member.OUTPUT;
}
return false;
......
......@@ -78,13 +78,13 @@ public class RNN extends PredefinedLayerDeclaration {
@Override
public boolean isValidMember(VariableSymbol.Member member) {
return member == VariableSymbol.Member.NONE ||
member == VariableSymbol.Member.OUT ||
member == VariableSymbol.Member.OUTPUT ||
member == VariableSymbol.Member.STATE;
}
@Override
public boolean canBeInput(VariableSymbol.Member member) {
return member == VariableSymbol.Member.OUT || member == VariableSymbol.Member.STATE;
return member == VariableSymbol.Member.OUTPUT || member == VariableSymbol.Member.STATE;
}
@Override
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment