1AtteanX::Parser::TurtleU:s:eTrokCeonn(t3r)ibuted Perl DoActutmeeanntXa:t:iPoanrser::Turtle::Token(3)
2
3
4

NAME

6       AtteanX::Parser::Turtle::Token - Token objects used for parsing of
7       Turtle
8

VERSION

10       This document describes AtteanX::Parser::Turtle::Token version 0.030
11

SYNOPSIS

13         use v5.14;
14         use Attean;
15         my $term = Attean::Blank->new('b1');
16         $term->ntriples_string; # _:b1
17

DESCRIPTION

19       The AtteanX::Parser::Turtle::Token class represents tokens produced and
20       used during parsing of Turtle.
21

ATTRIBUTES

23       "type"
24           An integer indicating the token type, defined in
25           AtteanX::Parser::Turtle::Constants
26
27       "start_line"
28           The line number in the source text that this token begins on.
29
30       "start_column"
31           The column number in the source text that this token begins on.
32
33       "line"
34           The line number in the source text that this token ends on.
35
36       "column"
37           The column number in the source text that this token ends on.
38
39       "args"
40           An array of values associated with the token (e.g. the integer
41           value of an INT token).
42

METHODS

44       "value"
45           Returns the token value.
46
47       "fast_constructor ( $type, $start_line, $start_col, $line, $col, \@args
48       )"
49           Returns a new token object.
50

BUGS

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

SEE ALSO

AUTHOR

57       Gregory Todd Williams  "<gwilliams@cpan.org>"
58
60       Copyright (c) 2014--2020 Gregory Todd Williams.  This program is free
61       software; you can redistribute it and/or modify it under the same terms
62       as Perl itself.
63
64
65
66perl v5.32.1                      2021-02-08 AtteanX::Parser::Turtle::Token(3)
Impressum