Class: Yoda::Typing::Traces::Send
- Defined in:
- lib/yoda/typing/traces/send.rb
Overview
Store evaluation result for each ast node.
Instance Attribute Summary collapse
- #context ⇒ Contexts::BaseContext readonly
- #functions ⇒ Array<Model::FunctionSignatures::Base> readonly
- #type ⇒ Model::TypeExpressions::Base readonly
Instance Method Summary collapse
-
#initialize(context, functions, type) ⇒ Send
constructor
A new instance of Send.
Methods inherited from Base
Constructor Details
#initialize(context, functions, type) ⇒ Send
Returns a new instance of Send.
18 19 20 21 22 |
# File 'lib/yoda/typing/traces/send.rb', line 18 def initialize(context, functions, type) @context = context @functions = functions @type = type end |
Instance Attribute Details
#context ⇒ Contexts::BaseContext (readonly)
7 8 9 |
# File 'lib/yoda/typing/traces/send.rb', line 7 def context @context end |
#functions ⇒ Array<Model::FunctionSignatures::Base> (readonly)
10 11 12 |
# File 'lib/yoda/typing/traces/send.rb', line 10 def functions @functions end |
#type ⇒ Model::TypeExpressions::Base (readonly)
13 14 15 |
# File 'lib/yoda/typing/traces/send.rb', line 13 def type @type end |