Searched refs:TranslationUnit (Results 1 – 3 of 3) sorted by relevance
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/ |
| H A D | _src_pos.py | 18 class ClangFileNameCache(weakref.WeakKeyDictionary[clx.TranslationUnit, clx.File]): 23 def getname(self, tu: clx.TranslationUnit) -> clx.File: argument 39 translation_unit: Optional[clx.TranslationUnit] 42 …def __init__(self, source_location: SourceLocationLike, tu: Optional[clx.TranslationUnit] = None) … argument 91 …def cast(cls, other: SourceLocationLike, tu: Optional[clx.TranslationUnit] = None) -> SourceLocati… argument 123 def get_filename_from_tu(cls, tu: clx.TranslationUnit) -> clx.File: argument 144 def from_position(cls, tu: clx.TranslationUnit, line: int, col: int) -> SourceLocation: argument 240 translation_unit: Optional[clx.TranslationUnit] 244 …def __init__(self, source_range: SourceRangeLike, tu: Optional[clx.TranslationUnit] = None) -> Non… argument 352 def cast(cls, other: SourceRangeLike, tu: Optional[clx.TranslationUnit] = None) -> SourceRange: argument [all …]
|
| H A D | _linter.py | 240 …def find_lintable_expressions(tu: clx.TranslationUnit, symbol_names: Container[str]) -> Generator[… argument 402 def parse_in_memory(self, src: str) -> clx.TranslationUnit: 420 return clx.TranslationUnit.from_source( 653 def process(self, tu: clx.TranslationUnit) -> None: argument
|
| H A D | _cursor.py | 674 def get_clang_file_from_cursor(cls, cursor: Union[CursorLike, clx.TranslationUnit]) -> clx.File: argument 701 if isinstance(cursor, clx.TranslationUnit): 706 def get_file_from_cursor(cls, cursor: Union[CursorLike, clx.TranslationUnit]) -> Path: argument
|