Class: Delorean::Literal
- Defined in:
- lib/delorean/nodes.rb
Instance Method Summary collapse
- #check(_context) ⇒ Object
-
#rewrite(_context) ⇒ Object
Delorean literals have same syntax as Ruby.
Instance Method Details
#check(_context) ⇒ Object
287 288 289 |
# File 'lib/delorean/nodes.rb', line 287 def check(_context, *) [] end |
#rewrite(_context) ⇒ Object
Delorean literals have same syntax as Ruby
292 293 294 |
# File 'lib/delorean/nodes.rb', line 292 def rewrite(_context) text_value end |