Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

IScanner C Wrapper


Functions

CLINK void IScannerSpec_addRegToken (CstringList states_, char *name_, void *regexp_, char *tokenAction_)
CLINK void IScannerSpec_addSkipToken (CstringList states_, char *name_, void *regexp_, char *tokenAction_)
CLINK void IScannerSpec_addMoreToken (CstringList states_, char *name_, void *regexp_, char *tokenAction_)
CLINK void IScannerSpec_addKeywordToken (CstringList states_, char *name_, void *regexp_, char *tokenAction_)
CLINK void IScannerSpec_addSpecialToken (char *name_)
CLINK void IScannerSpec_setPreambleCode (char *block_)
CLINK void IScannerSpec_addCodeBlock (char *block_)
CLINK void IScannerSpec_setInheritance (char *inheritance_)
CLINK void IScannerSpec_setClassName (char *className_)

Variables

IScannerSpeccw_scannerSpec

Detailed Description

These are the wrapper functions that get called from the C parser code. Each of these functions will call the corresponding method of the IScannerSpec instance pointed to by cw_scannerSpec.

Each parameter is transformed into its C++ correspondent. The Position argument required by the IScannerSpec interface is created as Position(yylineno, 0).


Function Documentation

CLINK void IScannerSpec_addRegToken ( CstringList states_,
char * name_,
void * regexp_,
char * tokenAction_ )
 

Definition at line 53 of file cw_iscanner_spec.cc.

Referenced by yyparse().

CLINK void IScannerSpec_addSkipToken ( CstringList states_,
char * name_,
void * regexp_,
char * tokenAction_ )
 

Definition at line 73 of file cw_iscanner_spec.cc.

Referenced by yyparse().

CLINK void IScannerSpec_addMoreToken ( CstringList states_,
char * name_,
void * regexp_,
char * tokenAction_ )
 

Definition at line 93 of file cw_iscanner_spec.cc.

Referenced by yyparse().

CLINK void IScannerSpec_addKeywordToken ( CstringList states_,
char * name_,
void * regexp_,
char * tokenAction_ )
 

Definition at line 113 of file cw_iscanner_spec.cc.

Referenced by yyparse().

CLINK void IScannerSpec_addSpecialToken ( char * name_ )
 

Definition at line 133 of file cw_iscanner_spec.cc.

Referenced by yyparse().

CLINK void IScannerSpec_setPreambleCode ( char * block_ )
 

Definition at line 145 of file cw_iscanner_spec.cc.

Referenced by yyparse().

CLINK void IScannerSpec_addCodeBlock ( char * block_ )
 

Definition at line 152 of file cw_iscanner_spec.cc.

Referenced by yyparse().

CLINK void IScannerSpec_setInheritance ( char * inheritance_ )
 

Definition at line 160 of file cw_iscanner_spec.cc.

Referenced by yyparse().

CLINK void IScannerSpec_setClassName ( char * className_ )
 

Definition at line 168 of file cw_iscanner_spec.cc.

Referenced by yyparse().


Variable Documentation

IScannerSpec* cw_scannerSpec
 

This will point to the IScannerSpec object whose methods should actually be called by the wrapper functions. It is initialized by the LexYaccParser before parsing starts.

Definition at line 65 of file cw_iscanner_spec.h.


Generated at Tue Jul 9 21:08:56 2002 for CppCC by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001