21 operator uint64_t()
const {
26 return (
static_cast<uint64_t
>(
line) << 32) |
column;
52 std::shared_ptr<bpp::bpp_entity>
find(uint32_t line, uint32_t column) {
Definition EntityMap.h:33
void insert(FilePosition start, FilePosition end, const std::shared_ptr< bpp::bpp_entity > &entity)
Add an entity to the entity map.
Definition EntityMap.h:41
IntervalTree< std::shared_ptr< bpp::bpp_entity > > tree
Definition EntityMap.h:35
std::shared_ptr< bpp::bpp_entity > find(uint32_t line, uint32_t column)
Find the active code entity at a specific line and column.
Definition EntityMap.h:52
std::shared_ptr< bpp::bpp_entity > find(FilePosition point)
Definition EntityMap.h:45
A specialized implementation of an Interval Tree for Bash++'s particular use case.
Definition IntervalTree.h:91
T find_innermost_overlap(uint64_t point)
Find the innermost interval that contains the given point.
Definition IntervalTree.h:190
void insert(uint64_t low, uint64_t high, T payload)
Definition IntervalTree.h:159
Definition bash_case.cpp:8
Definition EntityMap.h:17
uint32_t line
Definition EntityMap.h:18
FilePosition(uint32_t line, uint32_t column)
Definition EntityMap.h:29
uint32_t column
Definition EntityMap.h:19