| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/checks/ |
| H A D | _code.py | 26 def check_obj_idx_generic(linter: Linter, func: Cursor, parent: Cursor) -> None: 50 def checkPetscValidHeaderSpecificType(linter: Linter, func: Cursor, parent: Cursor) -> None: 71 def checkPetscValidHeaderSpecific(linter: Linter, func: Cursor, parent: Cursor) -> None: 91 def checkPetscValidHeader(linter: Linter, func: Cursor, parent: Cursor) -> None: 111 def checkPetscValidLogicalCollective(linter: Linter, func: Cursor, parent: Cursor, expected_types: … 138 def checkPetscValidLogicalCollectiveScalar(linter: Linter, func: Cursor, parent: Cursor) -> None: 157 def checkPetscValidLogicalCollectiveReal(linter: Linter, func: Cursor, parent: Cursor) -> None: 176 def checkPetscValidLogicalCollectiveInt(linter: Linter, func: Cursor, parent: Cursor) -> None: 194 def checkPetscValidLogicalCollectiveMPIInt(linter: Linter, func: Cursor, parent: Cursor) -> None: 212 def checkPetscValidLogicalCollectiveBool(linter: Linter, func: Cursor, parent: Cursor) -> None: [all …]
|
| H A D | _util.py | 38 def add_function_fix_to_bad_source(linter: Linter, obj: Cursor, func_cursor: Cursor, valid_func_nam… 68 …ct_PetscValidLogicalCollectiveXXX(linter: Linter, obj: Cursor, obj_type: clx.Type, func_cursor: Cu… 106 …_y(type_x: str, type_y: str, linter: Linter, obj: Cursor, obj_type: clx.Type, func_cursor: Optiona… 189 def check_is_not_type(typename: str, linter: Linter, obj: Cursor, func_cursor: Cursor, valid_func: … 214 def check_int_is_not_PetscBool(linter: Linter, obj: Cursor, *args, **kwargs) -> bool: 235 def check_MPIInt_is_not_PetscInt(linter: Linter, obj: Cursor, *args, **kwargs) -> bool: 256 def check_is_PetscBool(linter: Linter, obj: Cursor, obj_type: clx.Type, func_cursor: Optional[Curso… 284 def check_is_petsc_object(linter: Linter, obj: Cursor) -> bool: 346 def check_matching_classid(linter: Linter, obj: Cursor, obj_classid: Cursor) -> None: 374 def _do_check_traceable_to_parent_args(obj: Cursor, parent_arg_names: tuple[str, ...], trace: list[… [all …]
|
| H A D | _docs.py | 18 def _do_docstring_check(DocStringType: type[PetscDocStringImpl], linter: Linter, cursor: Cursor) ->… 53 def check_petsc_function_docstring(linter: Linter, cursor: Cursor) -> None: 79 def check_petsc_enum_docstring(linter: Linter, cursor: Cursor) -> None:
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/docs/ |
| H A D | _doc_section.py | 74 def __init__(self, cursor: Cursor) -> None: 136 …def _check_macro_synopsis(self, linter: Linter, cursor: Cursor, docstring: PetscDocStringImpl, exp… 271 def check(self, linter: Linter, cursor: Cursor, docstring: PetscDocStringImpl) -> None: 322 def __init__(self, cursor: Cursor) -> None: 376 def check(self, linter: Linter, cursor: Cursor, docstring: PetscDocStringImpl) -> None: 450 …def _check_fortran_interface(self, docstring: PetscDocStringImpl, fnargs: tuple[Cursor, ...]) -> N… 488 …def _check_no_args_documented(self, docstring: PetscDocStringImpl, arg_cursors: tuple[Cursor, ...]… 544 def __init__(self, num_groups: int, arg_cursors: Iterable[Cursor]) -> None: 666 …_param_is_in_symbol_list(self, docstring: PetscDocStringImpl, arg_cursors: Sequence[Cursor], not_f… 790 …lid_param_list_from_cursor(self, docstring: PetscDocStringImpl, arg_cursors: tuple[Cursor, ...]) -… [all …]
|
| H A D | _doc_str.py | 472 def __init__(self, linter: Linter, cursor: Cursor, indent: int = 2) -> None: 499 def _is_valid_docstring(cls, cursor: Cursor, raw: str, doc_extent: SourceRange) -> bool: 557 def _get_sanitized_comment_and_range_from_cursor(cls, cursor: Cursor) -> tuple[str, SourceRange]: 693 …cKind, diag_flag: str, msg: str, src_range: Optional[Union[SourceRange, Cursor]], patch: Optional[… argument 739 def add_diagnostic(self, diagnostic: Diagnostic, cursor: Optional[Cursor] = None) -> None:
|
| H A D | _doc_section_base.py | 603 def check(self, linter: Linter, cursor: Cursor, docstring: PetscDocStringImpl) -> None: 664 def __init__(self, cursor: Cursor) -> None: 727 …hes_synopsis_name(self: SynopsisImpl, docstring: PetscDocStringImpl, cursor: Cursor, loc: SourceRa… 780 …def _check_blurb_length(self: SynopsisImpl, docstring: PetscDocStringImpl, cursor: Cursor, blurb_i… 805 …def _syn_common_checks(self: SynopsisImpl, linter: Linter, cursor: Cursor, docstring: PetscDocStri… 1004 def check(self, linter: Linter, cursor: Cursor, docstring: PetscDocStringImpl) -> None: 1218 def check(self, linter: Linter, cursor: Cursor, docstring: PetscDocStringImpl) -> None:
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/ |
| H A D | _linter.py | 49 def add_diagnostic(self, cursor: Cursor, diagnostic: Diagnostic) -> None: 196 …def _check_duplicate_function_calls(self, processed_funcs: dict[str, list[tuple[Cursor, Scope]]]) … 266 …def walk_scope_switch(parent: clx.Cursor, scope: Scope) -> Generator[tuple[clx.Cursor, clx.Cursor,… 289 …def walk_scope(parent: clx.Cursor, scope: Optional[Scope] = None) -> Generator[tuple[clx.Cursor, c… 424 def _check_possible_static_function(self, func: Cursor) -> None: 700 def add_diagnostic_from_cursor(self, cursor: Cursor, diagnostic: Diagnostic) -> None:
|
| H A D | _cursor.py | 89 …def visitor(ctx: Any, raw_clx_cursor: clx.Cursor, src_range: clx.SourceRange) -> CXChildVisitResul… 117 class Cursor(AttributeCache): class
|