Package-level declarations

Types

Link copied to clipboard

If the user of the library registers one or multiple DFG-function summary files (via Builder.registerFunctionSummaries), this class is responsible for parsing the files, caching the result and adding the respective DFG summaries to the FunctionDeclaration.

Link copied to clipboard

This class contains different kinds of helper that infer certain Nodes that are not present in the source code but that we assure are present in the overall program (e.g., if because we only see parts of it).

Link copied to clipboard

Provides information about the implicit status of a node.

Link copied to clipboard

Provides information about the inference status of a node.

Functions

Link copied to clipboard
Link copied to clipboard

A small helper function that prefers IntegerType when comparing two NumericType types.

Link copied to clipboard

Returns a new Inference object starting from this node. This will check, whether inference is enabled at all (using InferenceConfiguration.enabled). Otherwise null, will be returned.

Link copied to clipboard
fun Pass<*>.tryNamespaceInference(name: Name, locationHint: Node?): NamespaceDeclaration?

Tries to infer a NamespaceDeclaration from a Name. This will return null, if inference was not possible, or if it was turned off in the InferenceConfiguration.