Class: Strling::Core::Node
- Inherits:
-
Object
- Object
- Strling::Core::Node
- Defined in:
- lib/strling/core/nodes.rb
Overview
Base class for all AST nodes.
Instance Method Summary collapse
-
#to_dict ⇒ Hash
Serialize the node to hash representation.
Instance Method Details
#to_dict ⇒ Hash
Serialize the node to hash representation.
97 98 99 |
# File 'lib/strling/core/nodes.rb', line 97 def to_dict raise NotImplementedError, 'Subclasses must implement to_dict' end |