enum Noir::LocatorKey::Lifecycle

Defined in:

models/locator_key.cr

Enum Members

DetectScoped = 0

Written by the detector pass for the analyzers to drain. Cleared at the top of detect_techs, before the first file is walked.

AnalyzeScoped = 1

Written and read within one analysis pass. Cleared at the top of analysis_endpoints.

Process = 2

Never cleared automatically; only CodeLocator#clear_all drops it. For slots a library caller owns the lifetime of.

Instance Method Summary

Instance Method Detail

def analyze_scoped? #

Returns true if this enum value equals AnalyzeScoped


[View source]
def detect_scoped? #

Returns true if this enum value equals DetectScoped


[View source]
def process? #

Returns true if this enum value equals Process


[View source]