&& firstChild.getLastChild().getType() == Token.THISFN) {
node = node.getNext();
}
}
while (node != null) {
IStatement statement = Utils.createStatement(node, fnNode, fnScope);
statements.add(statement);
node = statement.getNext();
}
int size = statements.size() - 1;
if (statements.size() >= 0) {
IStatement statement = statements.get(size);
if (statement instanceof ControlStatement
&& ((ControlStatement) statement).getType() == Token.RETURN) {
statements.remove(size);
}
}