InferenceConfiguration

This class holds configuration options for the inference of certain constructs and auto-guessing when executing language frontends.

Types

Link copied to clipboard
class Builder(enabled: Boolean = true, inferNamespaces: Boolean = true, inferRecords: Boolean = true, inferFunctions: Boolean = true, inferVariables: Boolean = true, inferReturnTypes: Boolean = false, inferDfgForUnresolvedCalls: Boolean = true)
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Enables or disables the inference system as a whole.

Link copied to clipboard

Uses heuristics to add DFG edges for call expressions to unresolved functions (i.e., functions not implemented in the given source code).

Link copied to clipboard

Enables the inference of function declarations.

Link copied to clipboard

Enables the inference of namespace declarations.

Link copied to clipboard

Enables the inference of record declarations.

Link copied to clipboard

A very EXPERIMENTAL feature. If this is enabled, we will try to infer return types of functions based on the context of the call it originated out of. This is disabled by default.

Link copied to clipboard

Enables the inference of variables, such as global variables.

Functions

Link copied to clipboard
open override fun toString(): String