use of org.batfish.grammar.flatjuniper.FlatJuniperParser.Tcp_flags_alternativeContext in project batfish by batfish.
the class ConfigurationBuilder method toTcpFlags.
private static List<TcpFlags> toTcpFlags(Tcp_flagsContext ctx) {
List<TcpFlags> tcpFlagsList = new ArrayList<>();
for (Tcp_flags_alternativeContext alternativeCtx : ctx.alternatives) {
TcpFlags tcpFlags = toTcpFlags(alternativeCtx);
tcpFlagsList.add(tcpFlags);
}
return tcpFlagsList;
}
Aggregations