Searched defs:EcmaContext (Results 1 - 2 of 2) sorted by relevance

/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
H A Decmametadatapass.py46 class EcmaContext(object): class in inherits:object
196 self._AddContext(EcmaContext.ROOT)
201 return EcmaContext(type, self._token, self._context)
248 self._PopContextType(EcmaContext.STATEMENT)
249 if self._context.type == EcmaContext.IMPLIED_BLOCK:
266 if self._context.type in EcmaContext.BLOCK_TYPES:
273 if not parent or parent.type != EcmaContext.SWITCH:
274 self._AddContext(EcmaContext.STATEMENT)
276 elif self._context.type == EcmaContext.ARRAY_LITERAL:
277 self._AddContext(EcmaContext
[all...]
/external/chromium_org/third_party/closure_linter/closure_linter/
H A Decmametadatapass.py46 class EcmaContext(object): class in inherits:object
156 child: A child EcmaContext. The child's parent will be set to this
163 self.children.sort(EcmaContext._CompareContexts)
169 if context.type is EcmaContext.ROOT:
243 self._AddContext(EcmaContext.ROOT)
248 return EcmaContext(context_type, self._token, self._context)
295 self._PopContextType(EcmaContext.STATEMENT)
296 if self._context.type == EcmaContext.IMPLIED_BLOCK:
313 if self._context.type in EcmaContext.BLOCK_TYPES:
320 if not parent or parent.type != EcmaContext
[all...]

Completed in 47 milliseconds