mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
Will need subsequent PRs fixing up test failures (due to deprecated methods moving around), but other than that everything should be straight-forward.
10 lines
286 B
Plaintext
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()
|