'Scan the given pure javascript content'

def scan_puretext(self, content, updateAllScopeNames=True):

    JavaScriptLexer(self.mgr).tokenize_by_style(content, self.token_next)
    self._endOfScanReached()
    if updateAllScopeNames:
        self.cile.updateAllScopeNames()
