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

vocabfuncts.h File Reference

#include "types.h"
#include "ticvocab.h"

Include dependency graph for vocabfuncts.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

tic_hdr_tlookup_core_word (char *tname)
bool exists_in_core (char *name)
bool handle_core_word (char *tname)
bool create_core_alias (char *new_name, char *old_name)
void enter_global_scope (void)
void resume_device_scope (void)
tic_hdr_tlookup_current (char *name)
bool exists_in_current (char *tname)
bool handle_current (char *tname)
tic_hdr_tlookup_in_dev_node (char *tname)
void add_to_current (char *name, TIC_P_DEFLT_TYPE fc_token, fwtoken definer, bool define_token)
void hide_last_colon (void)
void reveal_last_colon (void)
bool create_current_alias (char *new_name, char *old_name)
void emit_token (const char *fc_name)
tic_hdr_tlookup_token (char *tname)
bool entry_is_token (tic_hdr_t *test_entry)
void token_entry_warning (tic_hdr_t *t_entry)
tic_hdr_tlookup_shared_word (char *tname)
bool handle_shared_word (char *tname)
tic_hdr_tlookup_shared_f_exec_word (char *tname)
void init_dictionary (void)
void reset_normal_vocabs (void)
void reset_vocabs (void)

Variables

bool scope_is_global


Function Documentation

void add_to_current char *  name,
TIC_P_DEFLT_TYPE  fc_token,
fwtoken  definer,
bool  define_token
 

Definition at line 757 of file dictionary.c.

References add_tic_entry(), current_definitions, and FC_TOKEN_FUNC.

Referenced by create_word().

Here is the call graph for this function:

bool create_core_alias char *  new_name,
char *  old_name
 

Definition at line 297 of file dictionary.c.

References create_tic_alias().

Referenced by create_alias().

Here is the call graph for this function:

bool create_current_alias char *  new_name,
char *  old_name
 

Definition at line 866 of file dictionary.c.

References add_tic_entry(), create_tic_alias(), current_definitions, current_device_node, tic_param::deflt_elem, tic_hdr::funct, tic_hdr::fword_defr, tic_hdr::ign_func, in_what_node(), INFO, lookup_core_word(), tic_hdr::pfield, scope_is_global, show_node_start(), and tokenization_error().

Referenced by create_alias().

Here is the call graph for this function:

void emit_token const char *  fc_name  ) 
 

Definition at line 1380 of file dictionary.c.

References FATAL, handle_tic_vocab(), and tokenization_error().

Referenced by abort_quote(), base_change(), create_word(), emit_again(), emit_begin(), emit_case(), emit_else(), emit_endcase(), emit_endof(), emit_fcodehdr(), emit_if(), emit_literal(), emit_of(), emit_repeat(), emit_then(), emit_until(), emit_while(), encode_file(), finish_fcodehdr(), finish_or_new_device(), and handle_internal().

Here is the call graph for this function:

void enter_global_scope void   ) 
 

Definition at line 519 of file dictionary.c.

References current_definitions, INFO, scope_is_global, statbuf, tokenization_error(), and WARNING.

Referenced by handle_internal().

Here is the call graph for this function:

bool entry_is_token tic_hdr_t test_entry  ) 
 

Definition at line 1455 of file dictionary.c.

References FC_TOKEN_FUNC, tic_hdr::funct, and OBSO_FC_FUNC.

Referenced by get_token().

bool exists_in_core char *  name  ) 
 

Definition at line 231 of file dictionary.c.

References exists_in_tic_vocab().

Here is the call graph for this function:

bool exists_in_current char *  tname  ) 
 

Definition at line 614 of file dictionary.c.

References lookup_word().

Referenced by if_exists(), and if_not_exist().

Here is the call graph for this function:

bool handle_core_word char *  tname  ) 
 

Definition at line 258 of file dictionary.c.

References handle_tic_vocab().

Referenced by handle_current().

Here is the call graph for this function:

bool handle_current char *  tname  ) 
 

