|
#define | ION_SYMBOL_IMPORT_LOCATION_IS_NULL(symbol) ION_STRING_IS_NULL(&(symbol)->import_location.name) |
|
#define | ION_SYMBOL_IS_NULL(symbol) (symbol == NULL || (ION_STRING_IS_NULL(&(symbol)->value) && ION_SYMBOL_IMPORT_LOCATION_IS_NULL(symbol) && (symbol)->sid == UNKNOWN_SID)) |
|
#define | ION_SYMBOL_INIT(symbol) ION_STRING_INIT(&(symbol)->value); ION_STRING_INIT(&(symbol)->import_location.name); (symbol)->sid = UNKNOWN_SID |
|
#define | UNKNOWN_SID -1 /* symbol id's presume not only is this unknown, but sid's must be positive */ |
|
#define | ION_SYS_SYMBOL_SHARED_SYMBOL_TABLE "$ion_shared_symbol_table" |
|
#define | ION_SYS_STRLEN_SHARED_SYMBOL_TABLE 24 /* "$ion_shared_symbol_table" */ |
|
#define | ION_SYS_SYMBOL_ION "$ion" |
|
#define | ION_SYS_SYMBOL_IVM "$ion_1_0" /* ion type marker */ |
|
#define | ION_SYS_SYMBOL_ION_SYMBOL_TABLE "$ion_symbol_table" |
|
#define | ION_SYS_SYMBOL_NAME "name" |
|
#define | ION_SYS_SYMBOL_VERSION "version" |
|
#define | ION_SYS_SYMBOL_IMPORTS "imports" |
|
#define | ION_SYS_SYMBOL_SYMBOLS "symbols" |
|
#define | ION_SYS_SYMBOL_MAX_ID "max_id" |
|
#define | ION_SYS_SYMBOL_MAX_ID_UNDEFINED -1 |
|
#define | ION_SYS_SID_ION 1 /* "$ion" */ |
|
#define | ION_SYS_SID_IVM 2 /* "$ion_1_0" aka ion type marker */ |
|
#define | ION_SYS_SID_SYMBOL_TABLE 3 /* "$ion_symbol_table" */ |
|
#define | ION_SYS_SID_NAME 4 /* "name" */ |
|
#define | ION_SYS_SID_VERSION 5 /* "version" */ |
|
#define | ION_SYS_SID_IMPORTS 6 /* "imports" */ |
|
#define | ION_SYS_SID_SYMBOLS 7 /* "symbols" */ |
|
#define | ION_SYS_SID_MAX_ID 8 /* "max_id" */ |
|
#define | ION_SYS_SID_SHARED_SYMBOL_TABLE 9 /* "$ion_shared_symbol_table" */ |
|
#define | ION_SYS_STRLEN_ION 4 /* "$ion" */ |
|
#define | ION_SYS_STRLEN_IVM 8 /* "$ion_1_0" */ |
|
#define | ION_SYS_STRLEN_SYMBOL_TABLE 17 /* "$ion_symbol_table" */ |
|
#define | ION_SYS_STRLEN_NAME 4 /* "name" */ |
|
#define | ION_SYS_STRLEN_VERSION 7 /* "version" */ |
|
#define | ION_SYS_STRLEN_IMPORTS 7 /* "imports" */ |
|
#define | ION_SYS_STRLEN_SYMBOLS 7 /* "symbols" */ |
|
#define | ION_SYS_STRLEN_MAX_ID 6 /* "max_id" */ |
|
|
ION_API_EXPORT iERR | ion_symbol_table_open (hSYMTAB *p_hsymtab, hOWNER owner) |
|
ION_API_EXPORT iERR | ion_symbol_table_open_with_type (hSYMTAB *p_hsymtab, hOWNER owner, ION_SYMBOL_TABLE_TYPE type) |
|
ION_API_EXPORT iERR | ion_symbol_table_clone (hSYMTAB hsymtab, hSYMTAB *p_hclone) |
|
ION_API_EXPORT iERR | ion_symbol_table_clone_with_owner (hSYMTAB hsymtab, hSYMTAB *p_hclone, hOWNER owner) |
|
ION_API_EXPORT iERR | ion_symbol_table_get_system_table (hSYMTAB *p_hsystem_table, int32_t version) |
|
ION_API_EXPORT iERR | ion_symbol_table_load (hREADER hreader, hOWNER owner, hSYMTAB *p_hsymtab) |
|
ION_API_EXPORT iERR | ion_symbol_table_unload (hSYMTAB hsymtab, hWRITER hwriter) |
|
ION_API_EXPORT iERR | ion_symbol_table_lock (hSYMTAB hsymtab) |
|
ION_API_EXPORT iERR | ion_symbol_table_is_locked (hSYMTAB hsymtab, BOOL *p_is_locked) |
|
ION_API_EXPORT iERR | ion_symbol_table_get_type (hSYMTAB hsymtab, ION_SYMBOL_TABLE_TYPE *p_type) |
|
ION_API_EXPORT iERR | ion_symbol_table_get_name (hSYMTAB hsymtab, iSTRING p_name) |
|
ION_API_EXPORT iERR | ion_symbol_table_get_version (hSYMTAB hsymtab, int32_t *p_version) |
|
ION_API_EXPORT iERR | ion_symbol_table_get_max_sid (hSYMTAB hsymtab, SID *p_max_id) |
|
ION_API_EXPORT iERR | ion_symbol_table_set_name (hSYMTAB hsymtab, iSTRING name) |
|
ION_API_EXPORT iERR | ion_symbol_table_set_version (hSYMTAB hsymtab, int32_t version) |
|
ION_API_EXPORT iERR | ion_symbol_table_set_max_sid (hSYMTAB hsymtab, SID max_id) |
|
ION_API_EXPORT iERR | ion_symbol_table_get_imports (hSYMTAB hsymtab, ION_COLLECTION **p_imports) |
|
ION_API_EXPORT iERR | ion_symbol_table_add_import (hSYMTAB hsymtab, ION_SYMBOL_TABLE_IMPORT_DESCRIPTOR *pimport, hCATALOG catalog) |
|
ION_API_EXPORT iERR | ion_symbol_table_import_symbol_table (hSYMTAB hsymtab, hSYMTAB hsymtab_import) |
|
ION_API_EXPORT iERR | ion_symbol_table_find_by_name (hSYMTAB hsymtab, iSTRING name, SID *p_sid) |
|
ION_API_EXPORT iERR | ion_symbol_table_find_by_sid (hSYMTAB hsymtab, SID sid, iSTRING *p_name) |
|
ION_API_EXPORT iERR | ion_symbol_table_is_symbol_known (hSYMTAB hsymtab, SID sid, BOOL *p_is_known) |
|
ION_API_EXPORT iERR | ion_symbol_table_get_symbol (hSYMTAB hsymtab, SID sid, ION_SYMBOL **p_sym) |
|
ION_API_EXPORT iERR | ion_symbol_table_get_local_symbol (hSYMTAB hsymtab, SID sid, ION_SYMBOL **p_sym) |
|
ION_API_EXPORT iERR | ion_symbol_table_add_symbol (hSYMTAB hsymtab, iSTRING name, SID *p_sid) |
|
ION_API_EXPORT iERR | ion_symbol_table_close (hSYMTAB hsymtab) |
|
ION_API_EXPORT iERR | ion_symbol_copy_to_owner (hOWNER owner, ION_SYMBOL *dst, ION_SYMBOL *src) |
|
ION_API_EXPORT iERR | ion_symbol_is_equal (ION_SYMBOL *lhs, ION_SYMBOL *rhs, BOOL *is_equal) |
|
ION_API_EXPORT const char * | ion_symbol_table_type_to_str (ION_SYMBOL_TABLE_TYPE t) |
|