1
package RDF::Trine::Parser::Turtle::Token;
8
has type => ( is => 'ro', );
9
has start_line => ( is => 'ro', );
10
has start_column => ( is => 'ro', );
11
has line => ( is => 'ro', );
12
has column => ( is => 'ro', );
13
has args => ( is => 'ro', );
19
Returns the token value.
25
my $args = $self->args;
29
=item C<< fast_constructor ( $type, $line, $col, \@args ) >>
31
Returns a new token object.
35
# This constructor relies on the list of attributes not changing order!
36
sub fast_constructor {
41
__PACKAGE__->meta->make_immutable;