Bash++
Bash++ compiler internal documentation
Public Member Functions | Private Attributes | List of all members
EntityMap Class Reference

#include <EntityMap.h>

Public Member Functions

void insert (FilePosition start, FilePosition end, const std::shared_ptr< bpp::bpp_entity > &entity)
 Add an entity to the entity map.
 
std::shared_ptr< bpp::bpp_entityfind (FilePosition point)
 
std::shared_ptr< bpp::bpp_entityfind (uint32_t line, uint32_t column)
 Find the active code entity at a specific line and column.
 

Private Attributes

IntervalTree tree
 

Member Function Documentation

◆ find() [1/2]

std::shared_ptr< bpp::bpp_entity > EntityMap::find ( FilePosition  point)
inline

◆ find() [2/2]

std::shared_ptr< bpp::bpp_entity > EntityMap::find ( uint32_t  line,
uint32_t  column 
)
inline

Find the active code entity at a specific line and column.

◆ insert()

void EntityMap::insert ( FilePosition  start,
FilePosition  end,
const std::shared_ptr< bpp::bpp_entity > &  entity 
)
inline

Add an entity to the entity map.

Member Data Documentation

◆ tree

IntervalTree EntityMap::tree
private

The documentation for this class was generated from the following file: