Java Reference
In-Depth Information
/
Continued from Figure 11.1
/
class
MethodBodyVisitor
extends
NodeVisitor
procedure
visit
(ConstReferencing
n
)
4
/
Section 11.3.1 on page 425
/
end
procedure
visit
( LocalReferencing
n
)
5
/
Section 11.3.2 on page 426
/
end
procedure
visit
(StaticReferencing
n
)
6
/
Section 11.3.3 on page 427
/
end
procedure
visit
(Computing
n
)
7
/
Section 11.3.4 on page 427
/
end
procedure
visit
(Assigning
n
)
8
/
Section 11.3.5 on page 429
/
end
procedure
visit
( Invoking
n
)
9
/
Section 11.3.6 on page 430
/
end
procedure
visit
(FieldReferencing
n
)
10
/
Section 11.3.7 on page 432
/
end
procedure
visit
(ArrayReferencing
n
)
11
/
Section 11.3.8 on page 433
/
end
procedure
visit
(CondTesting
n
)
12
/
Section 11.3.9 on page 435
/
end
procedure
visit
(WhileTesting
n
)
13
/
Section 11.3.10 on page 436
/
end
end
Figure 11.2: Continuation of the code-generation visitors from
Figure 11.1.