mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Codegen: rename has_doc to has_qldoc
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user