}
} else if (elementType == PunctuationToken.type) {
while (neItr.hasNext()) {
int holdBeginElement = 0;
boolean foundPair = false;
PunctuationToken nea = (PunctuationToken) neItr.next();
if (nea.getCoveredText().compareTo("(")==0 || nea.getCoveredText().compareTo("[")==0)
lastLocation[0] = nea.getBegin();
else if (nea.getCoveredText().compareTo(")")==0 || nea.getCoveredText().compareTo("]")==0) {
lastLocation[1] = nea.getEnd();
foundPair = true;
}
if (holdBeginElement < nea.getBegin() && nea.getBegin()>=begin && nea.getEnd() <= end && foundPair) {
location[counter][0]= lastLocation[0];
location[counter][1]= lastLocation[1];
counter++;
}
}