NAME ^

POST - Parrot opcode syntax tree

DESCRIPTION ^

This file implements the various opcode syntax tree nodes for compiling programs in Parrot.

POST Node types ^

POST::Node ^

POST::Node is the base class for all POST nodes. It's derived from class PAST::Node (see compilers/past-pm/PAST/Node.pir).

result([value])

Get/set

push_pirop(pirop [,arglist :slurpy] [,adverbs :slurpy :named])

cpir()

POST::Ops ^

POST::Ops is a container of POST::Node.

pir()

POST::Op ^

POST::Op nodes represents any PIR opcodes.

pirop([opcode])

Get/set

call, callmethod, tailcall, inline

arglist(arglist)

pir()

POST::Label ^

POST::Label nodes represent PIR labels.

result([value])

Get/set

pir()

POST::Sub ^

POST::Sub nodes represent PIR subroutines.

pir()

outer([outer])

Get/set

pragma([pragma])

Get/set

blocktype([type])

Get/set

namespace([name])

Get/set the namespace for this sub. If called to retrieve the namespace, use any outer namespace if it exists.

paramcode([paramcode])

Get/set

compiler([name])

Get/set

push_param(STR regtype, STR pname, STR flags, INT has_flags)

AUTHOR ^

Patrick Michaud <pmichaud@pobox.com> is the author and maintainer. Please send patches and suggestions to the Parrot porters or Perl 6 compilers mailing lists.


parrot