qtil
advanced-security/qtil-swift 0.0.3
Search

Module OptionalLocation

A module which exposes a class that represents a location that may not exist.

To use this module, instantiate it with the type of location you want to use, and then import the Location class.

...
import cpp as cpp
...
class OptionalLocation = OptionalLocation<cpp::Location>::Location;

Note that if you use Option<Location>, then CodeQL will not know that the class is a location, as it does not have the hasLocationInfo predicate.

See the documentation for the Location class for more information.

Import path

import qtil.locations.OptionalLocation

Classes

Location

A class that represents a location that may not exist.

Parameters