NodeList<Statement> statements = block.getStatements();
int statementCount = statements.size();
for (int i = 0; i < statementCount; i++) {
Statement statement = statements.get(i);
if (statement instanceof VariableDeclarationStatement) {
VariableDeclarationStatement vds = (VariableDeclarationStatement) statement;
NodeList<VariableDeclaration> variables = vds.getVariables().getVariables();
int variableCount = variables.size();
for (int j = 0; j < variableCount; j++) {
scope.hide(variables.get(j).getElement());
}
} else if (statement instanceof FunctionDeclarationStatement) {