Home
last modified time | relevance | path

Searched refs:_TokenizeJS (Results 1 – 2 of 2) sorted by relevance

/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/
Dstrip_js_comments_unittest.py29 tokens = list(strip_js_comments._TokenizeJS(''))
33 tokens = list(strip_js_comments._TokenizeJS('\n'))
37 tokens = list(strip_js_comments._TokenizeJS('A // foo'))
41 tokens = list(strip_js_comments._TokenizeJS('A // foo\nbar'))
45 tokens = list(strip_js_comments._TokenizeJS('A /* foo */'))
49 tokens = list(strip_js_comments._TokenizeJS('A /* foo\n*bar\n*/'))
Dstrip_js_comments.py10 def _TokenizeJS(text): function
51 token_stream = _TokenizeJS(text).__iter__()