libSystem Reference Manual: Token

## Token Token |

## Functions

void | token_delete ()
String const * | token_get_filename ()
int | token_set_filename ()
unsigned int | token_get_col ()
void | token_set_col ()
unsigned int | token_get_line ()
void | token_set_line ()
TokenCode | token_get_code ()
void | token_set_code ()
String const * | token_get_string ()
int | token_set_string ()
void * | token_get_data ()
void | token_set_data ()
int | token_in_set ()

## Types and Values

typedef | TokenCode
#define | TC_NULL
typedef | TokenSet
| Token

## Description

## Functions

### token_delete ()

    void
    token_delete (Token *token);

### token_get_filename ()

    String const *
    token_get_filename (Token *token);

#### Returns

### token_set_filename ()

    int
    token_set_filename (Token *token,
                        String const *filename);

#### Returns

### token_get_col ()

    unsigned int
    token_get_col (Token *token);

#### Returns

### token_set_col ()

    void
    token_set_col (Token *token,
                   unsigned int col);

### token_get_line ()

    unsigned int
    token_get_line (Token *token);

#### Returns

### token_set_line ()

    void
    token_set_line (Token *token,
                    unsigned int line);

### token_get_code ()

    TokenCode
    token_get_code (Token *token);

#### Returns

### token_set_code ()

    void
    token_set_code (Token *token,
                    int code);

### token_get_string ()

    String const *
    token_get_string (Token *token);

#### Returns

### token_set_string ()

    int
    token_set_string (Token *token,
                      String const *string);

#### Returns

### token_get_data ()

    void *
    token_get_data (Token *token);

#### Returns

### token_set_data ()

    void
    token_set_data (Token *token,
                    void *data);

### token_in_set ()

    int
    token_in_set (Token *token,
                  TokenSet set);

#### Returns

## Types and Values

### TokenCode

    typedef unsigned int TokenCode;

### TC_NULL

    # define TC_NULL 0

### TokenSet

    typedef TokenCode * TokenSet;

### Token

    typedef struct _Token Token;