DOKK / manpages / debian 12 / librdf-trine-perl / RDF::Trine::Parser::Turtle::Lexer.3pm.en
RDF::Trine::Parser::Turtle::Lexer(3pm) User Contributed Perl Documentation RDF::Trine::Parser::Turtle::Lexer(3pm)

RDF::Trine::Parser::Turtle::Lexer - Tokenizer for parsing Turtle, TriG, and N-Triples

This document describes RDF::Trine::Parser::Turtle::Lexer version 1.019

 use RDF::Trine::Parser::Lexer;
 my $l = RDF::Trine::Parser::Lexer->new( file => $fh );
 while (my $t = $l->get_token) {
   ...
 }

"new_token ( $type, @values )"
Returns a new token with the given type and optional values, capturing the current line and column of the input data.
"get_token"
Returns the next token present in the input.

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

Gregory Todd Williams "<gwilliams@cpan.org>"

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

2022-12-12 perl v5.36.0