Class: Delorean::Dotted
- Defined in:
- lib/delorean/nodes.rb
Instance Method Summary collapse
Instance Method Details
#check(context) ⇒ Object
300 301 302 303 304 |
# File 'lib/delorean/nodes.rb', line 300 def check(context, *) d.check(context) d_rest.check(context) unless d_rest.text_value.empty? [] end |
#rewrite(context, vcode) ⇒ Object
306 307 308 309 310 311 312 313 314 |
# File 'lib/delorean/nodes.rb', line 306 def rewrite(context, vcode) dcode = d.rewrite(context, vcode) if d_rest.text_value.empty? dcode else d_rest.rewrite(context, dcode) end end |