Class: Delorean::Dotted
- Defined in:
- lib/delorean/nodes.rb
Instance Method Summary collapse
Instance Method Details
#check(context) ⇒ Object
369 370 371 372 373 |
# File 'lib/delorean/nodes.rb', line 369 def check(context, *) d.check(context) d_rest.check(context) unless d_rest.text_value.empty? [] end |
#rewrite(context, vcode) ⇒ Object
375 376 377 378 379 380 381 382 383 |
# File 'lib/delorean/nodes.rb', line 375 def rewrite(context, vcode) dcode = d.rewrite(context, vcode) if d_rest.text_value.empty? dcode else d_rest.rewrite(context, dcode) end end |