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

cc_token_list.h File Reference

CKPM C parser token list definitions. More...

#include "cpp_token.h"

Classes

struct  _token_list
 saves tokens for later use More...

Functions

_token_listToken_List_Append (struct _token_list *tl, struct _token *t)
 append one token to the token list
_token_listToken_List_Shift (struct _token_list *tl, struct _token *t)
 take the first token from a token list
void Token_List_Destroy (struct _token_list *tl)
 destroy a complete token list


Detailed Description

CKPM C parser token list definitions.


Function Documentation

struct _token_list* Token_List_Append struct _token_list tl,
struct _token t
 

append one token to the token list

Parameters:
tl the token list
t the token to be appended at the list
Returns:
the pointer to the new list

void Token_List_Destroy struct _token_list tl  ) 
 

destroy a complete token list

Parameters:
tl the token list
Returns:
the pointer

struct _token_list* Token_List_Shift struct _token_list tl,
struct _token t
 

take the first token from a token list

Parameters:
tl the token list
t a pointer to a struct _token to write the shifted token data
Returns:
the pointer


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