'Checks that a Mako expression using js_escaped_string is surrounded by
quotes.
Arguments:
mako_template: The contents of the Mako template.
expression: A Mako Expression.
results: A list of results into which violations will be added.'

def _check_js_string_expression_in_quotes(self, mako_template, expression, results):

    parse_string = self._find_string_wrapping_expression(mako_template, expression)
    if (parse_string is None):
        results.violations.append(ExpressionRuleViolation(Rules.mako_js_missing_quotes, expression))
