Class: Bade::AST::KeyValueNode
- Defined in:
- lib/bade/ast/node/key_value_node.rb
Instance Attribute Summary collapse
Attributes inherited from Node
#children, #filename, #lineno, #parent, #type
Instance Method Summary collapse
Methods inherited from Node
Constructor Details
This class inherits a constructor from Bade::AST::Node
Instance Attribute Details
#value ⇒ Any
12 13 14 |
# File 'lib/bade/ast/node/key_value_node.rb', line 12 def value @value end |
Instance Method Details
#==(other) ⇒ Object
16 17 18 |
# File 'lib/bade/ast/node/key_value_node.rb', line 16 def ==(other) super && name == other.name && value == other.value end |