~ubuntu-branches/ubuntu/raring/parrot/raring-proposed

« back to all changes in this revision

Viewing changes to compilers/pct/src/PAST/Node.pir

  • Committer: Bazaar Package Importer
  • Author(s): Allison Randal
  • Date: 2011-07-30 18:45:03 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20110730184503-34d4mprtfx6pt5h3
Tags: 3.6.0-1
* New upstream release
* debian/watch:
  - Modified regular expression to capture numbered directory name
    (patch from Dominique Dumont).
* debian/rules:
  - Split build-arch and build-indep, resolving lintian warning.
  - Update path to pbc_disassemble for manpage generation (patch
    from Dominique Dumont).
* debian/patches:
  - Added patch 02_fix_perl_interpreter_path.patch, resolving
    lintian warnings.
* debian/control:
  - Added DM-Upload-Allowed field.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
    p6meta.'new_class'('PAST::Op', 'parent'=>base)
22
22
    p6meta.'new_class'('PAST::Stmts', 'parent'=>base)
 
23
    p6meta.'new_class'('PAST::Stmt', 'parent'=>base)
23
24
    p6meta.'new_class'('PAST::Val', 'parent'=>base)
24
25
    p6meta.'new_class'('PAST::Var', 'parent'=>base)
25
26
    p6meta.'new_class'('PAST::Block', 'parent'=>base)
124
125
.end
125
126
 
126
127
 
 
128
=item signature([signature])
 
129
 
 
130
Get/set the signature to be used for evaluating any
 
131
children nodes.
 
132
 
 
133
=cut
 
134
 
 
135
.sub 'signature' :method
 
136
    .param pmc value           :optional
 
137
    .param int has_value       :opt_flag
 
138
    .tailcall self.'attr'('signature', value, has_value)
 
139
.end
 
140
 
 
141
 
 
142
=item childorder([order])
 
143
 
 
144
Get/set the order in which children nodes should be evaluated
 
145
(via Compiler::post_children).  If C<order> is 'right' then
 
146
children are evaluated last-to-first, otherwise they're
 
147
evaluated first-to-last.
 
148
 
 
149
=cut
 
150
 
 
151
.sub 'childorder' :method
 
152
    .param pmc value           :optional
 
153
    .param int has_value       :opt_flag
 
154
    .tailcall self.'attr'('childorder', value, has_value)
 
155
.end
 
156
 
127
157
=back
128
158
 
129
159
=head2 PAST::Val
464
494
 
465
495
=back
466
496
 
 
497
=head2 PAST::Stmt
 
498
 
 
499
C<PAST::Stmt> encapsulates sequence points within a program, particularly
 
500
with respect to allocation and use of temporary registers.
 
501
 
467
502
=head2 PAST::Stmts
468
503
 
469
504
C<PAST::Stmts> is a container of C<PAST::Node> without any specific methods.
791
826
.end
792
827
 
793
828
 
 
829
=item tempregs([tempregs])
 
830
 
 
831
Get/set whether this block is allowed to create a fresh
 
832
bank of temporary registers.  Default is disabled -- i.e.,
 
833
the block uses the same temporary register bank as its
 
834
outer statement.
 
835
 
 
836
=cut
 
837
 
 
838
.sub 'tempregs' :method
 
839
    .param pmc value           :optional
 
840
    .param int has_value       :opt_flag
 
841
    .tailcall self.'attr'('tempregs', value, has_value)
 
842
.end
 
843
 
 
844
 
794
845
.namespace [ 'PAST';'Control' ]
795
846
 
796
847
.sub 'handle_types' :method
830
881
 
831
882
=head1 COPYRIGHT
832
883
 
833
 
Copyright (C) 2006-2008, Parrot Foundation.
 
884
Copyright (C) 2006-2011, Parrot Foundation.
834
885
 
835
886
=cut
836
887