'Searches for Underscore.js expressions that contain violations.
Arguments:
underscore_template: The contents of the Underscore.js template.
results: A list of results into which violations will be added.'

def _check_underscore_expressions(self, underscore_template, results):

    expressions = self._find_unescaped_expressions(underscore_template)
    for expression in expressions:
        if (not self._is_safe_unescaped_expression(expression)):
            results.violations.append(ExpressionRuleViolation(Rules.underscore_not_escaped, expression))
