public void visit(ActionHandler handler, int startIndex, int endIndex)
{
endIndex = (endIndex < 0) ? size-1 : endIndex;
for (int j=startIndex; j <= endIndex; j++)
{
Action a = actions[j];
if (a.code != sactionLabel && a.code != sactionLineRecord)
{
// don't call this for labels
if (offsets != null)
handler.setActionOffset(offsets[j], a);
else
handler.setActionOffset(j, a);
}
a.visit(handler);
}
}