function checkString(node){if(hasImpliedEvalParent(node)){// remove the entire substack, to avoid duplicate reports
var substack=impliedEvalAncestorsStack.pop();context.report({node:substack[0],message:"Implied eval. Consider passing a function instead of a string."});}}//--------------------------------------------------------------------------
Checks if our parent is marked as part of an implied eval argument. If
so, collapses the top of impliedEvalAncestorsStack and reports on the
original CallExpression.
@param {ASTNode} node The CallExpression to check.
@returns {boolean} True if the node matches, false if not.
@private