Commit a104d467 authored by Sebastian Nickels's avatar Sebastian Nickels
Browse files

Added casting methods to NetworkInstructionSymbol

parent b71c756e
Pipeline #180627 passed with stages
in 17 minutes and 26 seconds
......@@ -46,4 +46,12 @@ public abstract class NetworkInstructionSymbol extends ResolvableSymbol {
return false;
}
public StreamInstructionSymbol toStreamInstruction() {
return (StreamInstructionSymbol) this;
}
public UnrollInstructionSymbol toUnrollInstruction() {
return (UnrollInstructionSymbol) this;
}
}
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