Class: Yoda::Typing::ConstantResolver::MemberQuery
- Inherits:
-
Query
- Object
- Query
- Yoda::Typing::ConstantResolver::MemberQuery
show all
- Defined in:
- lib/yoda/typing/constant_resolver/member_query.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Methods inherited from Query
#base, from_node, from_string
Constructor Details
#initialize(parent:, name:, tracer: nil) ⇒ MemberQuery
Returns a new instance of MemberQuery.
19
20
21
22
23
|
# File 'lib/yoda/typing/constant_resolver/member_query.rb', line 19
def initialize(parent:, name:, tracer: nil)
@parent = parent
@name = name
@tracer = tracer
end
|
Instance Attribute Details
#name ⇒ Symbol
11
12
13
|
# File 'lib/yoda/typing/constant_resolver/member_query.rb', line 11
def name
@name
end
|
8
9
10
|
# File 'lib/yoda/typing/constant_resolver/member_query.rb', line 8
def parent
@parent
end
|
14
15
16
|
# File 'lib/yoda/typing/constant_resolver/member_query.rb', line 14
def tracer
@tracer
end
|