Home
last modified time | relevance | path

Searched refs:flag_token (Results 1 – 4 of 4) sorted by relevance

/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
Dstatetracker.py219 def __init__(self, flag_token, error_handler=None): argument
227 self.flag_token = flag_token
228 self.flag_type = flag_token.string.strip().lstrip('@')
236 brace = tokenutil.SearchUntil(flag_token, [Type.DOC_START_BRACE],
246 flag_token.next.type not in Type.FLAG_ENDING_TYPES and
247 flag_token.line_number == flag_token.next.line_number):
251 self.type_start_token = flag_token.next
256 self.jstype = typeannotation.Parse(flag_token, self.type_end_token,
264 self.name_token = _GetNextPartialIdentifierToken(flag_token)
281 search_start_token = flag_token
Daliaspass_test.py92 flag_token = _GetTokenByLineAndString(start_token, '@type', 22)
95 repr(flag_token.attached_object.jstype))
Decmalintrules.py638 jsdoc.GetFlag('override').flag_token)
644 jsdoc.GetFlag('inheritDoc').flag_token)
Djavascriptlintrules.py302 flag.flag_token, position=Position.AtBeginning())