Codegen: rename has_doc to has_qldoc

This commit is contained in:
Paolo Tranquilli
2023-11-22 10:19:36 +01:00
parent 418118fc89
commit f5633be837
3 changed files with 5 additions and 9 deletions

View File

@@ -141,10 +141,6 @@ class Class:
def last_base(self) -> str:
return self.bases[-1].base if self.bases else ""
@property
def has_doc(self) -> bool:
return bool(self.doc) or self.ql_internal
@dataclass
class SynthUnderlyingAccessor:
@@ -174,7 +170,7 @@ class Stub:
return bool(self.synth_accessors)
@property
def has_doc(self) -> bool:
def has_qldoc(self) -> bool:
return bool(self.doc) or self.ql_internal