Class: Laser::Analysis::Bindings::BlockBinding
- Inherits:
-
Base
- Object
- Base
- Laser::Analysis::Bindings::BlockBinding
- Defined in:
- lib/laser/analysis/bindings.rb
Instance Attribute Summary (collapse)
-
- (Object) argument_bindings
readonly
Returns the value of attribute argument_bindings.
-
- (Object) ast_body
readonly
Returns the value of attribute ast_body.
Attributes inherited from Base
#annotated_type, #ast_node, #definition, #inferred_type, #name, #self_owner, #uses, #value
Instance Method Summary (collapse)
- - (Object) expr_type
-
- (BlockBinding) initialize(name, value)
constructor
A new instance of BlockBinding.
Methods inherited from Base
#<=>, #bind!, #class_used, #deep_dup, #initialize_dup_deep, #inspect, #scope, #to_s
Methods included from Comparable
#<, #<=, #==, #>, #>=, #between?, compare_int
Constructor Details
- (BlockBinding) initialize(name, value)
A new instance of BlockBinding
69 70 71 |
# File 'lib/laser/analysis/bindings.rb', line 69 def initialize(name, value) super(name, value) end |
Instance Attribute Details
- (Object) argument_bindings (readonly)
Returns the value of attribute argument_bindings
68 69 70 |
# File 'lib/laser/analysis/bindings.rb', line 68 def argument_bindings @argument_bindings end |
- (Object) ast_body (readonly)
Returns the value of attribute ast_body
68 69 70 |
# File 'lib/laser/analysis/bindings.rb', line 68 def ast_body @ast_body end |
Instance Method Details
- (Object) expr_type
73 74 75 |
# File 'lib/laser/analysis/bindings.rb', line 73 def expr_type Types::ClassObjectType.new('Proc') end |