Lines Matching refs:nesting_state

2775                                   nesting_state, error):  argument
2861 classinfo = nesting_state.InnermostClass()
3026 def CheckForNamespaceIndentation(filename, nesting_state, clean_lines, line, argument
3029 len(nesting_state.stack) > 1 and
3030 nesting_state.stack[-1].check_namespace_indentation and
3031 isinstance(nesting_state.previous_stack_top, _NamespaceInfo) and
3032 nesting_state.previous_stack_top == nesting_state.stack[-2])
3034 if ShouldCheckNamespaceIndentation(nesting_state, is_namespace_indent_item,
3165 def CheckSpacing(filename, clean_lines, linenum, nesting_state, error): argument
3205 not nesting_state.InNamespaceBody() and
3206 not nesting_state.InExternC()):
3482 def _IsType(clean_lines, nesting_state, expr): argument
3509 block_index = len(nesting_state.stack) - 1
3511 if isinstance(nesting_state.stack[block_index], _NamespaceInfo):
3520 last_line = nesting_state.stack[block_index].starting_linenum
3524 next_block_start = nesting_state.stack[block_index - 1].starting_linenum
3545 def CheckBracesSpacing(filename, clean_lines, linenum, nesting_state, error): argument
3608 and not _IsType(clean_lines, nesting_state, leading_text)):
4295 def CheckStyle(filename, clean_lines, linenum, file_extension, nesting_state, argument
4337 classinfo = nesting_state.InnermostClass()
4401 CheckSpacing(filename, clean_lines, linenum, nesting_state, error)
4405 CheckBracesSpacing(filename, clean_lines, linenum, nesting_state, error)
4409 classinfo = nesting_state.InnermostClass()
4670 include_state, nesting_state, error): argument
4998 nesting_state, error): argument
5077 if (nesting_state.previous_stack_top and
5078 not (isinstance(nesting_state.previous_stack_top, _ClassInfo) or
5079 isinstance(nesting_state.previous_stack_top, _NamespaceInfo))):
5702 def IsBlockInNameSpace(nesting_state, is_forward_declaration): argument
5712 if len(nesting_state.stack) >= 1 and (
5713 isinstance(nesting_state.stack[-1], _NamespaceInfo)):
5718 return (len(nesting_state.stack) > 1 and
5719 nesting_state.stack[-1].check_namespace_indentation and
5720 isinstance(nesting_state.stack[-2], _NamespaceInfo))
5723 def ShouldCheckNamespaceIndentation(nesting_state, is_namespace_indent_item, argument
5750 return IsBlockInNameSpace(nesting_state, is_forward_declaration)
5765 include_state, function_state, nesting_state, error, argument
5787 nesting_state.Update(filename, clean_lines, line, error)
5788 CheckForNamespaceIndentation(filename, nesting_state, clean_lines, line,
5790 if nesting_state.InAsmBlock(): return
5793 CheckStyle(filename, clean_lines, line, file_extension, nesting_state, error)
5795 nesting_state, error)
5796 CheckForNonConstReference(filename, clean_lines, line, nesting_state, error)
5798 nesting_state, error)
5899 nesting_state = NestingState()
5913 include_state, function_state, nesting_state, error,
5916 nesting_state.CheckCompletedBlocks(filename, error)