udbLexerLexeme

Description

Returns the lexeme that occurs at the specified line and column in the lexer.

Syntax

#include “udb/udb.h” 
UdbLexeme udbLexerLexeme(UdbLexer lexer,  
                         int line, int col) 

Arguments

Argument
Description
UdbLexer lexer
Specify the lexer.
int line
Specify the line to look for a lexeme.
int col
Specify the column to look for a lexeme.

Return Values

Return Value
Description
UdbLexeme
The lexeme found at the specified location.

Example Usage

lexeme = udbLexerLexeme(lexer, line, col); 

See Also

udbLexemeNext

udbLexemePrevious

udbLexerFirst

udbLexerLexemes


Scientific Toolworks, Inc.
http://www.scitools.com