Query: cql::token
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CQL::Token(3pm) User Contributed Perl Documentation CQL::Token(3pm)NAMECQL::Token - class for token objects returned by CQL::LexerSYNOPSISmy $token = $lexer->nextToken(); if ( $token->type() == CQL_WORD ) { print "the token is a word with value=", $token->string(), " "; }DESCRIPTIONOrdinarily you won't really care about the tokens returned by the CQL::Lexer since the lexer is used behind the scenes by CQL::Parser.METHODSnew() 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 |
|---|
| ppi::token::magic5.18(3) - mojave |
| latexml::token(3pm) - debian |
| ppi::token::magic(3pm) - debian |
| ppi::token::symbol(3pm) - debian |
| webkdc::token(3pm) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| Adding the individual columns of a matrix. |
| Installing Dash Shell on OS X Lion |
| awk or sed - Convert 2 lines to 1 line |
| Introduction |
| Weird 'find' results |