NAME
RDF::Query::Parser - Parser base class
METHODS
new_literal ( $literal, $language, $datatype )
-
Returns a new literal structure.
new_variable ( $name )
-
Returns a new variable structure.
new_blank ( $name )
-
Returns a new blank node structure.
new_uri ( $uri )
-
Returns a new variable structure.
new_qname ( $prefix, $localPart )
-
Returns a new QName URI structure.
new_union ( @patterns )
-
Returns a new UNION structure.
new_optional ( $patterns )
-
Returns a new OPTIONAL structure.
new_named_graph ( $graph, $triples )
-
Returns a new NAMED GRAPH structure.
new_triple ( $s, $p, $o )
-
Returns a new triple structure.
new_unary_expression ( $operator, $operand )
-
Returns a new unary expression structure.
new_binary_expression ( $operator, @operands )
-
Returns a new binary expression structure.
new_logical_expression ( $operator, @operands )
-
Returns a new logical expression structure.
new_function_expression ( $function, @operands )
-
Returns a new function expression structure.
fail ( $error )
-
Sets the current error to
$error
.If the parser is in commit mode (by calling
set_commit
), throws a RDF::Query::Error::ParseError object. Otherwise returnsundef
. error ()
-
Returns the last error the parser experienced.
set_error ( $error )
-
Sets the object's error variable.
clear_error ()
-
Clears the object's error variable.
set_commit ( [ $value ] )
-
Sets the object's commit state.
unset_commit ()
-
Clears the object's commit state.
get_commit ()
-
Returns the object's commit state.
AUTHOR
Gregory Williams <gwilliams@cpan.org>
5 POD Errors
The following errors were encountered while parsing the POD:
- Around line 263:
=end for without matching =begin. (Stack: =over)
- Around line 279:
=end for without matching =begin. (Stack: =over)
- Around line 294:
=end for without matching =begin. (Stack: =over)
- Around line 313:
=end for without matching =begin. (Stack: =over)
- Around line 328:
=end for without matching =begin. (Stack: =over)