Skip to content

Commit 34f70af

Browse files
committed
JS: Format
1 parent 107b091 commit 34f70af

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

javascript/ql/src/Expressions/MissingSpaceInAppend.ql

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,11 @@
1414

1515
import javascript
1616

17-
Expr rightChild(Expr e) {
18-
result = e.(AddExpr).getRightOperand()
19-
}
17+
Expr rightChild(Expr e) { result = e.(AddExpr).getRightOperand() }
2018

21-
Expr leftChild(Expr e) {
22-
result = e.(AddExpr).getLeftOperand()
23-
}
19+
Expr leftChild(Expr e) { result = e.(AddExpr).getLeftOperand() }
2420

25-
predicate isInConcat(Expr e) {
26-
exists(AddExpr a | a.getAnOperand() = e)
27-
}
21+
predicate isInConcat(Expr e) { exists(AddExpr a | a.getAnOperand() = e) }
2822

2923
class ConcatenationLiteral extends Expr {
3024
ConcatenationLiteral() {

0 commit comments

Comments
 (0)