1Attean::API::ExpressionU(s3e)r Contributed Perl DocumentaAttitoenan::API::Expression(3)
2
3
4

NAME

6       Attean::API::Expression - SPARQL expressions
7

VERSION

9       This document describes Attean::API::Expression version 0.033
10

DESCRIPTION

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

ROLES

19       This role consumes the Attean::API::DirectedAcyclicGraph role which
20       provide the following methods:
21
22       "is_leaf"
23       "walk( prefix => \&pre_cb, postfix => \&pre_cb )"
24       "cover( prefix => \&pre_cb, postfix => \&pre_cb )"
25
26       and the following attributes:
27
28       "children"
29

ATTRIBUTES

31       The following attributes exist:
32
33       "operator"
34           A string indicating the expression operator (e.g. '+' or '||').
35

REQUIRED METHODS

37       The following methods are required by the Attean::API::Expression role:
38
39       "as_string"
40           Returns a string serialization of the expression object.
41

BUGS

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

SEE ALSO

AUTHOR

48       Gregory Todd Williams  "<gwilliams@cpan.org>"
49
51       Copyright (c) 2014--2022 Gregory Todd Williams.  This program is free
52       software; you can redistribute it and/or modify it under the same terms
53       as Perl itself.
54
55
56
57perl v5.36.0                      2022-10-03        Attean::API::Expression(3)
Impressum