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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidanalyze(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:AnalyzerAnalyze the given solution and append analysis results to the given output.. Theanalyzemethod of each analyzer is invoked once for the whole submitted solution.
-