mirror of
https://github.com/github/codeql.git
synced 2025-12-18 18:10:39 +01:00
11 lines
298 B
Plaintext
11 lines
298 B
Plaintext
|
|
import python
|
|
import Expressions.Formatting.AdvancedFormatting
|
|
|
|
from AdvancedFormatString a, string name, int start, int end
|
|
where
|
|
name = "'" + a.getFieldName(start, end) + "'"
|
|
or
|
|
name = a.getFieldNumber(start, end).toString()
|
|
select a.getLocation().getStartLine(), a.getText(), start, end, name
|