Unicorn XML Toolkit
Version 1.00.00

Namespace Xpath
Class CExprScanner

class CExprScanner {
public:
    CExprScanner();
    ~CExprScanner();
public:
    void Create(const CString &strSrc);
    void GetToken(CExprToken &token);
    };

The XPath expression scanner (lexical analyzer).

This class may be used by applications which implement languages based on the XPath expression language (for example, the XSLT pattern language).

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CExprToken
Constructor/Destructor Summary
CExprScanner ();
����������Constructs the exression scanner.
~CExprScanner ();
����������Destroys the expression scanner.

Function Summary
void Create (const CString &strSrc);
����������Creates the expression scanner, specifies the string containing the expression to scan.
void GetToken (CExprToken &token);
����������Returns the next token.

Constructor/Destructor Detail

CExprScanner

CExprScanner();

Constructs the exression scanner.

~CExprScanner

~CExprScanner();

Destroys the expression scanner.

Function Detail

Create

void Create(const CString &strSrc);

Creates the expression scanner, specifies the string containing the expression to scan.

Parameters:
strSrc - the string containing the expression to scan

GetToken

void GetToken(CExprToken &token);

Returns the next token.

Parameters:
token - on return, the next token

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

Copyright 1999-2001 Unicorn Enterprises SA.
All Rights Reserved.