Revision 22552

Date:
2008/10/09 02:51:56
Author:
lwall
Revision Log:
[viv] autogenerate VAST packages as needed
Files:

Legend:

 
Added
 
Removed
 
Modified
  • src/perl6/viv

     
    131 131 my $class = shift;
    132 132 no strict 'refs';
    133 133 return if @{$class . '::ISA'};
    134 warn "Generating $class\n";
    135 134 @{$class . '::ISA'} = 'VAST::Base';
    136 135 }
    137 136
     
    178 177 }
    179 178 }
    180 179
    181 { package VAST::arglist; our @ISA = ('VAST::Base');
    182 }
    183 180
    184 { package VAST::args; our @ISA = ('VAST::Base');
    185 }
    186
    187 { package VAST::assertion; our @ISA = ('VAST::Base');
    188 }
    189
    190 { package VAST::atom; our @ISA = ('VAST::Base');
    191 }
    192
    193 { package VAST::babble; our @ISA = ('VAST::Base');
    194 }
    195
    196 { package VAST::backslash; our @ISA = ('VAST::Base');
    197 }
    198
    199 { package VAST::before; our @ISA = ('VAST::Base');
    200 }
    201
    202 { package VAST::binding; our @ISA = ('VAST::Base');
    203 }
    204
    205 { package VAST::block; our @ISA = ('VAST::Base');
    206 }
    207
    208 { package VAST::cclass_elem; our @ISA = ('VAST::Base');
    209 }
    210
    211 { package VAST::circumfix; our @ISA = ('VAST::Base');
    212 }
    213
    214 { package VAST::codeblock; our @ISA = ('VAST::Base');
    215 }
    216
    217 { package VAST::colonpair; our @ISA = ('VAST::Base');
    218 }
    219
    220 { package VAST::comp_unit; our @ISA = ('VAST::Base');
    221 }
    222
    223 { package VAST::declarator; our @ISA = ('VAST::Base');
    224 }
    225
    226 { package VAST::default_value; our @ISA = ('VAST::Base');
    227 }
    228
    229 { package VAST::deflongname; our @ISA = ('VAST::Base');
    230 }
    231
    232 { package VAST::desigilname; our @ISA = ('VAST::Base');
    233 }
    234
    235 { package VAST::dotty; our @ISA = ('VAST::Base');
    236 }
    237
    238 { package VAST::dottyop; our @ISA = ('VAST::Base');
    239 }
    240
    241 { package VAST::eat_terminator; our @ISA = ('VAST::Base');
    242 }
    243
    244 { package VAST::else; our @ISA = ('VAST::Base');
    245 }
    246
    247 { package VAST::escape; our @ISA = ('VAST::Base');
    248 }
    249
    250 { package VAST::EXPR; our @ISA = ('VAST::Base');
    251 }
    252
    253 { package VAST::extrapost; our @ISA = ('VAST::Base');
    254 }
    255
    256 { package VAST::fatarrow; our @ISA = ('VAST::Base');
    257 }
    258
    259 { package VAST::fulltypename; our @ISA = ('VAST::Base');
    260 }
    261
    262 { package VAST::hexint; our @ISA = ('VAST::Base');
    263 }
    264
    265 { package VAST::identifier; our @ISA = ('VAST::Base');
    266 }
    267
    268 { package VAST::infix; our @ISA = ('VAST::Base');
    269 }
    270
    271 { package VAST::infixish; our @ISA = ('VAST::Base');
    272 }
    273
    274 { package VAST::infix_postfix_meta_operator; our @ISA = ('VAST::Base');
    275 }
    276
    277 { package VAST::infix_prefix_meta_operator; our @ISA = ('VAST::Base');
    278 }
    279
    280 { package VAST::integer; our @ISA = ('VAST::Base');
    281 }
    282
    283 { package VAST::item; our @ISA = ('VAST::Base');
    284 }
    285
    286 { package VAST::key; our @ISA = ('VAST::Base');
    287 }
    288
    289 { package VAST::lambda; our @ISA = ('VAST::Base');
    290 }
    291
    292 { package VAST::left; our @ISA = ('VAST::Base');
    293 }
    294
    295 { package VAST::litchar; our @ISA = ('VAST::Base');
    296 }
    297
    298 { package VAST::longname; our @ISA = ('VAST::Base');
    299 }
    300
    301 { package VAST::metachar; our @ISA = ('VAST::Base');
    302 }
    303
    304 { package VAST::method_def; our @ISA = ('VAST::Base');
    305 }
    306
    307 { package VAST::methodop; our @ISA = ('VAST::Base');
    308 }
    309
    310 { package VAST::modifier_expr; our @ISA = ('VAST::Base');
    311 }
    312
    313 { package VAST::mod_internal; our @ISA = ('VAST::Base');
    314 }
    315
    316 { package VAST::module_name; our @ISA = ('VAST::Base');
    317 }
    318
    319 { package VAST::morename; our @ISA = ('VAST::Base');
    320 }
    321
    322 { package VAST::multi_declarator; our @ISA = ('VAST::Base');
    323 }
    324
    325 { package VAST::multisig; our @ISA = ('VAST::Base');
    326 }
    327
    328 { package VAST::name; our @ISA = ('VAST::Base');
    329 }
    330
    331 { package VAST::named_param; our @ISA = ('VAST::Base');
    332 }
    333
    334 { package VAST::nibble; our @ISA = ('VAST::Base');
    335 }
    336
    337 { package VAST::nibbler; our @ISA = ('VAST::Base');
    338 }
    339
    340 { package VAST::noun; our @ISA = ('VAST::Base');
    341 }
    342
    343 { package VAST::nulltermish; our @ISA = ('VAST::Base');
    344 }
    345
    346 { package VAST::number; our @ISA = ('VAST::Base');
    347 }
    348
    349 { package VAST::package_declarator; our @ISA = ('VAST::Base');
    350 }
    351
    352 { package VAST::package_def; our @ISA = ('VAST::Base');
    353 }
    354
    355 { package VAST::parameter; our @ISA = ('VAST::Base');
    356 }
    357
    358 { package VAST::param_sep; our @ISA = ('VAST::Base');
    359 }
    360
    361 { package VAST::param_var; our @ISA = ('VAST::Base');
    362 }
    363
    364 { package VAST::pblock; our @ISA = ('VAST::Base');
    365 }
    366
    367 { package VAST::post; our @ISA = ('VAST::Base');
    368 }
    369
    370 { package VAST::postcircumfix; our @ISA = ('VAST::Base');
    371 }
    372
    373 { package VAST::postfix; our @ISA = ('VAST::Base');
    374 }
    375
    376 { package VAST::postop; our @ISA = ('VAST::Base');
    377 }
    378
    379 { package VAST::pre; our @ISA = ('VAST::Base');
    380 }
    381
    382 { package VAST::prefix; our @ISA = ('VAST::Base');
    383 }
    384
    385 { package VAST::quantified_atom; our @ISA = ('VAST::Base');
    386 }
    387
    388 { package VAST::quantifier; our @ISA = ('VAST::Base');
    389 }
    390
    391 { package VAST::quantmod; our @ISA = ('VAST::Base');
    392 }
    393
    394 { package VAST::quibble; our @ISA = ('VAST::Base');
    395 }
    396
    397 { package VAST::quote; our @ISA = ('VAST::Base');
    398 }
    399
    400 { package VAST::quote_mod; our @ISA = ('VAST::Base');
    401 }
    402
    403 { package VAST::quotepair; our @ISA = ('VAST::Base');
    404 }
    405
    406 { package VAST::regex_block; our @ISA = ('VAST::Base');
    407 }
    408
    409 { package VAST::regex_declarator; our @ISA = ('VAST::Base');
    410 }
    411
    412 { package VAST::regex_def; our @ISA = ('VAST::Base');
    413 }
    414
    415 { package VAST::right; our @ISA = ('VAST::Base');
    416 }
    417
    418 { package VAST::routine_declarator; our @ISA = ('VAST::Base');
    419 }
    420
    421 { package VAST::rxinfix; our @ISA = ('VAST::Base');
    422 }
    423
    424 { package VAST::scoped; our @ISA = ('VAST::Base');
    425 }
    426
    427 { package VAST::scope_declarator; our @ISA = ('VAST::Base');
    428 }
    429
    430 { package VAST::semilist; our @ISA = ('VAST::Base');
    431 }
    432
    433 { package VAST::sigil; our @ISA = ('VAST::Base');
    434 }
    435
    436 { package VAST::signature; our @ISA = ('VAST::Base');
    437 }
    438
    439 { package VAST::sigspace; our @ISA = ('VAST::Base');
    440 }
    441
    442 { package VAST::slurp; our @ISA = ('VAST::Base');
    443 }
    444
    445 { package VAST::special_variable; our @ISA = ('VAST::Base');
    446 }
    447
    448 { package VAST::statement; our @ISA = ('VAST::Base');
    449 }
    450
    451 { package VAST::statement_control; our @ISA = ('VAST::Base');
    452 }
    453
    454 { package VAST::statementlist; our @ISA = ('VAST::Base');
    455 }
    456
    457 { package VAST::statement_mod_cond; our @ISA = ('VAST::Base');
    458 }
    459
    460 { package VAST::statement_mod_loop; our @ISA = ('VAST::Base');
    461 }
    462
    463 { package VAST::statement_prefix; our @ISA = ('VAST::Base');
    464 }
    465
    466 { package VAST::stopper; our @ISA = ('VAST::Base');
    467 }
    468
    469 { package VAST::sublongname; our @ISA = ('VAST::Base');
    470 }
    471
    472 { package VAST::subshortname; our @ISA = ('VAST::Base');
    473 }
    474
    475 { package VAST::sym; our @ISA = ('VAST::Base');
    476 }
    477
    478 { package VAST::term; our @ISA = ('VAST::Base');
    479 }
    480
    481 { package VAST::termish; our @ISA = ('VAST::Base');
    482 }
    483
    484 { package VAST::text; our @ISA = ('VAST::Base');
    485 }
    486
    487 { package VAST::trait; our @ISA = ('VAST::Base');
    488 }
    489
    490 { package VAST::trait_auxiliary; our @ISA = ('VAST::Base');
    491 }
    492
    493 { package VAST::twigil; our @ISA = ('VAST::Base');
    494 }
    495
    496 { package VAST::type_constraint; our @ISA = ('VAST::Base');
    497 }
    498
    499 { package VAST::typename; our @ISA = ('VAST::Base');
    500 }
    501
    502 { package VAST::val; our @ISA = ('VAST::Base');
    503 }
    504
    505 { package VAST::value; our @ISA = ('VAST::Base');
    506 }
    507
    508 { package VAST::variable; our @ISA = ('VAST::Base');
    509 }
    510
    511 { package VAST::variable_declarator; our @ISA = ('VAST::Base');
    512 }
    513
    514 { package VAST::ws; our @ISA = ('VAST::Base');
    515 }
    516
    517 { package VAST::xblock; our @ISA = ('VAST::Base');
    518 }
    519
    520
    521
    522 181 if ($0 eq __FILE__) {
    523 182 ::MAIN();
    524 183 }