Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

TestScanner Class Reference

This class implements a test/demo scanner. More...

#include <test-scanner.h>

Inheritance diagram for TestScanner:

Inheritance graph
[legend]
Collaboration diagram for TestScanner:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TestScanner ()
 ~TestScanner ()

Private Member Functions

void reset ()
 Scanner reset [overriding virtual].

TokenEntryAllocTokenEntry ()
 Important: Override token entry allocation routine.

 TestScanner (const TestScanner &)
 Do not use.

void operator= (const TestScanner &)
 Do not use.


Private Attributes

int nested_comment_warned
 Warned that this comment is nested?

int newlines_in_ccomment
 Number of newlines in the C-style comment:.

int allow_nested_comments
 (Config:) 0 -> no; 1 -> yes; 2 -> yes and warn


Friends

int TEST_lex (void *)

Detailed Description

This class implements a test/demo scanner.

Author:
Wolfgang Wieser ] wwieser (a) gmx <*> de [
Note the use of the TEST_ prefix for the base class from scannerbase.h.

Definition at line 47 of file test-scanner.h.


Constructor & Destructor Documentation

TestScanner::TestScanner const TestScanner  )  [private]
 

Do not use.

TestScanner::TestScanner  ) 
 

TestScanner::~TestScanner  ) 
 


Member Function Documentation

TokenEntry* TestScanner::AllocTokenEntry  )  [inline, private]
 

Important: Override token entry allocation routine.

Definition at line 78 of file test-scanner.h.

void TestScanner::operator= const TestScanner  )  [private]
 

Do not use.

void TestScanner::reset  )  [private]
 

Scanner reset [overriding virtual].


Friends And Related Function Documentation

int TEST_lex void *   )  [friend]
 


Member Data Documentation

int TestScanner::allow_nested_comments [private]
 

(Config:) 0 -> no; 1 -> yes; 2 -> yes and warn

Definition at line 73 of file test-scanner.h.

int TestScanner::nested_comment_warned [private]
 

Warned that this comment is nested?

Definition at line 68 of file test-scanner.h.

int TestScanner::newlines_in_ccomment [private]
 

Number of newlines in the C-style comment:.

Definition at line 70 of file test-scanner.h.


The documentation for this class was generated from the following file:
Generated on Sat Feb 19 22:35:42 2005 for Ray by doxygen 1.3.5