.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.42) .\" .\" 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 .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . 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 "AtteanX::Parser::Turtle::Token 3pm" .TH AtteanX::Parser::Turtle::Token 3pm "2022-10-06" "perl v5.34.0" "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" AtteanX::Parser::Turtle::Token \- Token objects used for parsing of Turtle .SH "VERSION" .IX Header "VERSION" This document describes AtteanX::Parser::Turtle::Token version 0.033 .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 4 \& use v5.14; \& use Attean; \& my $term = Attean::Blank\->new(\*(Aqb1\*(Aq); \& $term\->ntriples_string; # _:b1 .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" The AtteanX::Parser::Turtle::Token class represents tokens produced and used during parsing of Turtle. .SH "ATTRIBUTES" .IX Header "ATTRIBUTES" .ie n .IP """type""" 4 .el .IP "\f(CWtype\fR" 4 .IX Item "type" An integer indicating the token type, defined in AtteanX::Parser::Turtle::Constants .ie n .IP """start_line""" 4 .el .IP "\f(CWstart_line\fR" 4 .IX Item "start_line" The line number in the source text that this token begins on. .ie n .IP """start_column""" 4 .el .IP "\f(CWstart_column\fR" 4 .IX Item "start_column" The column number in the source text that this token begins on. .ie n .IP """line""" 4 .el .IP "\f(CWline\fR" 4 .IX Item "line" The line number in the source text that this token ends on. .ie n .IP """column""" 4 .el .IP "\f(CWcolumn\fR" 4 .IX Item "column" The column number in the source text that this token ends on. .ie n .IP """args""" 4 .el .IP "\f(CWargs\fR" 4 .IX Item "args" An array of values associated with the token (e.g. the integer value of an \s-1INT\s0 token). .SH "METHODS" .IX Header "METHODS" .ie n .IP """value""" 4 .el .IP "\f(CWvalue\fR" 4 .IX Item "value" Returns the token value. .ie n .IP """fast_constructor ( $type, $start_line, $start_col, $line, $col, \e@args )""" 4 .el .IP "\f(CWfast_constructor ( $type, $start_line, $start_col, $line, $col, \e@args )\fR" 4 .IX Item "fast_constructor ( $type, $start_line, $start_col, $line, $col, @args )" Returns a new token object. .ie n .IP """as_string""" 4 .el .IP "\f(CWas_string\fR" 4 .IX Item "as_string" Returns a string description of the token including the token type and any associated values. .SH "BUGS" .IX Header "BUGS" Please report any bugs or feature requests to through the GitHub web interface at . .SH "SEE ALSO" .IX Header "SEE ALSO" .SH "AUTHOR" .IX Header "AUTHOR" Gregory Todd Williams \f(CW\*(C`\*(C'\fR .SH "COPYRIGHT" .IX Header "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.