Public Member Functions | Public Attributes | Private Member Functions | List of all members
check_include_guards.GuardValidator Class Reference
Inheritance diagram for check_include_guards.GuardValidator:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def check (self, fpath, fix)
 
def fail (self, fpath, regexp, fcontents, match_txt, correct, fix)
 

Public Attributes

 comments_then_includes_re
 
 define_re
 
 endif_c_core_re
 
 endif_re
 
 failed
 
 ifndef_re
 

Private Member Functions

def _is_c_core_header (self, fpath)
 

Detailed Description

Definition at line 41 of file check_include_guards.py.

Constructor & Destructor Documentation

◆ __init__()

def check_include_guards.GuardValidator.__init__ (   self)

Definition at line 43 of file check_include_guards.py.

Member Function Documentation

◆ _is_c_core_header()

def check_include_guards.GuardValidator._is_c_core_header (   self,
  fpath 
)
private

Definition at line 54 of file check_include_guards.py.

◆ check()

def check_include_guards.GuardValidator.check (   self,
  fpath,
  fix 
)

Definition at line 89 of file check_include_guards.py.

◆ fail()

def check_include_guards.GuardValidator.fail (   self,
  fpath,
  regexp,
  fcontents,
  match_txt,
  correct,
  fix 
)

Definition at line 58 of file check_include_guards.py.

Member Data Documentation

◆ comments_then_includes_re

check_include_guards.GuardValidator.comments_then_includes_re

Definition at line 49 of file check_include_guards.py.

◆ define_re

check_include_guards.GuardValidator.define_re

Definition at line 45 of file check_include_guards.py.

◆ endif_c_core_re

check_include_guards.GuardValidator.endif_c_core_re

Definition at line 46 of file check_include_guards.py.

◆ endif_re

check_include_guards.GuardValidator.endif_re

Definition at line 48 of file check_include_guards.py.

◆ failed

check_include_guards.GuardValidator.failed

Definition at line 52 of file check_include_guards.py.

◆ ifndef_re

check_include_guards.GuardValidator.ifndef_re

Definition at line 44 of file check_include_guards.py.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:01