Package analyzer.exercises.needforspeed
Class NeedForSpeedAnalyzer
java.lang.Object
analyzer.exercises.needforspeed.NeedForSpeedAnalyzer
- All Implemented Interfaces:
Analyzer
The
NeedForSpeedAnalyzer
is the analyzer implementation for the need-for-speed
practice exercise.
It has two subclasses NeedForSpeedClassAnalyzer and RaceTrackClassAnalyzer that extend the VoidVisitorAdapter
and use the visitor pattern to traverse each compilation unit.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
analyze
(Solution solution, OutputCollector output) Analyze the given solution and append analysis results to the given output..
-
Constructor Details
-
NeedForSpeedAnalyzer
public NeedForSpeedAnalyzer()
-
-
Method Details
-
analyze
Description copied from interface:Analyzer
Analyze the given solution and append analysis results to the given output.. Theanalyze
method of each analyzer is invoked once for the whole submitted solution.
-