

def __init__(self, parse_js_doc=True):
    'Create a tokenizer object.\n\n    Args:\n      parse_js_doc: Whether to do detailed parsing of javascript doc comments,\n          or simply treat them as normal comments.  Defaults to parsing JsDoc.\n    '
    matchers = self.BuildMatchers()
    if (not parse_js_doc):
        matchers = copy.deepcopy(matchers)
        matchers[JavaScriptModes.DOC_COMMENT_MODE] = matchers[JavaScriptModes.BLOCK_COMMENT_MODE]
    tokenizer.Tokenizer.__init__(self, JavaScriptModes.TEXT_MODE, matchers, self.JAVASCRIPT_DEFAULT_TYPES)

dataset/ETHPy150Open google/closure-linter/closure_linter/javascripttokenizer.py JavaScriptTokenizer.__init__/original