Java Reference
In-Depth Information
15. The method
method for Calling
nodes (Figure 9.34) to determine if a call is being used in a context where
a return value is expected. But the calling context is found
above
the
Callingnode in the AST and these trees have no upward links.
Suggest how
in
E
xpression
C
ontext
is used in the
visit
in
E
xpression
C
ontext
might be e
ciently implemented.