|
ReactOS 0.4.16-dev-1948-gd260c1d
|
#include "config.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include "widl.h"#include "utils.h"#include "parser.h"#include "typetree.h"#include "header.h"#include "hash.h"
Go to the source code of this file.
Variables | |
| static char const * | parameterized_type_shorthands [][2] |
|
static |
Definition at line 114 of file typetree.c.
Referenced by append_namespace(), and append_namespaces().
|
static |
Definition at line 125 of file typetree.c.
Referenced by append_type_signature(), format_namespace(), and format_parameterized_type_c_name().
Definition at line 141 of file typetree.c.
Referenced by format_parameterized_type_impl_name(), and format_parameterized_type_name().
Definition at line 165 of file typetree.c.
Referenced by append_type_signature(), append_var_list_signature(), and format_parameterized_type_signature().
|
static |
Definition at line 150 of file typetree.c.
Referenced by append_type_signature().
|
static |
Definition at line 903 of file typetree.c.
Referenced by type_delegate_define(), type_parameterized_delegate_define(), and type_parameterized_type_specialize_declare().
Definition at line 1244 of file typetree.c.
Referenced by type_parameterized_type_specialize_define().
Definition at line 707 of file typetree.c.
Referenced by compute_method_indexes(), type_delegate_define(), type_dispinterface_define(), type_dispinterface_define_from_iface(), type_interface_define(), and type_parameterized_type_specialize_define().
Definition at line 536 of file typetree.c.
Referenced by type_apicontract_define(), type_coclass_define(), type_delegate_define(), type_dispinterface_define(), type_dispinterface_define_from_iface(), type_interface_define(), type_module_define(), type_new_encapsulated_union(), type_new_enum(), type_new_nonencapsulated_union(), type_new_struct(), type_parameterized_delegate_define(), type_parameterized_interface_define(), and type_runtimeclass_define().
Definition at line 37 of file typetree.c.
Referenced by replace_type_parameters_in_type(), type_parameterized_type_specialize_declare(), and type_parameterized_type_specialize_partial().
Definition at line 75 of file typetree.c.
Referenced by type_new_function().
| char * format_namespace | ( | struct namespace * | namespace, |
| const char * | prefix, | ||
| const char * | separator, | ||
| const char * | suffix, | ||
| const char * | abi_prefix | ||
| ) |
Definition at line 279 of file typetree.c.
Referenced by compute_delegate_iface_names(), format_apicontract_macro(), write_runtimeclass(), write_runtimeclasses_registry(), and write_widl_using_macros().
|
static |
Definition at line 313 of file typetree.c.
Referenced by compute_delegate_iface_names(), and type_parameterized_type_specialize_declare().
|
static |
Definition at line 388 of file typetree.c.
Referenced by type_parameterized_type_specialize_define().
| char * format_parameterized_type_name | ( | type_t * | type, |
| typeref_list_t * | params | ||
| ) |
Definition at line 287 of file typetree.c.
Referenced by type_parameterized_type_specialize_declare().
|
static |
Definition at line 371 of file typetree.c.
Referenced by type_parameterized_type_specialize_declare().
|
static |
Definition at line 347 of file typetree.c.
Referenced by type_parameterized_type_specialize_define().
Definition at line 656 of file typetree.c.
Referenced by type_new_bitfield().
Definition at line 48 of file typetree.c.
Referenced by type_delegate_define(), type_new_alias(), type_new_array(), type_new_basic(), type_new_bitfield(), type_new_encapsulated_union(), type_new_enum(), type_new_function(), type_new_nonencapsulated_union(), type_new_pointer(), type_new_struct(), type_new_void(), type_parameterized_delegate_declare(), type_parameterized_delegate_define(), and type_parameterized_interface_declare().
|
static |
Definition at line 1086 of file typetree.c.
Referenced by replace_type_parameters_in_statement_list().
|
static |
Definition at line 1118 of file typetree.c.
Referenced by type_parameterized_interface_specialize().
|
static |
Definition at line 1138 of file typetree.c.
Referenced by replace_type_parameters_in_statement(), replace_type_parameters_in_type(), replace_type_parameters_in_type_list(), replace_type_parameters_in_var(), and type_parameterized_interface_specialize().
|
static |
Definition at line 1042 of file typetree.c.
Referenced by replace_type_parameters_in_statement(), and replace_type_parameters_in_type().
|
static |
Definition at line 1058 of file typetree.c.
Referenced by replace_type_parameters_in_statement(), replace_type_parameters_in_type(), and replace_type_parameters_in_var_list().
|
static |
Definition at line 1067 of file typetree.c.
Referenced by replace_type_parameters_in_type().
Definition at line 887 of file typetree.c.
| type_t * type_apicontract_define | ( | type_t * | apicontract, |
| attr_list_t * | attrs, | ||
| const struct location * | where | ||
| ) |
Definition at line 896 of file typetree.c.
Definition at line 823 of file typetree.c.
| type_t * type_coclass_define | ( | type_t * | coclass, |
| attr_list_t * | attrs, | ||
| typeref_list_t * | ifaces, | ||
| const struct location * | where | ||
| ) |
Definition at line 832 of file typetree.c.
Definition at line 915 of file typetree.c.
| type_t * type_delegate_define | ( | type_t * | delegate, |
| attr_list_t * | attrs, | ||
| statement_list_t * | stmts, | ||
| const struct location * | where | ||
| ) |
Definition at line 924 of file typetree.c.
Definition at line 759 of file typetree.c.
| type_t * type_dispinterface_define | ( | type_t * | iface, |
| attr_list_t * | attrs, | ||
| var_list_t * | props, | ||
| var_list_t * | methods, | ||
| const struct location * | where | ||
| ) |
Definition at line 768 of file typetree.c.
| type_t * type_dispinterface_define_from_iface | ( | type_t * | dispiface, |
| attr_list_t * | attrs, | ||
| type_t * | iface, | ||
| const struct location * | where | ||
| ) |
Definition at line 786 of file typetree.c.
Definition at line 88 of file typetree.c.
Referenced by write_type_left().
Definition at line 101 of file typetree.c.
Referenced by write_type_left().
Definition at line 730 of file typetree.c.
| type_t * type_interface_define | ( | type_t * | iface, |
| attr_list_t * | attrs, | ||
| type_t * | inherit, | ||
| statement_list_t * | stmts, | ||
| typeref_list_t * | requires, | ||
| const struct location * | where | ||
| ) |
Definition at line 739 of file typetree.c.
Definition at line 1319 of file typetree.c.
Referenced by type_runtimeclass_define().
Definition at line 804 of file typetree.c.
| type_t * type_module_define | ( | type_t * | module, |
| attr_list_t * | attrs, | ||
| statement_list_t * | stmts, | ||
| const struct location * | where | ||
| ) |
Definition at line 813 of file typetree.c.
| type_t * type_new_alias | ( | const decl_spec_t * | t, |
| const char * | name | ||
| ) |
Definition at line 477 of file typetree.c.
| type_t * type_new_array | ( | const char * | name, |
| const decl_spec_t * | element, | ||
| int | declptr, | ||
| unsigned int | dim, | ||
| expr_t * | size_is, | ||
| expr_t * | length_is | ||
| ) |
Definition at line 489 of file typetree.c.
| type_t * type_new_basic | ( | enum type_basic_type | basic_type | ) |
Definition at line 505 of file typetree.c.
Referenced by resolve_expression(), and type_new_int().
Definition at line 689 of file typetree.c.
| type_t * type_new_encapsulated_union | ( | char * | name, |
| var_t * | switch_field, | ||
| var_t * | union_field, | ||
| var_list_t * | cases, | ||
| const struct location * | where | ||
| ) |
Definition at line 627 of file typetree.c.
| type_t * type_new_enum | ( | const char * | name, |
| struct namespace * | namespace, | ||
| int | defined, | ||
| var_list_t * | enums, | ||
| const struct location * | where | ||
| ) |
Definition at line 546 of file typetree.c.
| type_t * type_new_function | ( | var_list_t * | args | ) |
Definition at line 420 of file typetree.c.
| type_t * type_new_int | ( | enum type_basic_type | basic_type, |
| int | sign | ||
| ) |
Definition at line 513 of file typetree.c.
Referenced by resolve_expression().
| type_t * type_new_nonencapsulated_union | ( | const char * | name, |
| struct namespace * | namespace, | ||
| int | defined, | ||
| var_list_t * | fields, | ||
| const struct location * | where | ||
| ) |
Definition at line 600 of file typetree.c.
Referenced by type_new_encapsulated_union().
| type_t * type_new_struct | ( | char * | name, |
| struct namespace * | namespace, | ||
| int | defined, | ||
| var_list_t * | fields, | ||
| const struct location * | where | ||
| ) |
Definition at line 573 of file typetree.c.
| type_t * type_parameterized_delegate_declare | ( | char * | name, |
| struct namespace * | namespace, | ||
| typeref_list_t * | params | ||
| ) |
Definition at line 992 of file typetree.c.
| type_t * type_parameterized_delegate_define | ( | type_t * | type, |
| attr_list_t * | attrs, | ||
| statement_list_t * | stmts, | ||
| const struct location * | where | ||
| ) |
Definition at line 1003 of file typetree.c.
|
static |
Definition at line 1217 of file typetree.c.
Referenced by type_parameterized_type_specialize_define().
| type_t * type_parameterized_interface_declare | ( | char * | name, |
| struct namespace * | namespace, | ||
| typeref_list_t * | params | ||
| ) |
Definition at line 953 of file typetree.c.
| type_t * type_parameterized_interface_define | ( | type_t * | type, |
| attr_list_t * | attrs, | ||
| type_t * | inherit, | ||
| statement_list_t * | stmts, | ||
| typeref_list_t * | requires, | ||
| const struct location * | where | ||
| ) |
Definition at line 964 of file typetree.c.
|
static |
Definition at line 1204 of file typetree.c.
Referenced by type_parameterized_delegate_specialize(), and type_parameterized_type_specialize_define().
| type_t * type_parameterized_type_specialize_declare | ( | type_t * | type, |
| typeref_list_t * | params | ||
| ) |
Definition at line 1222 of file typetree.c.
Definition at line 1282 of file typetree.c.
| type_t * type_parameterized_type_specialize_partial | ( | type_t * | type, |
| typeref_list_t * | params | ||
| ) |
Definition at line 1032 of file typetree.c.
Definition at line 841 of file typetree.c.
| type_t * type_runtimeclass_define | ( | type_t * | runtimeclass, |
| attr_list_t * | attrs, | ||
| typeref_list_t * | ifaces, | ||
| const struct location * | where | ||
| ) |
Definition at line 850 of file typetree.c.
Definition at line 306 of file typetree.c.
Referenced by format_parameterized_type_c_name().