cql::token(3pm) debian man page | unix.com

Man Page: cql::token

Operating Environment: debian

Section: 3pm

CQL::Token(3pm) 					User Contributed Perl Documentation					   CQL::Token(3pm)

NAME
CQL::Token - class for token objects returned by CQL::Lexer
SYNOPSIS
my $token = $lexer->nextToken(); if ( $token->type() == CQL_WORD ) { print "the token is a word with value=", $token->string(), " "; }
DESCRIPTION
Ordinarily you won't really care about the tokens returned by the CQL::Lexer since the lexer is used behind the scenes by CQL::Parser.
METHODS
new() my $token = CQL::Token->new( '=' ); new() getType() Returns the token type which will be available as one of the constants that CQL::Token exports. See internals for a list of available constants. getString() Retruns the string equivalent of the token. Particularly useful when you only know it's a CQL_WORD. perl v5.12.4 2011-08-05 CQL::Token(3pm)
Related Man Pages
blt_treereleasetoken(3) - debian
ppi::token::magic5.18(3) - mojave
catalyst::controller::sru(3pm) - debian
ppix::regexp::token::unknown(3pm) - debian
webkdc::token(3pm) - debian
Similar Topics in the Unix Linux Community
Introduction
Detecting unused variables...
One instance of comparing grep and awk
Find columns in a file based on header and print to new file
How to copy a column of multiple files and paste into new excel file (next to column)?