Attean::API::Expression(3pm)

Attean::API::Expression3pm

Sparql expressions

Version

This document describes Attean::API::Expression version 0.035

Overview

The Attean::API::Expression role defines a common API for SPARQL expressions consisting of logical, numeric, and function operators, constant terms, and variables. Expressions may be evaluated in the context of a Attean::API::Result object, and either return a Attean::API::Term object or throw a type error exception.

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"

Attributes

The following attributes exist:

"operator"

A string indicating the expression operator (e.g. '+' or '||').

Required methods

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

"as_string"

Returns a string serialization of the expression object.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Bugs

Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/attean/issues>.

Author

Gregory Todd Williams "<[email protected]>"

From libattean-perl 0.035-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.