16std::shared_ptr<AST::ASTNode>
find_node_at_position(std::shared_ptr<AST::ASTNode> node, uint32_t line, uint32_t column);
38 const std::string& file,
41 std::shared_ptr<bpp::bpp_program> program
54 const std::string& file,
57 const std::vector<std::shared_ptr<bpp::bpp_program>>& programs
Manages a pool of bpp_program objects for efficient reuse and access.
Definition ProgramPool.h:36
std::shared_ptr< AST::ASTNode > find_node_at_position(std::shared_ptr< AST::ASTNode > node, uint32_t line, uint32_t column)
Definition resolve_entity.cpp:19
std::shared_ptr< bpp::bpp_entity > resolve_entity_at(const std::string &file, uint32_t line, uint32_t column, std::shared_ptr< bpp::bpp_program > program)
Resolves the entity referenced at the given line and column in the specified file.
Definition resolve_entity.cpp:47
std::string find_comments_for_entity(std::shared_ptr< bpp::bpp_entity > entity, ProgramPool *program_pool)
Finds comments ostensibly associated with the given entity's definition.
Definition resolve_entity.cpp:393
std::vector< std::shared_ptr< bpp::bpp_entity > > find_all_entities_for(const std::string &file, uint32_t line, uint32_t column, const std::vector< std::shared_ptr< bpp::bpp_program > > &programs)
Calls resolve_entity_at for all programs passed in, and returns a vector of all entities found.
Definition resolve_entity.cpp:379