Class: Delorean::ListExpr
- Defined in:
- lib/delorean/nodes.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#check(context) ⇒ Object
660 661 662 |
# File 'lib/delorean/nodes.rb', line 660 def check(context, *) defined?(args) ? args.check(context) : [] end |
#rewrite(context) ⇒ Object
664 665 666 |
# File 'lib/delorean/nodes.rb', line 664 def rewrite(context) '[' + (defined?(args) ? args.rewrite(context) : '') + ']' end |