Skip to content

Commit

Permalink
Support passing in more info to def analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Jan 29, 2024
1 parent 879cae2 commit eba934e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/analyzer/custom_hook.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ pub trait InternalHook {
fn after_def_analysis(
&self,
analysis_data: &mut FunctionAnalysisData,
analysis_result: &mut AnalysisResult,
after_def_analysis_data: AfterDefAnalysisData,
) {
}
Expand Down
1 change: 1 addition & 0 deletions src/analyzer/def_analyzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ pub(crate) fn analyze(
for hook in &statements_analyzer.get_config().hooks {
hook.after_def_analysis(
analysis_data,
analysis_result,
AfterDefAnalysisData {
statements_analyzer,
def,
Expand Down

0 comments on commit eba934e

Please sign in to comment.