+ --debug is now --imcc-debug; make this more consistent with -D.
[parrot.git] / examples / tge / branch / lib / Branch.pir
blob426d0da412e3582a2cb2637c1628a7d72de8288f
1 =head1 NAME
3 Branch - a sample branch node for Language::AttributeGrammar
5 =head1 DESCRIPTION
7 =cut
9 .namespace [ "Branch" ]
11 .sub "__onload" :load
12     .local pmc base
13     newclass base, "Branch"
14     addattribute base, "left"            # left child
15     addattribute base, "right"           # right child
16     .return ()
17 .end
19 # Local Variables:
20 #   mode: pir
21 #   fill-column: 100
22 # End:
23 # vim: expandtab shiftwidth=4: