Main Page | Class List | Directories | File List | Class Members | File Members

cpp_token.h File Reference

CKPM C pre-processor token definitions. More...


Classes

struct  _token
 This structure describes a scanner token. More...

Functions

_tokenToken_Create (char *file_name)
 initialise a variable of struct _token
void Token_Destroy (struct _token *t)
 destroy a variable of struct _token
_tokenToken_Clone (struct _token *t)
 duplicate a token
int Token_Equals (struct _token *t1, struct _token *t2)
 compare two tokens


Detailed Description

CKPM C pre-processor token definitions.


Function Documentation

struct _token* Token_Clone struct _token t  ) 
 

duplicate a token

Parameters:
t the pointer to a struct _token variable
Returns:
the pointer to the clone

struct _token* Token_Create char *  file_name  ) 
 

initialise a variable of struct _token

Parameters:
file_name the current scanned file name
Returns:
the pointer to a struct _token variable

void Token_Destroy struct _token t  ) 
 

destroy a variable of struct _token

Parameters:
t the pointer to a struct _token variable

int Token_Equals struct _token t1,
struct _token t2
 

compare two tokens

Parameters:
t1 the pointer to the first token
t2 the pointer to the first token
Returns:
1 on equal, otherwise 0


Generated on Thu Jul 13 03:56:37 2006 for CKPMcc by  doxygen 1.4.4