Main Page | Data Structures | File List | Data Fields | Globals

ticvocab.c File Reference

#include <stdlib.h>
#include <string.h>
#include "ticvocab.h"
#include "errhandler.h"

Include dependency graph for ticvocab.c:

Go to the source code of this file.

Functions

void init_tic_vocab (tic_hdr_t *tic_vocab_tbl, int max_indx, tic_hdr_t **tic_vocab_ptr)
void add_tic_entry (char *tname, void(*tfunct)(), TIC_P_DEFLT_TYPE tparam, fwtoken fw_defr, int pfldsiz, void(*ign_fnc)(), tic_hdr_t **tic_vocab)
tic_hdr_tlookup_tic_entry (char *tname, tic_hdr_t *tic_vocab)
bool exists_in_tic_vocab (char *tname, tic_hdr_t *tic_vocab)
bool create_tic_alias (char *new_name, char *old_name, tic_hdr_t **tic_vocab)
bool handle_tic_vocab (char *tname, tic_hdr_t *tic_vocab)
void reset_tic_vocab (tic_hdr_t **tic_vocab, tic_hdr_t *reset_position)

Variables

tic_hdr_ttic_found


Function Documentation

void add_tic_entry char *  tname,
void(*)()  tfunct,
TIC_P_DEFLT_TYPE  tparam,
fwtoken  fw_defr,
int  pfldsiz,
void(*)()  ign_fnc,
tic_hdr_t **  tic_vocab
 

Definition at line 192 of file ticvocab.c.

References tic_param::deflt_elem, tic_hdr::funct, tic_hdr::fword_defr, tic_hdr::ign_func, tic_hdr::name, tic_hdr::next, tic_hdr::pfield, tic_hdr::pfld_size, and safe_malloc().

Referenced by add_local(), add_to_current(), add_user_macro(), create_constant(), create_current_alias(), and create_tic_alias().

Here is the call graph for this function:

bool create_tic_alias char *  new_name,
char *  old_name,
tic_hdr_t **  tic_vocab
 

Definition at line 320 of file ticvocab.c.

References add_tic_entry(), tic_param::deflt_elem, tic_hdr::funct, tic_hdr::fword_defr, tic_hdr::ign_func, lookup_tic_entry(), and tic_hdr::pfield.

Referenced by create_core_alias(), create_current_alias(), create_local_alias(), and create_tokz_esc_alias().

Here is the call graph for this function:

bool exists_in_tic_vocab char *  tname,
tic_hdr_t tic_vocab
 

Definition at line 268 of file ticvocab.c.

References lookup_tic_entry().

Referenced by exists_as_local(), exists_in_core(), and exists_in_tokz_esc().

Here is the call graph for this function:

bool handle_tic_vocab char *  tname,
tic_hdr_t tic_vocab
 

Definition at line 366 of file ticvocab.c.

References tic_hdr::funct, lookup_tic_entry(), and tic_hdr::pfield.

Referenced by emit_token(), handle_core_word(), handle_current(), handle_local(), and handle_tokz_esc().

Here is the call graph for this function:

void init_tic_vocab tic_hdr_t tic_vocab_tbl,
int  max_indx,
tic_hdr_t **  tic_vocab_ptr
 

Definition at line 141 of file ticvocab.c.

References tic_hdr::next.

Referenced by init_conditionals_vocab(), init_dictionary(), init_macros(), and init_tokz_esc_vocab().

tic_hdr_t* lookup_tic_entry char *  tname,
tic_hdr_t tic_vocab
 

Definition at line 237 of file ticvocab.c.

References tic_hdr::name, and tic_hdr::next.

Referenced by create_tic_alias(), exists_in_ancestor(), exists_in_tic_vocab(), handle_tic_vocab(), lookup_core_word(), lookup_current(), lookup_in_dev_node(), lookup_local(), lookup_token(), and lookup_tokz_esc().

void reset_tic_vocab tic_hdr_t **  tic_vocab,
tic_hdr_t reset_position
 

Definition at line 409 of file ticvocab.c.

References tic_hdr::next.

Referenced by delete_device_vocab(), forget_locals(), reset_normal_vocabs(), and reset_tokz_esc().


Variable Documentation

tic_hdr_t* tic_found
 

Definition at line 108 of file ticvocab.c.

Referenced by eval_mac_string(), ignore_one_word(), and tokenize_one_word().


Generated on Fri Aug 18 14:05:11 2006 for Toke1.0 by  doxygen 1.4.4