use of org.batfish.representation.cisco.RouteMapMatchIpPrefixListLine in project batfish by batfish.
the class CiscoControlPlaneExtractor method exitMatch_ip_prefix_list_rm_stanza.
@Override
public void exitMatch_ip_prefix_list_rm_stanza(Match_ip_prefix_list_rm_stanzaContext ctx) {
int statementLine = ctx.getStart().getLine();
Set<String> names = new TreeSet<>();
for (VariableContext t : ctx.name_list) {
names.add(t.getText());
}
RouteMapMatchIpPrefixListLine line = new RouteMapMatchIpPrefixListLine(names, statementLine);
_currentRouteMapClause.addMatchLine(line);
}
Aggregations