Parse:...s::Sig(3pm)

πŸ“¦
version 1.003019 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Parse::Method::Signatures::Sig(3pm) β€” the Method Signature girlie πŸ’–

okay so bestie, welcome to Parse::Method::Signatures::Sig ✨ this is the Method Signature module, and yes it's the one from Parse:...s::Sig(3pm) (the header truncates it, we don't talk about that πŸ™ˆ). It's a Perl thing, it lives in the User Contributed Perl Documentation, and it is lowkey iconic.


✨ NAME ✨

Parse::Method::Signatures::Sig β€” Method Signature. that's the whole vibe. short, sweet, slay πŸŽ€


🌸 DESCRIPTION 🌸

So basically? This class represents the parsed method signature. That's it. That's the job. It's the object that holds all the signature info once the parsing has already happened. main character energy, zero drama πŸ’…


πŸ¦‹ ATTRIBUTES πŸ¦‹

invocant

okay so there's an invocant attribute. the original docs don't say a single word about it β€” not one β€” and I'm not about to make stuff up for you, bestie 😭 it's just... there. sitting pretty. existing. iconic behaviour honestly ✨

named_params

A ParamCollection representing the name parameters of this signature. yes, a whole collection. named ones. we love a curated list 🫢

positional_params

A ParamCollection representing the positional parameters of this signature. same energy, different flavour. positional girlies rise 🌈


πŸ’… METHODS πŸ’…

has_named_params

A predicate returning true if this signature has named parameters. does she have them? this will tell you. no cap ⭐

has_positional_params

A predicate returning true if this signature has positional parameters. same deal, positional edition πŸŽ€

named_param

Returns the Param with the specified name. you ask for a name, you get the Param. periodt πŸ’–

to_string

Returns a string representation of this signature. it's giving "put me in a string and I'll look cute" ✨


πŸ‘‘ LICENSE πŸ‘‘

Licensed under the same terms as Perl itself.

that's the legal tea, bestie β€” same terms as Perl, no extra fine print, we stay unbothered 🧚


okay and that's the whole page!! πŸ’– this was Parse:...s::Sig(3pm) from perl v5.34.0, dated 2022-06-16, and honestly? she ate. go parse something, bestie, you got this πŸ¦‹βœ¨πŸ’…

πŸ“¦ where this page comes from