S - Intranet - Department of Computer Science: Login
S - Intranet - Department of Computer Science: Login
S - Intranet - Department of Computer Science: Login
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Syntax Tree Classes for Prog<br />
For each non-terminal in the grammar, SableCC generates an<br />
abstract class, for example:<br />
abstract class PProg extends Node {}<br />
where Node is a pre-defined class <strong>of</strong> syntax tree nodes which<br />
provides some general functionality.<br />
Similarly we get abstract classes PStm and PStmlist.<br />
The names <strong>of</strong> these classes are systematically generated from<br />
the names <strong>of</strong> the non-terminals.<br />
70