This class is responsible for parsing Java code and counting all metrics during this parsing process. The rest of the application is only responsible for invoking this parser in a convenient way and to present the results to the user.
This grammar is based on the Java grammar that comes as an example with JavaCC, but has been extended to collect the metrics data (and adapted to support real life and jdk 1.4 Java sources as well).
@author Sriram Sankar (original JavaCC grammar), Chr. Clemens Lee
|
|