|
Classes |
| struct | pike_type |
Defines |
| #define | PIKE_TYPE_STACK_SIZE 100000 |
| #define | TYPE_STACK_DEBUG(X) |
| #define | CAR_TO_INT(TYPE) ((char *) (TYPE)->car - (char *) 0) |
| #define | CDR_TO_INT(TYPE) ((char *) (TYPE)->cdr - (char *) 0) |
| #define | PT_FLAG_MARKER 1 |
| #define | copy_pike_type(D, S) add_ref(D = (S)) |
| #define | CONSTTYPE(X) make_pike_type(X) |
| #define | free_type debug_free_type |
| #define | CONSTTYPE(X) make_pike_type(X) |
| #define | MAKE_CONSTANT_TYPE(T, X) |
| #define | init_type_stack type_stack_mark |
| #define | exit_type_stack pop_stack_mark |
| #define | push_type debug_push_type |
| #define | push_reverse_type debug_push_reverse_type |
| #define | type_stack_mark() |
| #define | reset_type_stack() |
| #define | make_pike_type debug_make_pike_type |
| #define | pop_type debug_pop_type |
| #define | compiler_pop_type debug_compiler_pop_type |
| #define | pop_unfinished_type debug_pop_unfinished_type |
| #define | pop_type_stack debug_pop_type_stack |
| #define | push_int_type debug_push_int_type |
| #define | push_object_type debug_push_object_type |
| #define | push_object_type_backwards debug_push_object_type_backwards |
| #define | push_scope_type debug_push_scope_type |
| #define | push_type_name debug_push_type_name |
| #define | push_unfinished_type debug_push_unfinished_type |
| #define | push_assign_type debug_push_assign_type |
| #define | push_finished_type debug_push_finished_type |
| #define | push_finished_type_with_markers debug_push_finished_type_with_markers |
| #define | push_finished_type_backwards debug_push_finished_type_backwards |
| #define | check_type_string(X) |
Functions |
| | BLOCK_ALLOC (pike_type, n/a) |
| void | debug_free_type (struct pike_type *t) |
| void | debug_push_type (unsigned int type) |
| void | debug_push_reverse_type (unsigned int type) |
| void | debug_check_type_string (struct pike_type *s) |
| void | init_types (void) |
| ptrdiff_t | pop_stack_mark (void) |
| void | debug_pop_type_stack (unsigned int expected) |
| void | type_stack_pop_to_mark (void) |
| void | type_stack_reverse (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_type_name (struct pike_string *name) |
| INT32 | extract_type_int (char *p) |
| void | debug_push_unfinished_type (char *s) |
| void | debug_push_assign_type (int marker) |
| void | debug_push_finished_type (struct pike_type *type) |
| void | debug_push_finished_type_backwards (struct pike_type *type) |
| pike_type * | debug_pop_unfinished_type (void) |
| pike_type * | debug_pop_type (void) |
| pike_type * | debug_compiler_pop_type (void) |
| pike_type * | parse_type (const char *s) |
| void | stupid_describe_type (char *a, ptrdiff_t len) |
| void | simple_describe_type (struct pike_type *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 *s) |
| 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 *type_of_index, 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 *type_of_index, 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 * | zzap_function_return (struct pike_type *t, INT32 id) |
| pike_type * | get_type_of_svalue (struct svalue *s) |
| pike_type * | object_type_to_program_type (struct pike_type *obj_t) |
| char * | get_name_of_type (TYPE_T t) |
| void | cleanup_pike_types (void) |
| void | cleanup_pike_type_table (void) |
| 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 *t) |
| pike_string * | type_to_string (struct pike_type *t) |
| int | pike_type_allow_premature_toss (struct pike_type *type) |
Variables |
| pike_type ** | pike_type_hash |
| size_t | pike_type_hash_size |
| pike_type * | type_stack [PIKE_TYPE_STACK_SIZE] |
| pike_type ** | pike_type_mark_stack [PIKE_TYPE_STACK_SIZE/4] |
| 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 * | object_type_string |
| PMOD_EXPORT struct pike_type * | function_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 |