Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
Decmametadatapass.py78 OBJECT_LITERAL = 'object_literal' variable in EcmaContext
399 self._AddContext(EcmaContext.OBJECT_LITERAL)
403 EcmaContext.OBJECT_LITERAL)
415 self._context.type != EcmaContext.OBJECT_LITERAL):
427 if self._context.type == EcmaContext.OBJECT_LITERAL:
453 EcmaContext.OBJECT_LITERAL,
504 token.metadata.context.type != EcmaContext.OBJECT_LITERAL)
Djavascriptstatetracker.py121 return self.OBJECT_LITERAL
Dstatetracker.py752 OBJECT_LITERAL = 'o' variable in StateTracker
891 return self._block_depth and self._block_types[-1] == self.OBJECT_LITERAL
899 return self.OBJECT_LITERAL in self._block_types
Decmalintrules.py378 if (last_code.metadata.context.parent.type != Context.OBJECT_LITERAL
379 and last_code.metadata.context.type != Context.OBJECT_LITERAL):