| 1 | package VAST::args; | ||
| 2 | BEGIN { | ||
| 3 | $VAST::args::VERSION = '0.05'; | ||
| 4 | } | ||
| 5 | use utf8; | ||
| 6 | use strict; | ||
| 7 | use warnings; | ||
| 8 | use Mildew::AST::Helpers; | ||
| 9 | |||
| 10 | sub emit_m0ld { | ||
| 11 | my $m = shift; | ||
| 12 | if ($m->{semiarglist}) { | ||
| 13 | $m->{semiarglist}->emit_m0ld; | ||
| 14 | } elsif ($m->{arglist}[0]) { | ||
| 15 | $m->{arglist}[0]->emit_m0ld; | ||
| 16 | } else { | ||
| 17 | #??? | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | 1; |