|Contents | Language Implementations | Perl6|
This file contains the code to propagate context, using the following node functions:
$nodeappears in right-hand context
ctx_rightshould propagate the appropriate context to child nodes.
$nodeappears as the lvalue in an expression whose rvalue is
$other, and whose context is
undefif the rvalue is not known, such as when
$nodeis a member of a tuple to which an array is being assigned (e.g.
($a, $node) = @some_things). If
ctx_leftshould call its
ctx_rightmethod with the appropriate context. Otherwise, it should return the desired right context.
This file also defines the contexts for built-in increment,
and unary operators,
and for "magic" things like guards and