IScanner Class Reference

#include <scanner.h>

Inheritance diagram for IScanner:

Inheritance graph
[legend]
Collaboration diagram for IScanner:

Collaboration graph
[legend]

List of all members.


Detailed Description

pure virtual scanner interface

Definition at line 123 of file scanner.h.


Public Member Functions

virtual ~IScanner ()
virtual bool readNext (Token &token)=0
virtual bool hasError () const =0

Constructor & Destructor Documentation

virtual ~IScanner (  )  [inline, virtual]

Definition at line 125 of file scanner.h.


Member Function Documentation

virtual bool readNext ( Token token  )  [pure virtual]

read next token

Parameters:
token Where to store token to.
Returns:
Return true if token is read, false on EOF.

Implemented in FlexScanner, and KwScanner.

Referenced by main(), KwScanner::readNext(), run(), and yy::yylex().

Here is the caller graph for this function:

virtual bool hasError (  )  const [pure virtual, inherited]

Return true if any error was detected.

Implemented in Builder, FlexScanner, KwScanner, TestBuilder, and VmRunner.

Referenced by KwScanner::hasError(), main(), and run().

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
Generated on Sat Jul 4 18:33:16 2009 for vyp08 (compiler and interpreter of VYP08 language) by  doxygen 1.5.4