JS: autoformat ¯\_(ツ)_/¯

This commit is contained in:
Asger F
2019-02-05 16:52:06 +00:00
parent 8924aa3ee0
commit 46b996a936

View File

@@ -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()
)
}