|
Defines |
#define | A_EXACT 1 |
#define | B_EXACT 2 |
#define | NO_MAX_ARGS 4 |
#define | NO_SHORTCUTS 8 |
#define | LE_WEAK_OBJECTS 1 |
#define | PIKE_TYPE_HASH_SIZE 32768 |
#define | TWOT(X, Y) (((X) << 8)+(Y)) |
#define | PIKE_TYPE_CHUNK 128 |
#define | PT_COPY_CAR 1 |
#define | PT_COPY_CDR 2 |
#define | PT_COPY_BOTH 3 |
#define | PT_SET_MARKER 4 |
#define | mk_type debug_mk_type |
#define | low_index_type debug_low_index_type |
#define | low_range_type debug_low_range_type |
#define | low_key_type debug_low_key_type |
#define | low_make_pike_type debug_low_make_pike_type |
#define | low_make_function_type debug_low_make_function_type |
Functions |
pike_type * | debug_pop_type (void) |
pike_type * | debug_compiler_pop_type (void) |
char * | get_name_of_type (TYPE_T t) |
void | debug_free_type (struct pike_type *t) |
ptrdiff_t | pop_stack_mark (void) |
void | type_stack_pop_to_mark (void) |
pike_type * | debug_peek_type_stack (void) |
void | debug_push_int_type (INT_TYPE min, INT_TYPE max) |
void | debug_push_object_type (int flag, INT32 id) |
void | debug_push_object_type_backwards (int flag, INT32 id) |
void | debug_push_scope_type (int level) |
void | debug_push_assign_type (int marker) |
void | debug_push_type_name (struct pike_string *name) |
void | debug_push_finished_type (struct pike_type *t) |
void | debug_push_type (unsigned int type) |
void | debug_pop_type_stack (unsigned int expected) |
void | debug_push_reverse_type (unsigned int type) |
void | debug_push_finished_type_with_markers (struct pike_type *type, struct pike_type **markers) |
INT32 | extract_type_int (char *p) |
pike_type * | debug_pop_unfinished_type (void) |
pike_type * | parse_type (const char *s) |
void | my_describe_type (struct pike_type *type) |
pike_string * | describe_type (struct pike_type *type) |
TYPE_T | compile_type_to_runtime_type (struct pike_type *t) |
pike_type * | or_pike_types (struct pike_type *a, struct pike_type *b, int zero_implied) |
pike_type * | and_pike_types (struct pike_type *a, struct pike_type *b) |
int | strict_check_call (struct pike_type *fun_type, struct pike_type *arg_type) |
int | check_soft_cast (struct pike_type *to, struct pike_type *from) |
int | match_types (struct pike_type *a, struct pike_type *b) |
int | pike_types_le (struct pike_type *a, struct pike_type *b) |
pike_type * | index_type (struct pike_type *type, struct pike_type *index_type, node *n) |
pike_type * | range_type (struct pike_type *type, struct pike_type *index1_type, struct pike_type *index2_type) |
pike_type * | array_value_type (struct pike_type *array_type) |
pike_type * | key_type (struct pike_type *type, node *n) |
int | check_indexing (struct pike_type *type, struct pike_type *index_type, node *n) |
int | count_arguments (struct pike_type *s) |
int | minimum_arguments (struct pike_type *s) |
pike_type * | check_call (struct pike_type *args, struct pike_type *type, int strict) |
pike_type * | new_check_call (node *fun, int *argno, struct pike_type *type, node *args) |
pike_type * | zzap_function_return (struct pike_type *a, INT32 id) |
pike_type * | get_type_of_svalue (struct svalue *s) |
pike_type * | object_type_to_program_type (struct pike_type *obj_t) |
int | type_may_overload (struct pike_type *type, int lfun) |
void | yyexplain_nonmatching_types (struct pike_type *type_a, struct pike_type *type_b, int flags) |
pike_type * | debug_make_pike_type (const char *serialized_type) |
int | pike_type_allow_premature_toss (struct pike_type *type) |
pike_string * | type_to_string (struct pike_type *t) |
void | init_types (void) |
void | cleanup_pike_types (void) |
void | cleanup_pike_type_table (void) |
Variables |
int | max_correct_args |
PMOD_EXPORT struct pike_type * | string_type_string |
PMOD_EXPORT struct pike_type * | int_type_string |
PMOD_EXPORT struct pike_type * | float_type_string |
PMOD_EXPORT struct pike_type * | function_type_string |
PMOD_EXPORT struct pike_type * | object_type_string |
PMOD_EXPORT struct pike_type * | program_type_string |
PMOD_EXPORT struct pike_type * | array_type_string |
PMOD_EXPORT struct pike_type * | multiset_type_string |
PMOD_EXPORT struct pike_type * | mapping_type_string |
PMOD_EXPORT struct pike_type * | type_type_string |
PMOD_EXPORT struct pike_type * | mixed_type_string |
PMOD_EXPORT struct pike_type * | void_type_string |
PMOD_EXPORT struct pike_type * | zero_type_string |
PMOD_EXPORT struct pike_type * | any_type_string |
PMOD_EXPORT struct pike_type * | weak_type_string |
pike_type ** | pike_type_hash = NULL |
size_t | pike_type_hash_size = 0 |
pike_type * | type_stack [PIKE_TYPE_STACK_SIZE] |
pike_type ** | pike_type_mark_stack [PIKE_TYPE_STACK_SIZE/4] |