mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
Codegen: patch customized stubs with QLdoc
This commit is contained in:
@@ -167,11 +167,16 @@ class Stub:
|
||||
import_prefix: str
|
||||
synth_accessors: List[SynthUnderlyingAccessor] = field(default_factory=list)
|
||||
ql_internal: bool = False
|
||||
doc: List[str] = field(default_factory=list)
|
||||
|
||||
@property
|
||||
def has_synth_accessors(self) -> bool:
|
||||
return bool(self.synth_accessors)
|
||||
|
||||
@property
|
||||
def has_doc(self) -> bool:
|
||||
return bool(self.doc) or self.ql_internal
|
||||
|
||||
|
||||
@dataclass
|
||||
class DbClasses:
|
||||
|
||||
Reference in New Issue
Block a user