Javascript: Autoformat qlls

This commit is contained in:
Anders Schack-Mulligen
2019-02-12 14:41:31 +01:00
parent fc9c7ea55a
commit 15a6044445
52 changed files with 392 additions and 270 deletions

View File

@@ -3,10 +3,14 @@ import javascript
import HTTP
/** An import of the Osprey module. */
class OspreyImport extends Require { OspreyImport() { getImportedPath().getValue() = "osprey" } }
class OspreyImport extends Require {
OspreyImport() { getImportedPath().getValue() = "osprey" }
}
/** A variable that holds the Osprey module. */
class Osprey extends Variable { Osprey() { getAnAssignedExpr() instanceof OspreyImport } }
class Osprey extends Variable {
Osprey() { getAnAssignedExpr() instanceof OspreyImport }
}
/** A call to `osprey.create`. */
class OspreyCreateAPICall extends MethodCallExpr {