mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
JS: autoformat ¯\_(ツ)_/¯
This commit is contained in:
@@ -29,9 +29,10 @@ class ExprOrType extends @exprortype, Documentable {
|
||||
not exists(getOwnDocumentation()) and
|
||||
if getParent() instanceof Property
|
||||
then result = getParent().(Property).getDocumentation()
|
||||
else if getParent() instanceof MethodDeclaration
|
||||
then result = getParent().(MethodDeclaration).getDocumentation()
|
||||
else result = getEnclosingStmt().getDocumentation()
|
||||
else
|
||||
if getParent() instanceof MethodDeclaration
|
||||
then result = getParent().(MethodDeclaration).getDocumentation()
|
||||
else result = getEnclosingStmt().getDocumentation()
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user