class documentation

class _BlockRanges: (source)

View In Hierarchy

A collection of possibly nested start..end ranges from AST nodes.

Method __init__ Undocumented
Method adjust_end Undocumented
Method find_outermost Find the outermost interval containing line.
Method has_end Undocumented
Method has_start Undocumented
Instance Variable _end_to_start Undocumented
Instance Variable _start_to_end Undocumented
Instance Variable _starts Undocumented
def __init__(self, start_to_end_mapping): (source)

Undocumented

def adjust_end(self, old_end, new_end): (source)

Undocumented

def find_outermost(self, line): (source)

Find the outermost interval containing line.

def has_end(self, line): (source)

Undocumented

def has_start(self, line): (source)

Undocumented

_end_to_start = (source)

Undocumented

_start_to_end = (source)

Undocumented

Undocumented