Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
riederm committed Jun 12, 2024
1 parent 8839840 commit 64290e3
Show file tree
Hide file tree
Showing 3 changed files with 584 additions and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/plc_ast/src/visitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -711,4 +711,4 @@ impl Walker for Implementation {
visitor.visit(n);
}
}
}
}
5 changes: 5 additions & 0 deletions src/index/indexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use plc_ast::{ast::VariableBlockType, visitor::AstVisitor};
use super::Index;

mod global_var_indexer;
mod user_type_indexer;

#[derive(Default)]
pub struct SymbolIndexer {
Expand All @@ -17,4 +18,8 @@ impl AstVisitor for SymbolIndexer {
.visit_variable_block(block);
}
}

fn visit_user_type_declaration(&mut self, user_type: &plc_ast::ast::UserTypeDeclaration) {

}
}
Loading

0 comments on commit 64290e3

Please sign in to comment.