Class: Delorean::Dotted
- Defined in:
- lib/delorean/nodes.rb
Instance Method Summary collapse
Instance Method Details
#check(context) ⇒ Object
359 360 361 362 363 |
# File 'lib/delorean/nodes.rb', line 359 def check(context, *) d.check(context) d_rest.check(context) unless d_rest.text_value.empty? [] end |
#rewrite(context, vcode) ⇒ Object
365 366 367 368 369 370 371 372 373 |
# File 'lib/delorean/nodes.rb', line 365 def rewrite(context, vcode) dcode = d.rewrite(context, vcode) if d_rest.text_value.empty? dcode else d_rest.rewrite(context, dcode) end end |