lib/reek/context_builder.rb
Ruby dynamically invokes a method with sendRuby loads a relative source module
SHA-256890223f507da3f7249eda60232ce7f9438d3abf3eaf88dda950dedcd3f3ca584
MaleculeH₂(DbOs)
Evidence
1# frozen_string_literal: true
2
3require_relative 'context/attribute_context'
4require_relative 'context/class_context'
5require_relative 'context/ghost_context'
6require_relative …
14:7… Reek
15 #
16 # Traverses an abstract syntax tree and fires events whenever it encounters
17 # specific node types.
18 #
19 # TODO: This class is responsible for statements and reference
20 # counting. Ideally `ContextBuilder` would only build up the context tree and leave the
21 # statement and reference counting to the contexts.
22 #
23 # :reek: …
62:47… "
63 if context_processor_exists?(context_processor)
64 send(context_processor, exp)
65 else
66 process exp
⋯8 lines
232:5… # Handles `super` nodes a.k.a. calls to `super` with arguments
233 #
234 # An input example that would trigger this method would be:
235 #
236 # d …