Skip to main content

find_field

Function find_field 

Source
pub fn find_field(
    cst: &CabalCst,
    parent_node: NodeId,
    field_name: &str,
) -> Option<NodeId>
Expand description

Find a field node within a section (or the root) by field name.

The search is case-insensitive and treats hyphens and underscores as equivalent (matching .cabal conventions).