.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "RDF::Query::Parser 3pm" .TH RDF::Query::Parser 3pm 2024-04-12 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME RDF::Query::Parser \- Parser base class .SH VERSION .IX Header "VERSION" This document describes RDF::Query::Parser version 2.918. .SH METHODS .IX Header "METHODS" .ie n .IP """new_literal ( $literal, $language, $datatype )""" 4 .el .IP "\f(CWnew_literal ( $literal, $language, $datatype )\fR" 4 .IX Item "new_literal ( $literal, $language, $datatype )" Returns a new literal structure. .ie n .IP """new_variable ( $name )""" 4 .el .IP "\f(CWnew_variable ( $name )\fR" 4 .IX Item "new_variable ( $name )" Returns a new variable structure. .ie n .IP """new_blank ( $name )""" 4 .el .IP "\f(CWnew_blank ( $name )\fR" 4 .IX Item "new_blank ( $name )" Returns a new blank node structure. .ie n .IP """new_uri ( $uri )""" 4 .el .IP "\f(CWnew_uri ( $uri )\fR" 4 .IX Item "new_uri ( $uri )" Returns a new variable structure. .ie n .IP """new_triple ( $s, $p, $o )""" 4 .el .IP "\f(CWnew_triple ( $s, $p, $o )\fR" 4 .IX Item "new_triple ( $s, $p, $o )" Returns a new triple structure. .ie n .IP """new_unary_expression ( $operator, $operand )""" 4 .el .IP "\f(CWnew_unary_expression ( $operator, $operand )\fR" 4 .IX Item "new_unary_expression ( $operator, $operand )" Returns a new unary expression structure. .ie n .IP """new_binary_expression ( $operator, @operands )""" 4 .el .IP "\f(CWnew_binary_expression ( $operator, @operands )\fR" 4 .IX Item "new_binary_expression ( $operator, @operands )" Returns a new binary expression structure. .ie n .IP """new_function_expression ( $function, @operands )""" 4 .el .IP "\f(CWnew_function_expression ( $function, @operands )\fR" 4 .IX Item "new_function_expression ( $function, @operands )" Returns a new function expression structure. .ie n .IP """new_alias_expression ( $alias, $expression )""" 4 .el .IP "\f(CWnew_alias_expression ( $alias, $expression )\fR" 4 .IX Item "new_alias_expression ( $alias, $expression )" Returns a new alias expression structure. .ie n .IP """new_filter ( $filter_expr, $pattern )""" 4 .el .IP "\f(CWnew_filter ( $filter_expr, $pattern )\fR" 4 .IX Item "new_filter ( $filter_expr, $pattern )" Returns a new filter structure. .ie n .IP """fail ( $error )""" 4 .el .IP "\f(CWfail ( $error )\fR" 4 .IX Item "fail ( $error )" Sets the current error to \f(CW$error\fR. .Sp If the parser is in commit mode (by calling \f(CW\*(C`set_commit\*(C'\fR), throws a RDF::Query::Error::ParseError object. Otherwise returns \f(CW\*(C`undef\*(C'\fR. .ie n .IP """error ()""" 4 .el .IP "\f(CWerror ()\fR" 4 .IX Item "error ()" Returns the last error the parser experienced. .SH AUTHOR .IX Header "AUTHOR" .Vb 1 \& Gregory Williams .Ve