Class: MilkTea::Lowerer::Artifacts

Inherits:
Object
  • Object
show all
Defined in:
lib/milk_tea/core/lowering/artifacts.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeArtifacts

Returns a new instance of Artifacts.



11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/milk_tea/core/lowering/artifacts.rb', line 11

def initialize
  @synthetic_structs = []
  @synthetic_enums = []
  @synthetic_functions = []
  @synthetic_constants = []
  @emitted_declarations = []
  @external_layout_assertions = []
  @emitted_external_layout_pairs = {}
  @lowered_function_linkage_names = {}
  @event_runtime_infos = {}
  @subscription_runtime_emitted = false
  @event_error_enum_emitted = false
end

Instance Attribute Details

#emitted_declarationsObject

Returns the value of attribute emitted_declarations.



7
8
9
# File 'lib/milk_tea/core/lowering/artifacts.rb', line 7

def emitted_declarations
  @emitted_declarations
end

#emitted_external_layout_pairsObject

Returns the value of attribute emitted_external_layout_pairs.



7
8
9
# File 'lib/milk_tea/core/lowering/artifacts.rb', line 7

def emitted_external_layout_pairs
  @emitted_external_layout_pairs
end

#event_error_enum_emittedObject

Returns the value of attribute event_error_enum_emitted.



9
10
11
# File 'lib/milk_tea/core/lowering/artifacts.rb', line 9

def event_error_enum_emitted
  @event_error_enum_emitted
end

#event_runtime_infosObject

Returns the value of attribute event_runtime_infos.



8
9
10
# File 'lib/milk_tea/core/lowering/artifacts.rb', line 8

def event_runtime_infos
  @event_runtime_infos
end

#external_layout_assertionsObject

Returns the value of attribute external_layout_assertions.



7
8
9
# File 'lib/milk_tea/core/lowering/artifacts.rb', line 7

def external_layout_assertions
  @external_layout_assertions
end

#lowered_function_linkage_namesObject

Returns the value of attribute lowered_function_linkage_names.



8
9
10
# File 'lib/milk_tea/core/lowering/artifacts.rb', line 8

def lowered_function_linkage_names
  @lowered_function_linkage_names
end

#subscription_runtime_emittedObject

Returns the value of attribute subscription_runtime_emitted.



9
10
11
# File 'lib/milk_tea/core/lowering/artifacts.rb', line 9

def subscription_runtime_emitted
  @subscription_runtime_emitted
end

#synthetic_constantsObject

Returns the value of attribute synthetic_constants.



6
7
8
# File 'lib/milk_tea/core/lowering/artifacts.rb', line 6

def synthetic_constants
  @synthetic_constants
end

#synthetic_enumsObject

Returns the value of attribute synthetic_enums.



6
7
8
# File 'lib/milk_tea/core/lowering/artifacts.rb', line 6

def synthetic_enums
  @synthetic_enums
end

#synthetic_functionsObject

Returns the value of attribute synthetic_functions.



6
7
8
# File 'lib/milk_tea/core/lowering/artifacts.rb', line 6

def synthetic_functions
  @synthetic_functions
end

#synthetic_structsObject

Returns the value of attribute synthetic_structs.



6
7
8
# File 'lib/milk_tea/core/lowering/artifacts.rb', line 6

def synthetic_structs
  @synthetic_structs
end