holdsOn method
Whether parts has what requires names.
Implementation
bool holdsOn(LineParts parts) {
final missing = requires.where((k) => !parts.parts.any((p) => p.kind == 'pair' && (parameters[p.key] ?? p.key) == k)).length;
return missing <= parts.parts.where((p) => p.kind == 'word' && p.raw.startsWith('@')).length;
}