Attean...:Token(3pm)
π NAME π
okay so this manual page is filed as Attean...:Token(3pm), and the main character is AtteanX::Parser::Turtle::Token β the token objects used for parsing of Turtle. periodt. π’β¨
β¨ VERSION β¨
This document describes AtteanX::Parser::Turtle::Token version 0.035. π
π SYNOPSIS π
use v5.14;
use Attean;
my $term = Attean::Blank->new('b1');
$term->ntriples_string; # _:b1
π¦ DESCRIPTION π¦
The token class AtteanX::Parser::Turtle::Token represents tokens produced and used during parsing of Turtle. Itβs giving parser-side little candy wrappers for tokens, no cap. π
πΈ ATTRIBUTES πΈ
typeβ an integer indicating the token type, defined inAtteanX::Parser::Turtle::Constants.start_lineβ the line number in the source text that this token begins on.start_columnβ the column number in the source text that this token begins on.lineβ the line number in the source text that this token ends on.columnβ the column number in the source text that this token ends on.argsβ an array of values associated with the token (e.g. the integer value of anINTtoken).
π METHODS π
valueβ returns the token value.fast_constructor ( $type, $start_line, $start_col, $line, $col, \@args )β returns a new token object.token_as_string()β returns a string version of the token (without escaping).is_string()β returns true if the token is one of the quoted string types (STRING1D,STRING3D,STRING1S, orSTRING3S), false otherwise.as_stringβ returns a string description of the token including the token type and any associated values.
π BUGS π
Please report any bugs or feature requests through the GitHub web interface at <https://github.com/kasei/attean/issues>. π«Ά
π SEE ALSO π
No SEE ALSO entries are listed here, bestie β not a single one. Iβm not inventing any either. π
π§ AUTHOR π§
Gregory Todd Williams "<gwilliams@cpan.org>" π
β COPYRIGHT β
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. π
made with π by perl v5.40.0 on 2025-01-26 β manual page Attean...:Token(3pm) out. slay. π¦
π¦ where this page comes from
- debian trixie: libattean-perl 0.035-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libattean-perl 0.035-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libattean-perl 0.035-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms