Skip to content

Commit 56670c6

Browse files
committed
Revert Python changes and delete implementation
1 parent f5a3656 commit 56670c6

File tree

4 files changed

+0
-354
lines changed

4 files changed

+0
-354
lines changed

python/ql/lib/experimental/Quantum/Base.qll

Lines changed: 0 additions & 250 deletions
This file was deleted.

python/ql/lib/experimental/Quantum/Language.qll

Lines changed: 0 additions & 12 deletions
This file was deleted.

python/ql/lib/experimental/Quantum/PycaCryptography.qll

Lines changed: 0 additions & 55 deletions
This file was deleted.

python/ql/lib/semmle/python/Files.qll

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -368,40 +368,3 @@ class EncodingError extends SyntaxError {
368368

369369
override string toString() { result = "Encoding Error" }
370370
}
371-
372-
373-
374-
/**
375-
* A dummy location which is used when something doesn't have a location in
376-
* the source code but needs to have a `Location` associated with it. There
377-
* may be several distinct kinds of unknown locations. For example: one for
378-
* expressions, one for statements and one for other program elements.
379-
*/
380-
class UnknownLocation extends Location {
381-
UnknownLocation() { this.getFile().getAbsolutePath() = "" }
382-
}
383-
384-
/**
385-
* A dummy location which is used when something doesn't have a location in
386-
* the source code but needs to have a `Location` associated with it.
387-
*/
388-
class UnknownDefaultLocation extends UnknownLocation {
389-
UnknownDefaultLocation() { locations_default(this, _, 0, 0, 0, 0) }
390-
}
391-
392-
/**
393-
* A dummy location which is used when an expression doesn't have a
394-
* location in the source code but needs to have a `Location` associated
395-
* with it.
396-
*/
397-
class UnknownExprLocation extends UnknownLocation {
398-
UnknownExprLocation() { locations_default(this, _, 0, 0, 0, 0) }
399-
}
400-
401-
/**
402-
* A dummy location which is used when a statement doesn't have a location
403-
* in the source code but needs to have a `Location` associated with it.
404-
*/
405-
class UnknownStmtLocation extends UnknownLocation {
406-
UnknownStmtLocation() { locations_default(this, _, 0, 0, 0, 0) }
407-
}

0 commit comments

Comments
 (0)