Class: Onigmo::BackrefNode
- Defined in:
- lib/onigmo/node.rb,
lib/onigmo/visitor.rb,
ext/onigmo/onigmo.c
Overview
k<name> ^^^^^^^^
Instance Attribute Summary collapse
-
#values ⇒ Object
readonly
Returns the value of attribute values.
Instance Method Summary collapse
- #accept(visitor) ⇒ Object
- #child_nodes ⇒ Object
-
#initialize(values) ⇒ BackrefNode
constructor
A new instance of BackrefNode.
Methods inherited from Node
#as_json, #deconstruct_keys, #pretty_print, #to_json
Constructor Details
#initialize(values) ⇒ BackrefNode
Returns a new instance of BackrefNode.
95 96 97 |
# File 'lib/onigmo/node.rb', line 95 def initialize(values) @values = values end |
Instance Attribute Details
#values ⇒ Object (readonly)
Returns the value of attribute values.
93 94 95 |
# File 'lib/onigmo/node.rb', line 93 def values @values end |
Instance Method Details
#accept(visitor) ⇒ Object
115 116 117 |
# File 'lib/onigmo/visitor.rb', line 115 def accept(visitor) visitor.visit_backref_node(self) end |
#child_nodes ⇒ Object
119 120 121 |
# File 'lib/onigmo/visitor.rb', line 119 def child_nodes [] end |