Implement query search function #15
Labels
No labels
area/cli
area/core
area/database
area/indexing
area/query
type/epic
type/feature
type/foundation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
JayKobe6k/ClariTree#15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Search function declarations/definitions by identity, scope, signature, and parameter constraints.
Filters
Support the applicable common identity/scope filters from value search, including
--identifier,--translation-unit,--name, and enclosing function/struct where C permits them, plus:--min-params <n>: inclusive minimum parameter count.--max-params <n>: inclusive maximum parameter count.--parameter-type <regex>: every supplied regex must match at least one parameter's canonical type.--parameter-name <regex>: every supplied regex must match at least one parameter name.--param-list-regex <regex>: matches the canonical parameter-list text inside the parentheses only.All filter families combine with AND. Different parameter regexes may match different parameters; document whether one parameter may satisfy more than one regex. Define behavior for unnamed parameters,
void, variadics, old-style declarations, function pointers, and declaration/definition duplicates.Acceptance criteria
--param-list-regexexcludes surrounding parentheses and uses one documented canonical spacing/type representation.Dependencies
Depends on searchable function/type facts from #7 and shared search behavior from #13.