Class: Delorean::ListExpr
- Defined in:
- lib/delorean/nodes.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#check(context) ⇒ Object
691 692 693 |
# File 'lib/delorean/nodes.rb', line 691 def check(context, *) defined?(args) ? args.check(context) : [] end |
#rewrite(context) ⇒ Object
695 696 697 |
# File 'lib/delorean/nodes.rb', line 695 def rewrite(context) '[' + (defined?(args) ? args.rewrite(context) : '') + ']' end |