NoirAIContext::PatternDefinition
Declarative detection rule shared by every catalog in Patterns.
A rule pairs a kind label (the AIContextEntry kind it raises) with
two regex sets: name_patterns match against a callee / parameter
name, source_patterns match against a source snippet. When either
set hits, the matcher emits an entry of kind at confidence.
Constructors
Instance methods
confidence
Sourcedescription
Sourcekind
Sourcename_patterns
Sourcesource_patterns
Source