Class: Kumi::Core::NAST::IndexRef
- Defined in:
- lib/kumi/core/nast.rb
Instance Attribute Summary collapse
-
#axes ⇒ Object
readonly
Returns the value of attribute axes.
-
#input_fqn ⇒ Object
readonly
Returns the value of attribute input_fqn.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from Node
Instance Method Summary collapse
- #accept(visitor) ⇒ Object
-
#initialize(name:, input_fqn:, **k) ⇒ IndexRef
constructor
A new instance of IndexRef.
Constructor Details
#initialize(name:, input_fqn:, **k) ⇒ IndexRef
Returns a new instance of IndexRef.
76 77 78 79 80 |
# File 'lib/kumi/core/nast.rb', line 76 def initialize(name:, input_fqn:, **k) super(**k) @name = name.to_sym @input_fqn = input_fqn end |
Instance Attribute Details
#axes ⇒ Object (readonly)
Returns the value of attribute axes.
74 75 76 |
# File 'lib/kumi/core/nast.rb', line 74 def axes @axes end |
#input_fqn ⇒ Object (readonly)
Returns the value of attribute input_fqn.
74 75 76 |
# File 'lib/kumi/core/nast.rb', line 74 def input_fqn @input_fqn end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
74 75 76 |
# File 'lib/kumi/core/nast.rb', line 74 def name @name end |
Instance Method Details
#accept(visitor) ⇒ Object
86 |
# File 'lib/kumi/core/nast.rb', line 86 def accept(visitor) = visitor.respond_to?(:visit_index_ref) ? visitor.visit_index_ref(self) : super |