Skip to content
← Back

src/semantic/lookups/lazy_innate_symbol_lookup.ghul

1
namespace Semantic.Lookups is
2
use LAZY = System.Lazy
3
4
use Types.Type
5
6
class LAZY_INNATE_SYMBOL_LOOKUP: InnateSymbolLookup is
7
_lookup: LAZY[InnateSymbolLookup]
8
9
init(create: () -> InnateSymbolLookup) is
10
_lookup = LAZY[InnateSymbolLookup](create)
11
si
12
13
get_enum_type() -> Type => _lookup.value.get_enum_type()
14
get_tuple_type(types: Collections.List[Type], names: Collections.List[string?]?) -> Type => _lookup.value.get_tuple_type(types, names)
15
get_function_type(types: Collections.List[Type]) -> Type => _lookup.value.get_function_type(types)
16
get_function_type(types: Collections.List[Type], is_pure: bool) -> Type => _lookup.value.get_function_type(types, is_pure)
17
18
get_array_type(type: Type) -> Type => _lookup.value.get_array_type(type)
19
20
get_optional_type(type: Type) -> Type => _lookup.value.get_optional_type(type)
21
22
get_maybe_type(type: Type) -> Type? => _lookup.value.get_maybe_type(type)
23
get_equality_comparer_type(type: Type) -> Type? => _lookup.value.get_equality_comparer_type(type)
24
25
get_pointer_type(type: Type) -> Type => _lookup.value.get_pointer_type(type)
26
27
get_reference_type(type: Type) -> Type => _lookup.value.get_reference_type(type)
28
29
get_bool_type() -> Type => _lookup.value.get_bool_type()
30
31
get_char_type() -> Type => _lookup.value.get_char_type()
32
33
get_byte_type() -> Type => _lookup.value.get_byte_type()
34
35
get_ubyte_type() -> Type => _lookup.value.get_ubyte_type()
36
37
get_short_type() -> Type => _lookup.value.get_short_type()
38
39
get_ushort_type() -> Type => _lookup.value.get_ushort_type()
40
41
get_int_type() -> Type => _lookup.value.get_int_type()
42
43
get_uint_type() -> Type => _lookup.value.get_uint_type()
44
45
get_long_type() -> Type => _lookup.value.get_long_type()
46
47
get_ulong_type() -> Type => _lookup.value.get_ulong_type()
48
49
get_word_type() -> Type => _lookup.value.get_word_type()
50
51
get_uword_type() -> Type => _lookup.value.get_uword_type()
52
53
get_single_type() -> Type => _lookup.value.get_single_type()
54
55
get_double_type() -> Type => _lookup.value.get_double_type()
56
57
get_decimal_type() -> Type => _lookup.value.get_decimal_type()
58
get_bigint_type() -> Type => _lookup.value.get_bigint_type()
59
60
get_void_type() -> Type => _lookup.value.get_void_type()
61
62
get_object_type() -> Type => _lookup.value.get_object_type()
63
64
get_value_type() -> Type => _lookup.value.get_value_type()
65
66
get_string_type() -> Type => _lookup.value.get_string_type()
67
68
get_exception_type() -> Type => _lookup.value.get_exception_type()
69
70
get_type_type() -> Type => _lookup.value.get_type_type()
71
72
get_unspecialized_iterable_type() -> Type => _lookup.value.get_unspecialized_iterable_type()
73
74
get_unspecialized_list_type() -> Type => _lookup.value.get_unspecialized_list_type()
75
76
get_unspecialized_iterator_type() -> Type => _lookup.value.get_unspecialized_iterator_type()
77
78
get_unspecialized_pipe_type() -> Type? => _lookup.value.get_unspecialized_pipe_type()
79
80
get_unspecialized_task_type() -> Type? => _lookup.value.get_unspecialized_task_type()
81
82
get_interpolated_string_handler_type() -> Type => _lookup.value.get_interpolated_string_handler_type()
83
84
get_idisposable_type() -> Type => _lookup.value.get_idisposable_type()
85
86
get_multicast_delegate_type() -> Type? => _lookup.value.get_multicast_delegate_type()
87
88
get_box_type(type: Type) -> Type => _lookup.value.get_box_type(type)
89
90
get_range_type() -> Type => _lookup.value.get_range_type()
91
92
get_int_range_type() -> Type => _lookup.value.get_int_range_type()
93
94
get_int_range_inclusive_type() -> Type => _lookup.value.get_int_range_inclusive_type()
95
96
get_slice_functions() -> Symbols.FUNCTION_GROUP? => _lookup.value.get_slice_functions()
97
98
get_join_functions() -> Symbols.FUNCTION_GROUP? => _lookup.value.get_join_functions()
99
100
get_display_functions() -> Symbols.FUNCTION_GROUP? => _lookup.value.get_display_functions()
101
102
get_render_elements_functions() -> Symbols.FUNCTION_GROUP? => _lookup.value.get_render_elements_functions()
103
104
get_pipes_fusion_functions() -> Collections.MAP[Symbols.Symbol, string] => _lookup.value.get_pipes_fusion_functions()
105
106
get_task_type(type: Type) -> Type? => _lookup.value.get_task_type(type)
107
108
get_void_task_type() -> Type? => _lookup.value.get_void_task_type()
109
110
get_async_task_method_builder_type(type: Type) -> Type? => _lookup.value.get_async_task_method_builder_type(type)
111
112
get_async_task_method_builder_void_type() -> Type? => _lookup.value.get_async_task_method_builder_void_type()
113
114
get_async_state_machine_interface_type() -> Type? => _lookup.value.get_async_state_machine_interface_type()
115
116
get_notify_completion_type() -> Type? => _lookup.value.get_notify_completion_type()
117
118
get_critical_notify_completion_type() -> Type? => _lookup.value.get_critical_notify_completion_type()
119
si
120
si