logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

AtteanX::SPARQL::Token - Token objects used for parsing and serializing SPARQL

Attributes

       "type"
           An integer indicating the token type, defined in AtteanX::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 an INT token).

Author

       Gregory Todd Williams  "<gwilliams@cpan.org>"

Bugs

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

Description

       The AtteanX::SPARQL::Token class represents tokens produced and used during parsing and serializing of
       SPARQL.

Methods

       "value"
           Returns the token value.

       "fast_constructor ( $type, $start_line, $start_col, $line, $col, \@args )"
           Returns a new token object.

       keyword( $kw )
           Returns a new AtteanX::SPARQL::Token object with the "KEYWORD" type and $kw value.

       integer( $value )
           Returns a new AtteanX::SPARQL::Token object with the "INTEGER" type and the given $value.

       "as_string"
           Returns a string description of the token including the token type and any associated values.

Name

       AtteanX::SPARQL::Token - Token objects used for parsing and serializing SPARQL

See Also

Synopsis

         use v5.14;
         use Attean;

Version

       This document describes AtteanX::SPARQL::Token version 0.035

See Also