GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CQL::TOKEN (3)

.ds Aq ’

NAME

CQL::Token - class for token objects returned by CQL::Lexer

CONTENTS

SYNOPSIS



    my $token = $lexer->nextToken();
   
    if ( $token->type() == CQL_WORD ) {
        print "the token is a word with value=", $token->string(), "\n";
    }



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.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CQL::TOKEN (3) 2012-11-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.