Files
codeql/python/ql/test/library-tests/locations/implicit_concatenation/parts.ql
Taus Brock-Nannestad f07a7bf8cf Python: Autoformat everything using qlformat.
Will need subsequent PRs fixing up test failures (due to deprecated
methods moving around), but other than that everything should be
straight-forward.
2020-07-07 15:43:52 +02:00

10 lines
286 B
Plaintext

import python
class ImplicitConcat extends StrConst {
ImplicitConcat() { exists(this.getAnImplicitlyConcatenatedPart()) }
}
from StrConst s, StringPart part, int n
where part = s.getImplicitlyConcatenatedPart(n)
select s.getLocation().getStartLine(), s.getText(), n, part.getText()