mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Swift: Make Callable a sub type of AstNode
This commit is contained in:
@@ -242,7 +242,7 @@ class ParamDecl(VarDecl):
|
||||
has a property wrapper.
|
||||
""")
|
||||
|
||||
class Callable(Element):
|
||||
class Callable(AstNode):
|
||||
name: optional[string] | doc("name of this callable") | desc("The name includes argument "
|
||||
"labels of the callable, for example `myFunction(arg:)`.")
|
||||
self_param: optional[ParamDecl] | child
|
||||
|
||||
Reference in New Issue
Block a user