mirror of
https://github.com/github/codeql.git
synced 2026-03-30 12:18:18 +02:00
22 lines
608 B
Plaintext
22 lines
608 B
Plaintext
/**
|
|
* An automodel extraction mode instantiates this interface to define how to access
|
|
* the callable that's associated with an endpoint.
|
|
*/
|
|
signature module GetCallableSig {
|
|
/**
|
|
* A callable is the definition of a method, function, etc. - something that can be called.
|
|
*/
|
|
class Callable;
|
|
|
|
/**
|
|
* An endpoint is a potential candidate for modeling. This will typically be bound to the language's
|
|
* DataFlow node class, or a subtype thereof.
|
|
*/
|
|
class Endpoint;
|
|
|
|
/**
|
|
* Gets the callable that's associated with the given endpoint.
|
|
*/
|
|
Callable getCallable(Endpoint endpoint);
|
|
}
|