IParseResult _parseResult_1 = res.getParseResult();
ICompositeNode _rootNode_1 = _parseResult_1.getRootNode();
Iterable<ILeafNode> _leafNodes = _rootNode_1.getLeafNodes();
final List<ILeafNode> list = IterableExtensions.<ILeafNode>toList(_leafNodes);
final int index = list.indexOf(start);
IntegerRange _upTo = new IntegerRange(index, 0);
final Function1<Integer, Boolean> _function = new Function1<Integer, Boolean>() {
public Boolean apply(final Integer it) {
ILeafNode _get = list.get((it).intValue());
boolean _isHidden = _get.isHidden();
return Boolean.valueOf((!_isHidden));
}
};
final Integer first = IterableExtensions.<Integer>findFirst(_upTo, _function);
int _size = list.size();
int _minus = (_size - 1);
IntegerRange _upTo_1 = new IntegerRange(index, _minus);
final Function1<Integer, Boolean> _function_1 = new Function1<Integer, Boolean>() {
public Boolean apply(final Integer it) {
ILeafNode _get = list.get((it).intValue());
boolean _isHidden = _get.isHidden();
return Boolean.valueOf((!_isHidden));