Definition at line 643 of file dictionary.c.

References current_definitions, handle_core_word(), handle_tic_vocab(), and scope_is_global.

Here is the call graph for this function:

bool handle_shared_word char *  tname  ) 
 

Definition at line 1798 of file dictionary.c.

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

Here is the call graph for this function:

void hide_last_colon void   ) 
 

Definition at line 772 of file dictionary.c.

References current_definitions.

Referenced by handle_internal().

void init_dictionary void   ) 
 

Definition at line 1911 of file dictionary.c.

References init_conditionals_vocab(), init_macros(), init_tic_vocab(), init_tokz_esc_vocab(), number_of_builtin_fwords, number_of_builtin_tokens, and number_of_shared_words.

Referenced by main().

Here is the call graph for this function:

tic_hdr_t* lookup_core_word char *  tname  ) 
 

Definition at line 205 of file dictionary.c.

References lookup_tic_entry().

Referenced by create_current_alias(), lookup_current(), and lookup_word().

Here is the call graph for this function:

tic_hdr_t* lookup_current char *  name  ) 
 

Definition at line 585 of file dictionary.c.

References current_definitions, lookup_core_word(), lookup_tic_entry(), and scope_is_global.

Referenced by lookup_shared_word(), and lookup_with_definer().

Here is the call graph for this function:

tic_hdr_t* lookup_in_dev_node char *  tname  ) 
 

Definition at line 677 of file dictionary.c.

References current_definitions, lookup_tic_entry(), and scope_is_global.

Referenced by lookup_word().

Here is the call graph for this function:

tic_hdr_t* lookup_shared_f_exec_word char *  tname  ) 
 

Definition at line 1846 of file dictionary.c.

References tic_hdr::funct, FWORD_EXEC_FUNC, and lookup_shared_word().

Referenced by is_a_type().

Here is the call graph for this function:

tic_hdr_t* lookup_shared_word char *  tname  ) 
 

Definition at line 1761 of file dictionary.c.

References COMMON_FWORD, tic_hdr::fword_defr, and lookup_current().

Referenced by create_alias(), handle_shared_word(), lookup_shared_f_exec_word(), and lookup_word().

Here is the call graph for this function:

tic_hdr_t* lookup_token char *  tname  ) 
 

Definition at line 1410 of file dictionary.c.

References lookup_tic_entry().

Referenced by get_token().

Here is the call graph for this function:

void reset_normal_vocabs void   ) 
 

Definition at line 1994 of file dictionary.c.

References current_device_node, delete_device_vocab(), device_node::ifile_name, device_node::line_no, device_node::parent_node, reset_tic_vocab(), started_at(), TKERROR, and tokenization_error().

Referenced by fcode_ender(), handle_internal(), and reset_vocabs().

Here is the call graph for this function:

void reset_vocabs void   ) 
 

Definition at line 2041 of file dictionary.c.

References reset_normal_vocabs(), and reset_tokz_esc().

Referenced by main().

Here is the call graph for this function:

void resume_device_scope void   ) 
 

Definition at line 535 of file dictionary.c.

References current_definitions, INFO, scope_is_global, statbuf, tokenization_error(), and WARNING.

Referenced by fcode_ender(), finish_or_new_device(), and handle_internal().

Here is the call graph for this function:

void reveal_last_colon void   ) 
 

Definition at line 788 of file dictionary.c.

References current_definitions.

Referenced by handle_internal().

void token_entry_warning tic_hdr_t t_entry  ) 
 

Definition at line 1493 of file dictionary.c.

References tic_hdr::funct, OBSO_FC_FUNC, and obsolete_warning().

Referenced by handle_internal().

Here is the call graph for this function:


Variable Documentation

bool scope_is_global
 

Definition at line 516 of file dictionary.c.

Referenced by create_current_alias(), enter_global_scope(), exists_in_ancestor(), fcode_ender(), finish_or_new_device(), handle_current(), handle_internal(), lookup_current(), lookup_in_dev_node(), resume_device_scope(), and trace_creation().


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