Class: Delorean::ListExpr
- Defined in:
- lib/delorean/nodes.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#check(context) ⇒ Object
702 703 704 |
# File 'lib/delorean/nodes.rb', line 702 def check(context, *) defined?(args) ? args.check(context) : [] end |
#rewrite(context) ⇒ Object
706 707 708 |
# File 'lib/delorean/nodes.rb', line 706 def rewrite(context) '[' + (defined?(args) ? args.rewrite(context) : '') + ']' end |