Module: LiveEditing::ProcessFileChanged
- Extended by:
- ProcessFileChanged
- Included in:
- ProcessFileChanged
- Defined in:
- lib/holistic/ruby/parser/live_editing/process_file_changed.rb
Instance Method Summary collapse
Instance Method Details
#call(application:, file:) ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/holistic/ruby/parser/live_editing/process_file_changed.rb', line 7 def call(application:, file:) references_to_recalculate = identify_references_to_recalculate_type_inference(application:, file:) unregister_scopes_in_file(application:, file:) unregsiter_references_in_file(application:, file:) parse_again(application:, file:) recalculate_type_inference_for_references(application:, references: references_to_recalculate) end |