Method: Steep::TypeInference::ConstantEnv#initialize
- Defined in:
- lib/steep/type_inference/constant_env.rb
#initialize(builder:, context:) ⇒ ConstantEnv
ConstantEnv receives an optional Names::Module, not a Namespace, because this is a simulation of Ruby. Any namespace is a module or class.
10 11 12 13 14 |
# File 'lib/steep/type_inference/constant_env.rb', line 10 def initialize(builder:, context:) @cache = {} @builder = builder @context = context end |