GCC Middle and Back End API Reference
line_event Class Reference

Public Member Functions

 line_event (int start, int next, int len)
 
int get_effective_column (int orig_column) const
 

Private Attributes

int m_start
 
int m_delta
 

Detailed Description

Class for representing edit events that have occurred on one line of
one file: the replacement of some text between some columns
on the line.

Subsequent events will need their columns adjusting if they're
are on this line and their column is >= the start point.   

Constructor & Destructor Documentation

◆ line_event()

line_event::line_event ( int start,
int next,
int len )
inline

Member Function Documentation

◆ get_effective_column()

int line_event::get_effective_column ( int orig_column) const
inline

References ggc_alloc(), m_delta, and m_start.

Field Documentation

◆ m_delta

int line_event::m_delta
private

Referenced by get_effective_column().

◆ m_start

int line_event::m_start
private

Referenced by get_effective_column().


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