nix-community / rnix-parser

A Nix parser written in Rust [maintainer=@oberblastmeister]
MIT License
366 stars 44 forks source link

Add pattern.at function to get ident@{} pattern #15

Closed selaux closed 4 years ago

selaux commented 4 years ago

Rationale: This convenience function was missing for me when implementing some analysis on function scopes. This should make it easier to get all identifiers that are defined by a function call.