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

cc_token_list.c File Reference

CKPM C parser token list handling. More...

#include <stdlib.h>
#include <string.h>
#include "cpp_token.h"
#include "cc_token_list.h"

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 handling.


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