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.033
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
51       "as_string"
52           Returns a string description of the token including the token type
53           and any associated values.
54

BUGS

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

SEE ALSO

AUTHOR

61       Gregory Todd Williams  "<gwilliams@cpan.org>"
62
64       Copyright (c) 2014--2022 Gregory Todd Williams.  This program is free
65       software; you can redistribute it and/or modify it under the same terms
66       as Perl itself.
67
68
69
70perl v5.36.0                      2023-01-19 AtteanX::Parser::Turtle::Token(3)
Impressum