Contains information about two regions on two lines.
Public Member Functions | |
PairMatch (LineRegion *startRef, int lineNo, bool topPosition) | |
Default constructor. | |
LineRegion * | getStartRef () |
void | setStart (LineRegion *pair) |
Sets a start region properties. | |
void | setEnd (LineRegion *pair) |
Sets an end region properties. | |
Data Fields | |
LineRegion * | start |
Region's start position as a cloned LineRegion object. | |
LineRegion * | end |
Region's end position as a cloned LineRegion object. | |
int | sline |
Starting Line of pair. | |
int | eline |
Ending Line of pair. | |
bool | topPosition |
Identifies initial position of cursor in pair. | |
int | pairBalance |
Internal pair search counter. |
|
Default constructor. Clears all fields |
|
Sets a start region properties. Passed object is cloned to keep pair match properties consistent between parse stages |
|
Sets an end region properties. Passed object is cloned to keep pair match properties consistent between parse stages |