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.
Methods inherited from Node
Constructor Details
#initialize(name:, input_fqn:, **k) ⇒ IndexRef
Returns a new instance of IndexRef.
80 81 82 83 84 |
# File 'lib/kumi/core/nast.rb', line 80 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.
78 79 80 |
# File 'lib/kumi/core/nast.rb', line 78 def axes @axes end |
#input_fqn ⇒ Object (readonly)
Returns the value of attribute input_fqn.
78 79 80 |
# File 'lib/kumi/core/nast.rb', line 78 def input_fqn @input_fqn end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
78 79 80 |
# File 'lib/kumi/core/nast.rb', line 78 def name @name end |
Instance Method Details
#accept(visitor) ⇒ Object
90 |
# File 'lib/kumi/core/nast.rb', line 90 def accept(visitor) = visitor.respond_to?(:visit_index_ref) ? visitor.visit_index_ref(self) : super |