Attean...ression(3pm)

🌸 NAME 🌸

Okay bestie, welcome to the Attean...ression(3pm) page β€” it’s all about Attean::API::Expression and SPARQL expressions. ✨

Attean::API::Expression β€” SPARQL expressions πŸ’–


πŸ’– VERSION πŸ’–

This document describes Attean::API::Expression version 0.035, and yes, that’s the version, no cap.


✨ DESCRIPTION ✨

The Attean::API::Expression role defines a common API for SPARQL expressions made of logical, numeric, and function operators, constant terms, and variables. It’s giving very β€œone role to understand them all” energy. 🫢

Expressions may be evaluated in the context of a Attean::API::Result object, and when that happens they either return a Attean::API::Term object or throw a type error exception. That’s the whole vibe check: term object or type-error exception, periodt.


πŸ¦‹ ROLES πŸ¦‹

This role consumes the Attean::API::DirectedAcyclicGraph role, which provide the following methods:

  • is_leaf
  • walk( prefix => \&pre_cb, postfix => \&pre_cb )
  • cover( prefix => \&pre_cb, postfix => \&pre_cb )

and the following attributes:

  • children

Lowkey iconic that a role can hand you methods and attributes like that. πŸ’…


πŸŽ€ ATTRIBUTES πŸŽ€

The following attributes exist:

  • operator β€” a string indicating the expression operator, like '+' or '||'. Yes bestie, the operator is literally just a string here, iykyk. ⭐

πŸ’… REQUIRED METHODS πŸ’…

The following methods are required by the Attean::API::Expression role:

  • as_string β€” returns a string serialization of the expression object. It’s the β€œput it into words” method, fr fr. 🌈

😭 BUGS 😭

Please report any bugs or feature requests through the GitHub web interface at <https://github.com/kasei/attean/issues>. Don’t suffer in silence, bestie β€” drop that issue. 🫢


🌈 SEE ALSO 🌈

This section is literally empty in the original β€” no extra references listed. Nothing to see here, and that’s the tea. 🍡


πŸ‘‘ AUTHOR πŸ‘‘

Gregory Todd Williams <gwilliams@cpan.org> πŸ‘‘


Copyright (c) 2014--2022 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


Later, bestie! This was the Attean...ression(3pm) manual page, source/version perl v5.40.0, dated 2025-01-26. Mwah πŸ’‹

πŸ“¦ where this page comes from