Searched refs:START_BLOCK (Results 1 - 6 of 6) sorted by relevance

/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
H A Djavascripttokenizer.py101 START_BLOCK = re.compile('{') variable in class:JavaScriptTokenizer
209 Matcher(START_BLOCK, Type.DOC_START_BRACE),
241 Matcher(START_BLOCK, Type.START_BLOCK),
H A Dindentation.py155 start_token = self._PopTo(Type.START_BLOCK)
182 self._Add(self._PopTo(Type.START_BLOCK))
236 elif token_type == Type.START_BLOCK or token.metadata.is_implied_block:
451 """Determines if the given START_BLOCK is part of a goog.scope statement.
454 token: A token of type START_BLOCK.
492 if (token_info.token.type == Type.START_BLOCK and
503 elif (token_info.token.type == Type.START_BLOCK and
528 if token_info.token.type not in (Type.START_BLOCK, Type.START_BRACKET):
H A Djavascripttokens.py38 START_BLOCK = '{' variable in class:JavaScriptTokenType
H A Decmametadatapass.py296 if next_code.type != TokenType.START_BLOCK:
318 if (next_code.type != TokenType.START_BLOCK and
339 elif token_type == TokenType.START_BLOCK:
457 next_code_is_block = next_code and next_code.type == TokenType.START_BLOCK
H A Decmalintrules.py276 elif (type == Type.START_BLOCK and
308 if (state.InInterfaceMethod() and last_code.type != Type.START_BLOCK):
637 next_code.type in (Type.START_BRACKET, Type.START_BLOCK) or
H A Dstatetracker.py712 """Determine the block type given a START_BLOCK token.
717 token: The current token. Can be assumed to be type START_BLOCK.
842 if type == Type.START_BLOCK:

Completed in 885 milliseconds