|
ceptr
|
header file for table for coordinating meaning across a vmhost More...
#include "ceptr_types.h"#include "ceptr_error.h"Go to the source code of this file.
Functions | |
| SemTable * | _sem_new () |
| int | _sem_new_context (SemTable *sem, T *definitions) |
| void | _sem_free (SemTable *sem) |
| ContextStore * | __sem_context (SemTable *sem, Context c) |
| void | _sem_free_context (SemTable *sem, Context c) |
| T * | __sem_get_defs (SemTable *st, SemanticType semtype, Context c) |
| T * | __sem_get_def (SemTable *sem, SemanticType semtype, Context c, SemanticAddr i) |
| char * | _sem_get_name (SemTable *sem, SemanticID s) |
| T * | _sem_get_label (SemTable *sem, SemanticID s, Symbol label_type) |
| void | _sem_add_label (SemTable *sem, SemanticID s, Symbol label_type, char *label) |
| Structure | _sem_get_symbol_structure (SemTable *sem, Symbol s) |
| bool | __sem_get_by_label (SemTable *sem, char *label, SemanticID *s, Context ctx) |
| bool | _sem_get_by_label (SemTable *sem, char *label, SemanticID *s) |
header file for table for coordinating meaning across a vmhost
Definition in file semtable.h.
| void _sem_add_label | ( | SemTable * | sem, |
| SemanticID | s, | ||
| Symbol | label_type, | ||
| char * | label | ||
| ) |
add a name to a definition
| [in] | sem | is the semantic table where symbols and structures are defined |
| [in] | s | the semantic id of the definition to add a label to |
| [in] | label_type | is a symbol of the label type to add |
| [in] | label | text of the label |
Examples (from test suite):
Definition at line 148 of file semtable.c.
| T* _sem_get_label | ( | SemTable * | sem, |
| SemanticID | s, | ||
| Symbol | label_type | ||
| ) |
get one of a symbol's labels
| [in] | sem | is the semantic table where symbols and structures are define |
| [in] | s | the Symbol to return the label of |
| [in] | s | the Symbol to return the label of |
Examples (from test suite):
Definition at line 124 of file semtable.c.
| char* _sem_get_name | ( | SemTable * | sem, |
| SemanticID | s | ||
| ) |
get symbol's name
| [in] | sem | is the semantic table where symbols and structures are define |
| [in] | s | the Symbol to return the label of |
Examples (from test suite):
Definition at line 85 of file semtable.c.