mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
14 lines
428 B
Plaintext
14 lines
428 B
Plaintext
import csharp
|
|
|
|
query predicate linespan_directives(
|
|
SpanLineDirective directive, int startLine, int startColumn, int endLine, int endColumn, File file
|
|
) {
|
|
file = directive.getReferencedFile() and
|
|
directive.span(startLine, startColumn, endLine, endColumn)
|
|
}
|
|
|
|
query predicate linespan_offset(SpanLineDirective directive, int offset, File file) {
|
|
file = directive.getReferencedFile() and
|
|
offset = directive.getOffset()
|
|
}
|