public interface Analyzer
An analyzer is an object which performs some kind of analysis on an AST,
typically leaving behind the information in the AST.
-
Method Summary
Modifier and TypeMethodDescriptionvoidPerforms the analysis on the given AST.voidRemoves all analysis artifacts added to the AST by theanalyze(AST)method.
-
Method Details
-
analyze
Performs the analysis on the given AST.- Parameters:
ast- the AST- Throws:
SyntaxException- if some kind of defect is found in the AST
-
clear
Removes all analysis artifacts added to the AST by theanalyze(AST)method.- Parameters:
ast- the AST
-