DOKK / manpages / debian 12 / libattean-perl / AtteanX::Parser::Turtle::Lexer.3pm.en
AtteanX::Parser::Turtle::Lexer(3pm) User Contributed Perl Documentation AtteanX::Parser::Turtle::Lexer(3pm)

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

This document describes AtteanX::Parser::Turtle::Lexer version 0.033

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

"new_token ( $type, $start_line, $start_column, @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) 2014--2022 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2022-10-06 perl v5.34.0