use of org.batfish.datamodel.routing_policy.expr.SubRangeExpr in project batfish by batfish.
the class CiscoControlPlaneExtractor method toSubRangeExpr.
private SubRangeExpr toSubRangeExpr(Rp_subrangeContext ctx) {
IntExpr first = toCommonIntExpr(ctx.first);
IntExpr last = first;
if (ctx.last != null) {
last = toCommonIntExpr(ctx.first);
}
return new SubRangeExpr(first, last);
}
Aggregations