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
is_maybe_definition(definition: Semantic.Symbols.Classy) -> bool => _lookup.value.is_maybe_definition(definition)
24
get_equality_comparer_type(type: Type) -> Type? => _lookup.value.get_equality_comparer_type(type)
25
compares_by_instantiation: bool => _lookup.value.compares_by_instantiation
26
27
get_list_type(type: Type) -> Type? => _lookup.value.get_list_type(type)
28
get_list_class() -> Semantic.Symbols.Classy? => _lookup.value.get_list_class()
29
get_map_class() -> Semantic.Symbols.Classy? => _lookup.value.get_map_class()
30
get_set_class() -> Semantic.Symbols.Classy? => _lookup.value.get_set_class()
31
32
get_pointer_type(type: Type) -> Type => _lookup.value.get_pointer_type(type)
33
34
get_reference_type(type: Type) -> Type => _lookup.value.get_reference_type(type)
35
36
get_bool_type() -> Type => _lookup.value.get_bool_type()
37
38
get_char_type() -> Type => _lookup.value.get_char_type()
39
40
get_byte_type() -> Type => _lookup.value.get_byte_type()
41
42
get_ubyte_type() -> Type => _lookup.value.get_ubyte_type()
43
44
get_short_type() -> Type => _lookup.value.get_short_type()
45
46
get_ushort_type() -> Type => _lookup.value.get_ushort_type()
47
48
get_int_type() -> Type => _lookup.value.get_int_type()
49
50
get_uint_type() -> Type => _lookup.value.get_uint_type()
51
52
get_long_type() -> Type => _lookup.value.get_long_type()
53
54
get_ulong_type() -> Type => _lookup.value.get_ulong_type()
55
56
get_word_type() -> Type => _lookup.value.get_word_type()
57
58
get_uword_type() -> Type => _lookup.value.get_uword_type()
59
60
get_single_type() -> Type => _lookup.value.get_single_type()
61
62
get_double_type() -> Type => _lookup.value.get_double_type()
63
64
get_decimal_type() -> Type => _lookup.value.get_decimal_type()
65
get_bigint_type() -> Type => _lookup.value.get_bigint_type()
66
67
get_void_type() -> Type => _lookup.value.get_void_type()
68
69
get_object_type() -> Type => _lookup.value.get_object_type()
70
71
get_value_type() -> Type => _lookup.value.get_value_type()
72
73
get_string_type() -> Type => _lookup.value.get_string_type()
74
75
get_exception_type() -> Type => _lookup.value.get_exception_type()
76
find_exception_type() -> Type? => _lookup.value.find_exception_type()
77
78
get_invalid_cast_exception_type() -> Type => _lookup.value.get_invalid_cast_exception_type()
79
80
get_overflow_exception_type() -> Type => _lookup.value.get_overflow_exception_type()
81
82
get_type_type() -> Type => _lookup.value.get_type_type()
83
find_type_type() -> Type? => _lookup.value.find_type_type()
84
find_environment_type() -> Type? => _lookup.value.find_environment_type()
85
find_runtime_exception_type(kind: RuntimeException) -> Type? => _lookup.value.find_runtime_exception_type(kind)
86
87
get_unspecialized_iterable_type() -> Type => _lookup.value.get_unspecialized_iterable_type()
88
89
get_unspecialized_list_type() -> Type => _lookup.value.get_unspecialized_list_type()
90
91
get_unspecialized_iterator_type() -> Type => _lookup.value.get_unspecialized_iterator_type()
92
93
get_unspecialized_pipe_type() -> Type? => _lookup.value.get_unspecialized_pipe_type()
94
95
get_unspecialized_task_type() -> Type? => _lookup.value.get_unspecialized_task_type()
96
97
get_interpolated_string_handler_type() -> Type => _lookup.value.get_interpolated_string_handler_type()
98
99
get_idisposable_type() -> Type => _lookup.value.get_idisposable_type()
100
101
get_multicast_delegate_type() -> Type? => _lookup.value.get_multicast_delegate_type()
102
103
get_box_type(type: Type) -> Type => _lookup.value.get_box_type(type)
104
105
get_range_type() -> Type => _lookup.value.get_range_type()
106
107
get_int_range_type() -> Type => _lookup.value.get_int_range_type()
108
109
get_int_range_inclusive_type() -> Type => _lookup.value.get_int_range_inclusive_type()
110
111
get_int_range_types() -> (exclusive: Type, inclusive: Type)? => _lookup.value.get_int_range_types()
112
113
get_slice_functions() -> Symbols.FUNCTION_GROUP? => _lookup.value.get_slice_functions()
114
115
get_join_functions() -> Symbols.FUNCTION_GROUP? => _lookup.value.get_join_functions()
116
117
get_display_functions() -> Symbols.FUNCTION_GROUP? => _lookup.value.get_display_functions()
118
get_enum_text_functions() -> Symbols.FUNCTION_GROUP? => _lookup.value.get_enum_text_functions()
119
get_formattable_symbol() -> Symbols.Symbol? => _lookup.value.get_formattable_symbol()
120
121
get_render_elements_functions() -> Symbols.FUNCTION_GROUP? => _lookup.value.get_render_elements_functions()
122
123
get_pipes_fusion_functions() -> Collections.MAP[Symbols.Symbol, string] => _lookup.value.get_pipes_fusion_functions()
124
125
get_pipes_unbounded_sources() -> Collections.SET[Symbols.Symbol] => _lookup.value.get_pipes_unbounded_sources()
126
is_pipes_function(function: Symbols.Function) -> bool => _lookup.value.is_pipes_function(function)
127
stops_early(function: Symbols.Function) -> bool => _lookup.value.stops_early(function)
128
reads_whole_source(function: Symbols.Function) -> bool => _lookup.value.reads_whole_source(function)
129
holds_resource(function: Symbols.Function) -> bool => _lookup.value.holds_resource(function)
130
131
get_unspecialized_mutable_list_type() -> Type => _lookup.value.get_unspecialized_mutable_list_type()
132
133
get_task_type(type: Type) -> Type? => _lookup.value.get_task_type(type)
134
135
get_void_task_type() -> Type? => _lookup.value.get_void_task_type()
136
137
get_async_task_method_builder_type(type: Type) -> Type? => _lookup.value.get_async_task_method_builder_type(type)
138
139
get_async_task_method_builder_void_type() -> Type? => _lookup.value.get_async_task_method_builder_void_type()
140
141
get_async_state_machine_interface_type() -> Type? => _lookup.value.get_async_state_machine_interface_type()
142
143
get_notify_completion_type() -> Type? => _lookup.value.get_notify_completion_type()
144
145
get_critical_notify_completion_type() -> Type? => _lookup.value.get_critical_notify_completion_type()
146
147
wire_declared_ancestry() is _lookup.value.wire_declared_ancestry() si
148
redeclare_built_ins() is _lookup.value.redeclare_built_ins() si
149
si
150
si